FIXED Casting

Dan

Staff Member
Administrator
Game Master
We will be apply the changes here shortly. We will leave this bug report open for people to report back, over the period of a month, how spell casting "feels" now compared to how it should.

Just remember opinions need to be actually tested on UO. We are not trying to emulate the cast times of other free shards.
 

Dan

Staff Member
Administrator
Game Master
At maxed out FC/FCR, the casting time is:

Casting time = 0.25 sec * (Circle+1)

(0.5 sec for First Circle, 2.25 sec for Eighth Circle)

Is this basically where we are at now? I know this post is older.
 
OP
N

Ni'kard

Novice II
Supporter
Edit ; Casting feels slow by a smidge in a side by side comparison.

Using groups of spells to directly compare doesnt work due to inherent anti scripting code on OSI. My results in testing only proved that I occasionally miss a perfectly timed target by hand. ... Thinking of other ways to test.
 
Last edited:

Dexter

Staff Member
Administrator
Game Master
%sample is sample size
%spell is spell. Refer to this page for spell: http://wiki.easyuo.com/index.php?title=Event_Macro

Code:
set #lpc 5000
set %spell 0
set %sample 10

set %counter 0

for %i 1 %sample
{
repeat
   if #targcurs = 1
    set #targcurs 0
until #mana = #maxmana

  set %btime #scnt2
  event macro 15 %spell
  repeat
  until #mana <> #maxmana || #targcurs = 1
  set %etime #scnt2
  set %ttime %etime - %btime
 
  event sysmessage %ttime
  set %counter %counter + ( %ttime * 100 )
 
  wait 50
}

set %avg %counter / %sample

display %avg
halt
 

Dexter

Staff Member
Administrator
Game Master
So I'm running a stopwatch built into the code, basically starts right as the spell begins casting, and stops at the end of the sequence. The Timer priority for the spell timer is 50 milliseconds, so basically, the spell can be up to 50ms late, or 1/20th of a second. At timer priority set to every tick (no delay in tick checks), its hitting from on time to +4 ms, which would be virtually unnoticeable. 50ms would be pretty unnoticeable, as well.

Which brings us to EA. After running 100 circle 1 spells, the average cast time is 1.012 seconds. The problem is, some of the spells show (EasyUO program) as a .9 second cast time. Unfortunately, the highest resolution time EasyUO shows is tenths of a second, so that .9 could easily be .99, or just .90. Thats a big difference. Now, with EA, I'm seeing .9 to 1.1 second cast time, so that could be 1.1 second, or 2 seconds difference. None the less, I am almost certainly convinced EA slightly lowers the cast time (which would explain the .9 second cast time, even with 74+ ping), maybe to make up time for their own timer resolution.
 

Dan

Staff Member
Administrator
Game Master
Alright as of right now Dexter's most recent spell casting changes are now live on Heritage.

Please test them out and let us know what you think.
 

Dexter

Staff Member
Administrator
Game Master
I’d also like to point out, from feedback on the RunUO forums, we may never achieve EA times 100%. They may use another system outside of simply sending a target after the delay.
 
  • Like
Reactions: Dan
OP
N

Ni'kard

Novice II
Supporter
Id recommend a once over on chiv spells, after trying my sampire for the first time they also seem to be way too fast.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
20 hours
Players Online
13
Houses
851
Vendors
297
Gold
5,011,470,607gp
Top Bottom