The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Old weapon swing system
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #9
RE: Old weapon swing system
I'll explain what's on with these packets here:

-Before SA the client used this packet to create animations for characters: http://ruosi.org/packetguide/index.xml#old6E . As you can read it says 'no longer used since SA'.
-After SA the packet used is this : http://ruosi.org/packetguide/index.xml#serverE2 . But the problem with this one is that it doesnt accept delay (Yes, they wrote Delay as last Byte but it's not working at delay, i'll explain later) and some animations arent fired in certain circumstances, for example humans/elfs riding are not showing hit animations using the classic client.

What I did?
-I'm using the old packet for humans and elfs not using Enhanced Client.
-I'm using the old packet for all characters using bow and salute animations, new one doesnt display them when mounted or hovering.
-I used the old animation function to convert on the air the old animations to the new packet and, if proceed, send it.

Why does not work this Delay?
The new packet is composed of 3 parts: Animation ID, SubAction and Variation (and not Delay). What does Variation mean? in some cases (most of them Enhanced Client related) are using different effect for the displayed animation. As general example the Death animation is using ID=3 (Death), SubAction=0, Variation=0/1 (0 means die forward and 1 die backward, or viceversa... don't remember right now). Using the Enhanced Client and casting some hit animation means different blow types.

For testing these animations I used this simple function:
Code:
[function test]
sendpacket 0e2 D<uid> W<dargv0> W<qval <dargv1>?<dargv1>:0> <qval <argv2>?<dargv2>:0>

.test 0,8 will show ID=Attack,Subaction=Pierce Weapon 2H

Used this list as guide too: http://img546.imageshack.us/img546/5439/...table2.png

12 and 13 are unknown, however they are described as StartCombat and EndCombat by RUOSI, they works in EC only too.
04-27-2014 03:10 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes XuN's post
Post Reply 


Messages In This Thread
Old weapon swing system - xfolder - 04-23-2014, 04:24 AM
RE: Old weapon swing system - Avatar - 04-23-2014, 11:27 AM
RE: Old weapon swing system - xfolder - 04-23-2014, 07:36 PM
RE: Old weapon swing system - Avatar - 04-23-2014, 10:16 PM
RE: Old weapon swing system - xfolder - 04-23-2014, 11:15 PM
RE: Old weapon swing system - Avatar - 04-23-2014, 11:25 PM
RE: Old weapon swing system - XuN - 04-24-2014, 12:23 AM
RE: Old weapon swing system - Alaric - 04-27-2014, 02:45 AM
RE: Old weapon swing system - XuN - 04-27-2014 03:10 AM
RE: Old weapon swing system - Alaric - 04-27-2014, 05:20 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)