elite*gold: 0
Join Date: Nov 2009
Posts: 1,486
Received Thanks: 919
|
Quote:
Originally Posted by koreng
when i buy pdef-mdef and cannot compose
because it want xo or lo in 0 level
how to fix it.. and where
|
i think there may have another choice to solve this..
but in easy steps is take a query from WarriorAtkDef is the great choice..then change all the information like warrioratkdef in itemtype.dat 
also change the monster id and lookface id from cq_itemtype and cq_monstertype
here are a query for mageatkdef..i show u
Code:
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
(815008, 'MageAtkDef',0,0,0,0,0,0,0,0,28,0,150000,[COLOR="Blue"]4008140[/COLOR],000,000,000,000,0000,0000,0,1,1,0,0,0,0,0,0,000,000,0,0,0000000,[COLOR="Magenta"]1081220[/COLOR],00000,0,0,1,00,0,00,00,00,0,0,0,0,0,0,0),
([COLOR="Magenta"]1081220[/COLOR],'MageAtkDef',0,0,0,0,0,0,0,0,04,0,000000,0000000,000,000,000,000,0000,0000,0,1,1,0,0,0,0,0,0,000,000,0,0,0000000,0000000,00000,0,0,0,00,0,00,00,00,0,0,0,0,0,0,0),
(1071220,'MageAtkDef',0,0,0,0,0,0,0,0,00,0,000250,0000000,200,100,150,320,3000,2000,0,1,1,0,0,0,0,0,0,380,200,0,0,0000000,[COLOR="Red"]0071220[/COLOR],00000,2,1,0,10,0,31,41,51,0,0,0,0,0,0,0),
(1071221,'MageAtkDef',0,0,0,0,0,0,0,0,00,0,000250,0000000,200,100,150,320,3000,2000,0,1,1,0,0,0,0,0,0,380,200,0,0,0000000,[COLOR="Red"]0071221[/COLOR],00000,2,1,0,10,0,31,41,51,0,0,0,0,0,0,0),
(1071222,'MageAtkDef',0,0,0,0,0,0,0,0,00,0,000250,0000000,200,100,150,320,3000,2000,0,1,1,0,0,0,0,0,0,380,200,0,0,0000000,[COLOR="Red"]0071222[/COLOR],00000,2,1,0,10,0,31,41,51,0,0,0,0,0,0,0),
(1079220,'MageAtkDef',0,0,0,0,0,0,0,0,00,0,000250,0000000,200,100,150,320,3000,2000,0,1,1,0,0,0,0,0,0,380,200,0,0,0000000,[COLOR="Red"]0079220[/COLOR],00000,2,1,0,10,0,31,41,51,0,0,0,0,0,0,0),
(1079221,'MageAtkDef',0,0,0,0,0,0,0,0,00,0,000250,0000000,200,100,150,320,3000,2000,0,1,1,0,0,0,0,0,0,380,200,0,0,0000000,[COLOR="Red"]0079221[/COLOR],00000,2,1,0,10,0,31,41,51,0,0,0,0,0,0,0),
(1079222,'MageAtkDef',0,0,0,0,0,0,0,0,00,0,000250,0000000,200,100,150,320,3000,2000,0,1,1,0,0,0,0,0,0,380,200,0,0,0000000,[COLOR="Red"]0079222[/COLOR],00000,2,1,0,10,0,31,41,51,0,0,0,0,0,0,0);
[COLOR="Blue"]Blue means[/COLOR]:action ID for your eudemon
[COLOR="Magenta"]Magenta means[/COLOR]:its must be same with your egg ID
[COLOR="Red"]Red means[/COLOR]:the monster ID
ok now move into cq_monstertype
Code:
insert into cq_monstertype (id, name, type, lookface, length, fat, life, mana, attack_max, attack_min, defence, dexterity, dodge, helmet_type, armor_type, weaponr_type, weaponl_type, attack_range, view_range, escape_life, attack_speed, move_speed, level, attack_user, drop_money_min, drop_money_max, size_add, action, run_speed, drop_armet, drop_necklace, drop_armor, drop_ring, drop_weapon, drop_shield, drop_shoes, drop_money_chance, drop_item_chance, magic_type, magic_def, magic_hitrate, atk_hitrate, ai_type, defence2, explode_item_chance1, explode_item_chance2, explode_item_chance3, drop_item_rule, profession, magic1, magic2, magic3, frequency, extra_battlelev, extra_exp, extra_damage, earth_def, water_def, fire_def, wind_def, drop_egg_coe, drop_weapon_coe, drop_armet_coe, drop_armor_coe, drop_necklace_coe, drop_bracelet_coe, drop_shoes_coe, drop_stone_coe, drop_gem_coe, drop_explode_coe, drop_special_coe, special_type, drop_deltalev_coe)
values
([COLOR="Red"]71220[/COLOR], 'MageAtkDef', 1, [COLOR="SeaGreen"]220[/COLOR], 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 0, 1000, 0, 1, 32775, 0, 0, 3, 0, 0, 99, 99, 99, 99, 99, 99, 99, 50000, 100000, 5000, 0, 75, 75, 2, 10000, 0, 0, 0, 0, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
([COLOR="Red"]71221[/COLOR], 'MageAtkDef', 1, [COLOR="SeaGreen"]221[/COLOR], 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 0, 1000, 0, 1, 32775, 0, 0, 3, 0, 0, 99, 99, 99, 99, 99, 99, 99, 50000, 100000, 5000, 0, 75, 75, 2, 10000, 0, 0, 0, 0, 221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
([COLOR="Red"]71222[/COLOR], 'MageAtkDef', 1, [COLOR="SeaGreen"]222[/COLOR], 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 0, 1000, 0, 1, 32775, 0, 0, 3, 0, 0, 99, 99, 99, 99, 99, 99, 99, 50000, 100000, 5000, 0, 75, 75, 2, 10000, 0, 0, 0, 0, 222, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
([COLOR="Red"]79220[/COLOR], 'MageAtkDef', 1, [COLOR="SeaGreen"]220[/COLOR], 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 0, 1000, 0, 1, 32775, 0, 0, 3, 0, 0, 99, 99, 99, 99, 99, 99, 99, 50000, 100000, 5000, 0, 75, 75, 2, 10000, 0, 0, 0, 0, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
([COLOR="Red"]79221[/COLOR], 'MageAtkDef', 1, [COLOR="SeaGreen"]221[/COLOR], 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 0, 1000, 0, 1, 32775, 0, 0, 3, 0, 0, 99, 99, 99, 99, 99, 99, 99, 50000, 100000, 5000, 0, 75, 75, 2, 10000, 0, 0, 0, 0, 221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
([COLOR="Red"]79222[/COLOR], 'MageAtkDef', 1, [COLOR="SeaGreen"]222[/COLOR], 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 15, 0, 1000, 0, 1, 32775, 0, 0, 3, 0, 0, 99, 99, 99, 99, 99, 99, 99, 50000, 100000, 5000, 0, 75, 75, 2, 10000, 0, 0, 0, 0, [COLOR="SeaGreen"]222[/COLOR], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
[COLOR="Red"]Red means[/COLOR]: its must be same with monster id in cq_itemtype that im mark it red colour
[COLOR="SeaGreen"]Green means[/COLOR]: this is your eudemon lookface id u need to change:D
if u dontknow how to find the lookface id just see in your cq_monstertype then search the name of your eudemon..(p/s u must translate your cq_itemtype First) or u can find it at your client file in ini folder..in these files [3DsimpleRole.ini] then search the id for your eudemon example the monster id for mageatkdef is:
71220,
71221,
71222,
79220,
79221,
79222,
now u must search the monster id this in this file one by one [3DsimpleRole.ini]
pet1220
pet1221
pet1222
pet9220
pet9221
pet9222
example for mageatkdef monster id on 71220
[Pet1220]
Look=220 <--this id u need to put in your cq_monstertype on lookface id
Size=55
XPos=-60
YPos=-130
3DStandByMotion=0220000100
3DBlazeMotion=0220000101
F3DEffect=monster07
HOPE THIS HELP..ANYWAYS PLEASE BACKUP YOUR DB FIRST
|