Current time: 20.04.2024, 21:26 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Ваши вопросы по ERM-скриптам
Author Message
Berserker Offline
Administrators

Posts: 16486
Post: #9286

Archer30, you don't need to get semi-formed string. You can modify existing string object by appending another string (line) to it with your custom text.



Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
18.04.2024 12:23
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #9287

So it should be like this?


Got crashes Rolleyes


Latest ERA mods and scripts in development - My GitHub
Yesterday 01:25
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16486
Post: #9288

replace !!UN:C(ebp)/-32/4/?(ptr:y); with !!VR(ptr:y):S(ebp) -32;


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
Yesterday 08:25
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #9289

Berserker, everything's working perfect, thanks!

___________________


Hold on, there is one more thing.
The game stores how many morale/luck descriptions have been "registered" and leaves those "unregistered" as "temporary" like in the pic. It compares the morale/luck values in creature stack info and the morale/luck description value. If there is a difference, the temporary value would be shown.
Image: etfqdnH.png
Now I can register a few more with the tricks here. How do I register so that the temporary description can be hidden?

_____

Fixed. That's EBP+10h around my hook


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: Yesterday 20:05 by Archer30.)
Yesterday 11:22
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group