What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] AIMLEverything - Reply to Whisper, Say, Yell etc

Giwin

Well-Known Member
Joined
Dec 3, 2011
Messages
3,431
Reaction score
49
AIMLWhisper: https://aimlwhisper.googlecode.com/svn/
AIMLSay: https://aimlsay.googlecode.com/svn/
AIMLYell: https://aimlyell.googlecode.com/svn/
AIMLEmote: https://aimlemote.googlecode.com/svn

Name the folders which match the chat channel (in Plugins folder), for example;

"AIMLYell" for aimlyell svn
"AIMLEmote" for aimlemote svn
"AIMLSay" for aimlsay svn
"AIMLWhisper" for aimlwhisper

Will add other chat channels in future, as they changed it from Battleground to Instance etc.

If you want to create your own AIML files then please download and use http://www.gaito.de/download/GaitoBotAIMLEditor/GaitoBotAIMLEditor.zip, I strongly recommend using Wildcards in the SRAI because it will save you a lot of time... example: Hey Bob = Hey * BUT the wildcard (*) can mean any name.

If you want to test AIMLWhisper then simply message someone "hey" and if they say "hi, yo, hey" etc it will reply back.

FAQ:

Why doesn't the bot respond?

The AIML files are key, and if the word or sentence is not in the AIML it will not reply... you can if you want to download other AIML files BUT if there are duplicates it will crash and not work... so you'll have to remove all duplicates (I think this can be done in editors quite easily, as most have remove duplicated features, make sure you remove duplicates across multiple aiml files that you use).

Does this reply to GM Whispers?

Should do, since most GMs use templated messages with certain structure and I used that in one of the AIML files... i.e Greetings Name, This is GM bla bla etc.
 
Last edited:
i dont quite get the point of replying to anything other than a GM.
People cant use "the guy dosnt answer" as a reason to report someone anyways, you are not obligated in any way to be even the slightest social while playing, which is why i use addons for blocking whispers and all types of invites.
 
People sometimes whisper you a simply hi or hello?, if no response = report.
 
Hey. This works fine in the english.
But not to the russian language. How to make it work with cyrillic?

I have not helped in this topic :
Post
 
Last edited:
I have no idea BUT if you were to test with a cyrillic AIML file and are able to post a log if it doesn't work then I could help, since it would be pointless using as it replies in english :).
 
I used a piece of Russian aiml for the test:
HTML:
<?xml version="1.0" encoding="ISO-8859-5"?>
<aiml>
<category>
<pattern>ПРИВЕТ</pattern>
<template>
<random>
<li>приветик ...</li>
<li>Здравствуйте!</li>
</random>
</template>
</category>
</aiml>
It does not not worked.

If I'll edit pattern : <pattern>HELLO</pattern> to russian <pattern>ПРИВЕТ</pattern>, aiml bot does not see whisper "привет".
If I edit only <template> for russian language : <li>hi/li> to <li>ку/li> (do not edit <pattern>HELLO</pattern>), bot sees a message "Hello" , but the response says abracadabra: ку -> ??

and someone has only written "ПРИВЕТ" to you?
Yes. I sent a message from another account.

p.s.When I use the standart еnglish file.aiml and send a message: hi, hello, heey, etc., - it works fine.
 
Last edited:
hmm I can try testing it with you on russian server (if I can join), as I think it has something to do with CultureInfo.
 
hmm I can try testing it with you on russian server (if I can join), as I think it has something to do with CultureInfo.
i dont think so! i think it is the aiml-bot, with how it use the aiml-files.

if you use english "pattern" with russian "template" then it works, like:
HTML:
<?xml version="1.0" encoding="utf-8"?> 
<aiml> 
<category> 
<pattern>HELLO</pattern> 
<template> 
<random> 
<li>приветик ...</li> 
<li>Здравствуйте!</li> 
</random> 
</template> 
</category> 
</aiml>

edit:
if the "pattern" is in cyrilic, the aiml-bot load it correct, but something is wrong at the comparison...
 
Last edited:
I understand "AIMLWhisper" responds for whispers, but other ones ? Say responds when somebody /s your nick ??
 
Hey giwin? this AIML project its UP for Hb732 release??
 
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: startIndex must be less than length of string.
Parameter name: startIndex
at System.String.Remove(Int32 startIndex)
at AIMLWhisper.AIMLWhisper.WoWChatWhisper(ChatSimpleMessageEventArgs e) in c:\Users\user\Desktop\Honorbuddy\Plugins\AIMLWhisper\AIMLWhisper.cs:line 96
at Styx.CommonBot.Chat.ChatMessageHandlerEx`1.Invoke(T e)
at Styx.CommonBot.Chat.(Object , LuaEventArgs )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Delegate.DynamicInvoke(Object[] args)
at Styx.WoWInternals.LuaEvents.(Delegate , Object[] )


when the bot answer to a whisper to other player appear that text.something solution? its bad error?
 
No, this plugin is broken forever.

I'm working on something else though but it's not a high priority as no one ever whispers you anymore to see if you're botting they just report you, because there's barely any GUI editors for AIML and the support for it is disappearing and going into closed source only like ALICE bot etc. I wanted to create a new system which would involve using sqlite (as the .aiml) which I think would be a lot simpler and easier to maintain because it's easier to read. Also need to build a AIML to Sqlite converter if that's even possible ^^.

Use Shutup plugin instead.
 
no it is working but it has no predetermined settings. Its pretty empty
 
Requesting thread to be archived, I've got no interest in fixing the plugin since most people don't message you any more to see if you're a bot making this almost pointless.
 
I agree but if you could just take the working shutup and insert your data into it the community could have something good that you could ask for donations for? idk how it works and all that but it seems like you have everything shutup is missing for a standard user like myself :)
 
Back
Top