Author Topic: Web Based Scripts and/or TCL scripts?  (Read 4304 times)

Blitz

  • 68 Carbine
  • Posts: 329
Web Based Scripts and/or TCL scripts?
« 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!

Foxhound

  • Autococker
  • Posts: 952
Re: Web Based Scripts and/or TCL scripts?
« Reply #1 on: August 21, 2012, 07:46:46 PM »
Only people who groom servers now-a-days is superman and Ic3y. Maybe the OTB guys. Get on irc and chat with them.

SuperMAn

  • Committee Member
  • Autococker
  • Posts: 902
Re: Web Based Scripts and/or TCL scripts?
« Reply #2 on: August 22, 2012, 07:32:01 AM »
DPMatchReserve by Sk89q:  http://code.google.com/p/dpmatchreserve/

3 Server mIRC script:  http://pastebin.com/C9dVB4jE

1 Server mIRC script:  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.

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #3 on: August 22, 2012, 08:53:24 AM »
Thanks!

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #4 on: August 22, 2012, 11:14:50 AM »
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.

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #5 on: August 22, 2012, 01:09:28 PM »
Actually maybe just a PHP config issue, we'll see.

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #6 on: August 22, 2012, 01:39:05 PM »
Specifically, has the control code/reply or whatever changed recently?

Code: [Select]
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 ) );
}

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Web Based Scripts and/or TCL scripts?
« Reply #7 on: August 22, 2012, 01:52:34 PM »
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?

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #8 on: August 22, 2012, 03:08:21 PM »
Looks like HostGator not wanting to play nice with UDP.. we shall see.

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #9 on: August 22, 2012, 05:01:23 PM »
All set.

gonass

  • 68 Carbine
  • Posts: 383
Re: Web Based Scripts and/or TCL scripts?
« Reply #10 on: August 22, 2012, 07:15:32 PM »
br55hit has an irc script if you want me to get it from him.

Blitz

  • 68 Carbine
  • Posts: 329
Re: Web Based Scripts and/or TCL scripts?
« Reply #11 on: August 23, 2012, 09:11:29 AM »
Sure, if you think it would be helpful for us, feel free to shoot me it at justin@er33t.com -- cheers!

gonass

  • 68 Carbine
  • Posts: 383
Re: Web Based Scripts and/or TCL scripts?
« Reply #12 on: August 23, 2012, 08:26:48 PM »
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.