User Control Panel
Advertisements

HELP US, HELP YOU!

CKS Juggernaut 4.0
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates
View unanswered posts
Author Message
Wraith
Newbie
Newbie


Joined: 20 Mar 2005
Posts: 5

Reputation: 13.9

PostPosted: Sun Mar 20, 2005 9:10 pm    Post subject: Reply with quote

Hi, this is probably a dumb question, but Ive tried everything I could and I cant find my error.

Im using the juggernaut bot, and I want it to give a simple reply to normal greetings. I created a seperate folder, and seperate .CML files for different things I want it to say. I added one like this:

Code:
<category><br />   <pattern>HEY|WHATS UP|HI|HELLO|SUP</pattern><br />   <template>Hello, and welcome. Please type <b>HELP</b> to get started.</template><br /></category><br />


I tried using it, but it would only respond to "sup" and not to any of the others, so I tried breaking it down to see if that helped.
Code:
<br /><category><br />   <pattern>SUP</pattern><br />   <template>Hello, and welcome. Please type <b>HELP</b> to get started.</template><br /></category><br /><br /><category><br />   <pattern>HEY</pattern><br />   <template>Hello, and welcome. Please type <b>HELP</b> to get started.</template><br /></category><br /><br /><category><br />   <pattern>HI</pattern><br />   <template>Hello, and welcome. Please type <b>HELP</b> to get started.</template><br /></category><br /><br /><category><br />   <pattern>YO</pattern><br />   <template>Hello, and welcome. Please type <b>HELP</b> to get started.</template><br /></category>


I also tried the other method:


Code:
<category><br />   Input: WHATS UP<br />   Reply: Hello, and welcome. Please type <b>HELP</b> to get started.<br /></category><br />



I still havnt got it to respond correctly to a simple "hi", but Ive got about 30 other commands it will respond perfectly for.

Ive also read this topic, other related topics, and the help file.. I still cant figure out what Ive done wrong.
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon Mar 21, 2005 1:14 am    Post subject: Reply with quote

Since "hi" is such a short word and can easily be included in bigger words (i.e. high, thigh, white, while, etc.), and because most of the brains included with Juggernaut use the "contains" regexp to find replies... Juggernaut converts "hi" to "hello"

So the reason that it's hard to make a reply for just "hi" is because, by the time the bot gets to finding a reply, the user's message says "hello" instead of "hi" - it's just a little thing I put in there to stop bigger problems later (for example, the ones I listed above).

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Wraith
Newbie
Newbie


Joined: 20 Mar 2005
Posts: 5

Reputation: 13.9

PostPosted: Mon Mar 21, 2005 1:35 am    Post subject: Reply with quote

Okay, Ive fixed the problem, now when they IM the bot, it will give them a more directive error, so they have somewhere to start off if they simply say 'hi'.

Thanks for answering Smile


I also had another question that came up the last hour or so..


Im having trouble receiving responses from the bot on AIM version 5.9. The CMD window shows the outgoing IM, and the IM window shows that the bot is typing, but nothing goes through. I can talk to it normally on earlier verson of aim, or other aim programs like gAIM. Other people who I had test it were having the same problem receiving messages.

I tried on another net-oscar bot you made, and it did the same thing. I uninstalled and reinstalled net oscar 1.7 also, but it didnt work.

Im not sure exactly whats happening, if you have any ideas or suggestions it would be appreciated very much Smile
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon Mar 21, 2005 2:21 am    Post subject: Reply with quote

QUOTE(Wraith @ Mar 20 2005, 08:35 PM)
Okay, Ive fixed the problem, now when they IM the bot, it will give them a more directive error, so they have somewhere to start off if they simply say 'hi'.

Thanks for answering Smile


I also had another question that came up the last hour or so..


Im having trouble receiving responses from the bot on AIM version 5.9. The CMD window shows the outgoing IM, and the IM window shows that the bot is typing, but nothing goes through. I can talk to it normally on earlier verson of aim, or other aim programs like gAIM. Other people who I had test it were having the same problem receiving messages.

I tried on another net-oscar bot you made, and it did the same thing. I uninstalled and reinstalled net oscar 1.7 also, but it didnt work.

Im not sure exactly whats happening, if you have any ideas or suggestions it would be appreciated very much Smile
[right][snapback]47076[/snapback][/right]


According to some people, I must not be a good Net::OSCAR bot coder because my bots tended to give people problems. Try using somebody else's Net::OSCAR bot code (if you can find any) and see if the problem still comes up. If so, then the problem might just be with that version of AIM. Try researching stuff on AIM 5.9 to see if anybody has documented such problems elsewhere.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Wraith
Newbie
Newbie


Joined: 20 Mar 2005
Posts: 5

Reputation: 13.9

PostPosted: Mon Mar 21, 2005 4:08 am    Post subject: Reply with quote

Are there any you would recommend? Most on here are either MSN bots or use Net-AIM, and all the good oscar bots Ive found are from aichaos.
Back to top
draget
Not Yet a God
Not Yet a God


Joined: 29 Dec 2004
Posts: 367
Location: Australia
Reputation: 32.2Reputation: 32.2Reputation: 32.2

PostPosted: Mon Mar 21, 2005 10:31 am    Post subject: Reply with quote

AI Chaos net-oscar bot = great, works perfectly(blended into my maya template)
Back to top
Wraith
Newbie
Newbie


Joined: 20 Mar 2005
Posts: 5

Reputation: 13.9

PostPosted: Mon Mar 21, 2005 3:43 pm    Post subject: Reply with quote

I got it to work with CSKBot fine, it will respond to anyones IM.


I couldnt find anything like it on google, and it doesnt seem to be a net-oscar problem because other bots work.

Maybe I messed up somewhere, I tried re-downloading, filled in the values again, and tried a new brain.. its still not responding to aim 5.9 though.

Not sure whats going on, Ill keep messing with it.
Back to top
Wraith
Newbie
Newbie


Joined: 20 Mar 2005
Posts: 5

Reputation: 13.9

PostPosted: Mon Mar 21, 2005 5:03 pm    Post subject: Reply with quote

Fixed the problem, there was some error in the net-OSCAR that I had installed, so after re-installing perl and re-installing net-OSCAR, it works fine. Smile


I have another question, which should be a lot simpler.. How do you change the response when the bot doesnt know how to respond?

I tried editing the Juggernaut_get file, which is where I found the "cannot reply to that" error, then changed the words, but the bot still gives the same error after restarting.

Beyond that, I dont know what to do.


Thanks Smile


EDIT; also i was using the !route command, and when i would send

Quote:
!route screenname -> message


it would reply..

Quote:
I have sent the message to screenname -> message.


instead of sending the message to 'screenname', it would send " Message from : " to the whoever, if 'screenname -> message" were an actual person.
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon Mar 21, 2005 7:41 pm    Post subject: Reply with quote

QUOTE(Wraith @ Mar 21 2005, 12:03 PM)
EDIT; also i was using the !route command, and when i would send

Quote:
!route screenname -> message


it would reply..

Quote:
I have sent the message to screenname -> message.


instead of sending the message to 'screenname', it would send " Message from : " to the whoever, if 'screenname -> message" were an actual person.
[right][snapback]47115[/snapback][/right]


That might've just been me losing my train of thought halfway through the command. Probably the correct usage is "!route screenname: message", if not you can always just look at the code and see where it split's it at. Razz

And with the Juggernaut brain, you can set up your own default reply by making a response to just "*"

And actually, in the default Juggernaut reply set (replies/cml/cody), there's a "star.cml" that was made just for this purpose. It reads:

Code:
<cml version="1.0"><br /><br /><category><br />Input: *<br />Reply: This is an interesting topic.|Tell me more about that.|Go on...|lol|Interesting.|What do you do in your free time?|Is this what you do in your free time?|This is a very interesting subject.|Astounding.|Look into my eyes and tell me if you see somebody that cares.<br /></category><br /><br /></cml>

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue Mar 22, 2005 12:40 pm    Post subject: Reply with quote

QUOTE(Guest_Chris_* @ Mar 22 2005, 07:32 AM)
yeh i dled juggs to the desktop (cos thats generally where all dled files from internet browsers go on my file) and when i try extracting it, it says something about it not being a "valid archive" and when i look in it, theres no folders or anything, its just empty  :huh: i dont get it  Sad so coulda ya please help me get it workin right? cheers

`·.¸¸.·´´¯`··._.·ChriS`·.¸¸.·´´¯`··._.·
[right][snapback]47142[/snapback][/right]


It might be some communication error between your computer and this site (I sometimes get that kind of problem with FTP servers).

Try downloading it from here: http://www.aichaos.com/?display=download&category=1 I think that's the right URL. If not, just click "Downloads" on the nav bar and click "AiChaos Bot Programs" or something like that, I think it's the first category (the school's network blocked that site so I can't really go check Razz ).

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
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: Tue Mar 22, 2005 1:34 pm    Post subject: Reply with quote

it doesnt really matter to be honest!

desktop is were i always extract bot files to!
Back to top
M4RTIN
Member
Member


Joined: 31 Dec 2004
Posts: 134

Reputation: 19.2Reputation: 19.2

PostPosted: Tue Mar 22, 2005 4:22 pm    Post subject: Reply with quote

in: C:\Perl

But the installation file should make that directory. :blink:
Back to top
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: Tue Mar 22, 2005 4:51 pm    Post subject: Reply with quote

that would be the extraction fiel you downloaded

i recomend the installer file

installer file for perl
Back to top
M4RTIN
Member
Member


Joined: 31 Dec 2004
Posts: 134

Reputation: 19.2Reputation: 19.2

PostPosted: Tue Mar 22, 2005 5:54 pm    Post subject: Reply with quote

open Juggernaut.bat or Juggernaut.pl
Back to top
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: Tue Mar 22, 2005 8:09 pm    Post subject: Reply with quote

im not sure what you just said but if you mean

you, someone else and the bot

use either the:

!invite command
or
!socks and !socks join ID

command


this nmay be wrong as i didnt understadn your post fully
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 



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