Author Topic: Greeting plugin question  (Read 4322 times)

0 Members and 1 Guest are viewing this topic.

Offline Bud

  • Newbie
  • *
  • Posts: 5
    • View Profile
Greeting plugin question
« on: May 14, 2008, 10:15:06 pm »
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

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Greeting plugin question
« Reply #1 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.

Offline Bud

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Greeting plugin question
« Reply #2 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

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Greeting plugin question
« Reply #3 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.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Greeting plugin question
« Reply #4 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.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Bud

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Greeting plugin question
« Reply #5 on: May 16, 2008, 04:13:54 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

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Greeting plugin question
« Reply #6 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.

<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!

Offline BoBbY)eD(

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Greeting plugin question
« Reply #7 on: May 19, 2008, 08:47:04 pm »
javaop looks better on windows.