Monster Spawn Error

01/27/2018 11:11 .S0urce#1
Hey Leute,
bei mir spawnen keine Mobs mehr der Worldserver läd nur um die 2500 Objekte.Normalerweise haben die ja um die 15000+ Objekte.
Das einzige was ich an Errors bekomme sind "respawn7 Not Found" .
Daraufhin habe ich die RGN Datei zum Testen mal ausgetausch bekomme aber trotzdem den gleichen Error wieder.
Vielleicht habt ihr ja ne Idee was ich falsch mache.

MfG
01/28/2018 07:56 Zeljian#2
Quote:
Originally Posted by .S0urce View Post
Hey Leute,
bei mir spawnen keine Mobs mehr der Worldserver läd nur um die 2500 Objekte.Normalerweise haben die ja um die 15000+ Objekte.
Das einzige was ich an Errors bekomme sind "respawn7 Not Found" .
Daraufhin habe ich die RGN Datei zum Testen mal ausgetausch bekomme aber trotzdem den gleichen Error wieder.
Vielleicht habt ihr ja ne Idee was ich falsch mache.

MfG
OPEN
ProjectCmn.h
PHP Code:
const int    MAX_PROPMOVER =        2000
to
PHP Code:
const int    MAX_PROPMOVER =        15000
01/29/2018 00:02 xTwiLightx#3
Quote:
Originally Posted by Zeljian View Post
OPEN
ProjectCmn.h
PHP Code:
const int    MAX_PROPMOVER =        2000
to
PHP Code:
const int    MAX_PROPMOVER =        15000
Isn't that just the max. Mover ID?
01/29/2018 01:08 Zeljian#4
Because of that my object can respown 35k plus
01/29/2018 10:43 xTwiLightx#5
Quote:
Originally Posted by Zeljian View Post
Because of that my object can respown 35k plus
I've checked the code, MAX_PROPMOVER is only used in a few places of the CProject class:

Code:
if( i<0 || i>=MAX_PROPMOVER )
		{
			Error( "too many mover property or invalid id:%d FILE:%s\n", i, lpszFileName );
			return FALSE;
		}
Code:
m_pPropMover	= new MoverProp[MAX_PROPMOVER];
So nope, nothing will change for him.
I guess that there is some kind of limitation inside the WorldServer, CWorld or World definitions/constants in general, so you'll better check there.

@OP der respawn7 fehler scheint aus der CScript Klasse zu kommen - du hast da irgendwie nen Syntaxfehler drin. Eventuell hast du etwas in der CWorld Klasse (WorldFile.cpp) geändert, weshalb du nun zu viele oder zu wenig Parameter einliest?
01/29/2018 18:58 .S0urce#6
Quote:
Originally Posted by xTwiLightx View Post
I've checked the code, MAX_PROPMOVER is only used in a few places of the CProject class:

Code:
if( i<0 || i>=MAX_PROPMOVER )
		{
			Error( "too many mover property or invalid id:%d FILE:%s\n", i, lpszFileName );
			return FALSE;
		}
Code:
m_pPropMover	= new MoverProp[MAX_PROPMOVER];
So nope, nothing will change for him.
I guess that there is some kind of limitation inside the WorldServer, CWorld or World definitions/constants in general, so you'll better check there.

@OP der respawn7 fehler scheint aus der CScript Klasse zu kommen - du hast da irgendwie nen Syntaxfehler drin. Eventuell hast du etwas in der CWorld Klasse (WorldFile.cpp) geändert, weshalb du nun zu viele oder zu wenig Parameter einliest?
Hatte ein Fehler in CWorld::ReadRespawn gehabt. Monster spawnen ohne Probleme jetzt und der "respawn 7 " Error ist auch weg.Trotzdem danke dir

MfG