Page 5 of 7

Posted: Mon Jul 26, 2004 2:27 pm
by aChallenged1
1. you should go back and edit to turn off smilies (see the check box below the edit window).
2. You should go back and edit it and place it in CODE brackets. Just highlight the entire code section and press the Code button. Optionally, since you want to make changes show in red, you could use Quote instead. Code won't allow colors thorough unless you use pure HTML, which you have to enable in your profile. Quote does allow use of colors without changes to your profile.

I am waiting to a response that answers your question on targeting pet for buffs. It might be /target [Me.pet] for all I know.

suggestions

Posted: Mon Jul 26, 2004 9:19 pm
by javelinl
I can certainly see the issues with the smiley's etc, and I'll make sure to disable them in the future. It looks like it just replaced D 's with grinning smileys.

Targeting a pet isn't too much of a problem, but how to make Addcast do it is my question.

The syntax in self buff is
/call AddCast "${CommandParam}" "${Me.Name}" b-0

The only problem with using name is the ${Me.Pet.Name} tends to return a name like Gober00. I've tried the clean version, but you still have the chance to target another user with the same pet name. Hopefully, Venix can tell me the switch to make addcast use ID

Posted: Tue Jul 27, 2004 2:42 am
by frabtik
Anyone else having major issues with the following in latest code? Seems to me if I have bot following he trys to stay following while fighting which just doesn't work very well to have the bot spinning circles attacking mob and facing master etc. Works great using an anchor or not following though. Been using the older version but it has follow issues too, if using follow on it while in combat, if the mob starts to run off at end of fight bot just never stops moving forward when it dies. I been working on it for awhile but not getting anywhere on fixing it. Any help would be appretiated, thanks.

No problems here

Posted: Tue Jul 27, 2004 8:35 am
by javelinl
I haven't had any problems so far with the latest code.

Posted: Tue Jul 27, 2004 11:16 am
by Vexix
Hey guys,

I'm still working through a major code rewrite. I should have it done within a day or two. I think you'll like it. ;) It streamlines quite a bit of the init subs, and I've also reorganized the filenames for more ease of use. Will mostly assist the people who look at the code or make their own personal.inc files, but hopefully others will notice a bit of improved speed as well, since all of the arrays have been exorcised. :D

Goober00 actually is a unique identifier for a pet, so you can use that if you like. It gets cleaned up before output in Cast sub anyway. Another way to approach it would be "id {Me.Pet.ID}"

Frabtik -- I think protect is working ok. 3 things that might stop it from firing -- toggle is turned off, there's another NPC between you and the hostile, or ProtectOrDefendCheckRadius is set too small in .ini. Can you check those things? Anyone else tried to use protect in this last version? Er, update. I think it might be caused by a upper/lower caps issue. Will be solved in next release.

Mackster -- I did change /irc to /i say. Does that have any relation to your problem? I don't use IRC, so can't help you much there. See if you can test the commands using normal chat channels, and have the same problem.

--Vexix

Posted: Tue Jul 27, 2004 11:32 am
by Oskar
I am new to this script and have not been able to get it to work. It is looking for advpath.inc. I have searched for this on the boards and only found messages that claim to have the file but are blank instead.

Any help would be appreciated. Thanks in advance.

Posted: Tue Jul 27, 2004 1:23 pm
by A_Druid_00
Look in Snippets Oskar, it's there in the appropriately named post. I'll dig up the link for you momentarily.

Posted: Tue Jul 27, 2004 1:32 pm
by A_Druid_00

confirmation

Posted: Tue Jul 27, 2004 2:34 pm
by javelinl
Looking at the your post it seems that to change addcast to use ID the syntax would be

/call AddCast "${CommandParam}" "id {Me.Pet.ID}" b-0

?

Posted: Tue Jul 27, 2004 4:04 pm
by theafkxper
Love Genbot, havent had any problems with latest release at all, but ive got a feature request if ya run out of stuff to do Vex :lol:

I always use IRC for botting, and it dosent have a simple way to specify a private message to a bot, so i was thinking, could we add ${Me.Name} as an optional prefix to commands?

For Example, I have a Shaman named Bob (no not really), and a Cleric named Sam, A rogue named Peter and a ranger named Gimpy.
In the present state, maybe i want the rogue to get behind the mob, and the ranger to stay where he's at. if i was to say "getbehind" in the irc channel as it is, all the bots would run behind the mob. This could be a problem. My proposed idea would be allowing me to specify via his name, so i could say "Peter getbehind" and only Peter would interperate the command.

Understand that this is an example, and unrelated to getbehind specificlly, checking mana, using follow, lootup/all, could all be used as examples.

thanks,
/afk

Posted: Tue Jul 27, 2004 6:23 pm
by frabtik
Use shortcuts. There are countless examples of doing this posted.

Posted: Tue Jul 27, 2004 8:33 pm
by Vexix
Theafk -- From genbotdoc.txt:
COMMUNICATION:
checkname - if set to true, bot will only respond to commands in group or chat if the command is preceeded with <botname>
Let me know if that doesn't handle it.

Javelinl -- Yup, , "/call AddCast "${CommandParam}" "id {Me.Pet.ID}" b-0 " will add the buff to the castqueue. Let me know how it goes!

--Vexix

Posted: Tue Jul 27, 2004 8:38 pm
by theafkxper
yeah, that'll do it, but then only commands with their name in it work, I was just suggesting that if a bots name was said, it would interpret it as if checknames was on.

Posted: Tue Jul 27, 2004 9:23 pm
by Vexix
Ah. Interesting. Ok, in botcore.inc change:

Code: Select all

      /if (${CheckName} && ${ChatText.Arg[1].NotEqual[${Me.CleanName}]}) /return 
      /if (${CheckName}) { 
to:

Code: Select all

      /if (${CheckName} && ${ChatText.Arg[1].NotEqual[${Me.CleanName}]}) /return 
      /if (${ChatText.Arg[1].Equal[${Me.CleanName}) { 
Lemme know if that works.

Hmm. . . Color tags still don't work in

Code: Select all

?

--Vexix

Posted: Wed Jul 28, 2004 9:37 am
by Oskar
Thanks A_Druid_00. I'm not sure why my searches didn't turn that up, but I appreciate it.