Packet hooks and maximum call depth

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Packet hooks and maximum call depth

Post by OldnGrey »

I have noticed that many of the published packethooks and even the corpse methods in the distro share a common problem.

They are all prone to "xxxx exceeded maximum call depth" console messages.

The party system, the playerstatus etc all suffer from this. Am I right in assuming they are caused by them running critical and so many people makng calls on them? Increasing the depth from 100 to 200 has no effect.

Is there any way I can get around this?
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

No reply to this one? It's getting to be a bit of a nuisance
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

Do you use the latest version of what tekproxy posted here. I didn't test it myself, cause i've rewritten it in another way and don't know yet if these error messages occur in my version. I had this problem too. But tekproxy said in this topic that this error is solved for his newest version. I didn't test it myself. Always difficult to find willing test persons to test such complex systems.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

The package available for download in the scripts forum is the same version and identical code as the one in the 097 distro. I am using the distro version.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

Actually I've noticed a LOT of published method scripts and packethooks causing maximum call depth console spam.

Anything that cannot be finished in lightning fast time would appear to be problems.

So yes, the published party system is still a problem for me.
Post Reply