"Just for fun - Nothing to do" GM gear coupon :P

Page 2 of 8 FirstFirst 12345678 LastLast
Results 16 to 30 of 120
  1. #16
    Moderator Blacksheep25 is offline
    ModeratorRank
    Jan 2009 Join Date
    AustraliaLocation
    715Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by B1QB0SS View Post
    where i can change Items plus ?!
    In the AddLogItem procedure

    IF (@Operation = 41) -- scroll is used
    BEGIN
    IF (@ItemRefID BETWEEN 46027 AND 46029) -- GM coupon
    BEGIN
    DECLARE @CharName VARCHAR(64) = (SELECT CharName16 from [SRO_VT_SHARD].[dbo].[_Char] WHERE CharID = @CharID)
    DECLARE @GearType VARCHAR(16) =
    CASE
    WHEN @ItemRefID = 46027 THEN 'HEAVY'
    WHEN @ItemRefID = 46028 THEN 'LIGHT'
    WHEN @ItemRefID = 46029 THEN 'CLOTHES'
    END
    -- 11 = Degree, 16 = Plus
    EXEC [SRO_VT_SHARD].[dbo].[_ADD_GM_GEAR] @CharName, @GearType, 11, 16
    END
    END
    Green = Degree Item
    Red = Item Plus

  2. #17
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    teleporting me only

    and nothing happens !

    So any Fix for teleport only ?!

    Good item Return Scroll h3

  3. #18
    Moderator Blacksheep25 is offline
    ModeratorRank
    Jan 2009 Join Date
    AustraliaLocation
    715Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    If I didn't delete my vsro server files on my test server to put the new 110 cap BR files on it and had a client to use I would be fixing this issue for you while you wait for a reply from witchymoo. Can't help at the moment with no client :P

    Edit: Almost forgot, if you have edited the DB table ID's make sure you edit them media side as well, that will be why you guys arent getting anything after it teleports you.
    Last edited by Blacksheep25; 25-11-13 at 03:47 PM. Reason: Added info

  4. #19
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    stop releasing not working things !

  5. #20
    Account Upgraded | Title Enabled! OutOfMemory is offline
    MemberRank
    Aug 2013 Join Date
    272Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by B1QB0SS View Post
    stop releasing not working things !
    Everything is working fine.

    if you get nothing just change this.

    SELECT @GMLevel = sec_primary, @AccountName = StrUserID FROM [SRO_VT_ACCOUNT].[dbo].[TB_User] WHERE JID = @UserJID
    IF (@GMLevel IS NULL OR (@GMLevel !=1 OR @GMLevel !=4 ))
    BEGIN

  6. #21
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    great i'll try

    Still getting Nothing !

  7. #22
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by karemsame View Post
    i know i edit every Thing , and open the and USe The Scroll , But Nothing Happen
    Hey there, when you use the scroll, did it teleports you back to town?, if it does, means the New SP didn't work for you, in which case it returns some errors due to condition placed in the SP, one of the way to check it is to run the SP directly from Query window, like this:
    Code:
    EXEC [_ADD_GM_GEAR] 'yourchar', 'LIGHT', <degree>, <plus>
    (You can change the LIGHT to HEAVY, or CLOTHES)

    The SP will spam your SQL output window, see if it stops somewhere. This is the example of successful output (see the red marks):



    Good luck ;)

    Quote Originally Posted by blacksheep25 View Post
    In the AddLogItem procedure

    Green = Degree Item
    Red = Item Plus
    Thank you :)) +1

    Quote Originally Posted by B1QB0SS View Post
    stop releasing not working things !
    It works fine, you gotta understand how it works so you can trace if it doesn't work for you

    return scroll trigger (client side, TypeID3 3 TypeID4 3) -> calls _AddLogItem SP -> calls _ADD_GM_GEAR SP

    so, if your char scrolled back, scroll gone, (successful return scroll), and you didn't get any items, means the SP didn't work for you, like I mentioned in previous answer, check the SP output by running it manually from SQL query window, like this:
    Code:
    EXEC [_ADD_GM_GEAR] 'yourchar', 'LIGHT', <degree>, <plus>
    (You can change the LIGHT to HEAVY, or CLOTHES) See if you got successful output. Then use teleport your char manually using /gotown or something, see if you got the item.

    good luck ;)

    Quote Originally Posted by B1QB0SS View Post
    teleporting me only

    and nothing happens !

    So any Fix for teleport only ?!

    Good item Return Scroll h3
    Well, teleports works, means the SP didn't. Run the SP manually from SQL query window (see previous answer), and post the output here.

    PS: sorry for late answers, I slept early last night :P, blacksheep25, thank you for answering
    Last edited by Witchy Moo; 26-11-13 at 12:23 AM.

  8. #23
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    i want scroll to work ! there's any waY?

    Msg 201, Level 16, State 4, Procedure _ADD_GM_GEAR, Line 0
    Procedure or function '_ADD_GM_GEAR' expects parameter '@EQPlus', which was not supplied.

  9. #24
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by B1QB0SS View Post
    i want scroll to work ! there's any waY?

    Msg 201, Level 16, State 4, Procedure _ADD_GM_GEAR, Line 0
    Procedure or function '_ADD_GM_GEAR' expects parameter '@EQPlus', which was not supplied.
    Code:
    EXEC [_ADD_GM_GEAR] 'yourchar', 'LIGHT', <degree>, <plus>
    Did you miss anything? :) And don't forget to wear any weapon before executing.

  10. #25
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by witchymoo View Post
    Code:
    EXEC [_ADD_GM_GEAR] 'yourchar', 'LIGHT', <degree>, <plus>
    Did you miss anything? :) And don't forget to wear any weapon before executing.
    Aha you forgot LIGHT Line!

    Btw try to fix this scroll really need it !

  11. #26
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by B1QB0SS View Post
    Aha you forgot LIGHT Line!

    Btw try to fix this scroll really need it !
    Scroll works fine, in your case, the SP didn't, what's the output of your SP execution?

  12. #27
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    lol


    Account ID associated with this char: theb0ss, does not have GM prvileges. Sequence canceled!
    Msg 50000, Level 1, State 16


    sec_Primary=1

    Content = 1 !!

    what's wrong ?

    Give me The Lines Again!

  13. #28
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by B1QB0SS View Post
    lol


    Account ID associated with this char: theb0ss, does not have GM prvileges. Sequence canceled!
    Msg 50000, Level 1, State 16


    sec_Primary=1

    Content = 1 !!

    what's wrong ?

    Give me The Lines Again!
    There you go, there's your error, like OutOfMemory mentioned above, seems your char didn't have GM privileges :)

    Check by doing this in your SQL Query window:
    Code:
    DECLARE @GMLevel INT = (SELECT sec_primary FROM [SRO_VT_ACCOUNT].[dbo].[TB_User] WHERE JID = <YOUR_ACCOUNT_ID>)
    PRINT @GMLevel
    Make sure the output is "1"

  14. #29
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    it's already 1

    if iwant to delete this primary check !

    because i'll make it a scroll for normal players!

  15. #30
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: "Just for fun - Nothing to do" GM gear coupon :P

    Quote Originally Posted by B1QB0SS View Post
    it's already 1
    Then it should work. Unless your SQL got wrong value when doing "IF (@GMLevel IS NULL OR (@GMLevel > 6 AND @GMLevel < 10))" :)

    Quick fix for you, simply remark the whole GM check sequence by adding /* and */, like this:
    Code:
            /*
        PRINT 'Validating GM Level...'
        SELECT @GMLevel = sec_primary, @AccountName = StrUserID FROM [SRO_VT_ACCOUNT].[dbo].[TB_User] WHERE JID = @UserJID
        IF (@GMLevel IS NULL OR (@GMLevel > 6 AND @GMLevel < 10))
        BEGIN
            RAISERROR('Account ID associated with this char: %s, does not have GM prvileges. Sequence canceled!', 1, 16, @AccountName)
            RETURN -3
        END
        */
    Quote Originally Posted by B1QB0SS View Post
    it's already 1

    if iwant to delete this primary check !

    because i'll make it a scroll for normal players!
    Check previous answer



Page 2 of 8 FirstFirst 12345678 LastLast

Advertisement