cRPG

cRPG => General Discussion => Topic started by: no_rules_just_play on February 18, 2013, 01:00:34 am

Title: macro
Post by: no_rules_just_play on February 18, 2013, 01:00:34 am
hey guys,

Im trying to set a macro that makes me be able to send chat messages like 'FLAG' very fast.

First of all, is it allowed (it would seem weird if it wasnt)
second: i downloaded autohotkey, is that a good idea?
third: can somebody help me finding a working script.

I tried this:

(click to show/hide)

and also this:

(click to show/hide)

when i tried it on notepad, i actually typed 'yFLAGy'. but in-game, nothing happened. I went to yahoo and someone suggested to use this:

(click to show/hide)

but when i tried to launch the script, it said:

(click to show/hide)
same for {ENTER} btw

edit: changing {f11} with f11 makes the script run and it works in notepad, but not in-game.
edit2: also tried to set the '10' to '100', but still didnt work
Title: Re: macro
Post by: Zlisch_The_Butcher on February 18, 2013, 01:05:22 am
I really don't know shit about this whatsoever, but shouldn't they end on an enter instead of a y for the shit you type to actually be submitted? Just wondering.
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 01:08:14 am
thanks for the answer zlisch. i didnt think about that indeed. but than there is still the problem that it doesnt work in-game and that the keys arent found on my keyboard or something
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 01:12:20 am
http://www.autohotkey.com/board/topic/66650-buttondoesnt-exist-in-the-current-keyboard-layout/

just found this, lets try it

edit: i can run the script now, but still doesnt work in-game

tried to set the 10 to 100, still doesnt work
Title: Re: macro
Post by: oohillac on February 18, 2013, 02:20:23 am
On my old gaming keyboard, I had a "sorry for the teamwound!" script set to my extra keys. 

The trick is to make sure there is a delay between keystrokes, if your software can do that.   It can't be instantaneous keypresses.

If your software can't do that, try leaving a bunch of whitespace between letters to delay it?
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 02:57:49 am
On my old gaming keyboard, I had a "sorry for the teamwound!" script set to my extra keys. 

The trick is to make sure there is a delay between keystrokes, if your software can do that.   It can't be instantaneous keypresses.

If your software can't do that, try leaving a bunch of whitespace between letters to delay it?
you mean this? i tried to set it to 100 already
Sleep, 10
Title: Re: macro
Post by: bagele on February 18, 2013, 04:55:36 am
you mean this? i tried to set it to 100 already

in autohotkey 1000 = 1 second
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 06:32:04 am
i know, and a pause of 100 is already extemely slow
Title: Re: macro
Post by: Macropus on February 18, 2013, 06:59:11 am
Tried to make something like that and is doesn't work at all, I can't even bind a simple jump on a hotkey  :(
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 07:03:02 am
there are people with gaming mouses that use macros in crpg though
Title: Re: macro
Post by: Vodner on February 18, 2013, 07:13:24 am
See if using a different send method (http://www.autohotkey.com/docs/commands/Send.htm) fixes things.

You can also have key presses automatically delayed and/or held (http://www.autohotkey.com/docs/commands/SetKeyDelay.htm) for a specific amount of time, without having to manually add a delay after every key.
Title: Re: macro
Post by: Digglez on February 18, 2013, 07:17:06 am
I used a program called MACROMAKER back in the days grinding out classes to unlock Jedi in Starwars Galaxies.  Its MUCH simplier than autohotkey that takes a programming degree to do anything useful or even simple.

http://macromaker.en.softonic.com/

(click to show/hide)
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 07:59:49 am
I used a program called MACROMAKER back in the days grinding out classes to unlock Jedi in Starwars Galaxies.  Its MUCH simplier than autohotkey that takes a programming degree to do anything useful or even simple.

http://macromaker.en.softonic.com/

(click to show/hide)
im interested and downloaded it, but for some reason it didnt open the application when i clicked it :/
oh wait, nvm this might work

edit: i tested it and it is a very nice program but it doesnt work in-game either. thanks for helping though
Title: Re: macro
Post by: Paul on February 18, 2013, 08:09:28 am
For Warband you got to use the $ prefix so that a hotkey can be triggered afaik.

Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 08:24:53 am
For Warband you got to use the $ prefix so that a hotkey can be triggered afaik.
i just tried that with autohotkey, but it didnt work
Title: Re: macro
Post by: Paul on February 18, 2013, 08:32:39 am
The hotkey is triggered. You can check that with opening the chat line and then pressing the hotkey. What doesn't work is the Send-stuff outside of the text line.

Try this, when y is your team chat key. Hotkey is ctrl+y. It circumvents the problem with send with using the chat key and not blocking it's ingame function {~}.

Code: [Select]
$~^y::
{
sleep, 10
Send FLAG
sleep, 10
Send {Return down} 
sleep, 100
Send {Return up}
}
Title: Re: macro
Post by: Vibe on February 18, 2013, 08:34:13 am
From an example:

$F1::  ; Make the F1 key into a hotkey (the $ symbol facilitates the "P" mode of GetKeyState below).
 if not GetKeyState("F1", "P")  ; If this statement is true, the user has physically released the F1 key.

so it should go something like:

$F1::
if GetKeyState("F1", "P") {
{ENTER}::Send yFLAGy
}


I didn't test this
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 08:39:54 am
Code: [Select]
$~^y::
{
sleep, 10
Send FLAG{Enter}
}
this also didnt work in-game. it opened the teamchat window (i guess because you press Y during the the process)

$F1::
if GetKeyState("F1", "P") {
{ENTER}::Send yFLAGy
}
this gave an error saying:

Quote
error at line 7

line text:ENTER}::Send yFLAGy
error: invalid hotkey

the program will exit
it also is (i think) the wrong button combination. the example in the OP said yFLAGy, but it is yFLAG{ENTER}
Title: Re: macro
Post by: Paul on February 18, 2013, 08:50:45 am
Try this(ctrl+y):

Code: [Select]

[code]
$~^y::
{
sleep, 10
Send FLAG
sleep, 10
Send {Return down} 
sleep, 50
Send {Return up}
}

and this(ctrl+c is hotkey):

Code: [Select]
$^c::
{
Send {y down} 
sleep, 50
Send {y up} 
sleep, 10
Send FLAG2
sleep, 10
Send {Return down} 
sleep, 50
Send {Return up} 
}

Warband wants a downtime for its hotkeys. So one has to work with {key down}, wait, {key up} as it seems.
Title: Re: macro
Post by: KingBread on February 18, 2013, 08:52:42 am
So as we see it's clearly forbidden :)
Title: Re: macro
Post by: Kafein on February 18, 2013, 08:55:12 am
I use a macro software (to type "sorry" quickly) that was shipped with my mouse and by trial and error I found that you want a 20ms delay between key updates for warband, at least with that program.

I have a second button, probably gonna set it to a quick FLAG scream in teamchat. Thanks for the idea :D
Title: Re: macro
Post by: Dexxtaa on February 18, 2013, 05:05:48 pm
My macros turn my TAG on and off.

Oh wait..
Title: Re: macro
Post by: Nazurdin on February 18, 2013, 06:51:19 pm
This one works.
Code: [Select]
$F11::
Send {Y down}
Sleep, 10
send {Y up}
Sleep, 10
Send {F down}
Sleep, 10
Send {F up}
Sleep, 10
Send {L down}
Sleep, 10
Send {L up}
Sleep, 10
Send {A down}
Sleep, 10
Send {A up}
Sleep, 10
Send {G down}
Sleep, 10
Send {G up}
Sleep, 10
Send {Enter down}
Sleep, 10
Send {Enter up}
Sleep, 10

Not very elegant though.
Title: Re: macro
Post by: Riddaren on February 18, 2013, 06:55:10 pm
Using a macro, no matter if it writes "sorry" or makes some feints is equally wrong imo.
If I had macros for "sorry" and "QQF" (whistle for horse) I would die less.

The result is the same as with auto blocking: You die less.

So how is using macros for "sorry" and "QQF" not cheating?

This should be discussed in the subforum "Cheating".
Title: Re: macro
Post by: Commodore_Axephante on February 18, 2013, 06:58:51 pm
Using a macro, no matter if it writes "sorry" or makes some feints is equally wrong imo.
If I had macros for "sorry" and "QQF" (whistle for horse) I would die less.

The result is the same as with auto blocking: You die less.

So how is using macros for "sorry" and "QQF" not cheating?

This should be posted under "Cheats".

I say this as someone who is interested in some of the kinds of macros discussed above, but has given up due to my inability to write scripts for shit:

Doing things like making a hotkey so that every time you jump you QQV? That just enriches and expands the game, man. Does it make you die less? No, it makes you win more... even if you die just as much. Know what I mean? At least, that's how I see it, and how I would use these powers.
Title: Re: macro
Post by: [ptx] on February 18, 2013, 07:00:45 pm
Using a macro, no matter if it writes "sorry" or makes some feints is equally wrong imo.
If I had macros for "sorry" and "QQF" (whistle for horse) I would die less.

The result is the same as with auto blocking: You die less.

So how is using macros for "sorry" and "QQF" not cheating?

This should be discussed in the subforum "Cheating".
I hope you're trying to troll... :|
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 07:03:54 pm
This one works.
Code: [Select]
$F11::
Send {Y down}
Sleep, 10
send {Y up}
Sleep, 10
Send {F down}
Sleep, 10
Send {F up}
Sleep, 10
Send {L down}
Sleep, 10
Send {L up}
Sleep, 10
Send {A down}
Sleep, 10
Send {A up}
Sleep, 10
Send {G down}
Sleep, 10
Send {G up}
Sleep, 10
Send {Enter down}
Sleep, 10
Send {Enter up}
Sleep, 10

Not very elegant though.
did you test it? in that case, i think there is a problem on my part. it doesnt work for me :/
maybe i didnt do something necessary
Title: Re: macro
Post by: Nazurdin on February 18, 2013, 07:21:33 pm
Yes I tested it and it works. As bonus i made a fapping sheathing macro that takes 3 minutes to finish.
Title: Re: macro
Post by: Riddaren on February 18, 2013, 07:29:34 pm
I hope you're trying to troll... :|

Tweaking and manipulating ingame related stuff in your favor is cheating. More or less.
Do you think otherwise or are you just trolling? :?
Title: Re: macro
Post by: BlueKnight on February 18, 2013, 09:31:08 pm
(click to show/hide)

Just type "my old friend", it's a lot faster to write it and feels natural. After some time teammates will understand it.
Title: Re: macro
Post by: Paul on February 18, 2013, 09:49:52 pm
My script works. Use it or ban.
Title: Re: macro
Post by: karasu on February 18, 2013, 09:58:36 pm
Great, now all the cool kids are gonna use macros.

No more magical moments when someone tries to type "omg flwg iditz" and dies trying to correct it to proper English.


All hope is lost.
Title: Re: macro
Post by: no_rules_just_play on February 18, 2013, 10:17:40 pm
My script works. Use it or ban.
im certainly doing something wrong than
Title: Re: macro
Post by: Vodner on February 18, 2013, 10:25:05 pm
im certainly doing something wrong than
You're reloading the script between edits, correct?
Title: Re: macro
Post by: Paul on February 18, 2013, 11:31:48 pm
This works for me:

z is my ingame teamchat key. Hotkey is ctrl+c.

Code: [Select]
$^c::
{
Send {z down} 
sleep, 50
Send {z up} 
sleep, 10
Send FLAG2
sleep, 10
Send {Return down} 
sleep, 50
Send {Return up} 
}
Title: Re: macro
Post by: Penguin on March 22, 2013, 04:05:50 am
did you test it? in that case, i think there is a problem on my part. it doesnt work for me :/
maybe i didnt do something necessary

Try running the script as an administrator if you're using win7
Title: Re: macro
Post by: no_rules_just_play on March 22, 2013, 04:35:09 am
nah, the problem is/was something else. ill just try another mouse
Title: Re: macro
Post by: Mala on March 22, 2013, 04:46:18 pm
or learn to type faster.
Title: Re: macro
Post by: no_rules_just_play on March 22, 2013, 04:51:40 pm
oh, be sure :D i know how to type 'FLAG' or 'sry' in a split second
but i cant type 'FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG FLAG ...x20' in that time
Title: Re: macro
Post by: Kafein on March 22, 2013, 04:54:31 pm
no_rules is just jelly of my typing abilities.
Title: Re: macro
Post by: Ego_HRE on March 22, 2013, 06:13:47 pm
macro = cheat
This is a advantage, which other players do not have.
For example: I stand on the flag...enemy is incoming..i will open the chat to write:flag or something...i was to slow...and they kill me.
With macro--->advantage...u r faster

(This is the version for 6 years old players..bevor they downvote me...for a better understanding :mrgreen:)

MACRO's should be forbidden :mrgreen:

sry no_rules :)
   
Title: Re: macro
Post by: zottlmarsch on March 22, 2013, 06:24:20 pm
qdf
Title: Re: macro
Post by: KingBread on March 22, 2013, 06:26:30 pm
Athletics is also cheating cos i see enemy with no athletics it take forever to get him but with athletic i can be there faster !!.

Not mentioning blocking can give you big advantage over other players.

You can all say that this is in game feature so its not cheating, but what about EPIC METAL MUSIC i listen while i play and i go for super epic rampages while other people listen to calm peasant music and get slaugheted ?
Title: Re: macro
Post by: Kafein on March 22, 2013, 07:13:08 pm
I listen to no music at all and kill you with the power of the void.
Title: Re: macro
Post by: no_rules_just_play on March 22, 2013, 07:17:44 pm
qdf
nobody actually sees it when you do that. plus i have azerty so its very hard to learn those commands
Title: Re: macro
Post by: zottlmarsch on March 22, 2013, 07:21:46 pm
nobody actually sees it when you do that. plus i have azerty so its very hard to learn those commands

qej
Title: Re: macro
Post by: Kafein on March 22, 2013, 07:33:52 pm
nobody actually sees it when you do that. plus i have azerty so its very hard to learn those commands

Wait, why are you using a french keyboard ? I thought german keyboards were qwertz or something.
Title: Re: macro
Post by: zottlmarsch on March 22, 2013, 07:36:20 pm
Wait, why are you using a french keyboard ? I thought german keyboards were qwertz or something.

hes some dutch my old friend   8-)
Title: Re: macro
Post by: no_rules_just_play on March 22, 2013, 07:37:22 pm
Wait, why are you using a french keyboard ? I thought german keyboards were qwertz or something.
im same nationality as you my friend :D
why are we actually speaking english in pms?
Title: Re: macro
Post by: Miralay on March 22, 2013, 09:15:25 pm
Athletics is also cheating cos i see enemy with no athletics it take forever to get him but with athletic i can be there faster !!.

Not mentioning blocking can give you big advantage over other players.


Must be worst example ever. Sorry Kingbread :D
Title: Re: macro
Post by: Mala on March 23, 2013, 01:11:46 am
nobody actually sees it when you do that. plus i have azerty so its very hard to learn those commands

You can remap the key for the questlog (with that i mean the q).
Title: Re: macro
Post by: no_rules_just_play on March 23, 2013, 01:14:17 am
i still have to press , when i want to write a M. there are numerous differences and i took a long time for me to learn where they actually are :P
but ill see how that turns out.
Title: Re: macro
Post by: [ptx] on March 23, 2013, 01:55:02 am
macro = cheat
This is a advantage, which other players do not have.
For example: I stand on the flag...enemy is incoming..i will open the chat to write:flag or something...i was to slow...and they kill me.
With macro--->advantage...u r faster

(This is the version for 6 years old players..bevor they downvote me...for a better understanding :mrgreen:)

MACRO's should be forbidden :mrgreen:

sry no_rules :)
I'll just add that this is one of the more brainless "opinions" expressed in this forum lately.
Title: Re: macro
Post by: Ego_HRE on March 23, 2013, 07:16:52 pm
I'll just add that this is one of the more brainless "opinions" expressed in this forum lately.

Brainless?
I wrote: This is the version for 6 years old players..bevor they downvote me...for a better understanding...
especially for you :rolleyes:
Title: Re: macro
Post by: zottlmarsch on March 23, 2013, 07:40:14 pm
visitors can't see pics , please register or login
Title: Re: macro
Post by: Silicium on March 23, 2013, 08:35:42 pm
i still have to press , when i want to write a M. there are numerous differences and i took a long time for me to learn where they actually are :P
but ill see how that turns out.
Because kafein is so lazy to learn dutch, wololol.
Title: Re: macro
Post by: [ptx] on March 23, 2013, 09:39:20 pm
Brainless?
I wrote: This is the version for 6 years old players..bevor they downvote me...for a better understanding...
especially for you :rolleyes:
Anything that gives "an advantage" is a cheat?
You are worse than a 6 year old, age won't fix being a moron.
Title: Re: macro
Post by: Kafein on March 23, 2013, 09:45:12 pm
im same nationality as you my friend :D
why are we actually speaking english in pms?

We could try but my Dutch is horrible.
Title: Re: macro
Post by: no_rules_just_play on March 23, 2013, 10:58:08 pm
We could try but my Dutch is horrible.
oh dem kafein is french, didnt know lol
Title: Re: macro
Post by: pepejul on March 25, 2013, 05:08:18 pm
now in chat ingame my keyboard seems to be QWERTY instead of AZERTY.... please explain how I can change it please.... pleqse =)
Title: Re: macro
Post by: no_rules_just_play on March 25, 2013, 05:30:44 pm
i keep changing that thing where it says FR untill its fixed :P
visitors can't see pics , please register or login