macros for magic with target - doesn't work??
Posted: Tue 06.03.2007, 14:14
I somehow cannot get my macros right for magic that requires a target - anybody can help me? For short: the problem is that such macros, which work just fine after i just programmed them, fail after relaod of the .prf-file. Below i repeat in detail, what i do so that this happens.
preliminary:
I'd like to play with use_old_target = false, but then the macros don't work at all, so I already switched to use_old_target = true, but if anyone can tell me, how to do the following without this option, then i'd be grateful. And another pre-question: What's the difference between normal and command macros?
The problem occurs like this:
first of all, I created identity macros on all keys that I thought might carry macros. Then I program them for example for a priest for example by:
1) press 3- new command
2) I enter "\e*tp3b"
3) press 5 - create normal macro
4) enter the key that I want to carry this new macro
The message screen tells me "you created a normal macro". Then i dump this to "priest.prf" and, because I know I want to use this set of macros for a while, I dump again to player.prf, or whatever the default file is.
During the game the macro works just fine. I exit and when I next login all my macros, including spells without explicit target, like healing or detection spells, as well as those fireing missiles work just fine, but when i want to activate the one that carries the OoD like above or any other magic that requires target gets me into the question screen "pray from what book?" or similar.
Yes, i have my book inscribed correctly. - Each time i reload the pref - file i have to rewrite all these macros. This is annoying but o.k. on the mangband.org server, because there i usually exit save in town, so that i have the time to do so. But on the IRONMAN-server, sooner or later i login and find myself in a bunch of orcs - i lost all my magic-user-character so far due to this - anyone knows what goes wrong here?
Thanks for your help in advance. Best regards,
Udosdottir
preliminary:
I'd like to play with use_old_target = false, but then the macros don't work at all, so I already switched to use_old_target = true, but if anyone can tell me, how to do the following without this option, then i'd be grateful. And another pre-question: What's the difference between normal and command macros?
The problem occurs like this:
first of all, I created identity macros on all keys that I thought might carry macros. Then I program them for example for a priest for example by:
1) press 3- new command
2) I enter "\e*tp3b"
3) press 5 - create normal macro
4) enter the key that I want to carry this new macro
The message screen tells me "you created a normal macro". Then i dump this to "priest.prf" and, because I know I want to use this set of macros for a while, I dump again to player.prf, or whatever the default file is.
During the game the macro works just fine. I exit and when I next login all my macros, including spells without explicit target, like healing or detection spells, as well as those fireing missiles work just fine, but when i want to activate the one that carries the OoD like above or any other magic that requires target gets me into the question screen "pray from what book?" or similar.
Yes, i have my book inscribed correctly. - Each time i reload the pref - file i have to rewrite all these macros. This is annoying but o.k. on the mangband.org server, because there i usually exit save in town, so that i have the time to do so. But on the IRONMAN-server, sooner or later i login and find myself in a bunch of orcs - i lost all my magic-user-character so far due to this - anyone knows what goes wrong here?
Thanks for your help in advance. Best regards,
Udosdottir