Hello
I'd like to share something that I made out of my previous release "GM gear coupon", it has no relation to other "auto-equipment system" released here, mine is simply an alternative, you may use it if you want or not. And do read my notes carefully.
I call this "Auto-Equipment Coupon"
- What it does? It will change your char equipment to next degree if the character level or mastery fits its requirement. (MAXIMUM 11D)
- What equipment does it add? Weapon (auto Shield for 1H), gear, and accessory
- Any requirements? Just one, your character must wear any weapon and 1 gear (no need full set)
- Usage Method? scroll
- How does it work? For chinese, the system will detect character level, for Euro, will detect mastery level, so be sure you have mastery level -1 level to next degree (for example, mastery level 56 to get 7 degree), especially if you set the usage method as "automatic equipment" and not coupon.
- Anything else? BE SURE you change parameters in SETTINGS section part in the Stored procedure to match your database items. (Read about NEW SP below)
Now the boring part:
- Database:
_RefObjCommon
_RefObjItemCode:INSERT INTO _RefObjCommon VALUES (1,46030,'ITEM_EVENT_AUTOEQUIP_COUPON','???? ???? ??? (???)','xxx','SN_ITEM_EVENT_AUTOEQUIP_COUPON','SN_ITEM_GM_GEAR_COUPON_TT_DESC',1,0,3,3,3,1,180000,3,0,1,1,1,3,0,1,0,0,129,0,0,0,0,0,0,0,-1,0,-1,0,-1,0,-1,0,-1,0,0,0,0,0,0,0,100,0,0,0,'xxx','item\etc\drop_mall_scroll.bsr','item\etc\coupon_weapon.ddj','xxx','xxx',46030)
- Stored procedure in [SRO_VT_SHARD] database (NEW): SRO_VT_SHARD - [SP] - _ADD_AUTOEQUIP_GEAR.sql.txtCode:INSERT INTO _RefObjItem VALUES (46030,1,2,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5000,'????',1,'??????',-1,'RESURRECT',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',-1,'xxx',0,0,0)
Stuff that NEEDED TO BE CHANGED in that NEW SP ("SETTINGS" section):
- Stored procedure in [SRO_VT_LOG] database: (ADD THIS IN YOUR EXISTING _AddLogItem and _AddLogChar procedure, you can put at the most bottom line if you want)Code:-- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -- @@@ BEGIN: SETTINGS -- CHANGE THIS! -- CHANGE THIS! -- CHANGE THIS! (if needed) -- (Represent ITEM_CH_BOW_11_A_RARE), change as you need it DECLARE @Gearsuffix VARCHAR(16) = 'A_RARE' -- @@@ END: SETTINGS -- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
_AddLogItem
Spoiler:
- Media:
itemdata_45000.txt: itemdata_45000_AEcoupon.txt
textdata_object.txt: textdata_object_AEcoupon.txt
DDJ: (put it in Media\icon\item\etc\coupon_weapon.ddj)
http://openclient.sroinfo.com/op/iSR...pon_weapon.ddj
NOTES:
- You need to make sure that your "_AddLogItem" procedure is working. So If you use Evangelion SR_GameServer, you should set "disableLog = 0" in misc.ini and restart the gameserver.
- And also, you can always utilize the new SP directly from SQL query window if you want, simply by doing:
- "EXEC [SRO_VT_SHARD].[dbo].[_ADD_ITEM_EXTERN] 'Charname', 'ITEM_EVENT_AUTOEQUIP_COUPON', 1, 0" (to deliver scroll to inventory)
- "EXEC [SRO_VT_SHARD].[dbo].[_ADD_AUTOEQUIP_GEAR] 'Charname', <item_plus_here>" (to automatically equip the char)
Video (Method 1: Deliver the coupon to inventory method):
Video (Method 2: automatically equip the char):Spoiler:
Spoiler:
Good luck and have fun ;)




Reply With Quote![Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)](http://ragezone.com/hyper728.png)


