Author Topic: need help - scripting  (Read 1039 times)

0 Members and 2 Guests are viewing this topic.

Offline Ben

  • Major(1)
  • Posts: 16
need help - scripting
« on: July 12, 2007, 05:54:52 pm »
hiho,
I have 2 soldatservers and i have a mIRC channel, I am using ARSSE.
Now I wanted to script with onIRCMessage, that i can say "!players server1" in the mIRC channel, and then it tells me the names playing on the server. But i just know how to script how many ppl are in team A and B.

Now i asked a very intelligetn person, that telled me i can get the playernames "by parsing the REFRESH packet in a TCP socket"
 :o

no clue how to do that...
pls help


ps: i used the board search and found this ( http://forums.soldat.pl/index.php?topic=212.0), but i still don't know how to make the script i want...
« Last Edit: July 12, 2007, 06:02:31 pm by Ben »

Offline chrisgbk

  • Moderator
  • Veteran
  • *****
  • Posts: 1739
Re: need help - scripting
« Reply #1 on: July 13, 2007, 06:23:46 pm »
hiho,
I have 2 soldatservers and i have a mIRC channel, I am using ARSSE.
Now I wanted to script with onIRCMessage, that i can say "!players server1" in the mIRC channel, and then it tells me the names playing on the server. But i just know how to script how many ppl are in team A and B.

Now i asked a very intelligetn person, that telled me i can get the playernames "by parsing the REFRESH packet in a TCP socket"
 :o

no clue how to do that...
pls help


ps: i used the board search and found this ( http://forums.soldat.pl/index.php?topic=212.0), but i still don't know how to make the script i want...

This isn't possible with ARSSE. You would have to write your own program that, as the person you asked suggested, parses the REFRESH packet.

This may be possible to do with server-side scripting, so I'll leave this here if anyone wants to take up that.

Offline Ben

  • Major(1)
  • Posts: 16
Re: need help - scripting
« Reply #2 on: July 15, 2007, 06:22:37 am »
s-h-it, i thougth it would be easy to script ;P

but nevertheless thx
« Last Edit: July 15, 2007, 06:32:44 am by Ben »