How can I change the default items (initial equip)? :w00t:
Printable View
How can I change the default items (initial equip)? :w00t:
Sql > Shard > programability > stored procedures > _AddNewChar - Modify
near the bottom you will see something like this :
just change or add exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_MOVE_SPEED_UP_100',10,1 lines to what you want to add or ermoveCode:-----------------------------------------------------------------------------
-- CharList¿¡ ID ³Ö¾îÁÖ±â
-----------------------------------------------------------------------------
INSERT _CharNameList VALUES(@CharName, @NewCharID)
exec _ADD_ITEM_EXTERN @CharName,'ITEM_ETC_WARENETWORK_EVENT',50,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_PREMIUM_VIETNAM_GOLDTIME_PLUS',1,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_RETURN_SCROLL_HIGH_SPEED',10,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_HP_SUPERSET_5_BAG',1000,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_MP_SUPERSET_5_BAG',1000,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_COS_P_FLUTE_WHITE',1,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_DAMAGE_ABS_20P_SCROLL',20,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_DAMAGE_INC_20P_SCROLL',20,1
exec _ADD_ITEM_EXTERN @CharName,'ITEM_MALL_MOVE_SPEED_UP_100',10,1
For example, if I select glavie and protector on the character creation screen, the character would start with nova glavie and protector set equipped.
like _DEF items in itemdata
that would require some knowladge in SQL-T to create such a thing.
u can try doing it by urself, its pretty easy.
i doubt any1 will write a script sepcialy for you. and not much ppl created such a script to share. xD
hmp equipted? it has to be somethin like this than:
this is basicly a template to do the thing u ask for(for the items being equpted when the char starts)Code:if @Class = '<GlavieNumberIdentifier>'
start if
insert into _Items value (BLA BLA BLA <Weapon> BLA BLA BLA)
update _INVENTORY set refitemid = @ItemId where slotindex = '6' and charid = @CharId
end if
but still, im not sure if the procedure resives the starting weapon/armor or its another proc that hendles that...
you will have do to the inserting urself, inside inventory, by slots
6 - weapon
1 - head
2 - armor
3 - legs
4 - gloves
5 - boots
7 - arrow/shield/secondery wep.
thouse are the slot indexes if im not misstaken