EnergyMech

Forum | Features | Download | Addons | Help | #emech | Links | About | Contact

Versions | News Archive | Installing | Linking | Configuration | Commands | FAQ


The time is now Thursday, April 7th, 2022, 12:24pm

Create account ]   User/Pass   


Forum Index :: EnergyMech 3.x Development :: bugs 3.0.1 :: Reply to this topic

Author
 
Clark
Posted :: 5:04pm, Tue, Sep 6, 2005     Subject :: bugs 3.0.1

(anonymous)
 
    well i got some bugs here posted under another topic, they are under:
The Future: EnergyMech 3.1: but here it is so you won't bother changing windows.
firts off all i want to thank you for the best bot ever (2.9.4) ;)
i'm testing 3.0.1 now and i'm not loving it, the bigsay thing was a little cool
but nothing else.
[2@Sep:05:35:35] <emech301> Help on stats
[2@Sep:05:35:36] <emech301> Level needed: 80
[2@Sep:05:35:36] <emech301> Usage: STATS <type> [servername]
[2@Sep:05:35:36] <emech301> Usage: STATS <type> [servername]
[2@Sep:05:35:36] <emech301> Show server status lines.
[2@Sep:05:35:36] <emech301> See also: LINKS, LUSERS

as you can see there is repeation, not just here other help files to as
nextserver, and when we are talking about nextserver, that is the only "server"
command that works, serverlist is just "Squeeze me?" and the bot won't change
server when i type f.eks "-server oslo2.no.eu.undernet.org 6667" and so on.
there is no help for notify and note, and where is the -report command?
Squeeze me for bothering...

but i found some others to,
the -esay $channel it comes out like this @#chan1#chan2#chan3@#chan4 :/
and this very wierd thing happend once

[5@Sep:19:04:58] * Clark sets mode: +b Clark!*gatebarn1@C1aRK.users.undernet.org
[5@Sep:19:04:58] * Norge sets mode: -b Clark!*gatebarn1@C1aRK.users.undernet.org
[5@Sep:19:05:03] * Clark sets mode: +b Clark!*gatebarn1@C1aRK.users.undernet.org
[5@Sep:19:05:04] * Norge sets mode: -b Clark!*gatebarn1@C1aRK.users.undernet.org
[5@Sep:19:05:08] <Clark> dustebot
[5@Sep:19:05:13] * Clark sets mode: -oooooo MassDeop DaNcE_ FoRbAnNa Genie Jokke Lois
[5@Sep:19:05:13] * Clark sets mode: -oooooo Mono MoRoKlumpeN Norge Orkla Pondus Snapple
[5@Sep:19:05:20] * Clark sets mode: +ooo FoRbAnNa MoRoKlumpeN DrJekyll^
[5@Sep:19:05:25] * Clark sets mode: +b Clark!*gatebarn1@C1aRK.users.undernet.org
[5@Sep:19:05:30] * Clark sets mode: -b Clark!*gatebarn1@C1aRK.users.undernet.org
[5@Sep:19:05:32] <Clark> ok
[5@Sep:19:05:35] * Clark sets mode: +oooooo DaNcE_ Genie Jokke Lois MassDeop Mono
[5@Sep:19:05:35] * Clark sets mode: +ooooo Norge Orkla Pondus Snapple Stua
[5@Sep:19:05:35] * Stua sets mode: +bbbb *!*retard@*.nastyninja.net *!*kewl@*.undernet.org *!*retard@*.msn.hm *!*beware@*.biatches.org
[5@Sep:19:05:35] * Norge sets mode: -o+b Stua *!*kewl@*.multinet.no
[5@Sep:19:05:35] * Stua was kicked by Norge (*!*retard@*.nastyninja.net is Protected)
[5@Sep:19:05:35] * Norge sets mode: -bbbb *!*beware@*.biatches.org *!*retard@*.msn.hm *!*kewl@*.undernet.org *!*retard@*.nastyninja.net
[5@Sep:19:05:57] <Clark> lol javell?
[5@Sep:19:06:10] * Clark sets mode: -b *!*kewl@*.multinet.no
[5@Sep:19:06:13] * Stua (kewl@eggis.multinet.no) has joined #Stua
[5@Sep:19:06:16] * Clark sets mode: +o Stua
[5@Sep:19:06:16] * Norge was kicked by Stua (*!*@C1aRK.users.undernet.org is Protected)
[5@Sep:19:06:16] * Norge (kewl@Norge.users.undernet.org) has joined #Stua
[5@Sep:19:06:16] * Genie was kicked by Stua (*!*@C1aRK.users.undernet.org is Protected)
[5@Sep:19:06:17] * DaNcE_ sets mode: -o+b Stua *!*kewl@*.multinet.no
[5@Sep:19:06:17] * Stua was kicked by Pondus (Norge!kewl@Norge.users.undernet.org is Protected)
[5@Sep:19:06:17] * Pondus sets mode: +o Norge
[5@Sep:19:06:18] * Snapple (beware@stupid.biatches.org) has joined #Stua
[5@Sep:19:06:19] * Norge sets mode: +o Snapple
[5@Sep:19:06:20] * Pondus sets mode: +o Genie
[5@Sep:19:06:33] * Clark sets mode: -b *!*kewl@*.multinet.no
[5@Sep:19:06:40] * Stua (kewl@eggis.multinet.no) has joined #Stua
[5@Sep:19:06:48] * Clark sets mode: +o Stua
[5@Sep:19:06:49] * Snapple was kicked by Stua (*!*@C1aRK.users.undernet.org is Protected)
[5@Sep:19:06:49] * Norge sets mode: -o+b Stua *!*kewl@*.multinet.no
[5@Sep:19:06:49] * Stua was kicked by Norge (Snapple!beware@stupid.biatches.org is Protected)
[5@Sep:19:06:49] * Snapple (beware@stupid.biatches.org) has joined #Stua
[5@Sep:19:06:49] * Norge sets mode: +o Snapple
[5@Sep:19:07:00] * Clark sets mode: -b *!*kewl@*.multinet.no
[5@Sep:19:07:07] * Stua (kewl@eggis.multinet.no) has joined #Stua
[5@Sep:19:07:24] <Clark> stupid bot

that's got to be the biggest mistake... :/
and here is an idea, what about make a patch to the 2.9.4 or upgrade it to
2.9.5 with the adding of ppl in multiple channels without adding them global
or with multiple handle, and maybe have bigsay and other things as a script
for the 2.9.4/5 NOT BUILD IN :)
thanks for your time.
clark
2.9.4 rules ;)


 
Clark
Posted :: 5:29pm, Tue, Sep 6, 2005     Subject :: just discovered another one...

(anonymous)
 
    yeah i did, in the -screw command..
[6@Sep:19:45:32] <Clark> -kb Orkla
[6@Sep:19:45:32] -Stua- Orkla kickbanned on #Stua
[6@Sep:19:45:32] * Stua sets mode: +b *!*mono@*fylla.net
[6@Sep:19:45:32] * Orkla was kicked by Stua (Go away we don't server your kind here!)
[6@Sep:19:45:41] <Clark> -screw Jokke
[6@Sep:19:45:41] -Stua- Jokke screwbanned on #Stua
[6@Sep:19:45:41] * Stua sets mode: +b *!?*l@*.unde?n??*or*
[6@Sep:19:45:48] <Clark> lol
[6@Sep:19:45:51] <Clark> Norge
[6@Sep:19:45:56] <Clark> -screw Norge
[6@Sep:19:45:56] -Stua- Norge screwbanned on #Stua
[6@Sep:19:45:57] * Stua sets mode: +b *!?*e??@?*un*r?e?.o??
[6@Sep:19:46:02] <Clark> hahaha

as you can see it only set one ban and not 2, and it dosen't kick the screwed
person.. did you ever bugtest the bot?
thanks.
Clark

 
falken
Posted :: 3:28pm, Thu, Jan 26, 2006     Subject :: channel show bug


Posts: 6
 
    [17:27:22] <@priv> smartgirl esay $channels
[17:27:22] <@smartgirl> @#c0de@#Conspiration.of.the.Sheep@#System@#/dev/null@#road.closed

as you can see the channels are not shown properly

[17:28:48] <@priv> FalKen esay $channels
[17:28:48] <@FalKen> #Conspiration.of.the.Sheep @#/dev/null @#road.closed



 
madcamel
Posted :: 7:03pm, Thu, May 11, 2006     Subject :: Thanks


Posts: 12
 
    Thanks for these bug reports guys, keep em coming. Sorry I didn't fix them in 3.0.2 - my time is in short supply so all I fixed was the crash.. But when I get a Round Tuit, I will fix any bugs reported in this thread.

 
falken
Posted :: 1:28pm, Thu, Jun 15, 2006     Subject :: bug on 3.0.2


Posts: 6
 
    i've asked this on unet #emech

[18:28:31] <falken-> hi,anyone has any ideea why my emech3.0.2 doesn't connect to irc ? i have compiled it,edited the needed files,the process is started but the emech doesn't try to connect
I guess noone was online

anyway

I've downloaded the source.compiled it

geo@time:~/bots/emech-3.0.2$ ./configure
checking system type ... Linux-i686
checking for C compiler ... gcc
checking whether gcc works or not ... yes
checking C compiler flags ... -g -fomit-frame-pointer -pipe -O2
checking pointer size ... 4
checking if cpu can access unaligned memory ... yes
checking for inet_addr() ... yes
checking for inet_aton() ... yes
checking for socket() ... yes
checking for crypt() ... yes
checking for tcl ... no
checking for friendly ld ... no
checking for objcopy ... /usr/bin/objcopy
Creating src/Makefile

Do you want ...

Alias support? ............................. [Y/n] y
Amusing misc commands (toybox)? ............ [Y/n] y
Async DNS support? ......................... [Y/n] y
Botnet support? ............................ [Y/n] y
CTCP? ...................................... [Y/n] y
DCC file support? .......................... [Y/n] y
Debug support? ............................. [y/N] y
Dynamic channel limit (+l)? ................ [Y/n] y
Dynamic command levels support? ............ [Y/n] y
IRC proxy support? ......................... [Y/n] y
IRCD extensions support? ................... [Y/n] y
Greet support? ............................. [Y/n] y
HTTP support? .............................. [y/N] y
MD5 password support? ...................... [Y/n] y
Newbie support? ............................ [Y/n] y
Note support? .............................. [Y/n] y
Notify support? ............................ [Y/n] y
Perl scripting support? .................... [y/N] no (unsupported)
Command output redirect? ................... [Y/n] y
Seen support? .............................. [y/N] y
Session support? ........................... [Y/n] y
Statistics support? ........................ [Y/n] y
Tcl scripting support? ..................... [y/N] no (unsupported)
Telnet support? ............................ [Y/n] y
Trivia support? ............................ [y/N] n
Uptime support? ............................ [Y/n] y
WinGate support? ........................... [Y/n] y

Creating src/config.h
All done. You can now "make clean install"

Send your bugreports to <proton@energymech.net>

You have read the README file I hope?

geo@time:~/bots/emech-3.0.2$ make clean install
( cd src ; make clean )
make[1]: Entering directory `/home/geo/bots/emech-3.0.2/src'
rm -f energymech gencmd mcmd.h core alias.o auth.o bounce.o channel.o core.o ctcp.o debug.o dns.o dynamode.o function.o greet.o help.o irc.o kicksay.o main.o net.o net_chan.o note.o notify.o ons.o parse.o perl.o prot.o redirect.o reset.o seen.o shit.o socket.o spy.o stats.o tcl.o telnet.o toybox.o trivia.o uptime.o user.o vars.o web.o
make[1]: Leaving directory `/home/geo/bots/emech-3.0.2/src'
( cd src ; make install )
make[1]: Entering directory `/home/geo/bots/emech-3.0.2/src'
gcc -pipe -g -o gencmd gencmd.c
./gencmd > mcmd.h
gcc -pipe -g -O2 -fomit-frame-pointer -c alias.c
gcc -pipe -g -O2 -fomit-frame-pointer -c auth.c
gcc -pipe -g -O2 -fomit-frame-pointer -c bounce.c
gcc -pipe -g -O2 -fomit-frame-pointer -c channel.c
gcc -pipe -g -O2 -fomit-frame-pointer -c core.c
gcc -pipe -g -O2 -fomit-frame-pointer -c ctcp.c
ctcp.c: In function âdcc_sendfileâ:
ctcp.c:173: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
ctcp.c: In function âdcc_chatâ:
ctcp.c:490: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c debug.c
debug.c: In function âdebug_botnetâ:
debug.c:630: warning: pointer targets in passing argument 3 of âgetpeernameâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c dns.c
dns.c: In function âprocess_rawdnsâ:
dns.c:534: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c dynamode.c
gcc -pipe -g -O2 -fomit-frame-pointer -c function.c
gcc -pipe -g -O2 -fomit-frame-pointer -c greet.c
gcc -pipe -g -O2 -fomit-frame-pointer -c help.c
gcc -pipe -g -O2 -fomit-frame-pointer -c irc.c
gcc -pipe -g -O2 -fomit-frame-pointer -c kicksay.c
gcc -pipe -g -O2 -fomit-frame-pointer -c main.c
main.c: In function âdoitâ:
main.c:525: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c net.c
gcc -pipe -g -O2 -fomit-frame-pointer -c net_chan.c
gcc -pipe -g -O2 -fomit-frame-pointer -c note.c
gcc -pipe -g -O2 -fomit-frame-pointer -c notify.c
gcc -pipe -g -O2 -fomit-frame-pointer -c ons.c
gcc -pipe -g -O2 -fomit-frame-pointer -c parse.c
gcc -pipe -g -O2 -fomit-frame-pointer -c perl.c
gcc -pipe -g -O2 -fomit-frame-pointer -c prot.c
gcc -pipe -g -O2 -fomit-frame-pointer -c redirect.c
gcc -pipe -g -O2 -fomit-frame-pointer -c reset.c
reset.c: In function ârecover_clientâ:
reset.c:89: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
reset.c: In function ârecover_serverâ:
reset.c:223: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c seen.c
gcc -pipe -g -O2 -fomit-frame-pointer -c shit.c
gcc -pipe -g -O2 -fomit-frame-pointer -c socket.c
socket.c: In function âSockAcceptâ:
socket.c:248: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c spy.c
gcc -pipe -g -O2 -fomit-frame-pointer -c stats.c
gcc -pipe -g -O2 -fomit-frame-pointer -c tcl.c
gcc -pipe -g -O2 -fomit-frame-pointer -c telnet.c
gcc -pipe -g -O2 -fomit-frame-pointer -c toybox.c
gcc -pipe -g -O2 -fomit-frame-pointer -c trivia.c
gcc -pipe -g -O2 -fomit-frame-pointer -c uptime.c
uptime.c: In function âprocess_uptimeâ:
uptime.c:238: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness
gcc -pipe -g -O2 -fomit-frame-pointer -c user.c
gcc -pipe -g -O2 -fomit-frame-pointer -c vars.c
gcc -pipe -g -O2 -fomit-frame-pointer -c web.c
gcc -pipe -g -o energymech alias.o auth.o bounce.o channel.o core.o ctcp.o debug.o dns.o dynamode.o function.o greet.o help.o irc.o kicksay.o main.o net.o net_chan.o note.o notify.o ons.o parse.o perl.o prot.o redirect.o reset.o seen.o shit.o socket.o spy.o stats.o tcl.o telnet.o toybox.o trivia.o uptime.o user.o vars.o web.o -lcrypt
objcopy -R .note -R .comment energymech
chmod 0700 energymech
mv -f energymech ..
make[1]: Leaving directory `/home/geo/bots/emech-3.0.2/src'
geo@time:~/bots/emech-3.0.2$

everything was fine...

i have configured mech.set and mech.passwd and i run it

geo@time:~/bots/emech-3.0.2$ ./energymech
EnergyMech 3.0.2, May 8th, 2006
Compiled on Jun 15 2006 18:32:55
Features: alias, bounce, debug, dyn, md5, net, newbie, rawdns, seen, session, telnet
init: Mech(s) added [ tester ]
init: EnergyMech running...
geo@time:~/bots/emech-3.0.2$

everything seems ok,but the emech doesn't connect on irc

geo@time:~/bots/emech-3.0.2$ ps x
PID TTY STAT TIME COMMAND
10276 ? R 0:00 sshd: geo@pts/2
10277 pts/2 Ss 0:00 -bash
10613 ? Ss 0:00 ./energymech
10618 pts/2 R+ 0:00 ps x
geo@time:~/bots/emech-3.0.2$

geo@time:~/bots/emech-3.0.2$ sudo netstat -nepla
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 86.34.250.35:53 0.0.0.0:* LISTEN 109 15888 4293/named
tcp 0 0 192.168.0.1:53 0.0.0.0:* LISTEN 109 15886 4293/named
tcp 0 0 10.10.10.1:53 0.0.0.0:* LISTEN 109 10256 4293/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 109 10254 4293/named
tcp 0 0 127.0.0.1:44982 0.0.0.0:* LISTEN 107 10347 4347/hpiod
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 10317 4332/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 10880 4629/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 109 10269 4293/named
tcp 0 0 127.0.0.1:41179 0.0.0.0:* LISTEN 107 10365 4350/python
tcp 0 0 127.0.0.1:44982 127.0.0.1:51226 ESTABLISHED107 10350 4347/hpiod
tcp 0 0 127.0.0.1:51226 127.0.0.1:44982 ESTABLISHED107 10380 4350/python
tcp6 0 0 :::993 :::* LISTEN 0 10567 4483/couriertcpd
tcp6 0 0 :::995 :::* LISTEN 0 10611 4524/couriertcpd
tcp6 0 0 :::110 :::* LISTEN 0 10588 4501/couriertcpd
tcp6 0 0 :::143 :::* LISTEN 0 10542 4460/couriertcpd
tcp6 0 0 :::22 :::* LISTEN 0 11123 4691/sshd
tcp6 0 0 :::25 :::* LISTEN 0 10881 4629/master
tcp6 0 0 ::1:953 :::* LISTEN 109 10270 4293/named
tcp6 0 3104 ::ffff:86.34.250.35:22 ::ffff:16.14.62.158:3984 ESTABLISHED0 25994 10274/sshd: geo [pr
udp 0 0 0.0.0.0:32768 0.0.0.0:* 109 10262 4293/named
udp 0 0 0.0.0.0:32775 0.0.0.0:* 1000 27070 10613/energymech
udp 0 0 0.0.0.0:32776 0.0.0.0:* 1000 27071 10613/energymech
udp 0 0 86.34.250.35:53 0.0.0.0:* 109 15887 4293/named
udp 0 0 192.168.0.1:53 0.0.0.0:* 109 15885 4293/named
udp 0 0 10.10.10.1:53 0.0.0.0:* 109 10255 4293/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 109 10253 4293/named
udp6 0 0 :::32769 :::* 109 10263 4293/named

As you can see no action...why ? Any ideeas ?




 
falken
Posted :: 1:35pm, Thu, Jun 15, 2006     Subject :: bug on 3.0.2


Posts: 6
 
    after starting the emech with -d option i get

(readline) done reading lines
(add_user) handle = falken; pass = <NULL>; axs = 0
init: EnergyMech running...
(out) {1} init: EnergyMech running...
(out) {3} 10724
[CtS] Setting rejoin- and synced-status for all channels
(send_spy) src status format = 'Trying new server: %s:%i'
(init_rawdns) {4} dnssock is active
(rawdns) questions 127.0.0.1: amsterdam.nl.eu.undernet.org
(rawdns) questions 127.0.0.1: uptime.energymech.net
(rawdns) questions 127.0.0.1: uptime.energymech.net
(doit) RAWDNS timed out (amsterdam.nl.eu.undernet.org)
[CtS] Setting rejoin- and synced-status for all channels
(send_spy) src status format = 'Trying new server: %s:%i'
(rawdns) questions 127.0.0.1: amsterdam2.nl.eu.undernet.org
(rawdns) questions 127.0.0.1: uptime.energymech.net
(select_rawdns) removing uptime.energymech.net qid 16460
(select_rawdns) removing amsterdam.nl.eu.undernet.org qid 2408
(doit) RAWDNS timed out (amsterdam2.nl.eu.undernet.org)
[CtS] Setting rejoin- and synced-status for all channels
(send_spy) src status format = 'Trying new server: %s:%i'
(rawdns) questions 127.0.0.1: bucharest.ro.eu.undernet.org
(rawdns) questions 127.0.0.1: uptime.energymech.net
(select_rawdns) removing amsterdam2.nl.eu.undernet.org qid 3650
(select_rawdns) removing uptime.energymech.net qid 2152
(doit) RAWDNS timed out (bucharest.ro.eu.undernet.org)
[CtS] Setting rejoin- and synced-status for all channels
(send_spy) src status format = 'Trying new server: %s:%i'
(rawdns) questions 127.0.0.1: carouge.ch.eu.undernet.org
(rawdns) questions 127.0.0.1: uptime.energymech.net
(select_rawdns) removing uptime.energymech.net qid 16930
(rawdns) questions 127.0.0.1: uptime.energymech.net
(select_rawdns) removing bucharest.ro.eu.undernet.org qid 6242
(doit) RAWDNS timed out (carouge.ch.eu.undernet.org)
[CtS] Setting rejoin- and synced-status for all channels
(send_spy) src status format = 'Trying new server: %s:%i'
(rawdns) questions 127.0.0.1: ede.nl.eu.undernet.org
(select_rawdns) removing uptime.energymech.net qid 4192
(rawdns) questions 127.0.0.1: uptime.energymech.net
(select_rawdns) removing uptime.energymech.net qid 7292
(select_rawdns) removing carouge.ch.eu.undernet.org qid 7454
(doit) RAWDNS timed out (ede.nl.eu.undernet.org)
[CtS] Setting rejoin- and synced-status for all channels
(send_spy) src status format = 'Trying new server: %s:%i'
(rawdns) questions 127.0.0.1: elsene.be.eu.undernet.org
(rawdns) questions 127.0.0.1: uptime.energymech.net


and so on...

the 2.9.4 version works instantly ,so I fail to see the problem

 
madcamel
Posted :: 4:52pm, Sun, Sep 17, 2006     Subject :: Falken's connect problem


Posts: 12
 
    If you're not going to configure RAWDNS properly as per the README, disable it
when you run configure. If your bot is mysteriously not connecting to IRC,
99% of the time this is the problem.

Bugs bugs, give me MORE!

 

Copyright © 2000-2005 Proton,  All rights reserved. Last edited August 16th, 2005.
HTML 4.01 CSS