Quote:
Originally Posted by Darijuš
In every Dekaron, there's a printing loop; it’s used to display real-time updates like player names, chat, or other on-screen info
|
I did not found any relevant code in this address (005B712D) but i found this one which i think is reponsible for the red names (niete)
Code:
<$dekaron_.32B126>
MOV EDX,DWORD PTR SS:[ESP+4]
MOV EAX,DWORD PTR DS:[ECX]
PUSH EDX
CALL DWORD PTR DS:[EAX+4]
TEST EAX,EAX
JNZ SHORT L00000001
OR EAX,FFFFFFFF
RETN 4
L00000001:
CMP WORD PTR DS:[EAX+14],0
JBE SHORT L00000002
MOV EAX,FFFF0000
RETN 4
L00000002:
MOV AL,BYTE PTR DS:[EAX+C]
SUB AL,1
NEG AL
SBB EAX,EAX
AND EAX,0FF00
ADD EAX,FFFF00FF
RETN 4
I attached a call function from this "MOV EAX,FFFF0000" to the address for the color handling code. Tested it and it just made my client crash.