PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Out of sequence target cursor issue
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096
Display posts from previous:   

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Fri Jan 12, 2007 4:53 am    Post subject: Reply with quote

It's just informative. The best way to battle this, is using #Cprop checks for checking if client has existing cursor, removed after the cursor call in a script.

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Fri Jan 12, 2007 6:53 am    Post subject: Reply with quote

That would require that we/I add that in every script using Target(), polluting the script base with something basically unnecessarily.

The hook feature would allow us/me to handle this problem in a single script, without polluting the already existing scripts base

I don’t know how demanding it is to make a hook for this in the core, but there is no doubt a hook is the best solution. Just give us a character ref and messageType.

Author Message
CWO



Joined: 04 Feb 2006
Posts: 699
Location: Chicago, IL USA

PostPosted: Fri Jan 12, 2007 8:19 am    Post subject: Reply with quote

Thats how I handle it right now, a packethook. I set it to set a prop on someone when either a regular target packet or a Multi placement packet is sent and check for that prop and erase it on the target return packet. If the prop isnt there when they return target, then I send them a warning about targeting when not having a target and stop the packet from going to the core.

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Fri Jan 12, 2007 9:04 am    Post subject: Reply with quote

Of course, why did'nt I think of that, to hook the Target cursor.

Thanks.

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096 All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty