Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Bud on May 14, 2008, 10:15:06 pm

Title: Greeting plugin question
Post by: Bud on May 14, 2008, 10:15:06 pm
i would like my bot to greet users as they join my LOD channel.
(http://img221.imageshack.us/img221/4263/36512503qt0.jpg)
i would like to change the way it messages and i need some guidance please
Title: Re: Greeting plugin question
Post by: rabbit on May 15, 2008, 12:02:33 am
You'll need to change the source of the plugin to account for what game you're on and what game they're on.
Title: Re: Greeting plugin question
Post by: Bud on May 15, 2008, 12:25:25 am
You'll need to change the source of the plugin to account for what game you're on and what game they're on.

Thanks for replying, i have the PluginMain.java from the Greeting plugin source open in eclipse, is this where i need to be?   if so what might i need to change
Title: Re: Greeting plugin question
Post by: rabbit on May 15, 2008, 12:32:55 am
Sounds good.  I have no idea what specifically you need to change, since I've never looked at the JavaOp source (or the source of the greet plugin).  There's probably a part somewhere that's like "/whisper " + UserName or something like that.  The easiest hack to do is just add a * after the space in "/whisper " (or whatever command is used).  Downside is this won't always work, and won't work ever if you start loading on non-D2.  For a true fix you'll need to check your client and the user's client, and then choose how to whisper accordingly.
Title: Re: Greeting plugin question
Post by: Joe on May 15, 2008, 02:11:41 am
You've found a bug! Thanks. I added it to my list of things to do (http://www.x86labs.org/forum/index.php/topic,12065.0.html).

Note that I don't put a ton of priority into JavaOp (or any at all), but it'll get done eventually. If this is important to you, I could probably give you a new JAR within a few days.
Title: Re: Greeting plugin question
Post by: Bud on May 16, 2008, 04:13:54 am
You've found a bug! Thanks. I added it to my list of things to do (http://www.x86labs.org/forum/index.php/topic,12065.0.html).

Note that I don't put a ton of priority into JavaOp (or any at all), but it'll get done eventually. If this is important to you, I could probably give you a new JAR within a few days.

it is indeed important, if i could get this plugin working i would be satisfied with my bot, ive been working at it for at least a month now off and on.  I simply dont know what to edit in the plugin to change how it whispers.  If its not too much trouble, and if you do get around to it i would also love to know what you had to change to get it to work
Title: Re: Greeting plugin question
Post by: Camel on May 18, 2008, 01:20:23 am
FWIW, I've always felt that tagging an extra * on to whispers is the responsibility of the framework, not the plugin.
Title: Re: Greeting plugin question
Post by: BoBbY)eD( on May 19, 2008, 08:47:04 pm
javaop looks better on windows.