Well ... the location you are calling is ... "suboptimal".
You calling inside another function. Functions are build to be executed as a whole, not partially.
the value of ECX is immediatly overwritten by the code you are calling.
UpdateColor, the function you see at my screen, is for entities. So even if ECX would work in this case, 0x110F80C is still the wrong address as it is the address of the main ui and an entity.
flory already explained everything. But remember that you're using "__asm", so the function must be "naked".
However, if you implemented the function, that function is called like every 1 ~ 2 secs, it should be called with CICPlayer::OnRender, so if you edit the color for a sec, you will see it getting back to usual color again immediately after.
So, if you want to have a permanent color change, you can hook the function and edit the color before calling the main function or just look into that UpdateColor function and see what it does
remember that you're using "__asm", so the function must be "naked".
__asm and naked do not correlate. Naked just means that there will be no prolog and epilog generated. You can still use __asm in non-naked functions. His example should work fine without, if the addresses were correct.
Well ... the location you are calling is ... "suboptimal".
You calling inside another function. Functions are build to be executed as a whole, not partially.
the value of ECX is immediatly overwritten by the code you are calling.
UpdateColor, the function you see at my screen, is for entities. So even if ECX would work in this case, 0x110F80C is still the wrong address as it is the address of the main ui and an entity.
Thanks for helping me.
i changed address but client always got crash .
Thanks for helping me.
i changed address but client always got crash .
My post did not contain the solution. I only showed whats wrong. The whole call destination is wrong in the first place. You can only "call" to the first address of a function, not in between. You can call UpdateColor directly. It is meant to change the text color of the entity name. In order to call that, you need to get the address of the entity. For your own player, its 0x00EEF5EC. You need to find the addresses of other players if you want to change other player's color aswell. HB gave the hint to hook CICPlayer::OnRender, which is at 0x009D87C0.
My post did not contain the solution. I only showed whats wrong. The whole call destination is wrong in the first place. You can only "call" to the first address of a function, not in between. You can call UpdateColor directly. It is meant to change the text color of the entity name. In order to call that, you need to get the address of the entity. For your own player, its 0x00EEF5EC. You need to find the addresses of other players if you want to change other player's color aswell. HB gave the hint to hook CICPlayer::OnRender, which is at 0x009D87C0.
Should be possible. Isn't the opponent job already colored in red (Thief <-> Hunter, Trader)? You can probably use that location to insert more job specific colors.
Should be possible. Isn't the opponent job already colored in red (Thief <-> Hunter, Trader)? You can probably use that location to insert more job specific colors.
It is. The UpdateColor function is called from somewhere else if the user is in Job Mode.
Func43 @ CICPlayer return the Job Mode. 1/2/3 is trader/thief/hunter, 4 = no job.
Well ... the location you are calling is ... "suboptimal".
You calling inside another function. Functions are build to be executed as a whole, not partially.
the value of ECX is immediatly overwritten by the code you are calling.
UpdateColor, the function you see at my screen, is for entities. So even if ECX would work in this case, 0x110F80C is still the wrong address as it is the address of the main ui and an entity.
[HOW TO] MSVCR110.dll fehlt BEHEBEN | [MSVCR120.dll MSVCP110.dll MSVCP100.dll etc] 03/25/2014 - Tutorials - 2 Replies Hier ist ein Youtube Video:
MSVCR100.dll feht BEHEBEN / MSVCR110.dll fehlt MSVCR120.dll MSVCP110.dll MSVCP100.dll MSVCP120.dll - YouTube
Aber den ganzen Kram könnt ihr auch als Text haben:
Viele von euch kennen bestimmt das Problem das ne dll auf dem PC fehlt und das Programme dann nicht laufen. Hier ist die Lösung:
Schaut erstmal nach, welche Microsoft Redistributables auf eurem PC installiert sind. Geht hierzu auf Start > Sytemsteuerung > Programme > Programme und Funktionen
und...
[DLL]How to change injector if i want inject granny22.dll not python22.dll ? 10/07/2012 - Metin2 Private Server - 0 Replies Hello i have a laucher protected and can not run launcher if i modify granny22.dll in python22.dll
I want inject hack intro granny22.dll
What can i do ?
I give you thaks for good answer.
[progress] name color change! 09/21/2011 - Shaiya - 9 Replies While narrowing down addresses for a personal weapon speed hack I happened to run into a couple addresses that when I changed there values I had some VERY odd results.
03df8ae0 < (the first) when I doubled the value made my character do the snow boarding thing. I didn't give to much thought to it as I had seen this done before and didn't much care for the hack.
00856c3e <(the second) Made my characters name change colors! I was shocked that I had been able to do this so I quickly...
Name Color Change? 10/16/2010 - CO2 Private Server - 2 Replies Hello all.
i was wondering if it is possible to change the in game Charname color.
i had do some test with the stateffects, like redname and blackname etc.
but i guess that i can olso change the color to send an sort of package to the client with some parameters.
so an COpackets.
or does someone else an simple solution for it?