Random Gold Scroll

M

M.Moamen

المستوي:


151f126a.png



:emoji16:

دى Scroll بتديك Gold بس بطريقة عشوائية من 100 Gold حتى 1000000000


RefObjCommon


PHP:
1	98456	ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL	???? ???? ??? (???)	xxx	SN_ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL	SN_ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL_TT_DESC	1	0	3	3	13	14	180000	3	0	1	1	1	255	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\goldscroll.ddj	xxx	xxx	68715


RefObjItem


PHP:
68715	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	1500	????	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


Itemdata_xxxx


PHP:
1	98456	ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL	???? ???? ??? (???)	xxx	SN_ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL	SN_ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL_TT_DESC	0	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	1	-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\goldscroll.ddj	xxx	xxx	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	1500	????	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


Textdata_Object


PHP:
1	SN_ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL								Random Gold Scroll
1	SN_ITEM_MALL_MOAMEN_RANDOM_GOLD_SCROLL_TT_DESC								Active This Scroll And Try Your Luck This Scroll is Made By Developer MOAMEN


Procedure

#AddlogItem



PHP:
IF (@Operation = 41) -- Procedure By Developer MOAMEN 
BEGIN
    IF (@ItemRefID = 98456)
    BEGIN
    declare @Charname varchar(128)
declare @upper_MOAMEN int = '1000000' declare @lower_MOAMEN int = '100000000'
 declare @random_MOAMEN int = ROUND(((@upper_MOAMEN - @lower_MOAMEN -1) * RAND() + @lower_MOAMEN), 0)
 set @charname = (select CharName16  from SRO_VT_SHARD.dbo._Char where CharID=@CharID)
Update SRO_VT_SHARD.dbo._Char set RemainGold = RemainGold + @random_MOAMEN  where CharName16 = @charname      
end
end



All rights reserved to Ri3o

 




التعديل الأخير:

Dev.Ri3o

V.I.P
SQL Developer
عضو
2 فبراير 2017
289
53
17
44

المستوي:

رد: Random Gold Scroll


يا باشا انا بجمع اكتر موضيع ممكن تفيد الناس اللي بتستخدم الموقع و كبت ان الموضوع بتاعك

طب شيل اسمك من ال Procedure
وكمان انت مكتبتش All Rights Reserved To Ri3o غير لما قولتلك يعنى لو مكنتش قولتلك كان زمان الموضوع بتاعك طب حد يعدل قوانين القسم ويضيف المعلومة دى :D :D :D :D