1

Topic: [TOOL] Server Configurator

How much demand would there be for a graphical way to configure, start, and stop a teewars server?

2

Re: [TOOL] Server Configurator

I'm doing something like that for OSX... no guarantee it will be released though smile
I thing it would be fpreferred if someone did a 3:rd party release of a tool like that. It's too much to maintain for us at the moment.

It's not that hard really. Any one with some c++/python/c#/java experience can hack it togeather in an hour. The hard part is making it good and usefull smile

Languages shapes the way we think, or don't.

3

Re: [TOOL] Server Configurator

I'm wrapping it up; wxwidgets and python.

I'll post the sources in a few hours and exes and debs when I make them.

4

Re: [TOOL] Server Configurator

As promised, here's the source:

http://www.mediafire.com/?jnhurzunhod

I'll be producing an exe and a deb as fast as I can, so if you can wait, that'll be a lot easier. Otherwise, you need python and wxPython. Then place the .py file in the same directory as teewars_srv(.exe|) and run the .py. Everything should work then.

Screens:

http://pix.nofrag.com/e/c/5/4cce86afc5fd85eb2dd409bbdf1cf.png

5

Re: [TOOL] Server Configurator

Oh good work. smile

No, that is not me; it's just a figment of your imagination.

6

Re: [TOOL] Server Configurator

Very nice work, pav...something! smile

7

Re: [TOOL] Server Configurator

The screenshot didn't come out too well... The first tab is "server". I need a windows system to make an exe, hopefully I'll get one before monday, or I'll just do it in school then.

Also, the configurator is currently gpl'd so if you want to make any changes, feel free.

8

Re: [TOOL] Server Configurator

Anyone know about the server config files for the new version?

Meanwhile, I have a version 2.0 of the configurator. I'll wait to make it .4 compatible before releasing, though.

9

Re: [TOOL] Server Configurator

pav: the difference in the config for 0.4 is that instead of for example

sv_map=dm2

it should be

sv_map dm2

i.e. no =

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

10

Re: [TOOL] Server Configurator

Is that is?

11 (edited by KRD 2008-03-23 00:58:20)

Re: [TOOL] Server Configurator

Some variables have had their names changed as well.

sv_sendheartbeats is called sv_register now, for example. And it actually works! big_smile

12

Re: [TOOL] Server Configurator

Anything more concrete? And any idea when the docs will update?

13

Re: [TOOL] Server Configurator

http://www.teeworlds.com/forum/viewtopic.php?id=952 .

Thanks,
Pvpede

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

14

Re: [TOOL] Server Configurator

Thanks a bunch! smile

15

Re: [TOOL] Server Configurator

OK, so I've got version 2.0 here.

What's new:

Complete rewrite.
Optional compatibility with 0.4
Load config files
Default configuration can be changed
GTK

So now, you'll need GTK and pygtk to use this, as opposed to wx. Don't ask my why the change. (Hint: on windows, GTK looks ugly by default. There's a nice skin you can use to make it nicer, called like win32 or something.)

Download:

0.3.4 (teewars): http://www.mediafire.com/?yj1xow1qeoz
0.4.0 (teeworlds): http://www.mediafire.com/?mogfrzjduos

Screenshot:

http://pix.nofrag.com/c/d/3/0d44e5aabf802ead3c075d7f0fe80.png

Comments, reviews, feedback right here.

16

Re: [TOOL] Server Configurator

How do you get this to work on windows? Do you click on manager.py? When I click on manager.py, it comes up with a command prompt window that disappears really quickly and nothing happens.

17

Re: [TOOL] Server Configurator

pavpanchekha wrote:

OK, so I've got version 2.0 here.

What's new:

Complete rewrite.
Optional compatibility with 0.4
Load config files
Default configuration can be changed
GTK

So now, you'll need GTK and pygtk to use this, as opposed to wx. Don't ask my why the change. (Hint: on windows, GTK looks ugly by default. There's a nice skin you can use to make it nicer, called like win32 or something.)

Download:

0.3.4 (teewars): http://www.mediafire.com/?yj1xow1qeoz
0.4.0 (teeworlds): http://www.mediafire.com/?mogfrzjduos

Screenshot:

http://pix.nofrag.com/c/d/3/0d44e5aabf8 … f0fe80.png

Comments, reviews, feedback right here.

Really really nice, great job! smile

Dio Bastardo!

18

Re: [TOOL] Server Configurator

Windows Needs:
Python: http://www.python.org/download/
GTK: http://www.gtk.org/download-windows.html
PyGTK: http://ftp.gnome.org/pub/GNOME/binaries … ygtk/2.10/

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

19

Re: [TOOL] Server Configurator

Pvpede: Thanks for listing the windows deps (on linux here, so can't find em). If I have the time and a windows machine, I'll try to make exe's with that bundled. For now, this is the only way...

20 (edited by Pvpede 2008-03-23 17:44:47)

Re: [TOOL] Server Configurator

pavpanchekha wrote:

Pvpede: Thanks for listing the windows deps (on linux here, so can't find em). If I have the time and a windows machine, I'll try to make exe's with that bundled. For now, this is the only way...

http://www.py2exe.org/ ?

Edit: nevermind, you're on Linux hmm

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

21

Re: [TOOL] Server Configurator

When I run manager.py from the command prompt, it says:

Traceback <most recent call last>:
  File "manager.py", line 4, in <module>
    import gtk.glade
ImportError: DLL load failed: The specified module could not be found.

Can anyone help?

22

Re: [TOOL] Server Configurator

I'm just getting a black window, and then it close .

http://pvpede.be/imuu/thumbs/845357wtfpython.png

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

23

Re: [TOOL] Server Configurator

Pvpede, thats what i used to get. Apparently you have to go to the PyGTK website and download PyGObject and PyCairo. However, now I'm stuck with the error in my post above.

24

Re: [TOOL] Server Configurator

Ouch. The configurator uses glade. So you'll need whatever deps pyglade/pygtk/pywhatever needs. Sorry, I'll get a good list of what windows needs round monday.

25 (edited by foxx 2008-10-03 13:11:59)

Re: [TOOL] Server Configurator

Hello,

I made a .exe single file executable from the python sources. See it as a testing version. I build it with Py2Exe and NSIS Installer

http://blog.jbbr.net/files/teeworlds-se … -2.0-2.exe

Regards,
foxx

EDIT: Bumped version to 2.0-2 - Old download was broken...

http://blog.jbbr.net/ - My (german) Blog