Classic Client not retaining Memorized Macros ?
Classic Client.
I have been trying to create some Macros using the Numeric Pad of the keyboard (in the Options --> Macro Options it indicates them with a "tn" code....) but, even if I click APPLY and then OK, it does not save them upon logging off the Character....
I mean, once I create them they are fine, they work and I can use them.
But as soon as I log off, they get lost and I need to redo them at each log in, over and over and over again....
Anyone knows if and what I am doing wrong and why they are not saved for my Character ?
Thanks !
I have been trying to create some Macros using the Numeric Pad of the keyboard (in the Options --> Macro Options it indicates them with a "tn" code....) but, even if I click APPLY and then OK, it does not save them upon logging off the Character....
I mean, once I create them they are fine, they work and I can use them.
But as soon as I log off, they get lost and I need to redo them at each log in, over and over and over again....
Anyone knows if and what I am doing wrong and why they are not saved for my Character ?
Thanks !
Comments
Mapping to Keypad Numbers
It is possible to map macros to the keypad numbers, however to do so you must turn off ‘Num Lock’. In addition you need to check that the keynames.txt file uses the same description for the keys. To do this, first record a test macro through the paperdoll in game, with Num Lock off. Next open the character’s macro2d.txt file in notepad and find the macro:
########
NUM 1 1 1 0
+S a y t h i s i s a t e s t
In this example the key used is ctrl – Alt – NUM 1 (note the recorded entry in the macro2d.txt file generated the number as NUM – all caps.)
The formatting of this can vary depending on the operating system or the keyboard’s ‘country’ settings. Alternatives are Num or num.
Now find the keynames.txt file in the C:\Program Files\EA Games\Ultima Online 2D Client\ folder. Open this file in notepad and scroll down to the numbers.
This file must have exactly the same name for the keys as that generated in the macros2d.txt file. If they are different, edit this file to match the macros2d.txt file. If the case formatting in the keynames.txt file does not match that generated in the macros2d.txt file, when recording a macro through the paperdoll, the macro will not save.
To simplify: If macros2d.txt shows NUM 1 then keynames.txt must show NUM 1. If macros2d.txt shows Num 1, then keynames.txt must show Num 1. etc.
To my knowledge, if I turn the NUMLOCK OFF then the keys won't work....
At least, this is what happens when I am typing numbers from the numlock.... when it is off, the number do not show up where I am typing...
So, if I am turning it OFF to make UO macros in the Classic Client, how can the Client then register my key stroke?
I guess that then I could have a problem as I did the Test Macro as you suggested, and opened in Notepad the macros2d.txt for that character on the Shard and the Test Macro was neither registered as Num nor num .... but, rather, as (Tn) 0 0 0
I then searched for the keynames.txt file, opened it in the Notepad, but it shows the following I guess for the numeric pad
Does that mean that I need to then Edit the keynames.txt file changing Num into Tn ??
I would not want to mess something up by mistake....
Also, trying it i'm sure would have been a lot less effort than typing out that whole paragraph.
From that link above :
This other post here https://forum.uo.com/discussion/comment/43664/#Comment_43664 , also, seems to get me understand that having the English [US] regional setting still might not help with having Numeric Pad keys Macros get saved upon log out.....
reason I am surprised is, there was a patchnote a long time ago saying they resolved the issue. Also I used to suffer from this issue and every time I did a full file check, I had to redo this file. This is no longer the case for me.
I mean, I logged off, and then back in and the macros would still work.
Then I closed the client entirely and then relaunched it and still the keys seemed to be working.
But then, I logged off for the day, closed the UO client for good and turned off the computer.
When I restarted Ultima Online the following day, all of the Macros using the Numeric Pad where gone....
It is really weird.... it is as if there was some evil genie inside of my computer "specifically" targeting those macros using the Numeric Pad keys and deleting only those Macros using Numeric Pad keys from the macro2d.txt file.... all of the other Macros not using Numeric Pad keys remain untouched and working inside of the macro2d.txt file.... they get not deleted...
I have been trying to find some logic reasoning of "what" could make those macros, and only those, get deleted from the macro2d.txt file but could not fine one... my suspect, is that some sort of a conflict might exist with some file checker within the Ultima Online Client which ends up having the Client delete from the macro2d.txt file ONLY the Macros that are using the Numeric Pad keys...
Is that a reasonable possibility @Bleak and @Kyronix ?
As of now, what I do is, I saved a backup version on the macro2d.txt file which contains those Numeric Pad keys' Macros and, before I launch the UO Client, I just add them again from the backup file to the macro2d.txt file that got them deleted, somehow, and when I launch for that day the UO Client I have the Numeric Pad keys' Macros usable again....
It is definitively not a permanent solution, and I would LOVE this issue to get fixed for good but, at least, as of now, I do not have to rebuild those Macros one by one every new day that I am going to play some UO... I just use a backup macro2d.txt file carrying them and replace the one which had, somehow, those Macro be deleted by the Client....
Damn annoying, that is sure, and it beats me how this issue persist in Ultima Online some 23 Years after its creation (how is it possible that in 23 Years this rather important issue was not fixed for good ??), but at least, by saving a backup file, I was able to tone done the annoyance a little bit..., but still annoying like hell.....
I am actually using all of them....well, most, all the Numeric Pad numbers from 1 to 9 as well as the + (plus) and the - (minus) keys.... Twice, since 11 Macros are plain (no CTRL nor SHIFT nor ALT) and another 11 Macros are still those Numeric Pad keys plus CTRL.
I now have checked the Perform full file Check box, and the UO Classic Client has performed a full file check, unfortunately, upon getting in the game, all of my Numeric Pad Keys Macros have gone, I checked the macro2d.txt file and they are gone, nowhere to be seen....
Not sure though, if it has been my checking the "Perform full file Check" box because, as I said, it was unchecked when I looked at it so, I must assume that also in the past days where I still have my Numeric Pad keys Macros deletec from the macro2d.txt file, this box was unchecked.
So, I do not know whether this is what erases my macros....
I had to restore my macro2d.txt back up file containing the Numeric Pad keys Macros in order to be able to use them, as I have been doing now every time I can play UO.
It is a work around, not as bad as having to redo each single macro manually when I play UO but, I still would way much more prefer not to have this annoyance althougether...
All I know, is that it looks like I got some Genie inside my computer who, in spite of me, enjoys deleting my Numeric Pad keys Macros from my Ultima Online macro2d.txt file, and those Macros only, so that I have to redo them each time I want to play UO....
Of course that there has to be a logical explaination for this, I just can't figure out what is causing this. I wished it did not happen though, as it sure is annoying to have to restore my macro2d.txt file each time that I want to play UO....
i am also unable to diagnose the issue as you’ve stated your keyboard language is set to English US.
I have checked again the macro2d.txt file and it says Num for those Macros, also checked again the keynames.txt file and it also says Num (not NUM) so, the 2 files match the definition and yet, I get them deleted nonetheless, I have no clue....
As I said, they may stay up for a few client sessions but eventually, "something" happens that gets those Macros, and only those Macros get deleted from the macro2d.txt file and I need to restore my backup file of it....
My guess, is that some internal check for the UO Client for some reasons does not like those Macros and wipes them out.... what check would it be, I got no idea....