Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
bob_the_builder
- a hill giant

- Posts: 275
- Joined: Tue Jul 22, 2003 1:22 pm
Post
by bob_the_builder » Thu Apr 29, 2004 9:12 pm
Simple language macro wil cycle all availbe languages you know. Stops when you target yourself.
Code: Select all
| Lang_Tar.mac
|
| /macro lang_tar
| Cycles through all your availible languages
| Target yourself to end
|
| Written by shuttle
| Converted by bob_the_builder
|
#event LangHelp "Type /language help for a list#*#"
Sub Main
:SetDeclares
/declare LangNum outer
/declare MinLangNum outer
/declare MaxLangNum
:SetVars
/varset MinLangNum 2
/varset MaxLangNum 25
:MainLoop
/if (${Target.ID}) /goto :end
:GroupChat
/g This is a simple language macro
/g You are now learning a new language
/g Yeah !!!!! a new language Yeah !!!!
:IncreaseLanguage
/lang ${LangNum}
/varcalc LangNum ${LangNum}+1
/if (${LangNum}>${MaxLangNum}) /varset LangNum ${MinLangNum}
/doevents
/goto :MainLoop
:end
/endmacro
Sub event_LangHelp
/varset LangNum ${MinLangNum}
/return
Bob
Last edited by
bob_the_builder on Fri May 14, 2004 8:30 am, edited 1 time in total.
-
newb-n-training
- a lesser mummy

- Posts: 39
- Joined: Mon Apr 19, 2004 8:51 pm
Post
by newb-n-training » Thu Apr 29, 2004 9:44 pm
fun one
can you get this to work tho? not the macro's issue but when I run it the languages aren't being spoken -- the text is in common.
I had to change the :Group section to simply be "Keypress hot2" (a hotkey I set up with "/g you love learning languages" on every line.
is there some method in EQ to alter this so the macro method works?
-
ChrisCim
- a lesser mummy

- Posts: 77
- Joined: Sun Feb 29, 2004 2:45 am
Post
by ChrisCim » Fri May 14, 2004 6:05 am
Got it to work using the /g Message here, /keypress hot1 method, otherwise macro doesn't work as is. But with hotkey it works pretty well. Boxed a couple of my chars and they both learned all the languages pretty fast.
-
Shock
- decaying skeleton

- Posts: 3
- Joined: Sat May 15, 2004 12:56 am
Post
by Shock » Sat May 15, 2004 1:04 am
I love the macro and have modded it some to focus a few reps on a language before it advances as EQ is set up to allow you to train others to 1 skill level above your current ability level(thus 2 untrained toons could leapfrog that 1 point to max skill in minimum time), but still can't get the language advancement to register with eqclient for some reason.
It displays the advance:
"Current language is Troll (7)." etc.
But it does not broadcast IN troll, or whatever language it claims to have changed to, to the other group members, it continues in the language that was originally selected in the UI drop down or by manual entry via the /lang # command before or during macro operation.
It seems odd that the /lang # advancement routine seems to process the integer to the next number, but the client doesn't change output language to the group even after it displays the change?
Any ideas?
I'll post my code after I get this to work properly.
-
SukMage
- a ghoul

- Posts: 88
- Joined: Fri Jun 04, 2004 5:08 pm
Post
by SukMage » Fri Jun 04, 2004 5:16 pm
I have found that there is not enough delay to roll to the next language maybe? If I /end the macro and wait a few secs it will be in the last language selected my the macro. Maybe if a delay is added after the change it would work.
-
Synergy
- orc pawn

- Posts: 19
- Joined: Thu Nov 27, 2003 1:44 pm
- Location: USA
Post
by Synergy » Mon Jun 14, 2004 4:08 pm
Very nice macro ...although I agree with the previous posts, unless you add /keypress hot1, it doesn't change through languages properly. Even with that it works, but it ends up disconnecting me. How would I go about slowing it down?
I speak fluent Lorem Ipsum.
-
BlackTooth
- a lesser mummy

- Posts: 50
- Joined: Mon Dec 08, 2003 10:32 am
Post
by BlackTooth » Mon Jun 14, 2004 5:48 pm
The reason it disconnects you is because it sends so many messages in a short period of time that the server or your connection has to dump you... To slow this down you could change
this....
Code: Select all
:GroupChat
/g This is a simple language macro
/g You are now learning a new language
/g Yeah !!!!! a new language Yeah !!!!
to this....
Code: Select all
:GroupChat
/g This is a simple language macro
/g You are now learning a new language
/g Yeah !!!!! a new language Yeah !!!!
[color=red] /delay 1s[/color]
that would put a one second delay between each loop
or you could put a counter on it so that it would run till just before your server would dump you
-
BlackTooth
- a lesser mummy

- Posts: 50
- Joined: Mon Dec 08, 2003 10:32 am
Post
by BlackTooth » Mon Jun 14, 2004 5:57 pm
This is one that i developed. Only thing is you have to switch the languages manually. I use this thing all the time.
Oh and if you use this the dialogue on your screen ends a couple seconds before it does on the rest of the grps screens so dont panic
Code: Select all
| LangLoop.mac
| Developed by BlackTooth
|
|
| If you have two people running this macro
| You dont need them to be good at all in the language
| Just set them both on the same language and they
| Will increase each others skill in the language
| From 0 to 100 takes a few minutes
| More peeps you have spamming the faster she goes
| If you are already a master in the language then
| it will only take bout 50 seconds to teach someone to 100
Sub Main
/echo Language Macro Starting
:SetDeclares
/declare Counter int
/declare TimerVal int
/declare Buffer int
:Setvars
/varset Counter 0
| Edit the following value to suit the needs of your server connection
| If you are 2-boxing and wanna go from 1 to 100 on your own then set
| TimerVal to about 1500 or so and add a /delay 1s after the last /gsay statement
| For me, a TimerVal of 150 brings the person to Master (100) in language
/varset TimerVal 150
/for Counter 0 to ${TimerVal}{
/gsay "You are learning a brand new language, Feel Special eh?"
/gsay "Well you shouldnt because you are not learning it fast enough!"
/gsay "Do you have any idea how much my mouth is gonna hurt after this?!"
/gsay "Study Study Study Hard"
/gsay "Practice makes stinkin perfect"
/gsay "Well it better make perfect or I am gonna sue"
/gsay "You are learning a brand new language, Feel Special eh?"
/gsay "Well you shouldnt because you are not learning it fast enough!"
/gsay "Do you have any idea how much my mouth is gonna hurt after this?!"
/gsay "Study Study Study Hard"
/gsay "Practice makes stinkin perfect"
/gsay "Well it better make perfect or I am gonna sue"
| This is to be used for long sessions, i.e. 2 boxing a lang up
| /delay 1s
| These are optional to /echo but I find it helpful to monitor the status
/echo Counter: ${Counter}
/echo TimerVal: ${TimerVal}
/if (${Counter} >= ${TimerVal}) /endmacro
/next Counter
}
/return
-
WhiteWolf
- a ghoul

- Posts: 89
- Joined: Wed Apr 14, 2004 5:41 am
Post
by WhiteWolf » Sat Jul 03, 2004 5:27 am
ok....something is...buggy with these now lol.
tried both of the macros in this thread out, and on my screen the language is set right (in the first, it cycles all my languages, in the former i set my language and it isn't changed.), but on the other end, it's all coming out in common tongue.
odd thing is, if i type anything manually, it's in the set language.
anyone have any ideas on this?
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Sat Jul 03, 2004 6:50 am
WW, language used is based on the language setting of the window of focus. Were you focused on the window you changed language in?
That said, my question is can the first one be made to check language skill level and ignore those already mastered?
-
WhiteWolf
- a ghoul

- Posts: 89
- Joined: Wed Apr 14, 2004 5:41 am
Post
by WhiteWolf » Sat Jul 03, 2004 7:08 am
actaully i changed the language in all my windows to Vah Shir (the language i was trying to teach), and my ui is set to have the primary chet window as "always chat here"
unless the map having focus counts, heh.
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Mon Jul 19, 2004 1:38 pm
Ran this today and checked logs and it is working.
Only issue is that it says 25 languages, but you can only learn a total of 23 (including common) from your GM. Don't know what the 2 are that I can't find. In mine, because of this I changed it to 23 for maxlang.
The 2 missing are Dark Speech (which dark races have automatically) and Thieves Cant which must be learned from a rogue, bard, or someone else who already has it.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Mon Jul 19, 2004 3:17 pm
Ok I understand what WW was talking about now. I've been messing with the Lang_targ.mac and it "appears" to be working fine from the bot side of things. It is not actually changing the language that is spewed out to the group. I know this for fact from testing and playing with this all morning and afternoon.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!
-
aChallenged1
- a grimling bloodguard

- Posts: 1804
- Joined: Mon Jun 28, 2004 10:12 pm
Post
by aChallenged1 » Tue Jul 20, 2004 1:14 pm
Found a work-around for this.
Comment out or remove totally the
/gs lines and add
/keypress 1
Then make a hotkey and place it in position 1 of the hotkey bank.
Hotkey should look something like...
Code: Select all
/gs Text here 1
/gs Text here 2
/gs Text here 3
/gs Text here 4
/gs Text here 5
Make sure to have your main chat window the focus window for anything you type and be sure not to accidentally change it. If you have the wrong window as focus it won't work properly.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!