Misc. 099 Core w/ Distro errors

Here you can post threads specific to the current release of the core (099)
Post Reply
Ullr
New User
Posts: 7
Joined: Mon Mar 17, 2014 8:57 pm

Misc. 099 Core w/ Distro errors

Post by Ullr »

So I downloaded the 099 Core that was provided here. And I used the SVN to download the current Distro. I had to make some of the (what appear to be) usual changes in regards to 0x1FF0 and it's brother, and the wrestling item number. Etc.. Etc... I'm at the point where everything compiles. With my client (Installed Mondain's Legacy, same version that was used in Edwards Zulu/Fantasia servers, with the same Zulu release files (.muls, etc..). I get to where it's going to create my character and then it does this on the server console;

[02/17 23:43:10] Client#3: Exception in i/o thread: Assertion Failed: equippable( item ) (It is impossible to equip Item with ObjType 0xe75), mobile\charactr.cpp, line 1617! (checkpoint=4)
[02/17 23:43:10] Client#3 (192.168.69.1): disconnected (account admin)

0xE75 is the backpack, specifically;

Code: Select all

Container 0xE75
{
	//MainStuff
	Name		BackPackCore
	Name		BackPack2
	Desc		back pack

	//ContainerInfo
	Gump		0x3C
	MinX		44
	MaxX		143
	MinY		65
	MaxY		140
	MaxItems        100
	MaxWeight       0

	//Booleans
	Lockable	0
	Movable		1
	RequiresAttention	0

	//Scripts
	Script		container/use
	CanInsertScript	container/canInsert
	CanRemoveScript	container/canRemove
	OnInsertScript	container/onInsert
	OnRemoveScript	container/onRemove
	DestroyScript	container/canDestroy
	CreateScript	container/onCreate
}
The client gets hung out to dry. Doesn't crash the client, just sit's there doing "Creating Account..". I looked at I've gone and modified the starting locations as well, thinking maybe that was the problem, but alas, no victory.

I'm also seeing lots of these types of errors in the logs as well;
[02/17 23:47:11] Assertion Failed: param < fparams.size(), executor.cpp, line 269
[02/17 23:47:11] Forcing stack backtrace.
[02/17 23:47:11]
##########################################################
Current StackBackTrace
[02/17 23:47:11] failed to load needed functions for backtrace!
[02/17 23:47:11] Exception in: pkg/systems/accounts/hook/onLogin.ecl PC=979: Assertion Failed: param < fparams.size(), executor.cpp, line 269
PC < nLines: (980 < 1018)

Not just the onLogin hook;
[02/17 23:42:29] Exception in: pkg/systems/spawnSystem/initializer/firstRun.ecl PC=146: Assertion Failed: param < fparams.size(), executor.cpp, line 269
[02/17 23:30:20] Exception in: pkg/items/spawnpoints/spawnpointManager.ecl PC=717: Assertion Failed: param < fparams.size(), executor.cpp, line 269
PC < nLines: (718 < 943)
[02/17 23:30:19] Exception in: pkg/items/moongates/systemMoonGate/moongateInit.ecl PC=383: Assertion Failed: param < fparams.size(), executor.cpp, line 269
PC < nLines: (384 < 1505)
[02/17 23:30:19] Exception in: pkg/items/teleporters/initializer/firstRun.ecl PC=307: Assertion Failed: param < fparams.size(), executor.cpp, line 269
PC < nLines: (308 < 697)

Can't find executor.cpp so I can't find why line 269 cause's all these packages to throw errors. Lead's me to believe it's internal to the UO client.

Any assistance greatly appreciated... I'm looking forward to the launch of our new project!
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Misc. 099 Core w/ Distro errors

Post by blckfire »

I'm having the same errors. Can anyone shed some light over this?
Nando
POL Developer
Posts: 284
Joined: Wed Sep 17, 2008 6:53 pm

Re: Misc. 099 Core w/ Distro errors

Post by Nando »

I'm not familiar with the 099 distro, but...

1) Make sure that you ran uoconvert to get the tile information, *maybe* the backpack is getting the wrong tile

2) The .em files in the modules/ folder should be the same version as the pol.exe you got. Move them there and recompile all scripts. This looks like scripts that were compiled with the wrong number of parameters.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Misc. 099 Core w/ Distro errors

Post by blckfire »

You just need to turn off Assertions.

Code: Select all

#
# EnableAssertions: For Linux build only, enable core assertions
#
EnableAssertions=0
Normally it comes set to 1 in the POL99 Distro.

I discovered this later today.
Nando
POL Developer
Posts: 284
Joined: Wed Sep 17, 2008 6:53 pm

Re: Misc. 099 Core w/ Distro errors

Post by Nando »

Assertions mean that something is wrong. If you turn them off, you're just masking the effects but not solving the problem. ;)
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Misc. 099 Core w/ Distro errors

Post by blckfire »

I posted a bug report on this.

After I turned on Assertions the only difference was that the server didn't crash. The problem remains the same. I was able to trace it to a core function from the basic module, SplitWords().

You can read more about it here http://forums.polserver.com/viewtopic.php?f=46&t=5527
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Misc. 099 Core w/ Distro errors

Post by blckfire »

This was solved by placing an "include/packets" in the season system.
Post Reply