Author Topic: Two questions about client modification.  (Read 907 times)

0 Members and 1 Guest are viewing this topic.


Rep: +27/-40
Offline Offline
Posts: 1428
View Profile
Boschi
guild flag GenkiDama
75 US (Z8)
Two questions about client modification.
« on: June 13, 2011, 03:21:24 PM »
=o First thread here.
1)Wich file do I have to update in order to "see" the 2011 items? (where can I find that file?)
2)My client has 7 skills limit, wich file do I have to edit and what do I have to edit if I want to have max 6 skills?

IGN: Boschi
P servers IGN: DatBoschi, SaiyaJin, HotShot
Click here to see my wet pussy.

Rumor
(Banned or deleted account)
Re: Two questions about client modification.
« Reply #1 on: June 13, 2011, 10:29:16 PM »
=o First thread here.
1)Wich file do I have to update in order to "see" the 2011 items? (where can I find that file?)
2)My client has 7 skills limit, wich file do I have to edit and what do I have to edit if I want to have max 6 skills?

1) I don't know which items you think are known as "2011" items. But you need to know the bonuses for those and get the images somewhere. Also need the query for the database, or to enter each item's stats in manually.

to see the icon in the inventory of the items you need to have the icon in the "icon/item" folder of "icon.eix / icon.epk". The images must match the file type of the other images (As far as I know). But even if not, it is good to stay consistent with your work and will save you alot of hassle and confusion.

to see those icons you need to extract "locale_xx.eix / locale_xx.epk" and go in the "locale/xx/" folder and add those items to the item_list.txt the same format the others are entered.

then you go take the "item_proto" from the same locale archive and extract it. It will create an XML file which you can edit with a text editor...

inside this XML file you will find the VNUM of the items and all the information of each item, the way it will be displayed in the client. Take a look at the other items, you will see you can leave many of those as "0". Just make sure you enter the item information the same as it is in your database so you don't put an armor on that says 500 AC in client then only get 200 AC applied to your character. You re-pack this XML into a new item_proto and place it back in the locale/xx folder structure and re-pack locale_xx.

If you mean to "see the 2011 items" as far as weapons and armors on the character... you need to work inside the PC files with the .dds files you should have for those "2011 items". You may come across some .tgas too. PC is for male, PC2 is for female.

Also for this you will need to open root archive and edit the .msm files with a text editor, they must be with the correct Shapedata values and image names. Wherever you got those 2011 items should tell you what to add, and guides are all over on how to use the .msm files.



2)

To remove a skill it works this way.. Open your root archive then open "playersettingmodule.py" with a text editor.



Code: [Select]
if WARRIOR_ASSASSIN_6TH_SKILL_ENABLE:
SKILL_INDEX_DICT = {
JOB_WARRIOR : {
1 : (1, 2, 3, 4, 5, 0, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (16, 17, 18, 19, 20, 0, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
JOB_ASSASSIN : {
1 : (31, 32, 33, 34, 35, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,),
2 : (46, 47, 48, 49, 50, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
JOB_SURA : {
1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
JOB_SHAMAN : {
1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
}
else:
SKILL_INDEX_DICT = {
JOB_WARRIOR : {
1 : (1, 2, 3, 4, 5, 0, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (16, 17, 18, 19, 20, 0, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
JOB_ASSASSIN : {
1 : (31, 32, 33, 34, 35, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,),
2 : (46, 47, 48, 49, 50, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
JOB_SURA : {
1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
JOB_SHAMAN : {
1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
},
}



Since you have 6+ skills you are using the first block in this defined by "if WARRIOR_ASSASSIN_6TH_SKILL_ENABLE:"

This is my own file, my client had 6 skills enabled and instead of setting 6th skill enable to FALSE I just removed the skills from the sequences..

So let's pretend you have it enable in the code above and this is for arahan warrior:

Code: [Select]
1 : (1, 2, 3, 4, 5, 0, 0, 0, 137, 0, 138, 0, 139, 0,),
You would have 1, 2, 3, 4, 5, 6, 7, 0, 137, 0, 138, 0, 139, 0

Just replace "7" with "0".

Do the same for the other extra skills. Save file, pack root.


And make sure you don't fuck up the spacing in the python files. They won't work if you use TAB and they won't work if the lines are not spaced right.


Rep: +27/-40
Offline Offline
Posts: 1428
View Profile
Boschi
guild flag GenkiDama
75 US (Z8)
Re: Two questions about client modification.
« Reply #2 on: June 14, 2011, 05:18:25 AM »
Thanks for your answers. I'll backup the files before touching them just to make sure I don't fk my client. :)
I can't wait to come back and start some P servers *-*
About 2011 items, epic armors in my client are white and it's just client side, a friend had other client and he could see the armors green or blue (or whatever their color is). Also, there are few weapons that are invisible for my client. For example, a GM place an unknown weapon in my inventory, I can't see that weapon in my inventory but I also can't use the inventory space used by that weapon. I hope this makes sense lol.

IGN: Boschi
P servers IGN: DatBoschi, SaiyaJin, HotShot
Click here to see my wet pussy.


Rep: +27/-40
Offline Offline
Posts: 1428
View Profile
Boschi
guild flag GenkiDama
75 US (Z8)
Re: Two questions about client modification.
« Reply #3 on: June 14, 2011, 05:40:26 AM »
2lazy2edit.
I have another question.
I've found this
Code: [Select]
SKILL_INDEX_DICT = {
JOB_WARRIOR : {
1 : (1, 2, 3, 4, 5, 19, 0, 0, 137, 0, 138, 0, 139, 0,),
2 : (16, 17, 18, 19, 20, 4, 0, 0, 137, 0, 138, 0, 139, 0,),
"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
1 is warrior arahan I guess and 2 is warrior partisan.
number 19 is might skill wich is set as 6th skill for arahan. If I replace 19 with 3 (let's say that 3 is charging) I will be able to have two charging skills and use them as two different skills? I'm talking about warrior arahan. 1 : (1, 2, 3, 4, 5, 19, 0, 0, 137, 0, 138, 0, 139, 0,),

IGN: Boschi
P servers IGN: DatBoschi, SaiyaJin, HotShot
Click here to see my wet pussy.

Rumor
(Banned or deleted account)
Re: Two questions about client modification.
« Reply #4 on: June 14, 2011, 09:49:07 AM »
Thanks for your answers. I'll backup the files before touching them just to make sure I don't fk my client. :)
I can't wait to come back and start some P servers *-*
About 2011 items, epic armors in my client are white and it's just client side, a friend had other client and he could see the armors green or blue (or whatever their color is). Also, there are few weapons that are invisible for my client. For example, a GM place an unknown weapon in my inventory, I can't see that weapon in my inventory but I also can't use the inventory space used by that weapon. I hope this makes sense lol.

Yes always backup..

If the items are white it most likely means you nee to fix your .msm files in root.. if not then check the dds files in PC and PC2.

If you create an item and point at the space it should have been created and see the description then your itemproto is alright. If you do not see the image you need to add the item icon to the icon archive.. then in the locale archive you need to define the path to that image in item_list.txt.

Both charging skills should work but I'm not sure about the cooldown. I don't really use skillhacks or anything like this so I'm not so sure about what you're doing. I've only ever edited this to make it match officials.


Rep: +27/-40
Offline Offline
Posts: 1428
View Profile
Boschi
guild flag GenkiDama
75 US (Z8)
Re: Two questions about client modification.
« Reply #5 on: June 14, 2011, 10:35:34 AM »
Alright. Thanks.
I'm not using skill hacks either, I was just curious. =o

IGN: Boschi
P servers IGN: DatBoschi, SaiyaJin, HotShot
Click here to see my wet pussy.

Rumor
(Banned or deleted account)
Re: Two questions about client modification.
« Reply #6 on: June 14, 2011, 11:25:55 AM »
Alright. Thanks.
I'm not using skill hacks either, I was just curious. =o

yeah but what I mean is that is how people skillhack and I never have the need to do it.. and the only time I've ever edited this is to remove the 6th warrior and assassin skill for my current server

 


Did you know?Did you know: That if you leave a guild you only have to wait 1 day to join another, but if you disband your own guild you must wait 3 days?
© 2008-2011 | Contact Us | Submit News | Privacy Powered by Apache + nginx + Sphinx + ServInt VPS Hosting