Re: [hlds_linux] Building a daemon

2011-02-03 Thread kama
On Mon, 31 Jan 2011, Bajdechi Nightbox Alexandru wrote: Hello, I've been searching through internet but I could not some useful information: I would like to build a daemon for logaddress (preferably) in PHP, does anyone know a guide/basic infos/example about this ? I usually only need to

Re: [hlds_linux] Building a daemon

2011-02-02 Thread Andre Müller
Thanks, I have aleady seen it. I think your Lib is powerful. So you because you are already working on the project, I will release my code. Long time I was thinking about it, to sell it. At the moment I'm not happy with my own code. Maybe you all can test it and make improvments.

Re: [hlds_linux] Building a daemon

2011-02-01 Thread Eric Riemers
Or just take a peek at the code from hlxce, perl daemon. On Tue, 1 Feb 2011 07:55:08 +0100, Björn Rohlén bjorn.roh...@gmail.com wrote: Or, you could just use netcat, open port, set logaddressthen read the logs as any other without doing the socketstuff yourself. Worked very well when we did

Re: [hlds_linux] Building a daemon

2011-02-01 Thread Andre Müller
I've used Python to program a WarAdmin-Daemon. The daemon get the logs via UDP and it sends on diffrent chatcommands commands via rcon (SRCDS.py). For easy configure i'm using the built in ConfigParser. Here the Class for geting the Logs: ### class UDPLogReader: import socket prefix =

Re: [hlds_linux] Building a daemon

2011-02-01 Thread frostschutz
On Tue, Feb 01, 2011 at 08:31:22PM +0100, Andre Müller wrote: I've used Python to program a WarAdmin-Daemon. The daemon get the logs via UDP and it sends on diffrent chatcommands commands via rcon (SRCDS.py). For easy configure i'm using the built in ConfigParser. That's what I do too (except

[hlds_linux] Building a daemon

2011-01-31 Thread Bajdechi Nightbox Alexandru
Hello, I've been searching through internet but I could not some useful information: I would like to build a daemon for logaddress (preferably) in PHP, does anyone know a guide/basic infos/example about this ? Thanks, Nightbox ___ To unsubscribe, edit

Re: [hlds_linux] Building a daemon

2011-01-31 Thread frostschutz
On Mon, Jan 31, 2011 at 10:41:56PM +0200, Bajdechi Nightbox Alexandru wrote: I would like to build a daemon for logaddress (preferably) in PHP, does anyone know a guide/basic infos/example about this ? PHP would have to run as a stand alone process (not webserver) because you need a persistent

Re: [hlds_linux] Building a daemon

2011-01-31 Thread Bajdechi Nightbox Alexandru
I've gussed PHP will have to run as a stand alone procces. The only problem with Python is that I find it complicated to learn. 2011/1/31 frostschutz frostsch...@metamorpher.de On Mon, Jan 31, 2011 at 10:41:56PM +0200, Bajdechi Nightbox Alexandru wrote: I would like to build a daemon for

Re: [hlds_linux] Building a daemon

2011-01-31 Thread doc
Not to turn this into programming chat but Python as a language is pretty simple to pick up. If you've learned the atrocities of PHP then it should be a walk in the park. On Mon, Jan 31, 2011 at 2:51 PM, Bajdechi Nightbox Alexandru alexandrualexa...@gmail.com wrote: I've gussed PHP will have to

Re: [hlds_linux] Building a daemon

2011-01-31 Thread Björn Rohlén
Or, you could just use netcat, open port, set logaddressthen read the logs as any other without doing the socketstuff yourself. Worked very well when we did the first pickup/gather-bot. -TheG On Tue, Feb 1, 2011 at 12:40 AM, doc drga...@gmail.com wrote: Not to turn this into programming chat