Page 2 of 7

Posted: Tue May 25, 2004 10:54 am
by Mortedamour
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.

Posted: Tue May 25, 2004 3:13 pm
by Fire
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

Posted: Tue May 25, 2004 6:40 pm
by Phox
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.

Posted: Tue May 25, 2004 7:36 pm
by Mortedamour
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
|   }

Posted: Tue May 25, 2004 8:09 pm
by fez_ajer
Looks like it's maybe due to the numeric vs. named listen channel changes?

multiple actions...

Posted: Tue May 25, 2004 8:27 pm
by spektralkat
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

Will need a change

Posted: Wed May 26, 2004 8:35 am
by Vexix
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

Re: Will need a change

Posted: Wed May 26, 2004 10:30 am
by Mortedamour
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.

Posted: Wed May 26, 2004 11:31 am
by Vexix
Mort,

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

--Vexix

Posted: Wed May 26, 2004 12:10 pm
by Mortedamour
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.

Posted: Wed May 26, 2004 12:52 pm
by MrSmallie

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.

Posted: Wed May 26, 2004 1:09 pm
by Mortedamour
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.

Posted: Wed May 26, 2004 1:11 pm
by mqnewbie
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 :)

Posted: Wed May 26, 2004 1:23 pm
by MrSmallie
Morte: Do you have the channel going to a different window? I seem to remember Genbot having issues with seperate windows.

Posted: Thu May 27, 2004 9:56 am
by Vexix
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