[Guide] Season3 Ep1 GS Freeze & Crash FIX

ReaL

New Member
Joined
Apr 13, 2008
Messages
1,244
Reaction score
656
Here's what i've found...
We are talking about the 1.00.16 GS (Season 3 Episode 1 files)!


1. Fixing the GS Freeze

1st of all, the GS freezes (stopes processing and players get disconnected) for about 15 minutes and then gets ok again... That's happening becouse of the logs, which the GS writes to the log files very fast, every one sec! Imagine 100 players leveling up, droping items, killing mobs or warping at the same time! The logs get to gigabytes and the GS freezes...

So, the fix:
* Backup the GameServer.exe, in case u fuck up something ^^
* Open up the original GameServer.exe with any Hex Editor
* Find all of those in ASCII search:
Code:
"Monster Item Drop"
"Item has disappeared"
"Experience"
"dur:"
*If u can't find some of them, don't worry, just remove the strings that u find! ;]*

* In the hex values change everything to '00' values (empty), even the %d , %s and the others... till u get to the already empty spaces ('00' values')!
Note, that the %d , %s.... are the pointers (C++) set to navigate to 'character name' 'exp' 'item serial' 'account', etc...
* Save the new GameServer.exe

That's it! Now your GS wont freeze anymore... (Still there are some logs, like the hacking logs, don't remove them, u need them! ;) )


2. Fixing the GS Crashes

GameServer.exe crashes often, not in some time, that's becouse some of the new Season3 NPCs are bugged (not 100% coded), so when somebody clicks on them (they are in devias, original MSB), the GS Crashes... The other thing, that GS Crashes from, is the 'Wizard's Ring' !

So, the fix:
* Backup MSB (MonsterSetBase.txt) , Items.txt and EventManagement.dat
* Open up MSB
The 1st codes of every spawn is the monster / NPC code, which u can find in Monster.txt, so the Season 3 NPCs Codes are:
Code:
380 ; 381 ; 382 ; 383 ; 384 ; 385 ; 404 ; 405 ; 406 ; 407 ; 408 ; 414 ; 372 ; 231 ; 236 (Golden Archer is bugged too...) ; 252 ; 258 ; 259 ; 373 ; 374 ; 375 ; 376 ; 377 ; 378 and 379
Find those numbers (they must be the 1st ones in the strings), and remove the whole strings, beggining with those numbers...
When done, save the new MSB and close it!

* Open up Items.txt
Find "Wizards Ring" , and the number, wright after the name of the item (the drop code) u must change to '0' or '500' (so it wont drop from monsters!) Save and close the file...
* Open EventManagement.dat
Remove the whole text in it, delete all things and paste the new strings:
Code:
//---------------------------------------------
// 
//---------------------------------------------
// EVENTOS:
//		0 = Invasion de Dragones Rojos
//		1 = Skeleton King Invasion
//		2 = Golden Invasion
//		3 = White Wizard Invasion
//---------------------------------------------

//	Event	Hour	Minutes
0

	// Golden Dragon
	2	0	0
	2	1	0
	2	2	0
	2	3	0
	2	4	0
	2	5	0
	2	6	0
	2	7	0
	2	8	0
	2	9	0
	2	10	0
	2	11	0
	2	12	0
	2	13	0
	2	14	0
	2	15	0
	2	16	0
	2	17	0
	2	18	0
	2	19	0
	2	20	0
	2	21	0
	2	22	0
	2	23	0
end
We have just remove the Event, from which falls the "Wizzards Ring"! So, save and close the new file...


That's all, now your GS wont crash! Note, that i host my server 4 weeks and there are no crashes...!

Credits:
- [DarksTeam] ReaL
 

EvoLuTioN

Active Member
Joined
May 3, 2008
Messages
815
Reaction score
164
Тва е ама много полезно мерси!
 

EminescuX

Active Member
Joined
Jun 15, 2008
Messages
236
Reaction score
36
ее много късно се сети да го сложиш :headbang:
 

EvoLuTioN

Active Member
Joined
May 3, 2008
Messages
815
Reaction score
164
Нали знаеш каквo казват "По добре късно от колкото никога" :d ;)
 

ReaL

New Member
Joined
Apr 13, 2008
Messages
1,244
Reaction score
656
Съжалявам, че толкова късно, но скоро го забелязах, докато учех сериозно Hexadecimal ;]
 

alians

New Member
Joined
Jun 4, 2008
Messages
11
Reaction score
7
Може ли да го преведеш и на Български моля :blush: