Bandwidth limitations?
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
Bandwidth limitations?
Have you enabled limitations on uploading/downloading of textures, maps and so on from worlds? It goes really slow for my world, I haven't tried other worlds yet. My server is a bit faster than 2kb/s upload atleast.
Yes. If you're serving content from the server itself, the upload rate is capped at a couple of kb/s, to minimise lag for people playing at the same time. It's optimised to serve many people at low speed.
If you want faster transfers - and to be honest you probably do - the best solution is to use http instead.
In /data you'll find a file called NamesFile.txt.
Edit that to include a line or lines as follows:
HTTPSERVER,0=www.yourserver.com/
HTTPSERVER,1=www.anotherserver.com/
(etc)
If you mirror the /data structure of your world on your webspace, the game will then look for content to serve from httpserver 0 first, then 1, etc etc... and if it can't find it there, finally it'll serve it direct from the world server machine.
f
If you want faster transfers - and to be honest you probably do - the best solution is to use http instead.
In /data you'll find a file called NamesFile.txt.
Edit that to include a line or lines as follows:
HTTPSERVER,0=www.yourserver.com/
HTTPSERVER,1=www.anotherserver.com/
(etc)
If you mirror the /data structure of your world on your webspace, the game will then look for content to serve from httpserver 0 first, then 1, etc etc... and if it can't find it there, finally it'll serve it direct from the world server machine.
f
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
er... correct, I think. You can serve models, textures and sounds from a remote server, but I think the map always comes direct. Actually I'm not sure I've tried putting the map remotely, so you could always have a go, but I think it's designed this way because the map tends to change a lot. It's only a few kb anyway.
f
f
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
Just to check with you:
This is my "NamesFile.txt":
*UPD=0
HTTPSERVER,0=www.theuniverse.halvsmekt.com
In my www directory for www.theuniverse.halvsmekt.com, I have the directory "Data" and everything in there. Is this correct filesystem for it to work?
The "NamesFile.txt" is located at www.theuniverse.halvsmekt.com/Data/ at the moment, on the http server, I still have everything left on the actual server.
This is my "NamesFile.txt":
*UPD=0
HTTPSERVER,0=www.theuniverse.halvsmekt.com
In my www directory for www.theuniverse.halvsmekt.com, I have the directory "Data" and everything in there. Is this correct filesystem for it to work?
The "NamesFile.txt" is located at www.theuniverse.halvsmekt.com/Data/ at the moment, on the http server, I still have everything left on the actual server.
- I think you'll need a / at the end of the server entry in namesfile.txt
- namesfile.txt itself will need to sit on the world server, not the http site. Whenever a player joins a world, their client downloads a few small files that always live on the world server itself: the map, the namesfile, the settings file and so on. So really, your web /data folder will only ever contain the subdirs images, textures, models, radio, sounds (with subdirs inside them too, if appropriate)
f
- namesfile.txt itself will need to sit on the world server, not the http site. Whenever a player joins a world, their client downloads a few small files that always live on the world server itself: the map, the namesfile, the settings file and so on. So really, your web /data folder will only ever contain the subdirs images, textures, models, radio, sounds (with subdirs inside them too, if appropriate)
f
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
FYI, there is a newer, cleverer file transfer system that will be added to the servers soon... rather than capping individual transfers as the current one does, this new system is much nice and lets you set an overall limit for all downloads.. so if only 1 person is downloading stuff you should get a much better download speed.
Still worth using a separate http server for some stuff tho, just to spread the load..
Still worth using a separate http server for some stuff tho, just to spread the load..
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact:
sure... first step is to join the 'coders group' - click the usergroups link at the top of the forums and join from there.
Theres a coder's section on the website with some (incomplete) details of the gamecode (bottom right window on the front page), and explains a few things about what you can do programming-wise.
Theres a coder's section on the website with some (incomplete) details of the gamecode (bottom right window on the front page), and explains a few things about what you can do programming-wise.
- Trikisatan
- Posts: 29
- Joined: Thu Apr 19, 2007 12:35 am
- Location: Sweden
- Contact: