Tremulous Forum

General => General Discussion => Topic started by: soccerblocker on January 31, 2010, 05:43:21 pm

Title: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 05:43:21 pm
I have created a Server.cfg creator application for noobs. Attached is a screenshot of the GUI. I would be glad to distribute it as long as I get credit for it. Check out the picture and tell me what you think! All comments/suggestions are welcome.
Title: Re: Server.cfg Creator Created! (by me)
Post by: Kiwi on January 31, 2010, 05:46:09 pm
Nice job, although I personal think that the server.cfg is very well commented.  Also, shouldn't it say unlagged not anti-lagged?

Anyway nice job,
Kiwi
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 05:47:52 pm
Thanks. I just call it the Antilag feature so it really doesnt matter either way. And there is always someone who looks at the file, thinks "OMG I have to edit this without a pretty GUI??", and gives up.
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 05:49:14 pm
I can't find a way to crash it yet; but where theres a user, theres a way to crash it...
Title: Re: Server.cfg Creator Created! (by me)
Post by: frazzler on January 31, 2010, 05:56:56 pm
mac vrsn?
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 05:58:55 pm
what do you mean?
Title: Re: Server.cfg Creator Created! (by me)
Post by: frazzler on January 31, 2010, 06:00:40 pm
is there a mac version available? Because I know that you need different scripts and a different method in order to create a server on a mac, so this may or may not work on the mac. If there isn't, I am sad. I am noob and I need to make my servers.
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 06:04:43 pm
I don't believe so, but it's worth a try. I'll see about making a mac version in the future.
Title: Re: Server.cfg Creator Created! (by me)
Post by: frazzler on January 31, 2010, 06:07:14 pm
I love you.
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 06:16:51 pm
Hmm... The coding is pretty simple and I doubt that there is too much that a Mac has to trip over. It just might work.
Title: Re: Server.cfg Creator Created! (by me)
Post by: Demolution on January 31, 2010, 06:28:26 pm
That's a pretty picture, but I think we need more than that to give you constructive criticism. :P
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 07:01:23 pm
Like what? I cant really post the code without asking for trouble.
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 07:09:00 pm
Here is the config file created by the program. No comments after everything, Sorry!
Title: Re: Server.cfg Creator Created! (by me)
Post by: Demolution on January 31, 2010, 07:14:33 pm
Well, I just don't see what more we could tell you about it without having tried it ourselves. It looks like it does the job however. Good work. :)
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 07:17:03 pm
Thanks. There are sufficient instructions for all of the options so people won't become confused and I'm hoping to send it to Tremulous to be distributed and included in tutorials. I'm also planning to create an Admin.dat Creator. Tell me what you think or share some ideas.
Title: Re: Server.cfg Creator Created! (by me)
Post by: mooseberry on January 31, 2010, 07:24:54 pm
There should be a way to set the full map rotation.
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 07:26:46 pm
I agree, but that is contained in the rotation1 file completely separate from the Server.cfg file. It could be done, but it would take more work *ugh* and it would be really difficult to accommodate custom maps.
Title: Re: Server.cfg Creator Created! (by me)
Post by: UniqPhoeniX on January 31, 2010, 07:46:30 pm
Nice work!
Add small button to set value to default (for most fields), add ms/seconds/minutes after value where appropriate.
Maybe put the Min/Max fields in columns, align values to right if possible, also Alien/Human values in columns:
Code: [Select]
    Rate    Ping    snapshots
Min   5000      0    10
Max  25000    250
            Alien  Human
Buildpoints   100    100
Max stage       3      3
S2 Threshold  etc
Possibly add:
sv_dlURL
g_speed, g_knockback, g_antispawnblock, g_dretchpunt, g_allowShare
g_friendlyFireMovementAttacks, g_friendlyBuildableFire, g_friendlyFireHumans, g_friendlyFireAliens,
g_warmup, g_dowarmup (not sure this 1 is needed),
g_voteLimit, g_voteMinTime, g_mapvoteMaxTime,
(not sure if all those work on all qvms or if they can even be set from server.cfg (tho I don't see why not)).
Move SD time above timelimit.
If possible, display the output side by side with controls so people will actually learn it.
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on January 31, 2010, 07:53:50 pm
Some of those features are under the file menu, but most of them I will try to implement in V 1.2 Thanks!
Title: Re: Server.cfg Creator Created! (by me)
Post by: Silver on February 01, 2010, 07:36:14 am
I don't understand how posting the code/exe would be asking for trouble...
Title: Re: Server.cfg Creator Created! (by me)
Post by: Asvarox on February 01, 2010, 09:36:16 am
1. I wonder if it loads cfg's
2. What those images do?
3. The buttons/elements placement seems really random. IMO it should be divided into few tabs (like General, Gameplay, Network(?), Map Rotation) instead of putting everything in one "window".
Title: Re: Server.cfg Creator Created! (by me)
Post by: Demolution on February 01, 2010, 03:28:07 pm
I don't understand how posting the code/exe would be asking for trouble...

He wants credit for it.
Title: Re: Server.cfg Creator Created! (by me)
Post by: khalsa on February 01, 2010, 04:43:05 pm
option to set url of http downloads
Title: Re: Server.cfg Creator Created! (by me)
Post by: Silver on February 01, 2010, 09:21:32 pm
I don't understand how posting the code/exe would be asking for trouble...

He wants credit for it.
Obviously if anyone stole it, it would be easy to know.  Not to mention since he posted here he's got that point in case.  If he posts it later he's at just as much if not more risk than he is now of someone stealing it.. 
Title: Re: Server.cfg Creator Created! (by me)
Post by: soccerblocker on February 02, 2010, 03:05:51 am
1. I wonder if it loads cfg's
2. What those images do?
3. The buttons/elements placement seems really random. IMO it should be divided into few tabs (like General, Gameplay, Network(?), Map Rotation) instead of putting everything in one "window".

1.No, but I will see about that in V 1.2
2.They display a message box that says "This is a <name>"  <--- I got distracted while programming so I did that.
3.Definetly in V 1.2 (when i get off of my lazy butt...)
Title: Re: Server.cfg Creator Created! (by me)
Post by: DraZiLoX on February 12, 2010, 03:16:37 pm
Cool, and good for beginners.

Images just sux :p, they should be invisible :p