ASM GameMaster Color Change

Junior Spellweaver
Joined
Dec 3, 2009
Messages
145
Reaction score
35
Hello, I am just getting back into GunZ and I'm not very much up to date on all of this, so if someone could be kind enough to quickly make some instructions on how to change the GameMaster's color (With a Hexadecimal Color Code) with ASM on ollydbg, telling me excactly what to press on OllyDebug etc (I'm not that great with asm either), I would be very greatful, I already have a color code in mind: #8A2BE2 which is Blue Violet.

So.. UGrade 252.

Thanks in advanced.

~Zinoxity.
 
Last edited:
Skilled Illusionist
Joined
Jan 21, 2008
Messages
333
Reaction score
6
Do you want to change the
- Developer Color = UGrade: 254
or the
- Hide GM Color = UGrade: 252

?

---------- Post added at 09:32 PM ---------- Previous post was at 09:25 PM ----------

If you want to Change the Developer Color (Ugrade: 254)

You should do this: and btw. theres a Thanks Button, if i helped you xD

Since so many people are nagging to change it...

Requirments
-OLLYDBG.
-A Runnable (I used Xiao's Runnable FilelistSkip)


Step 1. Nop The Lines
Go to line ; 0049EF18
Alt+G

U'll see :
Code:
0049EF18  |. 884424 08      MOV BYTE PTR SS:[ESP+8],AL
0049EF1C  |. 884424 0B      MOV BYTE PTR SS:[ESP+B],AL
0049EF20  |. 8B4424 0C      MOV EAX,DWORD PTR SS:[ESP+C]
0049EF24  |. C64424 09 80   MOV BYTE PTR SS:[ESP+9],80
0049EF29  |. C64424 0A 40   MOV BYTE PTR SS:[ESP+A],40
Nop That
Right Clik -> Binary -> Fill With N0PS

Step 2. Assamble
Then assamble on line 0049EF18 ;
Code:
MOV EAX,DWORD PTR SS:[ESP+C]
Space

Underthat, Jump to the Codecave.
Code:
JMP 005E50E3
Then Jump to the next code.
Code:
JMP SHORT 0049EF2E
Now u should have somthing like This :
Code:
0049EF18     8B4424 0C      MOV EAX,DWORD PTR SS:[ESP+C]
0049EF1C     E9 C2611400    JMP xiao.005E50E3
0049EF21     EB 0B          JMP SHORT xiao.0049EF2E
0049EF23     90             NOP
0049EF24     90             NOP
0049EF25     90             NOP
0049EF26     90             NOP
0049EF27     90             NOP
0049EF28     90             NOP
0049EF29     90             NOP
0049EF2A     90             NOP
0049EF2B     90             NOP
0049EF2C     90             NOP
0049EF2D     90             NOP
Step 3. Follow the Jump.
Go to Line 0049EF1C.
Follow that Line.
Enter

Ur now in a codecave. So lets code the Colors.

Step 4. Preparing the Colors.
Code:
MOV BYTE PTR SS:[ESP+8],0FF
Do that in 4 rows.

Example ;
Code:
005E50E3     C64424 08 FF   MOV BYTE PTR SS:[ESP+8],0FF
005E50E8     C64424 08 FF   MOV BYTE PTR SS:[ESP+8],0FF
005E50ED     C64424 08 FF   MOV BYTE PTR SS:[ESP+8],0FF
005E50F2     C64424 08 FF   MOV BYTE PTR SS:[ESP+8],0FF
Now edit it ;
in row ;
8
9
A
B

To do this ; Rightclick > Binary > Edit And change the 08 to 09,
Next row ; 08 to 0A
Next row ; 08 to 0B

Now u should have somthing like this :
Code:
005E50E3     C64424 08 FF   MOV BYTE PTR SS:[ESP+8],0FF
005E50E8     C64424 09 FF   MOV BYTE PTR SS:[ESP+9],0FF
005E50ED     C64424 0A FF   MOV BYTE PTR SS:[ESP+A],0FF
005E50F2     C64424 0B FF   MOV BYTE PTR SS:[ESP+B],0FF
Step 5. Coloring It
Well u all know RRGGBB? in HEX?
Like ; #FF0000 = Red
This is most like the same, only it has a Alpha Channel on it.

Line : 005E50E3 = RR
Line : 005E50E8 = GG
Line : 005E50ED = BB
Line : 005E50F2 = AA

Change the it however u like
Here is a Color Scheme
Example for Red :
Code:
005E50E3     C64424 08 FF   MOV BYTE PTR SS:[ESP+8],0FF // RED
005E50E8     C64424 09 00   MOV BYTE PTR SS:[ESP+9],0 // GREEN
005E50ED     C64424 0A 00   MOV BYTE PTR SS:[ESP+A],0 // BLUE
005E50F2     C64424 0B FF   MOV BYTE PTR SS:[ESP+B],0FF // ALPHA
Now lets make a Jump back.
Add Under the Alpha Line ;
Code:
JMP 0049EF21
Follow that line, and it would stand on the JMP SHORT.
Follow that and it would stand on ;
0049EF2E |. 8B4C24 08 MOV ECX,DWORD PTR SS:[ESP+8]

Well done, u colored ur Developer Grade.

Last Step! Saving
Right Click -> Copy To Executeable -> All Modifications -> Copy All -> Right Click On New Window -> Save File -> Name it & Save

Result
[URL="
Zinoxity - ASM GameMaster Color Change - RaGEZONE Forums


Do this the same, but then with other Jumps. for Administrator.
And DONT NOP : MOV EAX,DWORD PTR SS:[ESP+C] by the admin, cause its on its correct place already
Administrator Line : 0049EF6C

Hope u got it!
Sorry for my crappy explanations, but gave enough code for u to do it.

Credits ASM Tut : Sayuta (Counterweight)
 
Last edited:
Upvote 0
Skilled Illusionist
Joined
Dec 18, 2009
Messages
300
Reaction score
82
No must asm.
You can simple do it with Aristrum UGradeID Patcher, Download HERE .

Easy to use, fast, not buggy, sure work.
 
Upvote 0
(。◕‿‿◕。)
Loyal Member
Joined
Oct 15, 2008
Messages
1,450
Reaction score
152
Thanks but no, I want the UGrade 252 Colored, as I said GM.

you can only color 252 in the lobby. I've tried tab list but it either doesn't work or crashes. (and for people like military who hate the hidden level, coloring it in the lobby like the admin/dev rank blocks the level)
 
Last edited:
Upvote 0
Junior Spellweaver
Joined
Dec 3, 2009
Messages
145
Reaction score
35
Aristrum's Patcher does not color my 252 UGrade, I'm using the Version 10 /admin_wall unmasked runnable released. This is why I would like to do it manually.
 
Upvote 0
Back
Top