An interesting problem combining MQ2IRC + Genbot..need help

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Frank25
a ghoul
a ghoul
Posts: 136
Joined: Thu Aug 12, 2004 6:38 am

An interesting problem combining MQ2IRC + Genbot..need help

Post by Frank25 » Sun Mar 13, 2005 1:40 am

First off, why here in MQ2::help?
Well my problem is NOT a macro problem perse, nor a plugin problem, it may be both or none ...
In other words, it's so odd, i cant figure out where to post it.
And i def dont see an answer in the wiki..that said...heres the problem:

I recently installed MQ2IRC and it's pretty much working great.

I automated the loggin in to channels of my bots by puttin a snippet of code into botmain.inc.
This works fine.

Now comes the problem

If one of my bots log into EQ and the macro (genbot) starts via either the .cfg method, or if i use a hotkey (with /mac genbot mastername) they will NOT speak in the IRC channel.

However, and here comes the problem, if i MANUALLY type in EQ "/mac genbot mastername" it DOES work and they chat in IRC all the time.

Now i've tried countless combinations to see if it's random, but quite literally everytime i do it manually it works like a charm.
If i do it by loading via cfg or hotkey, it dont.

I do not change anything in the config or macro's between attempts and it comes out the same each time
What could be the problem?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Mar 13, 2005 1:45 am

grats on mentioning the wiki, but the instructions say you're supposed to put what you think the answer is on the wiki, where you think it should be..
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Frank25
a ghoul
a ghoul
Posts: 136
Joined: Thu Aug 12, 2004 6:38 am

Post by Frank25 » Sun Mar 13, 2005 1:51 am

ah, i thought that was only after/if you know the answer and it would help others.

I may actually have found the problem, which i'm testing now. if so i'll be sure to add this to the wiki lax

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Mar 13, 2005 1:56 am

I'll clarify the instructions in a bit
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Frank25
a ghoul
a ghoul
Posts: 136
Joined: Thu Aug 12, 2004 6:38 am

Post by Frank25 » Sun Mar 13, 2005 2:06 am

K, i'm 99% sure i figured out the problem
Has to do with genbots sitaftercast command

Added it to the wiki,
MQ2IRC

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Mar 13, 2005 2:53 am

A for effort, thank you.

For future reference I moved the steps to this wiki topic [[Help Forums]] and it should be easier to see that you should add to the wiki even if you dont know the answer. If not, edit the article for me ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Frank25
a ghoul
a ghoul
Posts: 136
Joined: Thu Aug 12, 2004 6:38 am

Post by Frank25 » Sun Mar 13, 2005 3:46 am

Thanks lax, never worked with wiki's that def made more sense )

Red-One
a ghoul
a ghoul
Posts: 143
Joined: Tue Dec 28, 2004 9:14 pm

RedOneDI

Post by Red-One » Thu Mar 31, 2005 12:56 pm

For my genbot/irc combo I just put all the crap I wanted to do in the startup in one of the default plugins, in the OnIncomingChat function.

My toons already connect to a default server chat channel when they load into EQ (/autojoin), so it made this run easier. Basically. once all my toons are in game I type the word "startup" into the chat channel, and they all initialize.

I have an irc.mac which connects to an local irc server that I setup to run, but any server should work.


Code: Select all

Sub Main

/docommand /iconnect server port ${Me.CleanName} #channel

/return
I forget if ${Me.CleanName} is the correct syntax, but if you run more than 1 toon on a box (which on occasion I do) then you will run into IRC name conflicts when they try to join the channel (IRC plugin will grab the last name from the INI file, so it will try to use the last name that was used. In essence, toons on the same box try to join the channel with the same name).

In the OnIncomingChat fuction of the plugin it just looks for me saying startup in my server channel. I don't have access to my code atm, so this is going to be pseudo style. Perhaps someone else can fill it in :wink:

Code: Select all

OnIncomingChat(something, something){
             If (strstr(line, "CharName tells <channelname>") && (strstr(line, "startup"){
                       /mac irc
                       /mac genbot mastername
              }



}

(You have to call a CMD function or something and pass the "/mac" stuff to it since it is in a plugin. I forget the syntax.

Once irc connection finishes and genbot loads, I send a message to my server channel /1 /i join #channelname

Now they are all connected and ready for commands. I am not sure why it doesn't join the channel even though I specify it in the mac.

So when it is all said and done, you load up all your toons into EQ, type startup, wait about 5 seconds, the /1 /i join #channelname and you are ready. I'm sure there is a better way, but this works for me.


-Red

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Top Product Guide

Post by FrankJScott » Fri Aug 25, 2023 7:21 pm

Please Google it! before posting

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Top Rated New Product Info Site

Post by FrankJScott » Wed Sep 13, 2023 12:56 am

Please use Google before posting Top Rated Top Rated Product Link Site 1d1ac74

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Awesome Translation Service Tips

Post by FrankJScott » Mon Sep 25, 2023 8:58 am

In reply to the people talking about google translate for webpage, website filipino translation, google text translation online, opera browser translate page, translate google com free, google translate link for website, I highly recommend this recommended translation service info or worldlingo website translator, docs translate online, multilingual web localization, arabic translation website, google document translator online free, legal translation online, on top of this updated translation service forum on top of legal translation website, free online translation services, website localization solutions, translate a whole page, google translator com, translate entire web page, not to mention this top translation service blog which is also great. Also, have a look at this top rated translation service tips on top of google translate url, translators best web sites, translate medical documents online, corporate website translation, spanish translation online, google translate firefox, not to mention this top translation service site on top of best german translation website, web content localization, language translation web service, page google translate, online human translation, best korean translator online, alongside all useful translation service url which is also worth a look. I also suggest this top rated translation service url and don't forget website translation in bengali, best translation sites for freelancers, bengali to sanskrit translation website, website translation and localisation, translate internet page, get paid to translate online, and don't forget this high rated translation service forum and don't forget edge translate webpage, translate page url, online translation translation, turkish to english website translation, translate docs online, the best translation site, alongside all useful translation service info on top of accurate translator online, website translation company, translate voice note online, translate english to spanish online, translate web sites, global website translations, which is also great. Finally, have a look at this new translation service details with online document language translator, google translate whole site, website localization company, website marathi translation, fucking scammer translation and localisation, translate from url, for good measure. Check more @ Useful Translation Service Blog f252a1b

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Updated Outdoor Clothing Guide

Post by FrankJScott » Mon Oct 09, 2023 9:49 pm

Please try Google before asking about Top Rated Outdoor Clothing Info ce3c8de

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Cool Product Website

Post by FrankJScott » Thu Oct 26, 2023 1:41 pm

Please try Google for Cool Product Info c8dec9a