Genbot.mac 12.38 -- Updated 6/4/2004

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Mortedamour
orc pawn
orc pawn
Posts: 28
Joined: Tue Jan 07, 2003 2:30 pm

Post by Mortedamour » Tue May 25, 2004 10:54 am

Sorry.

Referring to Custom Channels.

I create password protected channel and issue comands and chat via that.
/join botname:password (No havnt tried without pass yet)

Both Both and Master are in same channel. Bot will respond to commands via tells. and Chat in that Channel, but will not accept commands via that channel.

Also noticed that Bot will not respond to tells from users via EQIM (that use to work) I use EQIM occasionnally to send commands to bots since its easier to debug than having both machines logged into EQ.


Just posting as a general question, have not had the opportunity to debug this more than a few minutes as of yet.







*EDIT*

Think I found the problem. Think I overlooked the CheckName option. will double check when I get home.

Fire
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Nov 10, 2003 7:12 pm

Post by Fire » Tue May 25, 2004 3:13 pm

under the new shortcuts lets say i wanted to cast a spell on a random member of the group. using SN *spellname* works but the master has to target that person. using SNT would mean that i need a seperate command for each person, and with group members changing thats not practical at all. is there a way like version 12.30-3 where i can just define a trigger and spell name then be able to add the person's name afterwards that i want to cast on?

example

sow=Spirit of Wolf

Then using either a tell or chat chan, be able to say

/1 sow *name of group member*

I cannot figure out how to do that using the this current version, That ability was one i used the most, aside from the autoheal part.

Fire

Phox
orc pawn
orc pawn
Posts: 29
Joined: Fri Mar 19, 2004 6:44 am

Post by Phox » Tue May 25, 2004 6:40 pm

Occasionally when I use the sn command it will cast the spell on the master, not the master's target.

Also the sit after cast option doesnt seem to be working right either for me.

Mortedamour
orc pawn
orc pawn
Posts: 28
Joined: Tue Jan 07, 2003 2:30 pm

Post by Mortedamour » Tue May 25, 2004 7:36 pm

Nope, CheckName wasnt the problem. still looking
*EDIT*


Found the problem, not sure exactly whats wrong with it, but if I comment out the /if statement on line 223 my chat channels work again.

Code: Select all

Sub Event_Chat(string ChatType,string ChatSender,string ChatText)
|   /if (!${ChatType.Equal[GROUP]} && !${ChatType.Equal[${ListenChan}]}&& !${ChatType.Equal[TELL]}) {
|      /return
|   }

fez_ajer
a ghoul
a ghoul
Posts: 106
Joined: Fri Apr 23, 2004 6:44 pm
Location: If I was up your ass you'd know where I was...

Post by fez_ajer » Tue May 25, 2004 8:09 pm

Looks like it's maybe due to the numeric vs. named listen channel changes?
- Fez

spektralkat
orc pawn
orc pawn
Posts: 22
Joined: Sat Dec 20, 2003 5:25 am

multiple actions...

Post by spektralkat » Tue May 25, 2004 8:27 pm

ok no one has adressedhow to put multiple actions to a command now... when i say mark i would like my bot cleric to cast mark of the rightous then cast mark of retribution,, i dont have space to make multiple hotkeys and put a single key to every spell for my bots, i three box thats impracticle
old way was

Mark= Mark of the righteous|Mark of kings

Whats the new way? wont even get into it with my druid casting 5 dots off a comand need some help here i'm missing syntax and cant figure it out

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Will need a change

Post by Vexix » Wed May 26, 2004 8:35 am

spektralkat and Virtuoso,

That capability doesn't exist in the code right now. Didn't notice you could do that before. I'm working on a revision which will add it now along with some other new features.

Fire, Phox,

I also understand your issues, and will be handling them in the next release as well.

Mortedamour,

Not sure what the deal is with the channels right now, and am working on these other things first. If someone can figure out what the exact change is, I'll slap it into the code.

--Vexix

Mortedamour
orc pawn
orc pawn
Posts: 28
Joined: Tue Jan 07, 2003 2:30 pm

Re: Will need a change

Post by Mortedamour » Wed May 26, 2004 10:30 am

Vexix wrote: Mortedamour,
Not sure what the deal is with the channels right now, and am working on these other things first. If someone can figure out what the exact change is, I'll slap it into the code.
--Vexix

No Rush, just pointing out. Just commenting it out has me working as I need to. Going to have to look over Script Language again. I havnt worked in MQ macros in a while and my time either playing or debugging has been limited to about 20 mins a day ;)


Did notice something else as well. Shortcuts seem to double cast for me. Again not sure if its just me. MQ2 rev is latest and latest Genbot Code.

Code: Select all

[Shortcuts]
foe=sn Flight of Eagles
epic=itemcast  Nature Walkers Scimitar
using the sn command directly casts only once. Will try and help debug more when I get opportunity.

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Post by Vexix » Wed May 26, 2004 11:31 am

Mort,

What values are in your .ini for ListenChat, ListenChan, and ChatInChannel?

--Vexix

Mortedamour
orc pawn
orc pawn
Posts: 28
Joined: Tue Jan 07, 2003 2:30 pm

Post by Mortedamour » Wed May 26, 2004 12:10 pm

ListenChat=1
ListenChan=2
ChatInChannel=bot


Channel i use is channel 2(bot).


Gonna try cut & paste again when I get the opportunity to try it from work without getting noticed =) If not, will try tonight when I get home.

MrSmallie
a hill giant
a hill giant
Posts: 167
Joined: Fri Oct 11, 2002 11:18 am

Post by MrSmallie » Wed May 26, 2004 12:52 pm

Code: Select all

|   /if (!${ChatType.Equal[GROUP]} && !${ChatType.Equal[${ListenChan}[color=red]]} &&[/color] !${ChatType.Equal[TELL]}) { 
Haven't tried Genbot in ages, but looks like a space was missing.
Me
[img]http://home.comcast.net/~mrsmallie/ches.JPG[/img]

Mortedamour
orc pawn
orc pawn
Posts: 28
Joined: Tue Jan 07, 2003 2:30 pm

Post by Mortedamour » Wed May 26, 2004 1:09 pm

Yeah, noticed that in my post earlier this morning. Went back and checked, space is there in my original. Probably just pulled out whitespace accidentally when trying to fix it before.

Im 99% sure this is my issue, and probably just some single character flub up I have somewhere.

mqnewbie
a hill giant
a hill giant
Posts: 193
Joined: Sat May 22, 2004 1:29 am

Post by mqnewbie » Wed May 26, 2004 1:11 pm

mqnewbie,

What followmode are you using?

Please post reponse to the new 12.34 genbot.mac post.

--Vexix
(from the old genbot thread)
I was using /t botname follow me after telling it to cast, however this behavior has stopped since you released this version of genbot. I appologize for not updating my other post. I do thank you for bothering to ask though :)

MrSmallie
a hill giant
a hill giant
Posts: 167
Joined: Fri Oct 11, 2002 11:18 am

Post by MrSmallie » Wed May 26, 2004 1:23 pm

Morte: Do you have the channel going to a different window? I seem to remember Genbot having issues with seperate windows.
Me
[img]http://home.comcast.net/~mrsmallie/ches.JPG[/img]

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Post by Vexix » Thu May 27, 2004 9:56 am

In case anyone else has Mort's issue, /echo ChatType ${ChatType} revealed the problem.

ListenChan needs to be set to the name of the channel, in this case "bot" instead of the number of the channel.

--Vexix