1 (edited by hasifee 2012-04-15 03:14:59)

Topic: [REQUEST / QUESTION] What OS are you using and ...

Hello all TW lovers :3,

I have a little Question. What OS are you all using and
where is Teeworlds located within it? It would quite be useful
because i want to write a little app (based on python) that:

1) Starts a Server with given Settings (can be done via interface when done)
2) Restarts crashed Server
3) Can export a .cfg file (from the server settings)
4) Give a log of your server (will be the same as the console output but maybe with some statistics)

I have been thinking about directly give the user access to
existing mods as server executable. But up to now, i found no
solution for it. If somebody has a little idea or something, feel
free to post it here ;3

By the way, I know that similiar Tools already exist, but some seem to
be no more under development. And i will merge some useful
functions into one application :3

Aaah and something else. I hadnt take a closer look to the server source up to
now (C++ source confuses me a bit o_o), but is it possible to overwrite
the normal 'stdout' (prints content to the terminal) to another
way dealing with server messages? Would be nice to know :3

MfG

2 (edited by TeePhoenix 2012-06-10 16:22:24)

Re: [REQUEST / QUESTION] What OS are you using and ...

Deleted.

The face of terrorism is called United States of America!

3

Re: [REQUEST / QUESTION] What OS are you using and ...

TeePhoenix wrote:

But if your aim are those people that run their server from their PC, then it is clear that most of them uses Windows. The problem is here, that python is uncommon in the windows world, so that most wont have the python interpreter and runtimes installed to run your tool, so that you had to explain them this point first, but I doubt that it is worth the afford (for anybody: you / the user).

First I explain this point. Why is there any need to install the interpreter of python on an windows system?
Pythons third-party extension py2exe gives a nice solution for merging the interpreter directly with
the script the developer writes. The Windows User doesnt have to care about installation or something like
that, because you can use it as portable software.

And to the rest of your answer. My pardon if it was not clear what exactly I am thinking about. :3
You said that people who have enough skills to run their own server, have no need for
such a script. OKay, I actually dont know how people are running their server. Maybe you can
tell me something about that? :3
(i guess you are using a server thats not located at your home)
1) Are you monitoring your server all the time? (keep the remote access active)
2) How often crashes a server (just talking about software [freeze, or just exits])
3) Are you using Cronjobs for it, or start it manually?
4) how many TWservers do you run on one hardware?

I am sorry for this confusing topic. I just get the idea this morning/night and
startet do collect some information. sad

4 (edited by TeePhoenix 2012-06-10 16:22:18)

Re: [REQUEST / QUESTION] What OS are you using and ...

Deleted.

The face of terrorism is called United States of America!

5

Re: [REQUEST / QUESTION] What OS are you using and ...

TeePhoenix wrote:
hasifee wrote:

Pythons third-party extension py2exe gives a nice solution for merging the interpreter directly with
the script the developer writes.

This could be, but Python is intended as scripting language. Does this really work well?

I tried some compiled programs and up to now there were no problems :3
There were a lot of projects that provide Windows binaries without installing
the Python environment like Webbrowser (up to now i just see one :3) or
games based on the SDL Library (like Teeworlds does).

TeePhoenix wrote:

You should monitor it as often as you can.

Ok, I just asked if everybody is doing that. I tried the Website you linked
at the end of your post. Its quite a very good website, you can edit
almost everything ,upload own maps and so on. BUT, for me as somebody who likes
to play different gamemodes and maps will it be difficult to keep an eye on the
server all the time. Maybe thats just my suggestion so this isnt an argument at all.

At least I think i cancel this project. It really seems to make no sense,
spend that much time into something useless x3. But now i learned
something new, thats quite more positive :3.

Btw, can i cancel this strange Poll here? o_O i forgot to fill in a day limit (my fault srry >_<)

6 (edited by TeePhoenix 2012-06-10 16:22:11)

Re: [REQUEST / QUESTION] What OS are you using and ...

Deleted.

The face of terrorism is called United States of America!

7 (edited by hasifee 2012-04-15 20:45:52)

Re: [REQUEST / QUESTION] What OS are you using and ...

TeePhoenix wrote:

SDL is written in Python!?

No xD Its written in an C-Language (so far i know). But there are
Python Bindings for it. Like
Pygame (most used for little games, some of them
you can find in the Ubuntu Software Center if they were developed enough)
or
FIFE Engine (this is quite not that popular, but shows
some graphical increase based on SDL and you can made some parts in OpenGL [as far as i know ;D])
The biggest project based on this Engine, is Unknown Horizons.
It is not very far in development, but I take a look and it shows quite some good ways :3

They both provide different ways to access the SDL Library with pure Python code.
But the Libraries themselve are written in an Lower-level Language.