[Info] Changing actual UI of the co client

10/03/2009 18:06 ImmortalYashi#1
Is it possible to add new buttons that open a new layer in the co client ? If so then how?
10/04/2009 00:12 raidenx123#2
well yes there is, but you have to mod conquer.exe, but i'll explain how:

First you have to download [Only registered and activated users can see links. Click Here To Register...], then press Ctrl + O then find and click Conquer.exe

Now go to the Dialog folder and you'll see lots of sub-folders, i'll just do an example:
Code:
Lets say you want to see an NPCs gear (you'd have to code it in the source too), so go to the sub-folder '258' and click on '2052'. 
You will see this:
LANGUAGE LANG_CHINESE, 0x2
FONT 12, "??"
{
   CONTROL "?", 1376, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 91, 37, 21, 21 
   CONTROL "?", 1377, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 91, 88, 21, 21 
   CONTROL "?", 1378, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 91, 63, 21, 21 
   CONTROL "??", 1379, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 40, 152, 32, 32 
   CONTROL "?", 1380, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 11, 163, 21, 21 
   CONTROL "??", 1381, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 80, 115, 32, 32 
   CONTROL "??", 1382, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 80, 152, 32, 32 
   CONTROL "C", 1384, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 111, 3, 10, 10 
   CONTROL "H", 1667, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 184, 23, 12 
   CONTROL "??", 1383, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 82, 184, 23, 12 
   CONTROL "Name", 1389, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 35, 16, 21, 8 
   CONTROL "Mate", 1618, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 35, 27, 21, 8 
   CONTROL "??", 1385, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 11, 137, 21, 21 
   CONTROL "??", 1386, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 11, 111, 21, 21 
   CONTROL "???", 1464, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 1, 1, 20, 20 
   CONTROL "??", 1625, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 68, 23, 37 
}
Code:
Lets mod it to something like:

LANGUAGE LANG_CHINESE, 0x2
FONT 12, "??"
{
   CONTROL "??", 1379, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 40, 152, 32, 32 
   CONTROL "?", 1380, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 11, 163, 21, 21 
   CONTROL "??", 1381, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 80, 115, 32, 32 
   CONTROL "??", 1382, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 80, 152, 32, 32 
   CONTROL "C", 1384, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 111, 3, 10, 10 
   CONTROL "H", 1667, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 184, 23, 12 
   CONTROL "??", 1383, BUTTON, BS_OWNERDRAW | BS_FLAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 82, 184, 23, 12 
   CONTROL "NPC", 1389, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 35, 16, 21, 8 
   CONTROL "ID", 1697, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 35, 27, 21, 8 
}
Now it will show the NPCs: Name,ID, weapon (like the gaurds wep), & armor/garment.
You can still close the window and the BP was taken away.

*You have to code that into source, this is just the buttons or actions that you click or see*

Quote:
But instead of compiling the script you have to make it a new resource under "Dialog"
I know its confusing but its just an example. You still have to adjust the IDs,etc.
Lastly save the .exe as Conquer.exe
10/04/2009 19:35 SchnorrerKing#3
hey thats great do u know where to find the background linked of the layers?
10/04/2009 20:59 raidenx123#4
in data/main
10/04/2009 21:21 SchnorrerKing#5
but in the main folders are only existing backgrounds but i want to create new ones for the minimap etc
10/04/2009 21:36 raidenx123#6
for minimap its in data/minimap :P
10/04/2009 22:10 SchnorrerKing#7
thats not what i mean but first of all thx for reply im trying to get a border around it but i think easiest of it would be editing the mapfile like u said

i got an other/bigger problem i want to add a itemlock button over the guild/clan button but i dont get it done

//edit
have u got a bit time? and wanna teach me in that?
10/04/2009 22:13 raidenx123#8
1. do you have editing software
2. if you do then tell me your teamviewer info
10/04/2009 22:30 SchnorrerKing#9
hmm editin software is on 2 pcs my gaming pc and laptop i loaded resource hacker and got editor for gui.ini

i havent got teamviewer i think its a too big secruity hole thats why i disabled ms control tool couldnt we start a chat or voice tool ? i would probably install teamviewer but only if u dont want to do it in another way and thx for ur time
10/04/2009 22:55 raidenx123#10
you dont have to edit gui.ini, i was planning on conquer.exe but sorry cause i feel sick and im going to sleep for a bit.
10/04/2009 23:14 SchnorrerKing#11
why dont have i to edit the gui.ini? i thought i have to place the button with the texture

well ill pm u another day
10/05/2009 00:02 ImmortalYashi#12
Quote:
Originally Posted by raidenx123 View Post
for minimap its in data/minimap :P
Hey can i add you on msn because i have an idea and you might and can help me with it.
10/05/2009 03:23 raidenx123#13
[Only registered and activated users can see links. Click Here To Register...]
10/11/2009 02:09 SchnorrerKing#14
can some1 else help me with making new buttons?

btw: how do i get a layer over another? i want the triangle (whispers are on the right of it) to be over the "Conquer" (1024) on the right bottom
10/11/2009 19:01 SchnorrerKing#15
now i got nearly what i wanted to do i deleted the buttons i dont want and created at another position new ones but i cant click them :( and they got no appearance ill post a screen so u know what i mean