Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

RE: Editing v83 login page

Experienced Elementalist
Joined
Sep 27, 2016
Messages
217
Reaction score
68
RE: Editing v83 login page

So I've peeked around this thread a bit and I've actually wondered the same thing way back when I first used a 1x1 transparent png to remove those buttons. "Is there a way to actually remove them" and "is there also a way to move them anywhere I'd want? Well here I am today, being curious again.
So I looked at the screenshots in the thread and noticed some spooky coding language that I don't understand at all - except my brain saw something interesting. For example, a 1004 followed by other numbers. 14, 122, and 0. I immediately thought to myself "this is the origin!", and rest assured when I changed them in CE it was actually the origin 8)
So I immediately started finishing off my v83 to v90-like login screen. The wz part was easy, but when I tried the client thing again I ran into some problems.
JrVS3P8 - RE: Editing v83 login page - RaGEZONE Forums


I am actually able to move things in the client, but I can only move them.... let's say like 50 pixels over? Is there a check for actually making things visible along with moving images around?

Any help is appreciated, by the way I'm a noob so go easy on me!
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Apr 30, 2012
Messages
100
Reaction score
40
Re: Editing v83 login page

Is there a check for actually making things visible along with moving images around?
Yes, in a sense, there is. These objects are contained within a CWnd, or in simpler terms a child window. This window is created with a fixed size and position. You'll need to reposition the origin (left, top) or change the height and width of this specific window.

What you're looking for should be around 0x6203E8 or 0x60E1B6 on v83, I didn't care to check which. Simply change the parameters to the call before this point to your liking.
 
Upvote 0
Experienced Elementalist
Joined
Sep 27, 2016
Messages
217
Reaction score
68
Re: Editing v83 login page

Thank you so frEACKING much
2m2GaFl - RE: Editing v83 login page - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Experienced Elementalist
Joined
Sep 27, 2016
Messages
217
Reaction score
68
Re: Editing v83 login page

I actually had to re-position every button and the "invisible box" because the check box was broken :(
One of my proudest works to date as a wz editor so thank you!
39UAJE - RE: Editing v83 login page - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Junior Spellweaver
Joined
Jan 10, 2017
Messages
105
Reaction score
6
Re: Editing v83 login page

I actually had to re-position every button and the "invisible box" because the check box was broken :(
One of my proudest works to date as a wz editor so thank you!
39UAJE - RE: Editing v83 login page - RaGEZONE Forums

But it still looks good, more congratulations for the excellent work you've done
 

Attachments

You must be registered for see attachments list
Upvote 0
Moderator
Staff member
Moderator
Joined
Jul 30, 2012
Messages
1,102
Reaction score
432
Re: Editing v83 login page

Really unique to see new login in v83. Of course I personally prefer the old one, but very neat nonetheless!
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
Re: Editing v83 login page

I actually had to re-position every button and the "invisible box" because the check box was broken :(
One of my proudest works to date as a wz editor so thank you!
39UAJE - RE: Editing v83 login page - RaGEZONE Forums

LOL I remember doing this back when I was obsessed with having a post-bb UI on a pre-bb client (it always looked so beautiful as compared to the original xD). Is the user/pass origined correctly though? Looks a bit too much to the left I believe.

here's my old v90 addys when I was messing with it as well:
Code:
; Move the Login Screen Dialogue Box to coordinates
006A25B6 -> Change -0x2C to new Y-value
006A258B -> Change -0x60 to new X-value
; 	-- For integer coordinates > 0x7F adjustment:
; 	-- You must remove the last DWORD and move all remaining assignment up.
; 	-- Then, push an integer rather than a single byte.
006A2570  |.  89BE 4C010000 MOV     DWORD PTR DS:[ESI+14C], EDI
006A2576  |.  8D8E 58010000 LEA     ECX, DWORD PTR DS:[ESI+158]
006A257C  |.  C645 FC 0B    MOV     BYTE PTR SS:[EBP-4], 0B
006A2580  |.  E8 E4923500   CALL    Orion_(L.009FB869
006A2585      68 00010000   PUSH    100
006A258A  |.  90            NOP
006A258B  |.  90            NOP
006A258C  |.  90            NOP
006A258D  |.  5B            POP     EBX

; Change the font color of usernames/password on the Login Screen
006A2B47 -> Change 0xFF[5D3C1D] -> To your own Hex Color Code. [Ex: 0xFF000000 is Black]

; Move the Login button:
006A283F -> 0x4F
006A2841 -> 0x4C

; Move the Password Box
006A2C78 -> 0x29
006A2C7A -> 0x28

; Move the ID Box
006A2BDC -> 0xF
006A2BDE -> 0x28

; Move the Save Email button
006A28B9 -> 0x16
006A28BB -> 0x17

; Checkmark
006A2E8C -> 0x17
006A2E8F -> 0x16

; Disable the Website button
006A2A98 -> 0x58
006A2A9A -> -0x61 (Enable: 0x57)

; Disable the Join button
006A2A21 -> 0x44 (Enable: 0x58)
006A2A23 -> -0x55 (Enable: 0xF)

; Move the Forgot ID button
006A2930 -> 0x52
006A2932 -> 0xD

; Move the Forgot P/W button
006A29A7 -> 0x67
006A29A9 -> 0xD

; Move the Quit button
006A2B0F -> 0x52
006A2B11 -> 0xAE

; CLogo client modifications.
006B23CA 	cmp [esp+4], 0FFh 	; remove the ability to skip CLogo
006B2427 	cmp ecx, 915Eh 		; modify to millisecond time. ex 0x915E is a 37.2 second long intro.
006B24AE 	add eax, 7Fh		; length interval check for Wizet (not necessary).
; Disable CLogo entirely.
; 	-> NOP address 006B1F7D~006B1F90
006B1F7D      90                    NOP
006B1F7E      90                    NOP
006B1F7F      90                    NOP
006B1F80      90                    NOP
006B1F81      90                    NOP
006B1F82      90                    NOP
006B1F83      90                    NOP
006B1F84      90                    NOP
006B1F85      90                    NOP
006B1F86      90                    NOP
006B1F87      90                    NOP
006B1F88      90                    NOP
006B1F89      90                    NOP
006B1F8A      90                    NOP
006B1F8B      90                    NOP
006B1F8C      90                    NOP
006B1F8D      90                    NOP
006B1F8E      90                    NOP
006B1F8F      90                    NOP
006B1F90      90                    NOP
006B1F91      90                    NOP
 

Attachments

You must be registered for see attachments list
Upvote 0
Experienced Elementalist
Joined
Sep 27, 2016
Messages
217
Reaction score
68
Re: Editing v83 login page

I used this screenshot as a reference for editing the login screen. From there I tried to match things up visually and not with the actual values on v90 because I didn't know about the "invisible box" yet; so I basically moved it to wherever I wanted until I was able to have the buttons fully displayed. Then when I could see the buttons fully, I basically moved the buttons to my liking (space between each button is different) - still wondering why whenever I hover over the buttons they stay dark and on v90 they stay light though xd

Is the user/pass origined correctly though? Looks a bit too much to the left I believe.

If you're talking about the background then no, it looks positioned correctly to me! The text origins however are off though

8c0n9ZS - RE: Editing v83 login page - RaGEZONE Forums


I'll probably end up moving the X to decrease the gap here
 

Attachments

You must be registered for see attachments list
Last edited:
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
Re: Editing v83 login page

I used this screenshot as a reference for editing the login screen. From there I tried to match things up visually and not with the actual values on v90 because I didn't know about the "invisible box" yet; so I basically moved it to wherever I wanted until I was able to have the buttons fully displayed. Then when I could see the buttons fully, I basically moved the buttons to my liking (space between each button is different) - still wondering why whenever I hover over the buttons they stay dark and on v90 they stay light though xd



If you're talking about the background then no, it looks positioned correctly to me! The text origins however are off though

8c0n9ZS - RE: Editing v83 login page - RaGEZONE Forums


I'll probably end up moving the X to decrease the gap here

Sorry my bad, I was referring to the username and password textbox origins. They're slightly off yeah, should be closer to the left :p

As for the hovering, not sure I follow what you mean. Assuming you replaced mouseOver properly, it should appear the same. I don't recall any color codes for the buttons that'd cause that issue off the top of my head..
 

Attachments

You must be registered for see attachments list
Upvote 0
Experienced Elementalist
Joined
Sep 27, 2016
Messages
217
Reaction score
68
Re: Editing v83 login page

v83:
Ga9ymyz - RE: Editing v83 login page - RaGEZONE Forums


and v90:
SDVbGiV - RE: Editing v83 login page - RaGEZONE Forums


I've taken all the buttons and background images straight from a clean v90 wz so the transparency in the pngs should be the same. It also happens when I click once into either the ID or password box, they all darken, so it's not only when I hover over them.

; Disable CLogo entirely.

I hope you don't mind if I snag this for my v83, I'll be sure to credit ;P
 

Attachments

You must be registered for see attachments list
Upvote 0
FutureLegend's Owner
Joined
Feb 10, 2011
Messages
470
Reaction score
99
Re: Editing v83 login page

v83:
Ga9ymyz - RE: Editing v83 login page - RaGEZONE Forums


and v90:
SDVbGiV - RE: Editing v83 login page - RaGEZONE Forums


I've taken all the buttons and background images straight from a clean v90 wz so the transparency in the pngs should be the same. It also happens when I click once into either the ID or password box, they all darken, so it's not only when I hover over them.



I hope you don't mind if I snag this for my v83, I'll be sure to credit ;P

Hey there, I know this is an old thread but I experienced this long ago and wanted to help.
The v83 login screen (or more accurately the pre-bb login screen) does not support transparent images for input controls (buttons, text boxes, etc). It just does not seem to redraw them when the image changes, it just draws over. So you have to use non-transparent images for the buttons. Should be an easy edit, just make the button images more pale on normal state.
 

Attachments

You must be registered for see attachments list
Upvote 0
Experienced Elementalist
Joined
Sep 27, 2016
Messages
217
Reaction score
68
Re: Editing v83 login page

Hey there, I know this is an old thread but I experienced this long ago and wanted to help.

The v83 login screen (or more accurately the pre-bb login screen) does not support transparent images for input controls (buttons, text boxes, etc). It just does not seem to redraw them when the image changes, it just draws over. So you have to use non-transparent images for the buttons. Should be an easy edit, just make the button images more pale on normal state.

Yeah I ended up just merging each button to its exact position on the ebackground to 1 layer then cropped it, making each one a non-png png so it looks decently legit :)
Angxl - RE: Editing v83 login page - RaGEZONE Forums

rZhdXwK - RE: Editing v83 login page - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Joined
Apr 13, 2009
Messages
592
Reaction score
141
Re: Editing v83 login page

Yeah I ended up just merging each button to its exact position on the ebackground to 1 layer then cropped it, making each one a non-png png so it looks decently legit :)
Angxl - RE: Editing v83 login page - RaGEZONE Forums

rZhdXwK - RE: Editing v83 login page - RaGEZONE Forums
Question,

how were you able to find the memory addresses for different GUI elements?
For example, the origins of world selection, hp bar, etc.. etc..
I know for the login elements someone else was able to find it, even the "invisible" canvas that you needed to move.

But how do you actually find it?

Any hints?

Thanks :]
 

Attachments

You must be registered for see attachments list
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
Re: Editing v83 login page

Question,

how were you able to find the memory addresses for different GUI elements?
For example, the origins of world selection, hp bar, etc.. etc..
I know for the login elements someone else was able to find it, even the "invisible" canvas that you needed to move.

But how do you actually find it?

Any hints?

Thanks :]

They're all in the client.. All elements are typically found in OnCreate or Draw functions (rarely in constructors too), for these they should have been in CLogin::OnCreate. They have string locations for the images, where some are application strings and some are StringPool strings. I released the addys for the entire login panel for v90 above, so from those addresses you can AoB them on v83.

EDIT: To answer your question, I just use the StringPool locations from the WZ files and track them in the client so I know where they're being rendered, and then I just disable the element or move it.
 
Upvote 0
Back
Top