Character...tried to drop item..., but had not gotten an item.

Here you can post threads specific to the current release of the core (099)

Moderator: POL Developer

Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: Character...tried to drop item..., but had not gotten an item.

Post by Harley »

Skinny, I'm not tested with 0xFFF.... yet.
Tomorrow I'll test it with players, 'cause I don't know how to repeat their flood.

And second packet hook I'll test too.
I'll write all results! Thanks for your attention!

*Updated in 20 minutes*

Guys, tell me please, can packet hook start some script?
I have an idea to make kicklist system and share it.
Fox example, after theese lines:

Code: Select all

	var badrange := GetObjProperty(who, "BadRange");
	if (!badrange)
		SetObjProperty(who, "BadRange", 1);
		return 0;
	elseif(badrange > 5)
		var bad_rng_count := GetObjProperty( who, "BadRangeCount" );
		if( !bad_rng_count )
			SetObjProperty(who, "BadRangeCount", 1);
		elseif( bad_rng_count > 10 )
Starts this line:
Start_Script(":kicklist:ext/kicking", { who, bad_rng_count });

Question is, can we add this into packethook?

With best regards!
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Character...tried to drop item..., but had not gotten an item.

Post by CWO »

Yes you can start_script from a packethook but I believe the packethook will complete before the script is allowed to run since packethooks always run critical.
Post Reply