How to Custom box
#1

hi all , here a little info on how to create yours custom box :

create your box in itemall , Type = 2 , Sub Type = 3 , Class = 127 , Wearing pos = -1 ,

on flag just select :

if you want the box can trade : ITEM_FLAG_COUNT , ITEM_FLAG_DROP , ITEM_FLAG_EXCHANGE , ITEM_FLAG_TRADE , Part of a set , and flag should be = 8388635

if you want the box can trade : ITEM_FLAG_COUNT ,  ITEM_FLAG_TRADE , Part of a set , and flag should be = 8388625

 

Than on Numb 0 , here goes the luckydrawbox index .

dont forgot to load the new box on smc too .

 

now go to DB newproject_data and register your box in t_item  .

open t_lukydrawbox , insert into a_index the Numb 0 of the box , a_name what you want , a_enable = 1 , a_random = 1 .

 

if you want to make a box like coin of master one , go into t_luckydrawneed and set a_lukydraw_idx the Numb 0 of the box , a_item_idx = id of the item you need to open the box , a_count = amout of the item you need to open the box .

if you want a normal box like the ramslo armor box one dont go in t_luckydrawneed .

 

now open t_luckydrawresult and set a_luckydraw_idx  the Numb 0 of the box , a_item_idx = id of the item you can find into the box , a_count = amout of the item you can find into the box , a_upgrade = plus of the item you can find ito the box ( only for armors and weapon I think xD ) , a_prob = the

probability you can find that item , a_flag = 0 .
 
you are done , log in game and have fun with your box Wink , I hope Ive help someone Smile .
 
p.s. sorry for my english Big Grin
 

 

 

 



Messages In This Thread
[No subject] - by filix_93 - 02-13-2013, 08:11 AM
[No subject] - by Douglas Farias - 02-13-2013, 04:48 PM
[No subject] - by Douglas Farias - 02-13-2013, 06:00 PM
[No subject] - by filix_93 - 02-13-2013, 06:10 PM
[No subject] - by HateMe - 02-13-2013, 09:23 PM
[No subject] - by Janebug - 02-14-2013, 05:59 PM
[No subject] - by Ph3NoM - 02-15-2013, 05:43 PM
[No subject] - by filix_93 - 02-15-2013, 06:34 PM
[No subject] - by Mr Perez - 02-21-2013, 02:16 PM
[No subject] - by halohalo - 03-31-2013, 07:21 PM
[No subject] - by filix_93 - 04-01-2013, 08:50 AM
[No subject] - by dethunter12 - 01-11-2014, 10:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)