| View previous topic :: View next topic |
| Author |
Message |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Tue Sep 09, 2008 5:38 pm Post subject: script problem |
|
|
| Code: | #### RCON KIT ####
proc myrcon {hand idx args} {
global q_chan q_pubannounce
set comnd "say launched at #channel irc channel - go subscribe!"
dorcon 192.168.1.2 27015 myrcon $comnd
putlog "announce to servers completed"
putserv "NOTICE $q_chan :[q_txt pubannounce]"
}
proc dorcon {rip rport pswd comnd} {
set challenge [challengercon $rip $rport]
set response [rcon $rip $rport $challenge "$pswd" $comnd]
if { $response == -1 } { set response "$rip has trouble" }
putlog "$response"
}
### /RCON KIT ###
|
server ip : 192.168.1.2
rcon : myrcon
But all the time on dcc chat when i run the proc
[00:06:15] <GC-Bot> [00:06] 192.168.1.2 has trouble
[00:06:24] <GC-Bot> [00:06] rconerror: Server not responding (timeout) 0
[00:06:30] <GC-Bot> [00:06] rconerror: Server not responding
[00:06:31] <GC-Bot> [00:06] 192.168.1.2 has trouble
[00:06:31] <GC-Bot> [00:06] announce to servers completed
saids aftes fails that announce goes to server but nothing.. also module rcon is added.. can someone help me to fix that?
Why server not responsing and server is ok ? |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Sat Sep 13, 2008 4:37 pm Post subject: |
|
|
| anyone? :/ |
|
| Back to top |
|
 |
game_over Voice
Joined: 26 Apr 2007 Posts: 29
|
Posted: Sun Sep 14, 2008 6:06 am Post subject: |
|
|
if this ip can see ftom other networks. Looks like default windows ip xD
| Code: | C:\Documents and Settings\gameover>telnet 192.168.1.2 27015
Connecting To 192.168.1.2...Could not open connection to the host, on port 27015
: Connect failed |
|
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Sep 15, 2008 7:00 am Post subject: |
|
|
yes is local ip :p
anyway look on this ip.. and it if works will be fine..
87.243.64.70 27015 |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Wed Sep 17, 2008 5:06 pm Post subject: |
|
|
my code i ask someone who run that code before and he said is correct..
i must make any change on rconmod? port or something? |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Sat Sep 20, 2008 11:59 am Post subject: |
|
|
| anyone knows what changes i must do to rcon module? |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
|
| Back to top |
|
 |
|