Server Help

General Questions - Server Release and Equations

Helicon - Wed Dec 04, 2002 9:36 pm
Post subject: Server Release and Equations
will the new realease of continuum server change the server.cfg in any dramatic way as in key names, etc that may change the current values..?

and also... does anyone know where i could find the exact equations for some of the game physics, IE wall bounce factor equation, thrust, rotation... i relize that these are pretty specific, but rough approximations would be useful...im building a server cfg editor with lots more support/features and id like to include a "virtual physics environment" or something high and bloated like that... anyway... if there is somewhere to get these eqs outside of template.sss id like to know...

and just to check... keys in server.cfg are not order specific.... im pretty sure, but ill check.... is there a standard? i know FACTS can save CFGs so ill probably use whatever format that is... but im not sure if that aligns with the original SVS.cfg
thanks always

Thanks always... :P
Mine GO BOOM - Wed Dec 04, 2002 9:44 pm
Post subject:
As for .cfg files: no, you can use them, but i wouldn't suggest it. The new software will "try" to work with old .cfg settings, but the idea is that everything will be re-organized. Since your a programmer, you should understand how a #include will work, and how you can re-organize a .cfg (to be renamed .conf) by spliting files appeart.

As for the rough guesses: i used to know them all, but i forget, so here is how you try. Take a guess, and try it. Take it under the understanding that rotation is 40 images, so set the rotation to 40, and use a stopwatch to see how long it takes to rotate completely. Repeat for speed (map is 16384 pixels sides), acceleration, etc.
Cyanide63 - Wed Dec 04, 2002 11:13 pm
Post subject:
When is the new server software supposed to be out anyways!!!!!!! I kinda cant wait for it..........HEHEHEHEHE!!!!!
SOS - Thu Dec 05, 2002 2:06 am
Post subject:
When the three spirits are aligned icon_twisted.gif
SuSE - Thu Dec 05, 2002 2:45 am
Post subject:
laff icon_lol.gif
Mine GO BOOM - Thu Dec 05, 2002 12:33 pm
Post subject: Re: Server Release and Equations
Helicon wrote:
and just to check... keys in server.cfg are not order specific.... im pretty sure, but ill check.... is there a standard? i know FACTS can save CFGs so ill probably use whatever format that is... but im not sure if that aligns with the original SVS.cfg
thanks always


No, the keys can be in any random order, just as long as they are all under the same [Header]. For the vie subgame, i believe it will attempt to find the first value of it, while the new subgame will find the last.

Example:
Code: Show/Hide
[Warbird]
SuperTime=4000
ShieldsTime=2500
Gravity=1500
GravityTopSpeed=250
ShieldsTime=1


The VIE server should pick the ShieldsTime as 2500, while the new server will get it as 1.

A recommendation for ordering: Try to keep them paired up with similar things. Like keep all the speed, recharge, etc in a section.
Helicon - Thu Dec 05, 2002 4:26 pm
Post subject: much appreciation
thanks very much... i dont, however, think that ill be stopwatching much of anything... i guess i should be talking to the client programmers... i suppose, also that i will wait to build this thing... better to wait and stay on top... than to do well late... it would also be useful to get a hold of the actual settings config file import code for the server, of course, that is complete charity....
Mine GO BOOM - Thu Dec 05, 2002 5:02 pm
Post subject:
The "import code" from the server is simple to describle. Just call a function, asking which arena setting to check (or to check the "server.ini"), and asks for the header and key (ie: Warbird:MaxGuns). As for how it finds it?

From the main config file, goes line by line. If it hits a #include, jumps to that file, and goes line by line. Whenever it finds a line under the header it is looking for (ie: [Warbird]) and the line starts with the key (ie: MaxGuns=1), it stores that value, and keeps looking. If it finds another line with same header and key, stores that value instead. Once it ends all the files, the function returns the stored value.

Also if you want to do some more advanced stuff, it may/will support #define and #if's, though i doubt that would be useful for a program that creates the files, but more for the manual editors out there.

As for how the server interprets the values, it really doesn't care too much about ship settings. It just forwards what it reads over in the settings packet, and the client figures it out. For the server-side settings, each module does with whatever settings it needs how it needs. When it gets closer to release time, i maybe able to talk with you about how the new server deals with different server-side settings (like the flag modes are changed around a lot), but it won't mean much.

For contacting the client programmer: Good luck, you'll need lots of it. Best to whip out a stopwatch and/or take a guess.
Helicon - Thu Dec 05, 2002 6:11 pm
Post subject:
Mine GO BOOM wrote:

For contacting the client programmer: Good luck, you'll need lots of it. Best to whip out a stopwatch and/or take a guess.


Thats what i figured... btw, who is it....im still not sure who is doing all this work (dumb post-VIE newbie, i know). I guess it really all comes down to when the release happens that we all scramble to miz up new tools... and figure the damn thing out... good look MGB... that'll be a good load of work
Mine GO BOOM - Thu Dec 05, 2002 6:41 pm
Post subject:
[quote="Helicon"][quote="Mine GO BOOM"]
im still not sure who is doing all this work (dumb post-VIE newbie, i know)[/quote]

Priit Kasesalu (aka PriitK). Don't bother ?find or ?message for him, be almost impossible to get ahold of him. Ever on the council, usually takes a good month for a responce.
Helicon - Thu Dec 05, 2002 9:38 pm
Post subject:
Mine GO BOOM wrote:

Priit Kasesalu (aka PriitK). Don't bother ?find or ?message for him, be almost impossible to get ahold of him. Ever on the council, usually takes a good month for a responce.


i was aware of Priitk, but so far as i can remember the COUNCIL was more like a suggestion committee...
SOS - Fri Dec 06, 2002 4:29 am
Post subject:
Just call him icon_wink.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group