|
You last visited: Today at 17:58
Advertisement
[GUIDE]Adding a new item
Discussion on [GUIDE]Adding a new item within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.
12/11/2008, 20:04
|
#1
|
elite*gold: 0
Join Date: Sep 2008
Posts: 979
Received Thanks: 645
|
[GUIDE]Adding a new item
Hello,It's me again Necron33 with a new guide
This Guide Tells you how to add a new item including everything(Client,Action,Itemtype).
Making Items is divided to:-DataBase,Client
DataBase:-cq_itemtype,cq_action(if you wanna make action).
Client:-Itemtype.dat,shop.dat(if you want to add it in any shop),ItemMinIcon.ani,MapItemIcon.ani
We will begin with DataBase,I will make a EPCard680,which is going to give players(I will explain how to make the items for excat levels,Vip levels)
Most important Thing is cq_itemtype we will go and write this:-
Code:
680EPCard
INSERT INTO `cq_itemtype` (`id`,`name`,`req_profession`,`level`,`req_level`,`req_sex`,`req_force`,`req_dex`,`req_health`,`req_soul`,`monopoly`,`weight`,`price`,`id_action`,`attack_max`,`attack_min`,`defense`,`magic_atk_min`,`dodge`,`life`,`mana`,`amount`,`amount_limit`,`ident`,`gem1`,`gem2`,`magic1`,`magic2`,`magic3`,`magic_atk_max`,`magic_def`,`atk_range`,`atk_speed`,`hitrate`,`monster_type`,`target`,`able_mask`,`exp_type`,`emoney`,`official1`,`official2`,`official3`,`official4`,`official5`,`official6`,`official7`,`official8`,`official9`,`official10`,`official11`,`soul_value`) VALUES ('829680','EPCard680','0','0','0','0','0','0','0','0','0','0','25000','9999000','0','0','0','0','3000','0','0','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','2500','0','0','0','0','0','0','0','0','0','0','0','0')
Code:
YourItem:-
INSERT INTO `cq_itemtype` (`id`,`name`,`req_profession`,`level`,`req_level`,`req_sex`,`req_force`,`req_dex`,`req_health`,`req_soul`,`monopoly`,`weight`,`price`,`id_action`,`attack_max`,`attack_min`,`defense`,`magic_atk_min`,`dodge`,`life`,`mana`,`amount`,`amount_limit`,`ident`,`gem1`,`gem2`,`magic1`,`magic2`,`magic3`,`magic_atk_max`,`magic_def`,`atk_range`,`atk_speed`,`hitrate`,`monster_type`,`target`,`able_mask`,`exp_type`,`emoney`,`official1`,`official2`,`official3`,`official4`,`official5`,`official6`,`official7`,`official8`,`official9`,`official10`,`official11`,`soul_value`) VALUES ('ITEMID','ITEMNAME','0','0','0','0','0','0','0','0','0','0','PRICE','ACTIONID','0','0','0','0','3000','0','0','1','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','PriceinEPS','0','0','0','0','0','0','0','0','0','0','0','0')
Code:
Columns Means
ID=ItemID(Random)
name=ItemName
req_profession=Class Required to use the item
level=Item Level
req_level=Level required to use the item
req_sex=Sex required to use the item(for myself i didn't ever change it here didn't change with me)
req_force=Unknown
req_dex=dexentry required to use the item
req_health=HP required to use the item
req_soul=MANA required to use the item
monopoly=Unknown
weight=Unknown(didn't make a change with me to change it)
price=Item price in gold
id_action=the first id of the item action in cq_action
attack_max/min=Max and mini attack(have to match in itemtype.dat)
defense=Defense!
magic_atk_min/max=min/max Magic Attack(have to match up with the one in itemtype.dat)
dodge=dodge number.
life=HP which the item can add
mana=MANA which the item can add
Amount=Amount of items
amount_limit=Max amount of items can be put in one place
ident=Unknown
gem1=First gem in the first socket
gem2=Second ----------Second------
magic1&2=Unknown
magic3=Bonus on the item
atk_range=Unknown
atk_speed=Speed of Attacking
hitrate=Hitrate!
monster_type=Cq_monstertype ID(Used mostly when creating new eudemons)
emoney=Price in EPS
Code:
INSERT INTO `cq_action` (`id`,`id_next`,`id_nextfail`,`type`,`data`,`param`) VALUES ('9999903','0','0','1085','0','gmlog/action_log 380,%user_name[%user_id],0,0,0,3800,0,729017,0,0')
INSERT INTO `cq_action` (`id`,`id_next`,`id_nextfail`,`type`,`data`,`param`) VALUES ('9999902','9999903','0','126','0','Congratulations!You~recived~680~EudemonPoints!!')
INSERT INTO `cq_action` (`id`,`id_next`,`id_nextfail`,`type`,`data`,`param`) VALUES ('9999901','9999902','0','1001','0','e_money += 680')
INSERT INTO `cq_action` (`id`,`id_next`,`id_nextfail`,`type`,`data`,`param`) VALUES ('9999900','9999901','0','502','829680','')
**DB Done(thats for the very first stuff (newbies ones,pro ones are much harder :P)**
Client Side(so simple):-
Just go to itemtype.dat open it with the new itemtype.dat tool and Add Item.
now go to ani/ItemMinIcon.ani and write like this
Code:
//EPCard680
[Item829680]
FrameAmount=1
Frame0=data/ItemMinIcon/829680.dds
Code:
//YourItem
[Item+ITEMID]
FrameAmount=1
Frame0=data/ItemMinIcon/FileName.dds
then off to ani/MapItemIcon.ani
Code:
//EPCard680
[829680]
FrameAmount=1
Frame0=data/MapItemIcon/829680.dds
Code:
//YourItem
[ITEMID]
FrameAmount=1
Frame0=data/MapItemIcon/FileName.dds
Now just create their icons & puff your items are ready
Icons must be (W/H=64/64,Hor/Ver=72/72 dpi) and in dds make it first in jpg then convert it using ImageConverterPlus
Thanks would be good :P
my Next Guide will be adding Eudemons ( with client side & DB explained).
|
|
|
12/11/2008, 20:33
|
#2
|
elite*gold: 0
Join Date: Jan 2008
Posts: 238
Received Thanks: 45
|
Very Good Guide NecroN
|
|
|
12/11/2008, 22:05
|
#3
|
elite*gold: 0
Join Date: Oct 2008
Posts: 28
Received Thanks: 0
|
nice guide thnx!!
|
|
|
12/12/2008, 05:38
|
#4
|
elite*gold: 0
Join Date: Dec 2008
Posts: 56
Received Thanks: 1
|
bro necron. u have yahoomessenger? i have to tell something important.. add me up.
|
|
|
12/12/2008, 06:22
|
#5
|
elite*gold: 0
Join Date: Oct 2007
Posts: 698
Received Thanks: 855
|
Thanks but I have a question, how do you attach an item to a certain action?
|
|
|
12/12/2008, 06:39
|
#6
|
elite*gold: 0
Join Date: May 2007
Posts: 87
Received Thanks: 40
|
Quote:
Originally Posted by cruey
Thanks but I have a question, how do you attach an item to a certain action?
|
Get the ID of the action and set it to the ACTIONID portion in the itemtype.
Quote:
...'0','0','0','0','0','0','0','0','0','PRICE','ACTIONID','0','0','0','0','3000','0','0'...
|
|
|
|
12/12/2008, 06:40
|
#7
|
elite*gold: 0
Join Date: Nov 2008
Posts: 145
Received Thanks: 13
|
Nice Job man, good guide
|
|
|
12/12/2008, 07:36
|
#8
|
elite*gold: 0
Join Date: Oct 2007
Posts: 698
Received Thanks: 855
|
lol I should learn to read. Thank you
|
|
|
12/12/2008, 08:18
|
#9
|
elite*gold: 0
Join Date: Oct 2008
Posts: 17
Received Thanks: 2
|
nice guide.. but he forgot to post on how to add the items using the itemtype tool..
|
|
|
12/12/2008, 08:28
|
#10
|
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,741
|
Quote:
Originally Posted by crouch187
nice guide.. but he forgot to post on how to add the items using the itemtype tool..
|
he also forgot to explain how to turn the computer on but i think both are self-explanatory
the guide i didnt fully read kinda busy but good work
|
|
|
12/12/2008, 17:31
|
#11
|
elite*gold: 0
Join Date: Sep 2008
Posts: 126
Received Thanks: 43
|
tysm xD
|
|
|
04/29/2009, 20:05
|
#12
|
elite*gold: 0
Join Date: Jun 2008
Posts: 345
Received Thanks: 178
|
still waiting for the other guide on how to add eudemons
|
|
|
05/29/2009, 00:20
|
#13
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,128
Received Thanks: 260
|
guyz i need ur help
i would like to add new casuals , so if i wanna do that , what is the ID of the item would it be ?? or i can just create one ?
and for cq_action , how can i know what to put there ? or can i copy the action of any casual ?
|
|
|
10/25/2009, 22:38
|
#14
|
elite*gold: 0
Join Date: Sep 2009
Posts: 103
Received Thanks: 0
|
i want help to add new wepons to my server may ki got help from you guys please?
|
|
|
11/29/2012, 20:08
|
#15
|
elite*gold: 0
Join Date: May 2012
Posts: 2
Received Thanks: 0
|
thnk!!
|
|
|
|
|
Similar Threads
|
[GUIDE] adding an item to itemtype.dat
01/15/2011 - EO PServer Guides & Releases - 32 Replies
ok here goes open your itemtype.dat in your hexeditor, i use winhex but you can use whatever works for you. in the top left corner u see 4 hex numbers this is the amount of items you have in ur itemtype.dat u need to edit this number to add the new item. remember all hex needs to be done backwards.http://img165.imageshack.us/img165/1839/ hexedit1.png
ok as u can see in pic 2 i have copied from the beginning of this casual to the last 00 before the start of my next item, you need to copy...
|
[Guide]Adding Item to your private server
05/23/2009 - CO2 PServer Guides & Releases - 11 Replies
//
|
[Guide] Adding item to shopping mall.
12/16/2008 - EO PServer Guides & Releases - 8 Replies
ok guys i would like to thanks the great :p cypherghoser1 first for releasing how to replace item i wouldn't remember all this without his guide, so thought of sharing this as a pay back. :handsdown:
*Recommanded to read this first*
http://www.elitepvpers.com/forum/eo-pserver-hostin g/189204-guide-hexedit-shopping-mall-replace-items -equipment-eggs.html <<Cypherghoser1's guide
alright everyone probably seen his guide about replacing item on shopping mall.. so lets now do this new version of...
|
Adding in a New Item
05/16/2008 - EO PServer Hosting - 6 Replies
I have tried to add in a new item which is a Mandarin outfit with a different texture.
I made a new id for it and have added it into the itemtype database and itemtype.dat
I have added in the dds and c3 files into the appropriate folders.
c3:
c3/mesh
dds:
|
All times are GMT +1. The time now is 17:58.
|
|