This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Rcon thru TCL problem

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Rcon thru TCL problem

Post by ultralord »

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: Select all

  [19:09] Tcl error [srv_cmd]: /home/ultralord/eggdrop-greekirc/rcon/rcon: 1: Syntax error: word unexpected (expecting ")")

can someone help me? :s


thnx
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

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: Select all

http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=732
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

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?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

As was stated (quite clearly):
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
Post Reply