• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook pagefor updates, or we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.)

[Tutorial] GM buff on Relog and Nation War (disable) buff

Junior Spellweaver
Joined
Jul 15, 2020
Messages
100
Reaction score
15
Hello,

I want to share one query for all of you. Was looking on ragezone and couldnt find the query to disable gm buff in Nation War. Original query was shared by W3rnis. I added another line to disable the buff in nation war.

GM buff used in this tutorial is for Blessing Lv.3
Code:
BEGIN
   IF ((@CH_LEV < 201) AND (@CH_WORLDIDX != 15 | 16))
        BEGIN
              SET @GMBuff = 0xCE01000001000000FD4E3200BDD02C00
        END
   IF ((@CH_LEV < 201) AND (@CH_WORLDIDX = 15 | 16))
        BEGIN
             SET @GMBuff = 0x
        END
END

Find this
Code:
UPDATE cabal_last_login_character    
SET worldAuthKey = @[I][B][URL="http://forum.ragezone.com/members/2000206772.html"]World[/URL][/B][/I]AuthKey    
WHERE UserNum = @[I][B][URL="http://forum.ragezone.com/members/1335.html"]user[/URL][/B][/I]NUM    
IF @@ROWCOUNT = 0    
BEGIN        
INSERT INTO cabal_last_login_character         
(UserNum, LastLoginChar, CharSlotOrder, WorldAuthKey)        
VALUES        
 @[I][B][URL="http://forum.ragezone.com/members/1335.html"]user[/URL][/B][/I]NUM, 0, 0, @[I][B][URL="http://forum.ragezone.com/members/2000206772.html"]World[/URL][/B][/I]AuthKey)    
END
inside dbo.cabal_get_character

and add the query above below it. Run query to save the stored procedure

Even the player received GM buff in Channel 1,2,3, once he joined war lobby or TG, the buff will be automatically removed.

Hope it helps
-M
 
Newbie Spellweaver
Joined
Mar 27, 2022
Messages
65
Reaction score
7
Hello,

I want to share one query for all of you. Was looking on ragezone and couldnt find the query to disable gm buff in Nation War. Original query was shared by W3rnis. I added another line to disable the buff in nation war.

GM buff used in this tutorial is for Blessing Lv.3
Code:
BEGIN
   IF ((@CH_LEV < 201) AND (@CH_WORLDIDX != 15 | 16))
        BEGIN
              SET @GMBuff = 0xCE01000001000000FD4E3200BDD02C00
        END
   IF ((@CH_LEV < 201) AND (@CH_WORLDIDX = 15 | 16))
        BEGIN
             SET @GMBuff = 0x
        END
END

Find this
Code:
UPDATE cabal_last_login_character    
SET worldAuthKey = @[I][B][URL="http://forum.ragezone.com/members/2000206772.html"]World[/URL][/B][/I]AuthKey    
WHERE UserNum = @[I][B][URL="http://forum.ragezone.com/members/1335.html"]user[/URL][/B][/I]NUM    
IF @@ROWCOUNT = 0    
BEGIN        
INSERT INTO cabal_last_login_character         
(UserNum, LastLoginChar, CharSlotOrder, WorldAuthKey)        
VALUES        
 @[I][B][URL="http://forum.ragezone.com/members/1335.html"]user[/URL][/B][/I]NUM, 0, 0, @[I][B][URL="http://forum.ragezone.com/members/2000206772.html"]World[/URL][/B][/I]AuthKey)    
END
inside dbo.cabal_get_character

and add the query above below it. Run query to save the stored procedure

Even the player received GM buff in Channel 1,2,3, once he joined war lobby or TG, the buff will be automatically removed.

Hope it helps
-M

how about other buff and where ican find the code for each buff
 
Last edited:
Back
Top