|
You last visited: Today at 14:32
Advertisement
PROBLEM WITH CUSTOM SCROLLS
Discussion on PROBLEM WITH CUSTOM SCROLLS within the SRO Private Server forum part of the Silkroad Online category.
12/31/2019, 10:20
|
#1
|
elite*gold: 0
Join Date: Nov 2011
Posts: 228
Received Thanks: 18
|
PROBLEM WITH CUSTOM SCROLLS
I have added new Remover blues scrolls, one for equipment, and one for avatars, i dont mention redstat remover scroll bc i know its hard and it requires hard querys. Anyway here my lines:
EQUIPMENT BLUES REMOVER:
When i put the item in the 1st slot inventory (13 in db) and activate scroll, it works but the item keep with blues...
Code:
RefObjcommon:
1 51119 ITEM_BLUES_REMOVER ?? ??? SN_ITEM_BLUES_REMOVER_FGW SN_ITEM_BLUES_REMOVER_TT_DESC 0 0 3 3 3 1 180000 3 0 1 1 1 255 3 1 0 0 1 0 15000 0 0 0 150 4500 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_ch_eventbox.bsr item\etc\mall_skill_point_recall_b.ddj xxx xxx 26824 No Name
RefObjItem:
26824 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 500 ???? 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
SHARDLOG --AddLogItem:
IF (@Operation = 41) and (@ItemRefID = 51119)
Begin
Update SRO_VT_SHARD.dbo._Items Set MagParamNum = 0, MagParam1 = NULL, MagParam2 = NULL, MagParam3 = NULL, MagParam4 = NULL, MagParam5 = NULL, MagParam6 = NULL, MagParam7 = NULL, MagParam8 = NULL, MagParam9 = NULL, MagParam10 = NULL, MagParam11 = NULL, MagParam12 = NULL Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_Inventory] Where CharID = ChariD and Slot = '13' and ItemID > 0)
End
ITEMDATA_45000:
1 51119 ITEM_BLUES_REMOVER ?? ??? SN_ITEM_BLUES_REMOVER_FGW SN_ITEM_BLUES_REMOVER_TT_DESC 0 0 3 3 3 1 180000 3 0 1 1 1 255 3 1 0 0 1 0 15000 0 0 0 150 4500 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_ch_eventbox.bsr item\etc\mall_skill_point_recall_b.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 500 ???? 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
AVATAR BLUES REMOVER:
When i press the scroll it appears like a buff above and it ends fast, then i teleport manually but avatar keeps with blues... (This scroll should work while the user is wearing any avatar, dress, hat or attach...)
Code:
RefObjCommon:
1 51120 ITEM_MALL_REMOV_BLUE_AV ???(???) ??? SN_ITEM_MALL_REMOV_BLUE_AV SN_ITEM_MALL_REMOV_BLUE_AV_TT_DESC 1 0 3 3 13 1 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 Premium\etc\changename.ddj xxx xxx 26825 No Name
RefObjItem:
26825 1 2 0 0 1 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 0 SKILL_MALL_REMOVEBLAV -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 -1 xxx -1 xxx 0 0 0
Refskill:
1 34092 1231 SKILL_MALL_REMOVEBLAV ???? ???? SKILL_MALL_REMOVEBLAV 0 1 1 0 0 0 0 0 1000 0 0 0 3599 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 255 255 0 0 0 0 0 255 255 255 255 item\etc\mall_optlevel_upgrade_scroll_1.ddj SN_SKILL_MALL_REMOVEBLAV xxx SN_SKILL_MALL_REMOVEBLAV_TT_DESC xxx 0 0 3 1667396966 1851946342 1685418593 1500 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
Refskillgroup:
1231 SKILL_MALL_REMOVEBLAV
SHARD--AddTimedJob:
IF(@JobID= '34092')
begin
Update _Items Set MagParamNum = 0, MagParam1 = NULL, MagParam2 = NULL, MagParam3 = NULL, MagParam4 = NULL, MagParam5 = NULL, MagParam6 = NULL, MagParam7 = NULL, MagParam8 = NULL, MagParam9 = NULL, MagParam10 = NULL, MagParam11 = NULL, MagParam12 = NULL where ID64 in (select ItemID from _Inventoryforavatar where CharID = @ CharID and Slot between 0 and 2 and ItemID>0)
return -3
end
ITEMDATA_45000:
1 51120 ITEM_MALL_REMOV_BLUE_AV ???(???) ??? SN_ITEM_MALL_REMOV_BLUE_AV SN_ITEM_MALL_REMOV_BLUE_AV_TT_DESC 1 0 3 3 13 1 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 Premium\etc\changename.ddj xxx xxx 1 2 0 0 1 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 0 SKILL_MALL_REMOVEBLAV -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 -1 xxx -1 xxx 0 0 0
SKILLDATA_35000enc:
1 34092 1231 SKILL_MALL_REMOVEBLAV ???? ???? SKILL_MALL_REMOVEBLAV 0 1 1 0 0 0 0 0 1000 0 0 0 3599 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 255 255 0 0 0 0 0 255 255 255 255 item\etc\mall_optlevel_upgrade_scroll_1.ddj SN_SKILL_MALL_REMOVEBLAV xxx SN_SKILL_MALL_REMOVEBLAV_TT_DESC xxx 0 0 3 1667396966 1851946342 1685418593 1500 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
PD: I tried restarting shardmanager too...
|
|
|
01/01/2020, 02:41
|
#2
|
elite*gold: 0
Join Date: Dec 2019
Posts: 45
Received Thanks: 6
|
this function action doesn't work correctly like you're updating (unknown results) that's mean you didn't mention slot 13 into your procedure, so the scroll will not take any effects. Also your procedure is weak going to smash your logs if you got more than 100++ players. i hope that i helped you!
|
|
|
01/01/2020, 03:38
|
#3
|
elite*gold: 0
Join Date: Nov 2011
Posts: 228
Received Thanks: 18
|
Quote:
Originally Posted by C 9
this function action doesn't work correctly like you're updating (unknown results) that's mean you didn't mention slot 13 into your procedure, so the scroll will not take any effects. Also your procedure is weak going to smash your logs if you got more than 100++ players. i hope that i helped you!
|
Ok i think its good idea to delete it for while until i get the correct way, have to delete in addtimedjob too?
|
|
|
01/01/2020, 05:29
|
#4
|
elite*gold: 0
Join Date: Dec 2019
Posts: 45
Received Thanks: 6
|
Quote:
Originally Posted by ThievesUTD
Ok i think its good idea to delete it for while until i get the correct way, have to delete in addtimedjob too?
|
timed job isn't a part from the scroll logs or orders you need addlog item + scroll to make it works, i can code it for you if you want.
|
|
|
01/01/2020, 06:32
|
#5
|
elite*gold: 0
Join Date: Nov 2011
Posts: 228
Received Thanks: 18
|
Quote:
Originally Posted by C 9
timed job isn't a part from the scroll logs or orders you need addlog item + scroll to make it works, i can code it for you if you want.
|
Well if u can i will apreciate it, happy new year
|
|
|
 |
Similar Threads
|
[CUSTOM SALE] PokeMMO! Custom Bots, Exp Leveling Bot, Shiny Catcher! [CUSTOM SALE]
04/08/2014 - Trading - 90 Replies
Update: 2013-05-20
BOT IS NOW FULLY AIO SUPPORTS ALL LOCATIONS IN POKEMMO!!
Auto-leveling bot:
Supports PP healing
Supports Death pokemon healing
Supports death pokemon switching
Supports walking to healing
Fully flawless & catches shinies!!!
|
[BETA]Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/25/2012 - SRO PServer Advertising - 109 Replies
Hello there,
I would like to announce the BETA opening of Astro Server, We are here for the community not for competition. We don't care if we are #1 or #1001.
The BETA will last one week, to find any small bugs that may still exist. During this time users will receive 5000 Wonga as soon as you register this is part of the BETA test. Also users will be rewarded for helping when we go live, Which you can find more information on this at the forum.
Please be aware after the BETA ends...
|
Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/19/2012 - SRO PServer Advertising - 6 Replies
Fantastic Server. If reliablility is what you want then Beta-Max is for you. Unique PVP Battles - Pets - Items - Quests - Jobs - Wonga and so much more
Server Details:
Level Cap: 120
Skill Cap: 120
Chinese Mastery Cap: 360
European Mastery Cap: 240
Item Degree: 13th Degree
Active Areas: All (Including Jupiter)
|
All times are GMT +1. The time now is 14:33.
|
|