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!

[Tutorial] How To Add A New Armor And Weapon

Junior Spellweaver
Joined
Mar 13, 2009
Messages
123
Reaction score
5
First of all you need your files ofcourse. I'm going to add G60 golden armor but then as G65 cause G60 is darkness armor on many repacks or clean clients.

I will divide this guide in some parts:

I. What files and programs do you need
II. How to add armor and weapons clients side
III. How to add armor and weapons server side

I. What files and programs do you need

-Normally for an armor you need the following files:
--Server Side
---1) inititem.txt
---2) in some cases if they arn't added yet you need LanguageM_en.txt and LanguageM_kr.txt

--Clients Side
---1) inititem.txt and message-e.txt where you paste the text from in config.pk
---2) hypertext icons
---3) .gb files and gtx files

II. How to add armor and weapons clients side

1) Open config.pk with a pk editor or something and go to inititem.dat. Paste there your client side inititem.txt lines and safe. Do the same for message-e.dat.
2) Paste your hypertext img in hypertext.
3) Paste your .gb files in %YOURKALDIRECTORY%\data\Model\Clothes and your .gtx files in the Tex folder in this folder.

III. How to add armor and weapons server side

1) Go to your serverside directory of your kal and go into Config folder. Open the inititem.txt file and paste there your lines of inititem.txt of your armor you want to add. It don't matter where you paste this. Save and close.
2) Go a folder back to your serverside folder and open LanguageM_en.txt and LanguageM_en.txt and paste the lines from the file you got. (this is optional, if the file isn't included just open them and add the index numbers of the items after the others. Ex:
Code:
2514	2514
2515	2515
2516	2516
2517	2517
2518	2518
2519	2519
2520	2520
2521	2521
2522	2522
2523	2523
2524	2524
2525	2525
2526	2526
2527	2527
2528	2528

Its the same for weapons and armors.

If you have questions, just ask me.
 
Initiate Mage
Joined
May 15, 2009
Messages
1
Reaction score
0
i have make it.. but i get problem:
CItem::InsertInitItem() Duplicate InitItem. (Code:5000)
Invalid format Config\InitItem.txt line (2578) at CObject DB::Load
Invalid format Config\InitItem.txt(2578) at CObjectDB::Open(Load())


why?? i have make it with the tutorial here.
and MainSvr say the problem...
please help
thx
 
Junior Spellweaver
Joined
Jan 7, 2009
Messages
100
Reaction score
1
u got a duplicate item index 5000. that means u have 2 items with index 5000. change the index of 1
 
Newbie Spellweaver
Joined
Jun 5, 2009
Messages
22
Reaction score
0
Hi,

I've added a armorset in my server like you showed us in your tutorial.
Nearly everything worked fine, big THX!

I only got one problem now, it's the name of the parts. -> Every part has the name "NULL".
Can you tell me how to fix that??

PS.: Added pack in:
Serverside:
# inititem.txt
# LanguageM_en.txt and LanguageM_kr.txt (didn't work without)

Clientside:
# inititem.txt and message-e.txt in config.pk (swordcrypt)
# hypertext icons
# .gb files and gtx files

added lines:
(itemname 4001 "Scaled Armor of Ghost Darkness")
4001 4001
 
Back
Top