Adding GM_Event and Prison to database
I'm trying to add GM_Event and Prison areas to the database, but I have a problem.
The RegionID of GM_Event is 32791 and Prison is 32791.
However, the wRegionID in _RefRegion type is a smallint, therefore the value can't be higher than 32767
What's the solution for that?
Re: Adding GM_Event and Prison to database
lol what? stupid joymax...
but erm, few solutions...
1) Change the ids to lower ids
or
2) Change the field from smallint -> int (unconfirmed if it will even work)!
I could help with the database... its not as simple as changing data types, there are stored procedures to be changed too.
Good luck!
Re: Adding GM_Event and Prison to database
I recreated the _RefRegion table, changed smallint to int at wRegionID.
Also changed smallint->int in stored procedures, but I'm getting Local overlap exception CServerProcess error.
Nvm, it wasn't so hard :P
http://i41.tinypic.com/35avqk6.jpg
Re: Adding GM_Event and Prison to database
nice work, is that prison or GM? I have never seen either
Re: Adding GM_Event and Prison to database
Okay, its just client side show wrong info in minimap
Re: Adding GM_Event and Prison to database
Quote:
Originally Posted by
MadStalin
its jangan b2 cave u failed bro
Check the GM console
Area: ?? GM ??
jangan cave b2 looks very similar though.
here's a screen about prison:
http://i44.tinypic.com/f3fl12.jpg
and another screen of the gm room:
http://i41.tinypic.com/fbds0p.jpg
Re: Adding GM_Event and Prison to database
"_GetLatestRegionID"
"_InsertRefRegion"
I have to change this procedurs right ?
I get the overlap error too :S
Re: Adding GM_Event and Prison to database
Quote:
Originally Posted by
benike1
I recreated the _RefRegion table, changed smallint to int at wRegionID.
Also changed smallint->int in stored procedures, but I'm getting Local overlap exception CServerProcess error.
Nvm, it wasn't so hard :P
http://i41.tinypic.com/35avqk6.jpg
So how exactly did you do it, so that you didn't get a Local overlap exception CServerProcess error ?
Re: Adding GM_Event and Prison to database
I just get DC when I try and move their it shows up just for a second then I get DC and back to where I was cant find any error though in logs?
Re: Adding GM_Event and Prison to database
Quote:
Originally Posted by
benike1
I recreated the _RefRegion table, changed smallint to int at wRegionID.
Also changed smallint->int in stored procedures, but I'm getting Local overlap exception CServerProcess error.
Nvm, it wasn't so hard :P
Can you share how you fixed "Local overlap exception CServerProcess error", I got same error
Re: Adding GM_Event and Prison to database
Whats the point of the gm room?
Re: Adding GM_Event and Prison to database
GM room is something like GM island in world of warcraft I guess.
And people get teleported to the prison when they break the rules.
Re: Adding GM_Event and Prison to database
I was thinking of making a low ram usage server for PVP only, GM room only region active, spawn some npcs in there, and pvp enable the whole area. could be awesome.
Re: Adding GM_Event and Prison to database
hey whot add and post in war
Re: Adding GM_Event and Prison to database
Can somone post a fixx for the CS overlap problem ?
Re: Adding GM_Event and Prison to database
warp code for GM ROOM ? or just coordinates please, thanks in advance