Jump to content

  •  

Photo
implemented

Modified .act no-delay issue

source

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1 Ind

Ind

    Hercules

  • Community Contributors
  • 847 posts

User's Awards

     

Posted 13 December 2011 - 07:52 PM

discussion thread for the bugreport:4249

This would be better suited to the RAthena Development board since we're going into the idea of new functionality, rather than a true software bug (the issue itself is a client exploit technically).

It happened a few complaints on my server on an issue. GRF, to edit. ACT skills of the players managed to remove the delay of the skills that had the file. ACT edited. I tested using the time. GRFEditado and time without using it. GRFEditado. Actually the delay is reduced even the low amount of SP faster.

PS: if you want to. GRFEditada only comment I send the link.

I imagine it'd take little effort to write an ACT parser to read the animation length for the damaged and skill-cast frames, and convert that into a separate database or as a new column in the skill_cast_db.txt, I'll see what I can muster up.



#2 K e o u g h

K e o u g h

    Mapper / Server Developer

  • Members
  • PipPipPipPip
  • 160 posts

Posted 14 December 2011 - 01:29 AM

this should be fixed! asap xD!

#3 GodLesZ

GodLesZ

    Poporing

  • Community Contributors
  • 106 posts

Posted 14 December 2011 - 02:57 AM


I imagine it'd take little effort to write an ACT parser to read the animation length for the damaged and skill-cast frames, and convert that into a separate database or as a new column in the skill_cast_db.txt, I'll see what I can muster up.


I've an act parser, using in my game which uses ragnarok file.
The format is quite known and it isent that hard to do something with it.

The real question is how should we use such a database?
I've heard about ressource hacks, but never thought about how they are working.
The main skill delay is handled on server-side using skill_cast_db.txt, so which delay will be reduced via act file edits?

#4 DevilEvil

DevilEvil

    ~~Handsome~Handsome~Spriter~~

  • Community Contributors
  • 688 posts

Posted 14 December 2011 - 03:14 AM

Animation delay? You can set in the act the time (ms) between each frame in the animation (action). But as far as I know, in Ragnarok there is no need for an animation to finish to start another animation.

#5 GodLesZ

GodLesZ

    Poporing

  • Community Contributors
  • 106 posts

Posted 14 December 2011 - 04:10 AM

Animation delay? You can set in the act the time (ms) between each frame in the animation (action). But as far as I know, in Ragnarok there is no need for an animation to finish to start another animation.


Yea, the delay beteen the animations as i said /no1
And this is the ressource hack. Setting all delays to 0 allows to spam some skills.
But how exactly dos it work? Because the delay beteen skill uses are server-side.

#6 Epoque

Epoque

    Santa Poring

  • Community Contributors
  • 93 posts

Posted 14 December 2011 - 05:39 AM

On some servers, it's possible to reduce after-cast delay enough to the point where it's practically 0. There are some skills which actually don't have a cool-down period but are maintained entirely by amotion. For instance, AC_DOUBLE (Double Strafe) has no cool-down period but relies on ASPD (subsequently amotion) to perform the skill fast enough. By editing the .act files to remove the sprite delay when casting, it becomes possible for the player to spam the skill endlessly at a stupid speed. I suppose the idea of this is to store the amotion values for each particular sprite (at a particular level of ASPD) to prevent this hack being usable.

Edit

After writing up a quick ACT parser to read the delay frames from ACT files, I have come to the conclusion that practically every job .act file has a 'delay' rate for attacking, skill attack 1 and skill attack 2 of '4.0' which is the standard default. What this means is that we just need to try and replicate the algorithm used by Gravity for calculating how long an animation plays for using amotion. If the algorithm in the source is the official formula then we should be able to manipulate that to add an amotion delay when using skills.

To download the parser I used when determining the values: http://www.epoque.ws/parser.zip

Just paste a list of <sprite id>_³².act files into the same directory that you run the script.




determination Hosted by SourceForge.net