Author Topic: macro  (Read 3252 times)

0 Members and 1 Guest are viewing this topic.

Offline Paul

  • Developer
  • ******
  • Renown: 1879
  • Infamy: 442
  • cRPG Player A Gentleman and a Scholar
  • ball bounce boss
    • View Profile
  • IRC nick: Urist
Re: macro
« Reply #15 on: February 18, 2013, 08:32:39 am »
0
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}
}
« Last Edit: February 18, 2013, 08:49:56 am by Paul »

Offline Vibe

  • Vibrator
  • King
  • **********
  • Renown: 2528
  • Infamy: 615
  • cRPG Player Madam White Queen A Gentleman and a Scholar
    • View Profile
Re: macro
« Reply #16 on: February 18, 2013, 08:34:13 am »
0
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

Offline no_rules_just_play

  • King
  • **********
  • Renown: 1401
  • Infamy: 384
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
  • Faction: HRE; Peasants United; Burg Krems
  • Game nicks: CapraAegagrusHircus_HRE; no_rules_just_play_HRE
  • IRC nick: norulesjustplay
Re: macro
« Reply #17 on: February 18, 2013, 08:39:54 am »
0
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}
« Last Edit: February 18, 2013, 08:49:29 am by no_rules_just_play »

Offline Paul

  • Developer
  • ******
  • Renown: 1879
  • Infamy: 442
  • cRPG Player A Gentleman and a Scholar
  • ball bounce boss
    • View Profile
  • IRC nick: Urist
Re: macro
« Reply #18 on: February 18, 2013, 08:50:45 am »
0
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.
« Last Edit: February 18, 2013, 08:56:08 am by Paul »

Offline KingBread

  • Earl
  • ******
  • Renown: 445
  • Infamy: 42
  • cRPG Player Sir White Knight
    • View Profile
  • Faction: Fallen
  • Game nicks: KingBread
Re: macro
« Reply #19 on: February 18, 2013, 08:52:42 am »
0
So as we see it's clearly forbidden :)
visitors can't see pics , please register or login

Offline Kafein

  • King
  • **********
  • Renown: 2203
  • Infamy: 808
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
Re: macro
« Reply #20 on: February 18, 2013, 08:55:12 am »
+1
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

Offline Dexxtaa

  • King
  • **********
  • Renown: 1268
  • Infamy: 200
  • cRPG Player
    • View Profile
  • Game nicks: Remnant_Dexxtaa
Re: macro
« Reply #21 on: February 18, 2013, 05:05:48 pm »
0
My macros turn my TAG on and off.

Oh wait..
visitors can't see pics , please register or login

Offline Nazurdin

  • Earl
  • ******
  • Renown: 309
  • Infamy: 15
  • cRPG Player
  • ಠ_ಠ
    • View Profile
  • Faction: Holy Roman Empire
  • Game nicks: Faridah_HRE, Rotkappchen_HRE, Frida_von_Krems
Re: macro
« Reply #22 on: February 18, 2013, 06:51:19 pm »
0
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.
visitors can't see pics , please register or login

Offline Riddaren

  • Duke
  • *******
  • Renown: 601
  • Infamy: 298
  • cRPG Player Sir White Pawn
    • View Profile
  • Faction: Burg Krems
  • Game nicks: Riddaren, Matthaus
Re: macro
« Reply #23 on: February 18, 2013, 06:55:10 pm »
-5
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".

Offline Commodore_Axephante

  • Earl
  • ******
  • Renown: 439
  • Infamy: 38
  • Jumping with my overheads since '04
    • View Profile
  • Faction: Ravens of Valhalla
  • Game nicks: Reidi_the_Unfettered
Re: macro
« Reply #24 on: February 18, 2013, 06:58:51 pm »
+3
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.

Offline [ptx]

  • King
  • **********
  • Renown: 1871
  • Infamy: 422
  • cRPG Player Sir White Rook A Gentleman and a Scholar
  • such OP. so bundle of sticks. wow.
    • View Profile
Re: macro
« Reply #25 on: February 18, 2013, 07:00:45 pm »
0
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... :|

Offline no_rules_just_play

  • King
  • **********
  • Renown: 1401
  • Infamy: 384
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
  • Faction: HRE; Peasants United; Burg Krems
  • Game nicks: CapraAegagrusHircus_HRE; no_rules_just_play_HRE
  • IRC nick: norulesjustplay
Re: macro
« Reply #26 on: February 18, 2013, 07:03:54 pm »
0
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

Offline Nazurdin

  • Earl
  • ******
  • Renown: 309
  • Infamy: 15
  • cRPG Player
  • ಠ_ಠ
    • View Profile
  • Faction: Holy Roman Empire
  • Game nicks: Faridah_HRE, Rotkappchen_HRE, Frida_von_Krems
Re: macro
« Reply #27 on: February 18, 2013, 07:21:33 pm »
+1
Yes I tested it and it works. As bonus i made a fapping sheathing macro that takes 3 minutes to finish.
visitors can't see pics , please register or login

Offline Riddaren

  • Duke
  • *******
  • Renown: 601
  • Infamy: 298
  • cRPG Player Sir White Pawn
    • View Profile
  • Faction: Burg Krems
  • Game nicks: Riddaren, Matthaus
Re: macro
« Reply #28 on: February 18, 2013, 07:29:34 pm »
+1
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? :?

Offline BlueKnight

  • Marshall
  • ********
  • Renown: 983
  • Infamy: 200
  • cRPG Player A Gentleman and a Scholar
  • If you run, you will only die tired...
    • View Profile
  • Faction: Nordmen
Re: macro
« Reply #29 on: February 18, 2013, 09:31:08 pm »
0
(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.
visitors can't see pics , please register or login

Skyrim UI