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 

Time out on Connect
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 4:02 am    Post subject: Reply with quote

i restart the root
dont say i run eggdrop with root....

i already uncomment this lines

AND

now i do this:

bind dcc n tcl *dcc:tcl
bind dcc n set *dcc:set

but it still wont work...

what im doing wrong?
....
Back to top
View user's profile Send private message
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 4:17 am    Post subject: Reply with quote

so i recompiled and found a compile error:



tcl.c:490: warning: dereferencing type-punned pointer will break strict-aliasing rules
tcl.c: In function `readtclprog':
tcl.c:740: warning: assignment discards qualifiers from pointer target type
----------------------------------------------
userent.c: In function `del_entry_type':
userent.c:1135: warning: dereferencing type-punned pointer will break strict-ali asing rules
----------------------------------------------
../server.mod/server.c: In function `next_server':
../server.mod/server.c:1050: warning: dereferencing type-punned pointer will break strict-aliasing rules
../server.mod/server.c: At top level:
../server.mod/server.c:1344: warning: dereferencing type-punned pointer will break strict-aliasing rules
../server.mod/server.c:1352: warning: dereferencing type-punned pointer will break strict-aliasing rules
mv server.o ../

thats the errors but i CAN compile my eggdrop ...
AND now the .set works....

but i havnt a tcl error and the scripts still wont work
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Nov 12, 2006 5:36 am    Post subject: Reply with quote

Warnings are there for the coders and can be quite happily ignored. Smile
_________________
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
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 5:37 am    Post subject: Reply with quote

so..
i still need help ^^
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Nov 12, 2006 5:45 am    Post subject: Reply with quote

Correctly edited/configured scripts should work as expected.

Always read the instructions in the script header. Any alterations would require a .rehash via the party line.
_________________
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
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 5:53 am    Post subject: Reply with quote

read all post please ...
ALL scripts wont work
no response from bot
no error
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Nov 12, 2006 8:50 am    Post subject: Reply with quote

The problem appears to be your end and not the eggdrop.

If you are being ignored by the bot then re-check your host in the userfile.

Maybe re-read Enhancing Your Eggdrop.
_________________
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
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 9:00 am    Post subject: Reply with quote

all gets ignored
chan admin all ops
voiced
normals

ALL

but the badword works
so
why all other scripts wont work?
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Nov 12, 2006 1:11 pm    Post subject: Reply with quote

Cos you're not using them correctly..And you're not providing enough info to anyone here to help you. sooooo.. read the friendly manual.
Back to top
View user's profile Send private message
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sun Nov 12, 2006 1:13 pm    Post subject: Reply with quote

i make a script witch is testet in many bots
!reply
bot says: answer

BUT my bot says nothing
...

its my bot / my root
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Nov 12, 2006 1:43 pm    Post subject: Reply with quote

Maybe it does not like running as root..I don't know if eggdrop has built in idiot-proofing like that, it should..
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Nov 12, 2006 4:55 pm    Post subject: Reply with quote

kaio!: You were told once already that eggdrop cannot be run from root. It has to be run from a user account.

You are not reading the information on any of the links that have been posted.

kaio! wrote:
i make a script witch is testet in many bots
!reply
bot says: answer

This doesn't tell you something? It is not the script it is whatever you're doing wrong.

Read the bot logs (~./logs) and you just may figure it out.
_________________
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
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Wed Nov 15, 2006 9:52 am    Post subject: Reply with quote

kaio!: You were told once already that eggdrop cannot be run from root. It has to be run from a user account.

i have already reply that...
my root = my server
im running this bot fron an user account....

but i compile many versions of this bot...
noone of them works...
only change the irc network and the chanel ... nothing works...
should i reinstall the root's os?
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Wed Nov 15, 2006 6:16 pm    Post subject: Reply with quote

"noone of them works... " says nothing!

Read the logs!

Start your bot with the "-n" switch and watch what displays; copy and paste it to a post even.
Code:
./eggdrop -n bot.conf

You have the tools to figure out what is wrong and you're not using them.
_________________
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
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Nov 15, 2006 7:24 pm    Post subject: Reply with quote

kaio! wrote:

noone of them works...

You said before one of them worked.. So... I dunno how you expect us to be mind readers and figure out what YOU are doing wrong. Maybe eggdrop is beyond your expertise.. So your choices are 1) RTFM and educate yourself and learn how to make it work or 2) Go back to playing Xbox Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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