Tremulous Forum

Community => Servers => Topic started by: Brotherhood on September 29, 2007, 08:57:21 pm

Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on September 29, 2007, 08:57:21 pm
This is a pre-release of my windows only application "TSM" (Tremulous Server Manager)

~ What is it?
I created TSM to be an easy way to modify server settings in a GUI instead of having to modify them manually in server.cfg. It's very newbie friendly. There is no need for bat files anymore to run your server. Just click "Start Server" on the TSM window. It will automatically install tjr's server mod if you don't have it and any other server related files that you need.

TSM default game.qvm = Lakitu7's QVM 5.01
http://tremulous.net/phpBB2/viewtopic.php?t=5873&postdays=0&postorder=asc&start=0

~ Cons:
Not finished, though at the moment it's enough to handel a basic server.

~ System Requirements:
Should work on any windows system, though only tested on XP SP2

Before installing, if you're new to running a server I strongly recommend to do the following:

1. Back up your binds and/or maps
2. Uninstall tremulous
3. Delete tremulous folder (default is C:\Program Files\Tremulous)
4. Delete tremulous application settings folder (defualt is C:\Documents and Settings\[YOUR USER NAME]\Local Settings\Application Data\Tremulous)
5. Re-Install Tremuous

~ How to install

- Download and extract the linked zip below
- Run the installer
- Enter the installation path and then click OK

~ Port Forwarding

Note: Port forwarding only applys to machines connected to a router. If you don't have a router, then don't worry about this.

You can change the servers port in the "Advanced Options" tab. If you  don't know how to port forward, go to

http://portforward.com/english/routers/port_forwarding/routerindex.htm

And select your router. Then select Quake 3. Follow the directions, except use the port you inputed in TSM. The directions tell you to add 4 different port forward items. You only need the one for a tremulous server.

------------------------------------------------------------------------------
------------------------------------------------------------------------------
Download TSM Installer (http://www.fileden.com/files/923/TSM%20Installer.zip)
Sorry for the crappy download server!
------------------------------------------------------------------------------
------------------------------------------------------------------------------

I apologize that this is only for windows, but hey, if you're running a server on windows, then you probably need all the help you can get  8)

~ Brotherhood
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on September 29, 2007, 10:11:04 pm
a) Don't apologize :)
b) thanks, great work. Might save us some repeating posts.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: guest on September 30, 2007, 05:39:21 am
it is a virus
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: blood2.0 on September 30, 2007, 05:40:01 am
ur a virus forque
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on September 30, 2007, 12:39:07 pm
Quote from: "guest"
it is a virus


yap, according to the true definition, it is.

+1
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: NiTRoX on September 30, 2007, 01:13:36 pm
Sorry mate you got caught
http://www.pix-hoster.com/upload/tsmbmd92.bmp\
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: imperiumZero on September 30, 2007, 01:26:33 pm
YOU GOT OWNED!

I MEAN HELL WHY NOT JUST POP IN A COPY OF CIH-NG FOR THE HELL OF IT?
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: NiTRoX on September 30, 2007, 02:03:05 pm
=)
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on September 30, 2007, 04:36:22 pm
Dude it's not a virus. Some virus scanners detect it as a virus because it is written in the scripting language AutoIt3. (autoitscript.com) and uses UPX to pack it. Because it's easy for a dumbass kid to make a virus/malicious like application with autoit/UPX, many virus scanners detect all AutoIt scripts as a virus (which is totally idiotic).

This post describes it:
http://www.autoitscript.com/forum/index.php?showtopic=34658

I have spent much time on this application. Download it yourself and scan it. Don't take what he says on faith that hes telling the truth. There is no proof that what that guy posted is even a scan of MY application as there is no file name on it.

If it comes down to it, I'll post the souce code. This is very offensive ...
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: hitchen1 on September 30, 2007, 04:44:08 pm
Hey im new here-xD.
he is right though, ive seen that kinda thing many times before. autoit gets scanned as a virus even though its not.download it and give it a scan.  i tried and my antivirus said theres nothin there.AVGftw
dont ask where i seen it *:D*
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on September 30, 2007, 05:05:36 pm
Quote from: "hitchen1"
Hey im new here-xD.
he is right though, ive seen that kinda thing many times before. autoit gets scanned as a virus even though its not.download it and give it a scan.  i tried and my antivirus said theres nothin there.AVGftw
dont ask where i seen it *:D*


Thank you. Glad to see one of the people on this forum isn't a moron. I just scanned it with Kaspersky AntiVirus. Came up with "No Threat Detected" ... imagine that ...
Scan Screenshot (Notice that it actually says what file it's scanning, unlike NiTRoX's post which could be anything)
http://www.fileden.com/files/923/TSM%20Scan.JPG

I called my friend and he scanned it with McAffee and BitDefender. No virus detected ...
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: [Kcorp]Noobius on September 30, 2007, 07:01:56 pm
did you just make a clone to agree with yourself? how very ploxish of you
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: guest on September 30, 2007, 07:36:26 pm
use it at your own risk
only way to convince me that it is not a virus is showing me the source code
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Confess on September 30, 2007, 08:00:28 pm
Brotherhood, if you're interested, it would be nice to see a complete redo of tremulous specificly for servers. One that will better utilize resources/etc and be more cooperative, but will also accept .qvm's.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on September 30, 2007, 08:09:01 pm
Quote from: "[Kcorp
Noobius"]did you just make a clone to agree with yourself? how very ploxish of you


I can't believe you actually accused me of that. What is with everyone on this forum? I post this to try and help people start a server, and everyone (except hitchen1) is against me. Why did I even bother ... Good job at making me feel welcome guys!

Quote

use it at your own risk
only way to convince me that it is not a virus is showing me the source code


Here you go. I'm surprized any of you downloaded tremulous. You never know ... that could be a virus too!

Download Source Code (http://www.fileden.com/files/923/Tremulous%20Server%20Manager.zip)
EDIT: I forgot to un-comment lines 80 - 92. I commented these out to test the auto-install server files feature. Delete the ";~" at the start of each line.

You need AutoIt3 to run/compile the source. Download it at http://www.autoitscript.com/autoit3/downloads.shtml

Honestly, If I wanted to post a virus, it wouldn't be here. It would be somewhere many people might download it. Besides, Why would I go to so much trouble to make a real application just to have all that work ruined for it to be a virus? It's almost hard to believe how un-trusting people are, even when I try my best to supply proof.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Death On Ice on September 30, 2007, 08:27:48 pm
They were probably joking. I'm glad to see someone has done something of this nature for the (noob) community. Nice work, too bad I'm on a Mac.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: kevlarman on September 30, 2007, 10:06:23 pm
Quote from: "Confess"
Brotherhood, if you're interested, it would be nice to see a complete redo of tremulous specificly for servers. One that will better utilize resources/etc and be more cooperative, but will also accept .qvm's.
what the hell does that mean?
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: hitchen1 on September 30, 2007, 10:11:17 pm
lol im no clone of noone
edit: just tested this and i got a server up in about 10 seconds O_O
too bad u didnt ake this earlier lol :D
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on September 30, 2007, 11:41:04 pm
Quote from: "hitchen1"
lol im no clone of noone
edit: just tested this and i got a server up in about 10 seconds O_O
too bad u didnt ake this earlier lol :D


Well I did try to make it as easy as possible  8) I guess I should finish it then?

EDIT: Is there a way to get the current tremulous installation GUID? I want TSM to automatically make the server a level 5 admin on install (Just to further the ease of use) though if you can't it's not a big deal. Telling the user to do a "/rcon (pass) !setlevel" is probably newbie friendly enough xD
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Tyaedalis on October 02, 2007, 06:04:23 am
Just to let everyone nkow, this works very well.  I'm using it right now.   :D
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-relea
Post by: Undeference on October 03, 2007, 09:56:00 am
Quote from: Brotherhood
TSM default game.qvm = Risujin/Avenger game.qvm
http://www.tremulous.net/phpBB2/viewtopic.php?t=3014
Why? That's a bit old now and has weird junk added in.
Quote
I apologize that this is only for windows, but hey, if you're running a server on windows, then you probably need all the help you can get  8)

~ Brotherhood
It failed?!
(http://--http://mkpdev.googlepages.com/winetsminstall.png)

At least I can run tremded the old fashioned way though...
http://.invalid.mkpdev.googlepages.com/winetremded.png
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-relea
Post by: guest on October 03, 2007, 02:20:40 pm
Quote from: "Undeference"
Quote from: "Brotherhood"
TSM default game.qvm = Risujin/Avenger game.qvm
http://www.tremulous.net/phpBB2/viewtopic.php?t=3014
Why? That's a bit old now and has weird junk added in.
Quote

I apologize that this is only for windows, but hey, if you're running a server on windows, then you probably need all the help you can get  8)

~ Brotherhood

It failed?!
(http://mkpdev.googlepages.com/winetsminstall.png)

At least I can run tremded the old fashioned way though...
http://mkpdev.googlepages.com/winetremded.png

if wine doesnt work, try whine
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-relea
Post by: Brotherhood on October 03, 2007, 09:16:42 pm
Quote from: "Undeference"
Quote from: "Brotherhood"
TSM default game.qvm = Risujin/Avenger game.qvm
http://www.tremulous.net/phpBB2/viewtopic.php?t=3014
Why? That's a bit old now and has weird junk added in.


It was upon request. I was going to include Lakitu's but he wanted slap ... I'll post a verson with laks

Quote

It failed?!


I just uploaded a newer version yesterday (added some notifications, like it checks if your on a LAN and warns you about port forwarding). It's posible I forgot to rename the TSM excutable so the installer compiles correctly. I'll check it today when I get home.

EDIT: I downloaded and ran the installer. Everything works fine. Maybe you don't have admin rights to install files? I'll post a non-install zip version sometime later today.

Note: I havn't tested this under wine. I know some AutoIt commands are incompatable with linux. Make sure your tremulous installation was installed under wine too!
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 03, 2007, 09:50:35 pm
Sorry, but those that can set up linux as server, should know how to get the infos on how to set up the trem-server.

If you encourage ppl to actually use wine and your gizzmo, please do not forget to disclose your email-address, because I am pretty sure all _those_ idiots will get shot if they pose questions.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 04, 2007, 12:56:38 am
Quote from: "Caveman"
Sorry, but those that can set up linux as server, should know how to get the infos on how to set up the trem-server.

If you encourage ppl to actually use wine and your gizzmo, please do not forget to disclose your email-address, because I am pretty sure all _those_ idiots will get shot if they pose questions.


Yes you are right. However, I never ment for this to run on linux. Nor do I encourage it. It could (and will) have unexpected results. I guess I assumed anyone running linux is capable of running a server the "normal" way.

Thats what I ment by this line:
Quote

I apologize that this is only for windows, but hey, if you're running a server on windows, then you probably need all the help you can get

I figured the only people that would really need TSM are Windows users

If you are running TSM in linux, you're on your own. It's your own fault if anything goes wrong. Use at your own risk.

~ Brotherhood

EDIT: TSM now installs Lakitu7's QVM by defualt (If you don't have a QVM already)
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 04, 2007, 03:16:59 am
Update: Re-Download from first post
    - Added option to change the servers port (in Advanced Options tab)
    - Added option to make TSM run on windows startup and hide window by defualt (in Advanced Options tab)
    - Added option to run the tremulous server on TSM startup (in Advanced Options tab)
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Tyaedalis on October 04, 2007, 04:23:42 am
Awesome.  You told me about some of those earlier today.  I'll get it.  Can't wait for you to finish all those bank tabs!
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 06, 2007, 07:00:59 am
----- Major Update 10/05/07 -----
- Finished - Game.qvm manager tab
------ Now you can easily switch game.qvm's with the click of a button

- Finished - Admin Config tab
------ Can easily change any admin.dat setting

- Added - Banned players tab
------ Add/Delete/Modify banned players on your server

- Fixed - TSM auto refreshes every 2 seconds

Download at first post

~ Brotherhood
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 06, 2007, 08:02:24 am
Quote from: "Brotherhood"

- Added - Banned players tab
------ Add/Delete/Modify banned players on your server


Very bad idea.
If un/baning is not done via rcon/console or ingame, it will only serve to fuck up the admin.dat.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Suicidal on October 06, 2007, 08:58:41 am
Quote from: "Caveman"
Quote from: "Brotherhood"

- Added - Banned players tab
------ Add/Delete/Modify banned players on your server


Very bad idea.
If un/baning is not done via rcon/console or ingame, it will only serve to fuck up the admin.dat.

not if you restart the server  :P
anyway there is no way to port it to other platform( autoit is so platform dependent )
so this will stay as another bullshit release
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Tyaedalis on October 06, 2007, 07:01:17 pm
Why is it such a bad idea?
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 06, 2007, 07:33:50 pm
Quote
Very bad idea.
If un/baning is not done via rcon/console or ingame, it will only serve to fuck up the admin.dat.


Quote from: "Tyaedalis"
Why is it such a bad idea?


It's not. I never intended for TSM to completely replace the console. In fact, I was going to have TSM reject changes to admin.dat unless the server is not running (havn't got to it yet)

Quote
not if you restart the server  
anyway there is no way to port it to other platform( autoit is so platform dependent )
so this will stay as another bullshit release


You know, it's hard to make everyone happy. Need I remind you that TSM is mostly for the "noobs" so they can run servers. Most of the "noobs" will be running windows (Why run a server on win when you can on linux?). TSM has no built in mod support (yet) and is missing a few other advanced features so it's not really for the hardcore server ppl anyways.

Just my two cents

~ Brotherhood
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 06, 2007, 08:13:33 pm
If you make it for the noobs, then there is NO way you can implement a managing system for the bans.
As per your statement the server has to be shut off for that, and how should noobs then be able to ban anyone?

Why is it baaaad to modify the admin.dat when the server is running?
Because admin.dat get read once on mapload and written when a map is finished, all changes done to it by any 3rd party will be discarded at best, at worst the server crashes.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 06, 2007, 10:48:40 pm
Quote from: "Caveman"
If you make it for the noobs, then there is NO way you can implement a managing system for the bans.
As per your statement the server has to be shut off for that, and how should noobs then be able to ban anyone?

Why is it baaaad to modify the admin.dat when the server is running?
Because admin.dat get read once on mapload and written when a map is finished, all changes done to it by any 3rd party will be discarded at best, at worst the server crashes.


Caveman you misunderstand the whole reason I made this. I made TSM to be an easy way to "set up" your server BEFORE you start it. If you have to change these settings after you already start the server then thats bad management on your part. I know how tremulous handles it's files. Thats why you should make any changes BEFORE you start the server. Otherwise use admin commands in the console. TSM isn't made to do EVERYTHING for you. It's just a helper tool.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 06, 2007, 11:06:54 pm
Right. And YOU said you wanted to include
Quote
Add/Delete/Modify banned players on your server
.
And that is nothing you do BEFORE you start a server.

So make up your mind .)

Either a tool to set up the server, or a tool to administer a server.

And I did not explain to you the filemanagement, I did that for Tyaedalis...
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: benmachine on October 06, 2007, 11:43:08 pm
Quote from: "Caveman"
at worst the server crashes.

Would just like to mention that this never happens: if it does, it's certainly a bug with Tremulous and should be fixed.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Suicidal on October 07, 2007, 12:30:32 am
Quote from: "benmachine"
Quote from: "Caveman"
at worst the server crashes.

Would just like to mention that this never happens: if it does, it's certainly a bug with Tremulous and should be fixed.

he means it may fail to start
if it contains some strange chars in some fields :/ dunno
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 07, 2007, 12:50:21 am
Quote from: "Caveman"
Right. And YOU said you wanted to include
Quote
Add/Delete/Modify banned players on your server
.
And that is nothing you do BEFORE you start a server.


Yes it is. Let me give you an example: Lets say once a week you clean out all the bans and level 1 admins from your server. It's easier to do this in TSM before you start the server than after via console.

Also, I have another reason for the ban list. TSM loads all the [level], [admin], and [ban] sections into memory. Since I already had it in memory, I figured I might as well do something with it. Thats why the banned tab wasn't part of my original plan. It was just added in to be more complete.

My opinion of TSM hasn't changed. It's a tool set up and manage server settings before you start it.

Now can we please stop arguing about this. It's getting us nowhere

~ Brotherhood
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 07, 2007, 12:53:44 am
Edit:
K K K, as soon as you tell us how you plan on adding a ban, as you described :D

Edit2:
I was talking about 2 writing process at the same time, but nvm that :)
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 07, 2007, 12:55:56 am
Quote from: "Caveman"
Nope, I meant exactly what I wrote .)
If the file is locked by any 3rd party app tremed will crash.
I'd be really surprised if it wont.

And if it is not locked and 2 writing process are active at the same time, prolly both processes will go gaga.


Ugh ... there is a reason why admin.dat is loaded into memory! It opens, loads, and releases admin.dat before TSM's window is even created. It does NOT lock up admin.dat to any extent.

EDIT:
Adding a ban?

If you have someones GUID, or lets say their IP, it's a piece of cake. I know some servers block whole IP subnets. You don't have to know an actual player to block them. How you think server owners share thier list of bans with other servers?
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 07, 2007, 01:46:30 am
Brotherhood, don't get me started on syncing several game-servers, I have been doing that for several years now :)

Going into the subject why one does NOT ban by subnet or even IP (hint: dynamic IPs) to hit a lone player and why one does NOT sync bans by guid would be too much for this thread. Look up the different topics about it here.

And YES you do have actually and positively to identify a player to block him/her.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 07, 2007, 06:26:39 am
Quote from: "Caveman"
Brotherhood, don't get me started on syncing several game-servers, I have been doing that for several years now :)

Going into the subject why one does NOT ban by subnet or even IP (hint: dynamic IPs) to hit a lone player and why one does NOT sync bans by guid would be too much for this thread. Look up the different topics about it here.

And YES you do have actually and positively to identify a player to block him/her.


I really don't understand why you care so much about this. Just becuase you don't have a use for something doesn't mean no one else does either! WHY did I add the banned tab?

1. I had it already set up nicely in memory
2. I had an easy framework to copy from the Admin Config tab
3. I thought "What the hell, I already have everything I need, might as well do something with it"

The banned players tab does not ONLY add banned players. In fact, the first version of it could only modify the CURRENT banned players info (time, reason, etc). The add function was just implemented to make it more complete in case that one time you need it, you have it. Not every single function of a application has to be ultimately usefull.

And funny you mentioned "Syncing Several Game Servers". That was my next idea for TSM. TSM Remote Control (over TCP/IP), alowing you to have one master TSM and then each server run a child TSM that updates it's own configuration settings through the main server  8)
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: benmachine on October 07, 2007, 07:21:20 pm
I'm going to reiterate my point that a bad admin.dat should not be able to crash a server. At worst, !readconfig will fail and no admins or bans will be loaded - the game will continue as normal regardless.

Caveman, if you have any counter-examples I'd be interested to hear from you.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 07, 2007, 07:33:15 pm
ben, i was not talking about reading a bad admin.dat. I agree with you on that.

I was talking about the case where 2 processes try to write simultaniously.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 07, 2007, 10:22:59 pm
Quote from: "Caveman"
ben, i was not talking about reading a bad admin.dat. I agree with you on that.

I was talking about the case where 2 processes try to write simultaniously.


Sorry, but thats impossible becuase TSM won't alow you to save Admin.dat while the server is running. And even if it did, it opens, writes, and releases the file in a few miliseconds. The chances of both the server and TSM writing at the same time would be VERY small because it closes all file handels almost instantly. I do see where your concern is coming from, but I have already taken care of the problem.

EDIT: I did a test to see exacly how much time it takes to save admin.dat
Screen Shot (http://www.fileden.com/files/923/timetest.JPG)

The range was about 1.2 to 3.5 miliseconds to save the file.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Undeference on October 08, 2007, 05:57:00 am
are you timing it with maximum number of everything in admin.dat and is a !readconfig sent immediately/at all? i haven't actually been able to use it and haven't really been interested enough (sorry) to follow all of the discussion or install it on a windows system, so ignore me if what i say is irrelevant
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 08, 2007, 10:26:41 pm
Quote from: "Undeference"
are you timing it with maximum number of everything in admin.dat and is a !readconfig sent immediately/at all? i haven't actually been able to use it and haven't really been interested enough (sorry) to follow all of the discussion or install it on a windows system, so ignore me if what i say is irrelevant


To write about an admin.dat with 20 admins and 5 admin levels, it's about 4 miliseconds (on my machine). 1.2 milisecons for 5 admins, 5 admin levels. TSM is completely stand alone when it comes to reading/writing admin.dat. It uses standard AutoIt3 file I/O to handle files. That answer your question?

EDIT: It's not a big deal you havn't tried it yet. I know many people would rather not use Windows. But, what can I do? I don't know any cross-platform languages well enough to do the same thing. If anyone is interested, I'll post the current source code so you can see if it's possible to at least convert some of the coding concepts.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 08, 2007, 10:51:02 pm
"7 levels, 832 admins, 14 bans" is what our admin.dat is about.
I guess other server have about the same numbers.
And that is w/o any !command.

Better leave the out the complete code for fooling with admin.dat and write it new from scratch, using rcon.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 09, 2007, 03:04:02 am
Quote from: "Caveman"
"7 levels, 832 admins, 14 bans" is what our admin.dat is about.
I guess other server have about the same numbers.
And that is w/o any !command.

Better leave the out the complete code for fooling with admin.dat and write it new from scratch, using rcon.


I just did a test that generated:

7 admin levels

2000 admins

1000 bans

Came up with 101.608 miliseconds. 26.204 with the numbers you gave me. 1/40th of a second is plenty fast enough for practical purposes. The only downside is it takes about 1 minute for TSM to load when it's first started (has to parse, and create all the GUI controls for admin.dat). After that, TSM runs as smoothly as ever. I got those numbers on a standard home PC, 2 gigahertz single core processor.

EDIT: Removed the offensive comments  :-?
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on October 09, 2007, 03:41:01 am
sheesh, dude, get a grip.
I have not even started bashing you and you get all upset that I call the idea of any prog editing the admin.dat a bad idea.

If you get all uppity and think it's personal if someone does not agree with you or your progs, you'd best stop proging right now and never ever set another foot out of the door.
Title: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Brotherhood on October 09, 2007, 03:44:02 am
Quote from: "Caveman"
sheesh, dude, get a grip.
I have not even started bashing you and you get all upset that I call the idea of any prog editing the admin.dat a bad idea.

If you get all uppity and think it's personal if someone does not agree with you or your progs, you'd best stop proging right now and never ever set another foot out of the door.


I'm not upset. Just a little anoyed that this has gone on so long even though I keep trying to end it.

I'm sorry, but I've had a bad day. I just don't have any patience at the moment. Basically my dad was arguing with my mom (again) that we should move out of a major city, Seattle, and live in a little town of just over 800 people in North Dakota. My mother, of course does not want to move from a big city to a town that small out in the middle of no where (nearest city is 70 miles away). My dad then gets mad and threatens to leave us all in an appartment while he goes and moves to North Dakota. There is no possible way we could make it here without his income. But, at the same time, the rest of us really hate the idea of moving there. Yes, I still live with my parents (I'm only 16! jeez) I should have replied tomorrow after some sleep. Hopefully this problem wont come up for another week  :(

I agree with you on the fact that it could cause problems. But, using tremulous console commands would be much slower. Instead of being able to write all at once, I would have to run each command after the other which would take forever for example with your server that has so many admins. I have integrated safe guards that make it pretty much impossible to screw up admin.dat using TSM. A noob editing admin.dat manually, not knowing what hes doing is far more of a hazzard.

~ Brotherhood
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: eyekey1 on December 27, 2007, 02:10:44 pm
I try and start my server i did what it said and it said


tremulous 1.1.0 win_mingw-x86 Aug 27 2006
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\vms-1.1.0.pk3 (1 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\map-rotcannon-b11.pk3 (31 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\map-rotcannon-b10.pk3 (31 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\map-atcs3.pk3 (88 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\highrise-b6.pk3 (23 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous/base
C:\Program Files\Tremulous\base\vms-1.1.0.pk3 (4 files)
C:\Program Files\Tremulous\base\map-uncreation-1.1.0.pk3 (110 files)
C:\Program Files\Tremulous\base\map-tremor-1.1.0.pk3 (45 files)
C:\Program Files\Tremulous\base\map-transit-1.1.0.pk3 (135 files)
C:\Program Files\Tremulous\base\map-niveus-1.1.0.pk3 (134 files)
C:\Program Files\Tremulous\base\map-nexus6-1.1.0.pk3 (151 files)
C:\Program Files\Tremulous\base\map-karith-1.1.0.pk3 (118 files)
C:\Program Files\Tremulous\base\map-atcs-1.1.0.pk3 (87 files)
C:\Program Files\Tremulous\base\map-arachnid2-1.1.0.pk3 (67 files)
C:\Program Files\Tremulous\base\data-1.1.0.pk3 (1229 files)
C:\Program Files\Tremulous/base

----------------------
2254 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found generic

------- Input Initialization -------
No window for DirectInput mouse init, delaying
Joystick is not active.
------------------------------------
--- Common Initialization Complete ---
Winsock Initialized
Opening IP socket: localhost:0
Hostname: kiz
IP: 192.168.1.64
Working directory: C:\Program Files\Tremulous
execing server.cfg
------ Server Initialization ------
Server: atcs
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\vms-1.1.0.pk3 (1 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\map-rotcannon-b11.pk3 (31 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\map-rotcannon-b10.pk3 (31 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\map-atcs3.pk3 (88 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous\base\highrise-b6.pk3 (23 files)
C:\Documents and Settings\Owner\Local Settings\Application Data\Tremulous/base
C:\Program Files\Tremulous\base\vms-1.1.0.pk3 (4 files)
C:\Program Files\Tremulous\base\map-uncreation-1.1.0.pk3 (110 files)
C:\Program Files\Tremulous\base\map-tremor-1.1.0.pk3 (45 files)
C:\Program Files\Tremulous\base\map-transit-1.1.0.pk3 (135 files)
C:\Program Files\Tremulous\base\map-niveus-1.1.0.pk3 (134 files)
C:\Program Files\Tremulous\base\map-nexus6-1.1.0.pk3 (151 files)
C:\Program Files\Tremulous\base\map-karith-1.1.0.pk3 (118 files)
C:\Program Files\Tremulous\base\map-atcs-1.1.0.pk3 (87 files)
C:\Program Files\Tremulous\base\map-arachnid2-1.1.0.pk3 (67 files)
C:\Program Files\Tremulous\base\data-1.1.0.pk3 (1229 files)
C:\Program Files\Tremulous/base

----------------------
4508 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 967 jump table targets
VM file game compiled to 1278421 bytes of code
game loaded in 34216320 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Jan 20 2007
------------------------------------------------------------
InitGame: \sv_minRate\3000\g_suddenDeathTime\35\g_maxGameClients\0\sv_maxclients\30\timelimit\55\sv_maxPing\500\sv_minPing\0\sv_maxRate\25000\sv_hostname\C:/ Clan Server\version\tremulous 1.1.0 win_mingw-x86 Aug 27 2006\protocol\69\mapname\atcs\sv_privateClients\0\sv_allowDownload\1\g_needpass\0\gamename\base
!readconfig: loaded 6 levels, 1 admins, 0 bans, 0 commands
2 teams with 2 entities
-----------------------------------
-----------------------------------
usage: set <variable> <value>
execing mapconfigs/default.cfg
execing mapconfigs/atcs.cfg
Hitch warning: 513035633 msec frame time
broadcast: print "!layout: map 'atcs' has no layouts\n"
Resolving master.tremulous.netHitch warning: 924 msec frame time
Hitch warning: 1087 msec frame time
Hitch warning: 1937 msec frame time
Hitch warning: 1478 msec frame time
Hitch warning: 1621 msec frame time
Sending heartbeat to master.tremulous.net

master.tremulous.net resolved to 208.116.49.110:30710
Sending heartbeat to Sending heartbeat to master.tremulous.net
Hitch warning: 1485 msec frame time
Hitch warning: 1991 msec frame time
Hitch warning: 502 msec frame time
Sending heartbeat to master.tremulous.net
Hitch warning: 630 msec frame timeHitch warning: 2069 msec frame time


Hitch warning: 984 msec frame time

Hitch warning i dont no what it means it keeps carring on someone please help me Thanks C:/Eyekey1 MeG
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Plague on December 27, 2007, 02:29:48 pm
Hitch warning's are a normal part of a working server. The server automatically warns through the console of a hitch warning, which is a delay in the execution of a game event, over 500 msecs.  Hitch warnings are usually generated if CPU time is being spent on other programs or if a more lengthy operation (changing maps or other situations where the game is reading to/writing from the server directory) is occuring.  Too high a hitch warning and clients connected to the server will notice high latency.
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on December 27, 2007, 03:17:39 pm
Solutions

- get a dedicated server
- upgrade the cpu
- kill all other processes on that server, like Apache or mysqld
- use smaller maps
- use a qvm that makes use of *.so
- NEVER EVER PLAY ON THE SAME BOX THE SERVER IS RUNNING ON
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: eyekey1 on December 27, 2007, 06:03:32 pm
So,if i get a get a dedicated server will it work then?, can i do that by going on Tremulous server manager will it be there?, If i do that and still it is not working, can i leave it and will it stop?. And will i be able to go on that when the server is on?

And what is a deciated server?

C:/Eyekey1 MeG

Can Someone Help Me Please Thanks
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: benmachine on December 28, 2007, 02:22:05 am
- use a qvm that makes use of *.so
I'd just like to draw it to your attention that this point here makes absolutely no sense, as far as I can tell.

eyekey: a dedicated server is, quite literally, a server which is dedicated to being a server and doesn't do anything else. They generally cost a fair bit of money.
Despite what Caveman says, it is possible to run a server on a non-dedicated box, and to play on the same box, but you will likely get complaints about lag.
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: Caveman on December 28, 2007, 03:04:24 am
If read in the context it makes perfect sense :)

But your arguing makes none, what good is a server when the players complain about lag?
So... NEVER EVER PLAY ...
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: kevlarman on December 28, 2007, 03:38:40 am
If read in the context it makes perfect sense :)

But your arguing makes none, what good is a server when the players complain about lag?
So... NEVER EVER PLAY ...
what you meant makes perfect sense, what you said makes no sense at all.
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: eyekey1 on December 28, 2007, 12:09:27 pm
Ok, if i just leave it will the hitch warnings go??, eventurlily?
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: hitchen1 on December 28, 2007, 12:43:34 pm
Ok, if i just leave it will the hitch warnings go??, eventurlily?
they will come and go, as long as its nothing like 3336363331 then theres no problem in it.
just leave it running on a spare pc if u can, if not then it doesnt matter too much
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: eyekey1 on December 28, 2007, 08:10:44 pm
I still cant get it on my server it keeps carrring on that i do not do any think eles so please i need help thanks

C:/Eyekey1
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: eyekey1 on December 30, 2007, 08:36:24 pm
Hi i was wondering is anyone can help me i got my server on BUT It is not on Masters list if there anway i can put it Public? Please Thanks

C:/Eyekey1
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: hitchen1 on December 30, 2007, 09:28:29 pm
Yeah... He means people can connect to it but NOONE can see it...
i was helping him before and i got on perfectly through ip ^^
Title: Re: Brotherhood's TSM (Tremulous Server Manager) - Pre-release
Post by: eyekey1 on January 05, 2008, 07:45:27 pm
Server Probelms with using this, i did all off the server right with this i portfoward it i did router and my firewall and i can not see it on master list neither can Hitchen1 or other people any soultions?

Thanks,

C:/Eyekey1