OnOeS Renegade FDS Bot [message #447949] |
Wed, 25 May 2011 07:56 |
|
Hex
Messages: 858 Registered: March 2004
Karma: 0
|
Colonel |
|
|
I no longer play renegade and have decided that it's time to share my source for my bot OnOeS, this includes the full source and php
Credits for the coding goes to myself, jnz and pvtschlag
You can download it here
Any questions or help needed should be directed to me on irc.jelly-server.com, channels #jelly or #st0rm
goztow wrote on Tue, 11 May 2010 08:00 | If we had to ban all who ever cheated or ever created a cheat (obj3cts and such) then I don't think there would be many members left here (sad fact).
|
reborn wrote on Fri, 29 January 2010 23:37 | std is for pro's.
|
|
|
|
|
|
Re: OnOeS Renegade FDS Bot [message #447987 is a reply to message #447949] |
Wed, 25 May 2011 20:08 |
raven
Messages: 595 Registered: January 2007 Location: Toronto, Ontario
Karma: 0
|
Colonel |
|
|
If you add any std:: to OnOeS, it's programmed to reformat your computer and send your address to Hex, who will in turn pay you a visit and ensure you have a slow and painful death.
just sayin'
-Jelly Administrator
-Exodus Administrator
|
|
|
|
|
Re: OnOeS Renegade FDS Bot [message #448095 is a reply to message #448093] |
Fri, 27 May 2011 12:20 |
|
Hex
Messages: 858 Registered: March 2004
Karma: 0
|
Colonel |
|
|
Caused no lag what so ever that I noticed (over a couple of years) FPS were always good never really dropping below 58, a lot of lag issues due to things like queries were fixed within weeks of finding then
goztow wrote on Tue, 11 May 2010 08:00 | If we had to ban all who ever cheated or ever created a cheat (obj3cts and such) then I don't think there would be many members left here (sad fact).
|
reborn wrote on Fri, 29 January 2010 23:37 | std is for pro's.
|
[Updated on: Fri, 27 May 2011 12:21] Report message to a moderator
|
|
|
Re: OnOeS Renegade FDS Bot [message #448104 is a reply to message #447949] |
Fri, 27 May 2011 17:13 |
a000clown
Messages: 363 Registered: May 2005 Location: Canada
Karma: 0
|
Commander |
|
|
I don't play anymore either but look forward to going through the source code. It's always nice to check out things like this that are both above my skill level and relevant to my interests
|
|
|
Re: OnOeS Renegade FDS Bot [message #448109 is a reply to message #447949] |
Fri, 27 May 2011 18:23 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
I'm curious, why would it lag the server if the SQL library isn't multi-threaded? I'm not that familiar with database engines but I have never heard of that. It would be kinda weird because SQLite is designed to be usable in embedded systems and it supports in-memory databases. SSGM 2.0.2 gest a file handle for reading, writes a message to that file, then closes it every single time the WriteGamelog() function is called, which happens every two seconds for every player plus for most game events.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
Re: OnOeS Renegade FDS Bot [message #448127 is a reply to message #447949] |
Sat, 28 May 2011 02:03 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
It's blocking.
The next code to execute will not do so until the SQL query has completed it's function.
If it all runs quickly then you wont notice. I imagine (but can't be sure) that a small DB and small table on a fast server would not cause any more lag than other I/O disk operations (such as reading from a text file, or writing to it).
However, to make it non-blocking, you could work with threads.
|
|
|
|
Re: OnOeS Renegade FDS Bot [message #487044 is a reply to message #447949] |
Sun, 06 April 2014 14:04 |
|
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma: 0
|
General (2 Stars) |
|
|
Yes, at home, but I'm almost positive its written for SSGM 2.0.2, in which case it would require a substantial amount of work to bring it up to speed. There's also pretty much zero documentation and comments so its nearly a lost cause (aside from informational purposes).
-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29 | Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade
|
[Updated on: Sun, 06 April 2014 14:05] Report message to a moderator
|
|
|
|
|
Re: OnOeS Renegade FDS Bot [message #492215 is a reply to message #447949] |
Sun, 16 April 2017 13:53 |
shaitan
Messages: 727 Registered: April 2005 Location: Pennsylvania
Karma: 0
|
Colonel |
|
|
As long as Rencorner is up(or we don't lose any hard drives again), it'll be here:
http://box.rencorner.com/renfds/
Aircraftkiller wrote on Sun, 18 Jan 2004 07:38 | I get along with people fine, so long as they aren't rejects who promised things that they couldn't
deliver on, or forum trolls who contribute nothing except to bloat the fragile egos of the same
rejects I despise.
|
|
|
|
|
|
|