News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

Greeting plugin question

Started by Bud, May 14, 2008, 10:15:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bud

i would like my bot to greet users as they join my LOD channel.

i would like to change the way it messages and i need some guidance please

rabbit

You'll need to change the source of the plugin to account for what game you're on and what game they're on.

Bud

Quote from: 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.

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

rabbit

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.

Joe

You've found a bug! Thanks. I added it to my list of things to do.

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.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Bud

Quote from: 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.

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

Camel

FWIW, I've always felt that tagging an extra * on to whispers is the responsibility of the framework, not the plugin.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

BoBbY)eD(

javaop looks better on windows.