User Control Panel
Advertisements

HELP US, HELP YOU!

zienya
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Bot Depot Forum Index -> Archived Bots
View unanswered posts
Author Message
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Thu Oct 28, 2004 8:13 pm    Post subject: Reply with quote

well i have created zienya as a small bot with only afew bits of content

the menu consits of

Quote:
Menu

Public
Mod
Admin


the public menu consists of

Quote:
public menu

Silence
Powers
Menu
Leave
Invite
Credits
Chat


The Mod menu consists of

Quote:
Mod menu

Block
Unblock
Shout
Blocked


The admin menu consists of

Quote:
Admin menu
verbose
reload
rename
popup
mods
floodmonitor
exit
admins
cmdchar


have fun
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Thu Oct 28, 2004 8:19 pm    Post subject: Reply with quote

you do know its nice to say that you based your bot on a template,
or at least modify bits of the bot so its not guessable.

About ::
return "Credits:\n\nGil Azaria - Creator\nEric Hodges - Lots of basic commands (Edited commands)\nMojave - The FloodCheck Module\n\nThis bot was made by the DevDragon Template which can be officially found at www.bot-depot.com (No own site yet.)";
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Thu Oct 28, 2004 8:27 pm    Post subject: Reply with quote

QUOTE(Mat007 @ Oct 28 2004, 09:19 PM)
this bot was made by the DevDragon Template which can be officially found at www.bot-depot.com (No own site yet.)";

Which was also based on the Andromeda Template, also found on www.bot-depot.com

Edit: I think he did do that..I am confused,

_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Thu Oct 28, 2004 8:28 pm    Post subject: Reply with quote

C'mon man!
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Thu Oct 28, 2004 8:33 pm    Post subject: Reply with quote

Wow Purcelly, I didn't know you could code THIS well. Can you explain to little old me what this does:

Code:
$SIG{INT}   = sub { $bot->{exit} = 1; &Logger("BotLog","Disconnected"); };


or this:

Code:
   my $class = ref($proto) || $proto;


I would be very grateful :rolleyes:, even I can't do that!

_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Thu Oct 28, 2004 8:33 pm    Post subject: Reply with quote

Quote:
or at least modify bits of the bot so its not guessable.

I think its good he leaves in the credits. At least he dosn't take other proples code cahnge little bits and remove credits....that would be lame!

_________________
[ matt ]
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Thu Oct 28, 2004 8:39 pm    Post subject: Reply with quote

i was being sarcastic
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Thu Oct 28, 2004 9:03 pm    Post subject: Reply with quote

QUOTE(mattaustin @ Oct 28 2004, 08:33 PM)
Quote:
or at least modify bits of the bot so its not guessable.

I think its good he leaves in the credits. At least he dosn't take other proples code cahnge little bits and remove credits....that would be lame!

umm i think he actually didnt mean to do that?
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Thu Oct 28, 2004 9:42 pm    Post subject: Reply with quote

Hmm, why did you take my nice FloodCheck module and turn it back into a simple sub? And you're also using an old version of MSN 1.X - blech!
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Thu Oct 28, 2004 10:12 pm    Post subject: Reply with quote

i cant make a blech sound... <_< sound like im being sick

Laughing eric...................mojave made me sick![/babynoise]

Do NOT call me weird!
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Fri Oct 29, 2004 11:07 pm    Post subject: Reply with quote

Matt 007 the point of the forum is not:

Quote:
i was being sarcastic
if your not going to say something nice...or be helpfull....dont post at all...and dont start a "rep war" because i dont care about rep, just grow up Wink

Your not the only one, i just dont gut the point of the post if your not being helpfull.

_________________
[ matt ]
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Fri Oct 29, 2004 11:26 pm    Post subject: Reply with quote

QUOTE(darkmonkey @ Oct 28 2004, 01:33 PM)
Wow Purcelly, I didn't know you could code THIS well. Can you explain to little old me what this does:

Code:
$SIG{INT}   = sub { $bot->{exit} = 1; &Logger("BotLog","Disconnected"); };


or this:

Code:
   my $class = ref($proto) || $proto;


I would be very grateful :rolleyes:, even I can't do that!

Hehe i just peaked at the main .pl file. The INT and BREAK parts allow your bot to do something special when you do CONTROL-C in the dos window. This means you could shut it down gracefully. Unfortunatly his code wont shut down gracefully, it just gets stuck in an infinite loop doing nothing (unless there is some hidden magic somewhere else)

The ref part allows you to create a new object by doing either

Code:
my $x = Package::Name->new();

or
Code:
my $*lazy* = $x->new;


Its actualy bad practice (something i just recently learned) and should be avoided using just

Code:
   my $class = $proto;


instead.

_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Fri Oct 29, 2004 11:37 pm    Post subject: Reply with quote

I have no idea why you abused the FloodCheck module like that, it quite ridiculous what you have done to it, and all the MSN methods. It appears you cloned them to add in extra logging ?? There are much better ways to do that. Check matts post about a MSNGUI. The code he used there would let you wrap log stuff around any MSN methods without your current method.

Just a thought
Code:
<br />     $bot->{users}->{$user}->{floodhits}++ if ($action == 1);<br />     $bot->{users}->{$user}->{floodhits}++ x 2 if ($action == 2);<br />     $bot->{users}->{$user}->{floodhits}++ x 3 if ($action == 3);<br />     $bot->{users}->{$user}->{floodhits}++ x 4 if ($action == 4);<br />     $bot->{users}->{$user}->{floodhits}++ x 5 if ($action == 5);<br />

Is realy the same as
Code:
<br />                        $bot->{users}->{$user}->{floodhits} += $action;<br />



While at it, it would be good to mention that because you put a new in your main.pl, and you don't have it in a package, your are actualy creating a new object of type main. This realy isn't the best of ideas, its confusing for one thing and makes it quite hard to understand your code. Anyway thanks for ripping all my hard work, mangling it and then posting it here! Wink

_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Sat Oct 30, 2004 9:58 am    Post subject: Reply with quote

hehe this is a double rip
eric->GIL->Purcelly
Back to top
StingRay
Newbie
Newbie


Joined: 27 Sep 2004
Posts: 22

Reputation: 20Reputation: 20

PostPosted: Thu Nov 11, 2004 5:08 pm    Post subject: Reply with quote

Hehe my friend (art) teached me how to make msn bots and its easy as i thought easy as 123 and realy is this a rip? did he edit this?
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Bot Depot Forum Index -> Archived Bots All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group