Silk Scroll - 1000

04/10/2015 00:27 ersers2#31
Quote:
Originally Posted by capovip View Post
the scroll teleport me but no silk :(
and this _LogEventItem

[Only registered and activated users can see links. Click Here To Register...]
capovip, thanks for your screenshot!

Column ItemRefID from SRO_VT_LOG._LogEventItem on your picture shows an ID of 50000. But remember that you have added an ID of 36790 to _RefObjCommon and itemdata_45000.txt

36790 ITEM_SILK_SCROLL_1000 ... SN_ITEM_SILK_SCROLL_1000

The amended stored procedure (SRO_VT_SHARD._AddLogItem) will not activate unless this matches:
Code:
IF (@Operation = 41 AND @ItemRefID = 36790)
The server seems to be detecting the proper scroll right clicking event (41) but receiving a wrong object/scroll ID number (ItemRefID)



BTW, question to ˛˛Rock˛˛: Why does RefObjItem.txt in Silk Scroll - 1000.rar give the object/scroll ID as 26713 to be added to the server's _RefObjItem?
04/10/2015 01:00 capovip#32
first thanks for your answer
i do all id right in db and media side and the scroll working only in teleport but not give silk i will uplaod my txt for u check , thanks for replay
04/10/2015 08:20 ersers2#33
capovip, first I want to say I haven't installed this to see if it's working or not. I see you have changed the scroll's ID to 50000. Should not be a problem.

Can you try running the stored proc's code in a new query window. Everything from BEGIN to END (including both keywords). I also wonder if you manually give a character some silk, if this scroll will be able to increase the silk on the account.
04/10/2015 22:16 AceSpace#34
Quote:
Originally Posted by ersers2 View Post
capovip, thanks for your screenshot!

Column ItemRefID from SRO_VT_LOG._LogEventItem on your picture shows an ID of 50000. But remember that you have added an ID of 36790 to _RefObjCommon and itemdata_45000.txt

36790 ITEM_SILK_SCROLL_1000 ... SN_ITEM_SILK_SCROLL_1000

The amended stored procedure (SRO_VT_SHARD._AddLogItem) will not activate unless this matches:
Code:
IF (@Operation = 41 AND @ItemRefID = 36790)
The server seems to be detecting the proper scroll right clicking event (41) but receiving a wrong object/scroll ID number (ItemRefID)



BTW, question to ˛˛Rock˛˛: Why does RefObjItem.txt in Silk Scroll - 1000.rar give the object/scroll ID as 26713 to be added to the server's _RefObjItem?
You gotta edit it. Should I do it manually for the people? I edited/updated the thread
07/11/2015 18:44 wilber1414#35
Anyone can explain me how i can get a icon to that scoll ?thanks
07/11/2015 19:07 IpexOnline2015#36
Good Jop
07/13/2015 09:48 Zargrin#37
Useful release
But can i change 1000 and write 500 and scrol will be 500 silk ?
07/14/2015 23:39 spinal2#38
Quote:
Originally Posted by #BourBon View Post
Useful release
But can i change 1000 and write 500 and scrol will be 500 silk ?
The Item Will Write in ur dbo.Silk what Procedure _AddLogItem Indicate..

Then He make it in this lines ..

Quote:
SET @Silk = 1000
SELECT @JID = UserJID from SRO_VT_SHARD.._User where CharID = @CharID
Quote:
IF EXISTS (Select * from SRO_VT_ACCOUNT..SK_Silk where JID = @JID)
UPDATE SRO_VT_ACCOUNT..SK_Silk set silk_own = silk_own + @Silk where JID = @JID
ELSE
INSERT INTO SRO_VT_ACCOUNT..SK_Silk
SELECT @JID, @Silk, 0, 0
END
The RED IS SILK AMOUNT IS ADD IN CHAR.
THE BLUE IS COMANDE .. He is ADD silks to char .. Exemple .. If char have 50 silks and use scroll. he is add more 1.000 Then (Silk-own (is silk he alhead have ) + @silk (is 1.000) . after this he have 1.050 silves..


But if u wanna add more then 1 Tipe of Scrool .. u need declare others value .. try this ..

If 500 silks .


You need add News Lines in _RefObjCommon and _RefObjItem To take ID From Common Like



Same if u wanna add more Scroll just change @Silkx and value ...

Reguard !!!!
07/15/2015 01:05 Zargrin#39
Quote:
Originally Posted by spinal2 View Post
The Item Will Write in ur dbo.Silk what Procedure _AddLogItem Indicate..

Then He make it in this lines ..





The RED IS SILK AMOUNT IS ADD IN CHAR.
THE BLUE IS COMANDE .. He is ADD silks to char .. Exemple .. If char have 50 silks and use scroll. he is add more 1.000 Then (Silk-own (is silk he alhead have ) + @silk (is 1.000) . after this he have 1.050 silves..


But if u wanna add more then 1 Tipe of Scrool .. u need declare others value .. try this ..

If 500 silks .


You need add News Lines in _RefObjCommon and _RefObjItem To take ID From Common Like



Same if u wanna add more Scroll just change @Silkx and value ...

Reguard !!!!
Good Job Man And Very Thanks
07/15/2015 01:09 spinal2#40
Quote:
Originally Posted by #BourBon View Post
Good Job Man And Very Thanks
I I'm Happy to help :handsdown:
07/15/2015 02:36 AceSpace#41
Quote:
Originally Posted by spinal2 View Post
The Item Will Write in ur dbo.Silk what Procedure _AddLogItem Indicate..

Then He make it in this lines ..





The RED IS SILK AMOUNT IS ADD IN CHAR.
THE BLUE IS COMANDE .. He is ADD silks to char .. Exemple .. If char have 50 silks and use scroll. he is add more 1.000 Then (Silk-own (is silk he alhead have ) + @silk (is 1.000) . after this he have 1.050 silves..


But if u wanna add more then 1 Tipe of Scrool .. u need declare others value .. try this ..

If 500 silks .


You need add News Lines in _RefObjCommon and _RefObjItem To take ID From Common Like



Same if u wanna add more Scroll just change @Silkx and value ...

Reguard !!!!
Did you just copy what I did and change the amount from 1000 to 500? and claimed that you did it? OMG. This is so freaking stupid :facepalm:

If you want to create many scrolls, I wouldn't advise using this and re-adding it over and over. This'll fuck performance.

The best solution is:

Code:
IF @Operation = 16 AND @ItemRefID in (37666,37667,37668,37669)
BEGIN
DECLARE @JID INT,
@Silk INT;

SET @Silk = CASE
                 WHEN @ItemRefID = 37666
                 THEN 100
                 WHEN @ItemRefID = 37667
                 THEN 300
                 WHEN @ItemRefID = 37668
                 THEN 500
                 WHEN @ItemRefID = 37669
                 THEN 1000
                 ELSE 0
                 END
SELECT @JID = UserJID from SRO_VT_SHARD.._User where CharID = @CharID

IF EXISTS (Select * from SRO_VT_ACCOUNT..SK_Silk where JID = @JID)
UPDATE SRO_VT_ACCOUNT..SK_Silk set silk_own = silk_own + @Silk where JID = @JID
ELSE
INSERT INTO SRO_VT_ACCOUNT..SK_Silk
SELECT @JID, @Silk, 0, 0
END
That's it. You should figure it by yourself. If you don't then seriously...
07/15/2015 03:33 spinal2#42
Quote:
Originally Posted by Skipper* View Post
Did you just copy what I did and change the amount from 1000 to 500? and claimed that you did it? OMG. This is so freaking stupid :facepalm:

If you want to create many scrolls, I wouldn't advise using this and re-adding it over and over. This'll fuck performance.

The best solution is:

Code:
IF @Operation = 16 AND @ItemRefID in (37666,37667,37668,37669)
BEGIN
DECLARE @JID INT,
@Silk INT;

SET @Silk = CASE
                 WHEN @ItemRefID = 37666
                 THEN 100
                 WHEN @ItemRefID = 37667
                 THEN 300
                 WHEN @ItemRefID = 37668
                 THEN 500
                 WHEN @ItemRefID = 37669
                 THEN 100
                 ELSE 0
                 END
SELECT @JID = UserJID from SRO_VT_SHARD.._User where CharID = @CharID

IF EXISTS (Select * from SRO_VT_ACCOUNT..SK_Silk where JID = @JID)
UPDATE SRO_VT_ACCOUNT..SK_Silk set silk_own = silk_own + @Silk where JID = @JID
ELSE
INSERT INTO SRO_VT_ACCOUNT..SK_Silk
SELECT @JID, @Silk, 0, 0
END
That's it. You should figure it by yourself. If you don't then seriously...
Serious .. Id it Work . Have no problem For me or someone .. As u have a better solution all us ask Thanks .. but don't need going with a Kid Action ..

C ya ..
07/15/2015 05:23 spinal2#43
Why Iam Take DC When CLick in Buy Scroll ? don't Buy it .. Any One ?

Why Iam Take DC When CLick in Buy Scroll ? don't Buy it .. Any One ?
07/15/2015 10:53 AceSpace#44
Quote:
Originally Posted by spinal2 View Post
Why Iam Take DC When CLick in Buy Scroll ? don't Buy it .. Any One ?

Why Iam Take DC When CLick in Buy Scroll ? don't Buy it .. Any One ?
Check if you added the scrolls in the right way..
07/15/2015 11:47 spinal2#45
Quote:
Originally Posted by Skipper* View Post
Check if you added the scrolls in the right way..
Yes .. ALL lines too in _RefPricePolice ..ScrapPackageItem...PackageItem and ShopGoods ..

Look ..



When CLick "COMPRAR' ..Client Crash and Nothing apear after Re Conecct ..