Tale of Immortal - Need help with destiny editor
Posted: Sun Nov 21, 2021 2:58 pm
I'm making a script to edit the destiny that we have chosen during each breakthrough. My script could find the target destiny and swap it to a desired one. Although the change is permanent (saving-loading and restarting the game does not revert it back), only the icon is changed. It does not have a real effect. For example, if I swap Water Burst to Fire Burst, my character is still shooting water. I need help figuring out how to make it work.
Here's how to use my script:
In short:
1. Hook the game and enable the script.
2. Go to "Rewrite Destiny" or press J
3. Select desired page and you should be able to swap the destiny in that page.
Here is my CT file:
The reason I'm working on this:
All other CE tables and English-language trainers do not have this function yet. The Chinese trainer (as posted on viewtopic.php?f=2&t=15535&start=30) can edit destiny; however, there is no English-translation for the destiny names so it is very difficult to use.
Since the Chinese trainer is working and the change has a real effect in game, I've been trying to search for changed / unchanged value after the destiny swap, but I'm unable to find what it is that the trainer does in addition to what I did for my table.
What I did and tried:
I searched the ID of a destiny I have on my character, for example, 700017 is Water Burst. Then I tried modifying the addresses to 700016, which is Fire Burst, to see if there are changes. There is one address that could change the icon, so I made a script based on that for now.
There were many addresses with the value 700017. I tried changing the other ones. Some resulted in crashes. Some caused the skill to be disabled. But none seem to change from shooting water burst to fire burst. Maybe I missed something.
Then I tied scanning for what the Chinese trainer did by searching for changed/unchanged. Surprisingly, only the address that changed the icon came up. The trainer does change that value, but I'm sure that it does something else besides this, because it works, unlike my script.
I also thought of the possibility that something needs to be updated in game for the change to take effect. So I tried changing the value and breakthrough, such as to Golden Core, but I still got Water Burst shooting effect.
This game is written on Unity. So mono features may help, but I could not find ones that relate to this.
Other than that, I'm not experienced enough to do anything like back-tracing so I really got stuck.
Here's how to use my script:
In short:
1. Hook the game and enable the script.
2. Go to "Rewrite Destiny" or press J
3. Select desired page and you should be able to swap the destiny in that page.
Here is my CT file:
The reason I'm working on this:
All other CE tables and English-language trainers do not have this function yet. The Chinese trainer (as posted on viewtopic.php?f=2&t=15535&start=30) can edit destiny; however, there is no English-translation for the destiny names so it is very difficult to use.
Since the Chinese trainer is working and the change has a real effect in game, I've been trying to search for changed / unchanged value after the destiny swap, but I'm unable to find what it is that the trainer does in addition to what I did for my table.
What I did and tried:
I searched the ID of a destiny I have on my character, for example, 700017 is Water Burst. Then I tried modifying the addresses to 700016, which is Fire Burst, to see if there are changes. There is one address that could change the icon, so I made a script based on that for now.
There were many addresses with the value 700017. I tried changing the other ones. Some resulted in crashes. Some caused the skill to be disabled. But none seem to change from shooting water burst to fire burst. Maybe I missed something.
Then I tied scanning for what the Chinese trainer did by searching for changed/unchanged. Surprisingly, only the address that changed the icon came up. The trainer does change that value, but I'm sure that it does something else besides this, because it works, unlike my script.
I also thought of the possibility that something needs to be updated in game for the change to take effect. So I tried changing the value and breakthrough, such as to Golden Core, but I still got Water Burst shooting effect.
This game is written on Unity. So mono features may help, but I could not find ones that relate to this.
Other than that, I'm not experienced enough to do anything like back-tracing so I really got stuck.