Page 1 of 1
Bandwidth limitations?
Posted: Thu Apr 19, 2007 11:18 am
by Trikisatan
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.
Posted: Thu Apr 19, 2007 11:38 am
by Fooli
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
Posted: Thu Apr 19, 2007 11:41 am
by Trikisatan
Thank you, will try that now!
Posted: Thu Apr 19, 2007 11:46 am
by Trikisatan
One problem though, that will only mirror the data files, not the map, right?
Posted: Thu Apr 19, 2007 11:52 am
by Fooli
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
Posted: Thu Apr 19, 2007 11:55 am
by Trikisatan
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.
Posted: Thu Apr 19, 2007 12:04 pm
by Fooli
- 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
Posted: Thu Apr 19, 2007 12:08 pm
by Trikisatan
Thank you, will do some tests so I know that it's really downloading from the http rather than the world.
Posted: Thu Apr 19, 2007 12:09 pm
by Fooli
You should be able to tell... if you look at the download box onscreen when a download is in progress, it ought to say http.
What kinda world are you building?
f
Posted: Thu Apr 19, 2007 12:12 pm
by Trikisatan
I'm aiming to build a "realistic" economy medieval world. The world is named "Magnastorm" so you can check it out, it's up and running.
Posted: Thu Apr 19, 2007 6:16 pm
by Mit
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..
Posted: Thu Apr 19, 2007 8:24 pm
by Trikisatan
Sounds very good, Mit, would it be possible to perhaps apply to the programmingteam?
Posted: Thu Apr 19, 2007 8:52 pm
by Mit
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.
Posted: Thu Apr 19, 2007 9:33 pm
by Trikisatan
It says it doesn't accept more users.
Group name: Coders
Group description: The coders Usergroup
Group membership: This is a closed group: no more users accepted