TRIGGER for MapCodes

Mythic Archon
Joined
May 24, 2007
Messages
719
Reaction score
71
seeing the TRIGGER of Honor Chumpy on 10, I swapped a few things to work on mapcodes


Execute in GameDB

CREATE TRIGGER [MapCodes] ON [dbo].[cabal_character_table]
FOR UPDATE
AS
begin
update cabal_character_table set WarpBField = '1023' where WarpBField < '1023'
update cabal_character_table set MapsBField = '1023' where MapsBField < '1023'
end



worked perfectly for me, if someone finds something wrong answer
 
Cypher is right, this is a bad idea. I don't even like the idea of using it for honour but it is the best workaround we have for the cheat engine exploit for now.

Firstly a new char will not see the mapcodes right away they will have to create the char, log out and then back in to see the maps. Test it and you will see what i mean.

Also the bigger your char table gets the slower your DB will perform as Cypher says. Your DB will be constantly re-updating all of the chars every time any char entry is updated and eventually it will bring the DB server to it's knees. The better way of doing this is in the new char templates as the chars will be created with all maps and won't need to re-login and the DB will not be constantly re-updating vales as once you have the mapcodes it isn't like the value changes.

http://forum.ragezone.com/f460/how-to-auto-give-new-players-premium-stats-mapcodes-etc-452000/
 
Upvote 0
Ok chumpywumpy, i use a job for map codes, this job:

update dbo.cabal_character_table set WarpBfield=1023, MapsBField=1023

but is give-me a lag.
I see your post and try to do it
 
Upvote 0
yes, i go make this, the table account.dbo.cabal_newCharData_table stores different types of character to be created, if i change the camps 'WarpBfield' and 'MapsBField' to 1023 in account.dbo.cabal_newCharData_table all players receive all map codes and no have lag, i'm correct?


EDIT

I was thinking, I can also put honor 10 with this method correct?
 
Upvote 0
Man, why my Char SP never increasing. I mean how to make SP auto-increase as I see on any PServer. Please help Me.

Is this working?

update dbo.cabal_newCharData_table set WarpBField='511', MapsBField='511', Alz='1000000', SP='5000', Lev='10'
 
Upvote 0
Back