Random Bonus

goddameit

New member
Messages
59
Points
0
Age
34
Emulator
Hp5Jd68.jpg


To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

 
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.patch
sql ---
http://pastebin.com/ais6Tbt9
sample script ---
http://pastebin.com/a64JSGv1


How to use:
1. add special command into your item_dbcallfunc "RandomBonusFunc", getuniqueid();
http://i.imgur.com/7kzDdsn.png

2.Modify script to what you like
http://i.imgur.com/x1eL0T3.jpg


Refer:
script4each

 

Attachments

Last edited by a moderator:
I wanna say, that's amazing~,jack!
default_biggrin.png


你的道具編碼太神奇了 ,錯誤之後竟可以變成唯一的一個編號

因為 getuniqueid 變數存不了吧 ,變數只正負21億範圍 ,

你看你的資料庫 道具編碼是超過 21億, 所以會溢位出一個數 ,

而這個數竟然剛好就是唯一所以 太神奇了~ 傑克!

 
Last edited by a moderator:
I wanna say, that's amazing~,jack!
default_biggrin.png


你的道具編碼太神奇了 ,錯誤之後竟可以變成唯一的一個編號

因為 getuniqueid 變數存不了吧 ,變數只正負21億範圍 ,

你看你的資料庫 道具編碼是超過 21億, 所以會溢位出一個數 ,

而這個數竟然剛好就是唯一所以 太神奇了~ 傑克!
Please use only English in this section of the forums.

 
Back
Top