Target Packethook [0x6C] Bug fix POL096-2006-03-17 Core [Up]

Post your Custom Scripts or Packages.
Locked
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Target Packethook [0x6C] Bug fix POL096-2006-03-17 Core [Up]

Post by MontuZ »

Let's say, you are using a macro;
LastObject(Arrowshafts) / TargetLast(Feathers)
If the feathers do not exist, the server will crash.

This packethook fixes that little error.

I'm pretty sure tekproxy can ellaberate that better for me, lol. *hint-hint*

I've only been able to test this on POL096-2006-03-17 core. And without the packethook, server crashes.

Fixed targetcoord always returning 0. Please report any bugs I may have made, like that one. :o
Last edited by MontuZ on Tue Apr 25, 2006 8:00 am, edited 3 times in total.
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

As long as this forum doesn't have a word filter. 8) Thanks again. I'll be testing this a lot.
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

It works. Awesome.
Aeros
Journeyman Poster
Posts: 69
Joined: Mon Apr 24, 2006 10:56 am

Post by Aeros »

Am I doing something wrong.. since whenever I implement this packethook, TargetCoordinates stops working. I mean, it works, but it returns an array of trash coordinates (UC maybe?).
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

Aeros wrote:Am I doing something wrong.. since whenever I implement this packethook, TargetCoordinates stops working. I mean, it works, but it returns an array of trash coordinates (UC maybe?).
Download the new one(fixed it that little problem) I tested it out and it was working and not returning trash.
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

Just a note: this issue is fixed in the latest beta core. Thanks for the packet hook though. :)
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

Post by MontuZ »

Yeah, they can delete/lock the topic if it really matters. lol.
Locked