|
From: Daniel S. <han...@gm...> - 2006-11-28 22:52:43
|
I thought you miss the economy Part, the Statistik Part, every Player Trade, every Trade with Stations. I think the projekt is need one Server which handle every Trade action between Player/Station and Player/Player. If you want to make this stuff over the Meta Server you loose much cpu time for the webserver daemon, the php execution with the php and the sql query. Every Item which a Player buy, mine or sell, every money transaction all the things have to send to an server, do you really want to do this stuff over http? How a Client receive the information about the new Inventar? OK you can send an Question to the meta server, but this have to execute the script file again. Meta Server: Market Buy: Client want to buy and catch the market information from the meta server. Client buy something and have to send the buy offer to the meta server, meta server have to check price and amount and the cargo space from the player and buy for the Client. Client ask after the Result. Did I buy something? Did I have less money now? Player Trade Client want to trade with another client. client sends data to the meta server How did the other client know about the trade? Meta Server didn´t send anything to client, how the Trade can be complete? With an Timer? Both Client send the offer to Meta Server but Meta Server can´t send the trade back to the clients. A Player killed in space, both Client´s send it to the Meta Server. The Player who killed send that he have one more Kill or Bounty or whatever to Metaserver. The Player who killed send he is death, he loose money, which ship he have. Where he going to respawn. And all that things. Isn´t it much easier to have an self coded Server for all this Network Stuff? Sorry but I think that is not the right way for a Projekt like this. One Server which can send and receive messages have to handle the item stuff, money stuff and skill stuff from the universe. You can send stuff from php with the php socket (I code a small Chatwebserver in PHP and a tcp client for a simple telnet script for a teamspeak status script) but why anyone could use this when he able to code an pure c++ server and client for all this things? It need to much cpu time and memory when you do it over the apache daemon which you don ´t need when you code this stuff in pure c++. Sorry :-/ > Daniel Scheibe schrieb: > > You don´t want that anybody who will host this Game to host it own game > > indeed. players need to stick together in 1 game. Otherwise the huge universe will always apear to be empty. > > > One Metaserver many Sector Server? > > yes > > > Then are there more Galaxies? More Server Stations like the sol core or > > quant core? > > We only got the sectors which already existed in jumpgate. No additional unregulated space. If a new > server connects to the meta server he will only handle some of the already existing sectors. The already > existing servers will handel less sectors. > > > I have an dedicated Server on the net and I am willing to give some cpu > > time, bandwith and harddisk space for this projekt. > > we are still looking for a server who handels the chat. chat is wider than sectors so it can't be > handeled by the game servers. and we can't use the meta server for that because php isn't able to send > data. only to provide data on request. so every client would need to ask the meta server every second or > so if there are new chat messanges instead of that the chat server sends the new messangers to everyone > as soon as they are written. > > but you should contact tim about the chat server. he actually had the idea of an seperate chat server > and i guess he has a clearer imagination of how it could work. > > thanks for your offer. > > Regards, > Gary |