2008-2010 - 2010-2012 - 2012-2018


Author Topic: chainsaw querygameserver plugin  (Read 1683 times)

Evil|perry

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 126
chainsaw querygameserver plugin
« on: December 31, 2009, 14:44:39 PM »
hi,

please find attached the source code including my modifications for #evilarena.

greetz
perry

Evil|perry

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 126
Re: chainsaw querygameserver plugin
« on: January 02, 2010, 02:33:36 AM »
update

Quote from: Evil|perry on December 31, 2009, 14:44:39 PM
hi,

please find attached the source code including my modifications for #evilarena.

greetz
perry

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 10, 2010, 00:28:15 AM »
update

compiled by obama YAA \o/  :P

Evil|perry

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 126
Re: chainsaw querygameserver plugin
« on: March 10, 2010, 00:31:02 AM »
ye ...

"obama, place this file in that directory .. now look for this particular button ... " :P  :D

Quote from: Evil|ObaMa on March 10, 2010, 00:28:15 AM
update

compiled by obama YAA \o/  :P

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 01:52:36 AM »
yaaaaa first step to a bot with rconmanager  :) :)

Quote
[01:48:08] [@Evil|ObaMa] !rcon status
[01:48:09] [@Evil|Alice] Response: print
[01:48:10] [@Evil|Alice] map: 13vast
[01:48:11] [@Evil|Alice] num score ping name            lastmsg address               qport rate
[01:48:12] [@Evil|Alice] --- ----- ---- --------------- ------- --------------------- ----- -----
[01:48:13] [@Evil|Alice]   0     0   48 ^7Evil^6|^7Aweso^6M^7e^6*^7      0 217.235.116.83        39159 15000
[01:48:44] [@Evil|ObaMa] !q3 sv.arena-servers.de:28011
[01:48:44] [@Evil|Alice] ------------------------------------
[01:48:44] [@Evil|Alice] OAC-INSTA Arena-Servers.de sv.arena-servers.de:28011
[01:48:44] [@Evil|Alice] Map: 13vast
[01:48:44] [@Evil|Alice] Evil|AwesoMe*, Score: 0, Ping: 48
[01:48:46] [@Evil|Alice] 1 players.
[01:48:57] [@Evil|ObaMa] !rcon kick Evil|AwesoMe*
[01:48:57] [@Evil|Alice] Response: print
[01:48:58] [@Evil|Alice] broadcast: print "^7Evil^6|^7Aweso^6M^7e^6*^7 was kicked\n"
[01:48:59] [@Evil|Alice] ClientDisconnect: 0
[01:49:20] [@Evil|ObaMa] !rcon status
[01:49:20] [@Evil|Alice] Response: print
[01:49:21] [@Evil|Alice] map: 13vast
[01:49:22] [@Evil|Alice] num score ping name            lastmsg address               qport rate
[01:49:23] [@Evil|Alice] --- ----- ---- --------------- ------- --------------------- ----- -----
[01:49:29] [@Evil|ObaMa] \o/

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 06:27:53 AM »
OMFG i have done it!!!! holy ObaMa  :D ;D :D ;D look at the timestamp where the post is written  :P :P

for example:

To set a password on a server...

Quote
[06:00:30] [+Evil|0baMa] !rcon
[06:00:30] [+Evil|Alice] Syntax: !rcon insta/ctf/defrag/cw <command> for example [ !rcon insta kick Evil|ObaMa ]
[06:03:16] [+Evil|0baMa] !rcon cw
[06:03:16] [+Evil|Alice] Syntax: !rcon cw <command>
[06:03:33] [+Evil|0baMa] !rcon cw pw 44
[06:03:33] [+Evil|Alice] Password 44 is now set on cw server.

also you can do it on the normal way like !rcon cw g_password 44
is build like this:
Code: [Select]
$command = str_replace("pw", "g_password", $command);


...to change map

Quote
[06:06:42] [+Evil|0baMa] !rcon defrag
[06:06:42] [+Evil|Alice] Syntax: !rcon defrag <command>
[06:06:56] [+Evil|0baMa] !rcon defrag map hui
[06:06:58] [+Evil|Alice] ==== ShutdownGame ====
[06:06:58] [+Evil|Alice] ShutdownGam...

or simply to get server status (perry should be write a regex for it in the future :P )

Quote
[06:23:50] [+Evil|0baMa] !rcon
[06:23:51] [+Evil|Alice] Syntax: !rcon insta/ctf/defrag/cw <command> for example [ !rcon insta kick Evil|ObaMa* ]
[06:24:12] [+Evil|0baMa] !rcon ctf
[06:24:12] [+Evil|Alice] Syntax: !rcon ctf <command>
[06:24:26] [+Evil|0baMa] !rcon ctf status
[06:24:28] [+Evil|Alice] map: 13vast
[06:24:28] [+Evil|Alice] num name            address              
[06:24:31] [+Evil|Alice]   0    34    0 Ayumi               100 bot                       0 16384
[06:24:32] [+Evil|Alice]   1    33    0 Merman               50 bot                       0 16384

notice: the !rcon command for the bot is saved with level 2!

Evil|perry

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 126
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 12:14:09 PM »
Awesome!

And cu later, evening probably :D


Quote from: Evil|ObaMa on March 13, 2010, 06:27:53 AM
OMFG i have done it!!!! holy ObaMa  :D ;D :D ;D look at the timestamp where the post is written  :P :P


helvas

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 70
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 13:23:51 PM »
Will it be available for every Evil? Or just like before, only for leaders and our server admin?

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 16:10:03 PM »
hmm we must talk with panic about it, mabe we build a !kick cmd a !pw command (pw only for cw) for all evils with op in #evilarena

Monako

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 43
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 16:12:41 PM »
!pw is senseless and useless

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 16:45:50 PM »
Quote from: Monako on March 13, 2010, 16:12:41 PM
!pw is senseless and useless

maybe but easy to write

First_Keeper_Orland

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 17:13:53 PM »
Quote
Will it be available for every Evil? Or just like before, only for leaders and our server admin?

I'm leader and I do not have rcon at all.  :P

Panic

  • (Archive)Evil|Clan Admin
  • *
  • Posts (Archive): 516
Re: chainsaw querygameserver plugin
« on: March 13, 2010, 22:07:59 PM »
Not for everybody.

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 14, 2010, 14:06:41 PM »
yaa i am a developer :)  ;D

Evil|ObaMa

  • (Archive)Evil|Clan Member
  • *
  • Posts (Archive): 96
Re: chainsaw querygameserver plugin
« on: March 14, 2010, 15:42:06 PM »
fixed !rcon & !search via query