Digital Paint Discussion Board
Development => General Development => Topic started by: Blitz on August 21, 2012, 05:42:56 PM
-
Does anyone have some current, updated web based match-server type scripts and/or tcl irc bot scripts? Not looking to reinvent the wheel unless necessary. Cheers!
-
Only people who groom servers now-a-days is superman and Ic3y. Maybe the OTB guys. Get on irc and chat with them.
-
DPMatchReserve by Sk89q: http://code.google.com/p/dpmatchreserve/
3 Server mIRC script: http://pastebin.com/C9dVB4jE (http://pastebin.com/C9dVB4jE)
1 Server mIRC script: http://pastebin.com/y0rNsAsa (http://pastebin.com/y0rNsAsa)
I don't think the mIRC scripts work with the latest version of mIRC. Need 5.7 or earlier I think it was.
-
Thanks!
-
Anyone know if the rcon cvars have changed or something? Have the web script up and config'd at http://paintball.er33t.com/ , but not properly connecting to the servers at the moment. Hmm.. will look at codebase more in a few.
-
Actually maybe just a PHP config issue, we'll see.
-
Specifically, has the control code/reply or whatever changed recently?
protected function send_ctrl($data) {
$this->send ( "\xFF\xFF\xFF\xFF$data\0" );
}
protected function get_ctrl($length = 4096) {
return preg_replace ( "`^\xFF\xFF\xFF\xFFprint\n`", "", $this->get ( $length ) );
}
-
Nah, fairly sure it hasn't changed. My page at http://dm.bantero.us/ works alright using the same DigitalPaintServer library. Are you running the servers and the script on the same box?
-
Looks like HostGator not wanting to play nice with UDP.. we shall see.
-
All set.
-
br55hit has an irc script if you want me to get it from him.
-
Sure, if you think it would be helpful for us, feel free to shoot me it at justin@er33t.com -- cheers!
-
You'd have to download an old mirc client and leave it running for the bot, or run the script from an old mirc client with your account.