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 1, 2  Next
 
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 May 12, 2006 1:50 am    Post subject: Out of sequence target cursor issue Reply with quote

As reported, posting here for reference for us devs.

Out of sequence target cursors are reported, when the client sends a target response without the server requesting one. One way to cause this, is an EUO script that sends last target info without any target cursor request by the server. Should simply ignore instances where the cursor id is not real and in que for the client. Or maybe just change it for this case to "Client sending target cursor without target request." Should help in showing bad macros and such, and help admins decipher issues that could be scripts, or macroers.

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 247

PostPosted: Mon Jul 17, 2006 11:38 am    Post subject: Reply with quote

Code:
12-28 Racalac
    Added: IP & Account logging information for unexpected and out-of-sequence messages.


According to the issue. Is it possible to perhaps start a script in future cores instead of logging. Because if a lot of users work with wrong delays in their scripts it could spam the pol.log.
With a script you can give out a warning to the player to optimize his script and if he ignores that 1-2 times more simple do a disconnect via the script. Something like that Wink

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Tue Jul 18, 2006 7:51 am    Post subject: Reply with quote

An 'UnexpectedMessageScript' with a character ref and messageType as parms would be so awsome.

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 247

PostPosted: Tue Jul 18, 2006 6:33 pm    Post subject: Reply with quote

If Repsak's suggestion could also be done it would be awesome. Just fishing these damn cheaters Wink

Author Message
CWO



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

PostPosted: Tue Jul 18, 2006 6:38 pm    Post subject: Reply with quote

its not always cheating, especially targeting. Its just people cant script macros to wait for a target and they send the target before they get it. POL ignores this and spams a message usually.

Author Message
MuadDib
POL Developer


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

PostPosted: Tue Jul 18, 2006 10:21 pm    Post subject: Reply with quote

Actually CWO, I suspect it may be just the opposite. Their macro requests to many target cursors (aka, requests a new one via skill use etc, before replying to the last one sent). That is what causes a lot of the problems.

In 097 Beta, this was addressed. Now, if the client already has a cursor in que, it errors out with Target() and TargetCoordinates() when they are called IMMEDIATELY, with an error struct. That keeps the new script sane, and keeps the existing request un-molested.

Author Message
CWO



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

PostPosted: Wed Jul 19, 2006 1:15 am    Post subject: Reply with quote

Well I've seen the problem many times on my shard with many different people and every single case was macros not waiting for their targets and just doing it many times to achieve the fastest possible timing.

Ex: Buttons in the skill menu that of course have a delay. They have their macros hit the button and target about 5 times a second even though it'll work once every 5 or so seconds because they wanted to get the fastest possible shot at it without the lag (stupid? very... but not actually cheating.) Although I implemented the packethook that will eventually kick them for making such a careless macro.

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 247

PostPosted: Wed Jul 19, 2006 5:48 am    Post subject: Reply with quote

Sorry cheating was the wrong word in the case of the target cursor issue.
Mostly its simply the lack of knowledge e.g. of Easy UO. They get a script somewhere and don't know how that work. If there is a "wait 11" instead of a "wait 11s" inside they simply don't see the problem even if they always get a "you are already doing ...." message Wink

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

PostPosted: Wed Jul 19, 2006 8:08 am    Post subject: Reply with quote

Every time I have experienced this, was due to an crappy macro, as CWO described.
Basically I’m tied of telling players not to use the “force target” in easyUO, but to use the in game macro ‘WaitForTarg’ and then select their target.
Personally I would just disconnect client every time I got such an error, because it would make them thing twice when making a macro, but regardless of what action we want, the script ‘UnexpectedMessageScript’ solution could satisfy everyone.

Maybe this post should be moved to pol97 feature suggestions.

Author Message
CWO



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

PostPosted: Wed Jul 19, 2006 9:25 am    Post subject: Reply with quote

Ya but EUO has a very nice command - Target.

Target 10s

will wait for the target for up to 10 seconds. If the target comes sooner, it will stop waiting and go on (which would probably be Last Target if you're a good enough EUO scripter)

Author Message
ultek



Joined: 25 Jul 2006
Posts: 15

PostPosted: Tue Jan 09, 2007 11:54 am    Post subject: Reply with quote

Any hints how to handle this?

Author Message
MuadDib
POL Developer


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

PostPosted: Tue Jan 09, 2007 12:32 pm    Post subject: Reply with quote

Upgrade to 097? Very Happy

A lot of targeting has been rewritten in 097 now. Check out the core-changes for 097.

Author Message
ultek



Joined: 25 Jul 2006
Posts: 15

PostPosted: Thu Jan 11, 2007 6:29 am    Post subject: Reply with quote

MuadDib wrote:
Upgrade to 097? Very Happy

A lot of targeting has been rewritten in 097 now. Check out the core-changes for 097.


In core-changes I found only this:

Code:
12-28 Racalac
    Added: IP & Account logging information for unexpected and out-of-sequence messages.


I search every .src and .inc in distro for "out-of-sequnce" but have found nothing. So i dunno how to handle this... Smile

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Thu Jan 11, 2007 7:06 pm    Post subject: Reply with quote

ultek wrote:
In core-changes I found only this:

Code:
12-28 Racalac
    Added: IP & Account logging information for unexpected and out-of-sequence messages.


I search every .src and .inc in distro for "out-of-sequnce" but have found nothing. So i dunno how to handle this... Smile

that is why it is called core-changes...

Shinigami

Author Message
Repsak



Joined: 05 Feb 2006
Posts: 91
Location: Denmark

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

Was the IP just added to the message in the console, or has somethign like the described below been implemented?
Repsak wrote:
An 'UnexpectedMessageScript' with a character ref and messageType as parms would be so awsome.

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 1, 2  Next
Page 1 of 2

 




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