goddameit 52 Posted May 23, 2015 (edited) In this video, you can see I get different bonus on same item (both item-id are 1101) after I change something in database,so you can set what you like on each equipment. Download:code ---randombonus.patchsql ---http://pastebin.com/ais6Tbt9sample script ---http://pastebin.com/a64JSGv1How to use:1. add special command into your item_dbcallfunc "RandomBonusFunc", getuniqueid(); http://i.imgur.com/7kzDdsn.png2.Modify script to what you likehttp://i.imgur.com/x1eL0T3.jpgRefer:script4each Edited May 23, 2015 by goddameit Quote Share this post Link to post Share on other sites
Angelmelody 221 Posted May 25, 2015 (edited) I wanna say, that's amazing~,jack! 你的道具編碼太神奇了 ,錯誤之後竟可以變成唯一的一個編號 因為 getuniqueid 變數存不了吧 ,變數只正負21億範圍 , 你看你的資料庫 道具編碼是超過 21億, 所以會溢位出一個數 , 而這個數竟然剛好就是唯一所以 太神奇了~ 傑克! Edited May 25, 2015 by Angelmelody Quote Share this post Link to post Share on other sites
Mystery 594 Posted May 26, 2015 I wanna say, that's amazing~,jack! 你的道具編碼太神奇了 ,錯誤之後竟可以變成唯一的一個編號 因為 getuniqueid 變數存不了吧 ,變數只正負21億範圍 , 你看你的資料庫 道具編碼是超過 21億, 所以會溢位出一個數 , 而這個數竟然剛好就是唯一所以 太神奇了~ 傑克! Please use only English in this section of the forums. Quote Share this post Link to post Share on other sites
goddameit 52 Posted May 30, 2015 I wanna say, that's amazing~,jack! Haha, I didn't notice that Quote Share this post Link to post Share on other sites
violy 0 Posted June 4, 2016 (edited) Thanks Edited June 5, 2016 by violy Quote Share this post Link to post Share on other sites