egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rcon thru TCL problem

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Wed Jan 09, 2008 1:07 pm    Post subject: Rcon thru TCL problem Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Jan 10, 2008 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Fri Jan 11, 2008 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Jan 12, 2008 3:32 am    Post subject: Reply with quote

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). Confused

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. Wink

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
View user's profile Send private message Visit poster's website
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Sat Jan 12, 2008 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Jan 12, 2008 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber