I think I'd personally make the reset mat to rebuild the stats instead of subtracting existing mats, but that's just me.
The character name is wchar and also it needs to start with \tE or \tJ (or any others that are unused?)
As greggs said, you can't read the passwords as they are hashed instead of encrypted.
Since you are using the mysql version, you can make a (php) script to update the password instead.
Iirc the hashing is md5(password_regtime_salt) (substuting the password for the desired password and regtime...
This launcher works by modifying the game while it's launching, you have to use the launcher every time.
Ephinea, Ultima and I guess whoever else uses custom DLLs with the patch included there work differently and doesn't require that.
The way Tofu's launcher works, is by modifying the game data/code at start up... if the game launches too fast, it might not have enough time to modify the data and you get the issues you are experiencing right now.
I don't think there is any solution for you right now.
I am gonna release a...
My bad, I actually read null bytes in between parts of a single string.
As you said, you have to match the start of each string, but looking at it as "adding bytes to pad and match the offsets" sounds more complicated than just replacing each string (as a different "entity").
So I'd say to...
Just want to point out, what I said was first 2 are patch, the other 4 are login. (and this is wrong, it is 2 login and 4 patch)
There are no "ship ip addresses" in the client, those are sent by the server when you choose a ship in the ship menu
While this depends on the ship emulating those same actions, when you bank a mag (also when going back to a common lobby, and I think there might be more but I don't have any other known instances of it at hand), the stats of the mag are AND'd with 0x7FFE
There was no next release of teth, so I assume the tool would not be released either since support for sqlite does not exist in the current version.
If you forgot your game password, you can probably just manually edit the file, I think someone had already posted the structure of it.
I guess people having issues like this can use something like Process Explorer to check what libraries are loaded into the game's process and try to identify which apps are messing with it (after having discarded the known ones).
So, after looking into this.
Apparently windows sends a CtrlBreak (aka VK_CANCEL, or VK_03) when you do either Ctrl+Pause (or Ctrl+Scroll?), not sure why AHK can't intercept that but oh well...
When the game receives this key code, it calls MoveWindow(param_1,0,0,0x280,0x1e0,1);
I guess this...
I'll take a look, I have done a few ahk scripts in the past.
One thing tho, did you run this as admin?
Edit: Apparently it doesn't work at all, maybe is something done by windows.
In this case, a more invasive solution would be to remap those keys in windows itself, I have used SharpKeys...