kegsmr / sc4mp-server Goto Github PK
View Code? Open in Web Editor NEWSimCity 4 Multiplayer Project Server
Home Page: http://sc4mp.org
License: MIT No Attribution
SimCity 4 Multiplayer Project Server
Home Page: http://sc4mp.org
License: MIT No Attribution
For DDNS's and things like that.
I've tried all i can think of to play on the patreon server and so I think it might be server issue and not a client issue.
Add the ability for server owners to reserve tiles and reject all claims on them. Would be useful for blocking claims on all-water tiles.
Default 1
hour or None
Would restrict new claims on a server until this duration elapsed from the last new claim.
Right now, savegame filenames on the server use the format <x_coordinate>_<y_coordinate>.sc4
It would be easier to identify savegames if they used a format such as (<x_coordinate>, <y_coordinate>) <city_name>.sc4
.
This however would require the DBPF
class to read the city name string from incoming saves.
Create inbound firewall rules automatically when starting the server. This would most likely only be needed on Windows, as the Windows firewall is rather annoying. Other Windows applications create firewall rules automatically, so this is something good to look into.
�[90m [01:11:05] [SC4MP/Thread-6] (ServerList) [INFO] - "flann_02_namteam" already found in our server list
�[93m [01:11:05] [SC4MP/Thread-6] (ServerList) [WARNING] Resolving server_id conflict...
�[93m [01:11:05] [SC4MP/Thread-6] (ServerList) [WARNING] - keeping the old server!
�[90m [01:11:05] [SC4MP/Thread-6] (ServerList) [INFO] - requesting to be added to their server list...
�[90m [01:11:05] [SC4MP/Thread-6] (ServerList) [INFO] - receiving their server list...
�[90m [01:11:06] [SC4MP/Thread-6] (ServerList) [INFO] - done.```
It's just better.
Server won't run on xubuntu due to exception from os.getlogin(). Python docs recommend using getpass.getuser() see https://bugs.python.org/issue40821. I've tested this and it seems to work.
Finish the API docs, so that people can make server browsers or even their own custom clients.
Server admins should have the ability to reset tiles and ban users without having to restart the server.
Regions generated from SC4Mapper do not come with a region.ini
file. The server should generate the file when missing, to avoid errors.
At the moment there's no safe way to shutdown the server. So far it hasn't caused any problems, but there is a chance that the server could be in the middle of an important operation when the process is killed.
The best way to ensure the server always exits safely might be to handle the keyboard interrupt and have it trigger the server to cleanup and shutdown.
Note: pretty sure the keyboard interrupt wouldn't work on Windows distributions, but that seems like a Windows problem...
Likely has to do with the file table system
Appears to have stopped working after January 20th, 2024
ServerList.server_list() should check if a server is in the queue before adding. This behavior is likely responsible for slow synchronization of servers as the requests to add to the queue either end up at the end of a long queue and may be purged from that queue when it's randomly pruned, or they may not be added to the queue at all if its full when the request is handled.
Default: None
Option to limit claims on entire server, instead of just one region.
Delete data files in _Backups/data
directory that are not used in any backup .json
files located in the _Backups
directory. This could probably be done in the backup sequence.
This would allow the user to save disk space by deleting old server backups, since the extra data files would be automatically deleted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.