Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World
You last visited: Today at 20:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Request]UI elements advice

Discussion on [Request]UI elements advice within the Perfect World forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 17
Received Thanks: 1
[Request]UI elements advice

So, I'm no genius coder but I playing around in the games client side files for my own curiosity and because I want to learn! Anyway, i thought a nice place to start would be the UI elements, since any serious "MOD" to the game would require a UI in game, i figured it only made sense to start there!

So far, here's what i've found~

element\userdata\Layout houses random numbered files with each account you've logged onto's UI layout co-ords. I references things like Win_Chat_x and gives co-ords:

Win_BBS_x = 42.187500
Win_BBS_y = 45.117188
Win_Chat_x = 0.000000
Win_Chat_y = 83.593750
Win_ChatSmall_x = 0.000000
Win_ChatSmall_y = 76.562500

Things like that, easy enough to see what they are doing. Now question #1 I was hoping someone could shed some light on, is where it's getting the Win_Chat info from? If we know where it's from, we can add to it.

Now, i pulled the .pck files out and scoured them looking for any sign of them and got nothing, I wasn't really expecting to since I'm sure those Win_Chat things are pulling info from another master file of some sort.. I don't really know like I said i'm learning.

So anyway, This "Interfaces.pck" file look like it would be related. I milled over it trying to get a clear picture of where it may be housing the images for the UI's, and found nothing. I did however notice that some of the files reference to .tga's and .bmp amongst their barely readable contents.

Example WinMain1.dtf
Code:
DIALOG "Win_Main1" 0 0 227 42 0 1 0 "Window\对话框_标准边框.dds" "" "" 0 0 -1 -1 "" 0 0 96 96 96 255 1
STILLIMAGEBUTTON "Btn_Inventory" "winventory" "SFX\Interface\ClickB.wav" 7 4 35 35 0 0 0 0 2 18 255 255 255 255 "Window\对话框_透明色.bmp" "Window\对话框_透明色.bmp" 3 1
STILLIMAGEBUTTON "Btn_Character" "wcharacter" "SFX\Interface\ClickB.wav" 43 4 35 35 0 0 0 0 4 18 255 255 255 255 "Window\对话框_透明色.bmp" "Window\对话框_透明色.bmp" 5 1
STILLIMAGEBUTTON "Btn_Skill" "wskill" "SFX\Interface\ClickB.wav" 79 4 35 35 0 0 0 0 6 18 255 255 255 255 "Window\对话框_透明色.bmp" "Window\对话框_透明色.bmp" 7 1
STILLIMAGEBUTTON "Btn_Pet" "wpet" "SFX\Interface\ClickB.wav" 115 4 35 35 0 0 0 0 8 18 255 255 255 255 "Window\对话框_透明色.bmp" "Window\对话框_透明色.bmp" 9 1
STILLIMAGEBUTTON "Btn_Quest" "wquest" "SFX\Interface\ClickB.wav" 151 4 35 35 0 0 0 0 10 18 255 255 255 255 "Window\对话框_透明色.bmp" "Window\对话框_透明色.bmp" 11 1
STILLIMAGEBUTTON "Btn_Action" "waction" "SFX\Interface\ClickB.wav" 187 4 35 35 0 0 0 0 12 18 255 255 255 255 "Window\对话框_透明色.bmp" "Window\对话框_透明色.bmp" 13 1
Some funky bmp's and wavs in there. I assume somewhere in there there's the info i need to move on, but I've hit a roadblock. If anyone could offer some suggestions or advice as to where I might go next to find these UI elements i would be grateful. To put it into a clearer perspective my first objective is to create a new UI element accessible VIA a button on the standard UI. For example a "quest help" button, or a "mob locate" button, catch my drift? Also if anyone knows a way of working with those .data files they are one area i haven't been able to get into yet. Any help would be great! I'm still learning this stuff, I picked up on the instructions about the offsets and managed my own .exe's so far, this is hopefully my next step!
love28 is offline  
Old 10/06/2008, 09:53   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 233
Received Thanks: 16
Good Luck!!!
jnel26 is offline  
Reply


Similar Threads Similar Threads
Request: Advice needed on bot purchase
12/07/2009 - Aion - 7 Replies
Been browsing various forums for quite some time now looking for a decent bot to buy. Read that all those sz ktz or whatever bots are all injection based and are high risk ban. So I came down to the following bots which I want to purchase one of: - Macrogoblin - MMOguider - MMOViper I'm mainly looking for a safe and secure bot I can use and I don't really care how good it is or has background mode. Just ones that is functioning and does the job with a low risk. If there are any other...
HI, need help for a3 elements
11/05/2009 - Say Hello - 1 Replies
hi every1, this is foggymist love 2 play cod4 & a3 type games. now i got a problem with a3 elements. its a private server & my char was been hacked by some1. in that game i'm a archer & my g9 pant & boot had been hacked. now i want to take the revenge. hopefully u guys will help me and learn me about hacking that particular server.
imp. elements to perfect elements [int]
11/02/2009 - Kal Online - 1 Replies
Hallo, wollte gerne wissen ob imp. elements "mixen" server sided ist?
[Request] Advice/Help With DMaps
12/07/2008 - CO2 Private Server - 9 Replies
Ok yesterday i was on a mission to get DMaps onto my LOTF Source, I found some coding in Leavemealone's source that was about DMaps so i used the code from the source and i copied and pasted it in. I added the whole of her DMaps.cs to General.cs of my source, edited it and added extra items needed to Config.ini until it fit in properly then grabbed the parts i needed from the World.cs. In the end i got the server to attempt at loading the DMaps but it says DMap Not found for each one...
elements
01/06/2008 - Silkroad Online - 0 Replies
Can any1 tell me how much elements give -d1 -d2 -d3 -d4 -d5... armor? I think it will be a good chance to make stones and sell them.What do you think? for example : d2 chest give wind2 ...



All times are GMT +1. The time now is 20:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.