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

Joined: 06 Nov 2006 Posts: 255
|
Posted: Wed Jan 09, 2008 1:07 pm Post subject: Rcon thru TCL problem |
|
|
i try this script.. but on dcc chat when i press one command like : !!rcon_say mpla mpla i saw this problem message on dcc chat
i have rcon file in rcon folder on this path
and i make it chmod u+x
/home/ultralord/eggdrop-greekirc/rcon/
| Code: | | [19:09] Tcl error [srv_cmd]: /home/ultralord/eggdrop-greekirc/rcon/rcon: 1: Syntax error: word unexpected (expecting ")") |
can someone help me? :s
thnx |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Jan 10, 2008 2:59 pm Post subject: |
|
|
Think you could recreate the error with some extended debugging info?
Such as the content of errorCode and errorInfo immediately after the error occurs.
Looking at the sourcecode however, it seems this script suffers from issues such as mixing strings and lists, and this might very well be one of the sources of your problems...
Further, it would seem this script does nothing to prevent arbitrary execution of code at shell-level, making it potentially dangerous if you are not very careful with the hostmasks of any and all global or channelmasters. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Fri Jan 11, 2008 2:13 pm Post subject: |
|
|
can someone fix it?
i run test server on my connection ..
for tests..
NEVER post details such as server logins on such a public place as these forums. (Alchera)
plz test this script with the commands if someone can help me.. is very important to work this??
script:
| Code: | | http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=732 |
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Jan 12, 2008 3:32 am Post subject: |
|
|
| ultralord wrote: | can someone fix it?
|
There's a certain amount of self-help required on your part; the purpose of these forums is to provide assistance if any one wishes but it is dependent on one making some effort to resolve their problem.
You were asked (by nml375) to reproduce an apparent error and apparently you cannot remember what you did in the first place to actually cause it (the error).
| nml375 wrote: | | Looking at the sourcecode however, it seems this script suffers from issues such as mixing strings and lists, and this might very well be one of the sources of your problems... |
Reading what is posted by others will definitely be less painful for you.
Note: NEVER post details such as server logins on such a public place as these forums. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Sat Jan 12, 2008 7:31 am Post subject: |
|
|
Thanks Alchera ..
i read what nml375 wrote.. but in .tcl only i change the ip / pass / rcon nothing else.. maybe tcl have problem.. and doesnt working at all.. and before i tell some info login etc.. to test the script if someone want it.. thanks and i am sorry..
anyone knows how we can fix the script? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Jan 12, 2008 8:23 am Post subject: |
|
|
As was stated (quite clearly):
| Quote: | | it seems this script suffers from issues such as mixing strings and lists, and this might very well be one of the sources of your problems |
Either find another script or write one yourself OR do more research and see if there's a solution staring you right in the face. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|