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
EC basic support
Author Message
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #27
EC basic support
About the say/unicode/blahblah issue: i downloaded the latest sphere svn build and the text encoding for speech is not ascii anymore but unicode.
So, i looked for the differences from the speech (visualized correctly, in yellow) and the SAYU command related packets:

Speech ("test")
Code:
AE 00 3A 00 00 1F 64 03
DB 00 00 34 00 03 00 00
00 00 61 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 74 00 65 00 73 00 74
00 00

SAYU (".sayu test")
Code:
AE 00 3A 00 00 1F 64 03
DB 03 03 B2 00 03 00 00
00 00 61 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 74 00 65 00 73 00 74
00 00

The main differences i noticed are:
Speech -> "mode" byte: 00
Speech -> "color" word: 00 34
SAYU -> "color" word: 03 B2
SAYU -> "mode" byte: 03 which is, huh? i don't find it in the packet guide.
The modes which i found are:
(0x00 = say, 0x01 = system, 0x02 = emote, 0x06 = label, 0x07 = focus, 0x08 = whipser, 0x09 = yell, 0x10 = spell, 0x13 = guild, 0x14 = alliance, 0x15 = GM, 0xC0 = encoded commands)

Is this useful?


EDIT: a question, it might not be a problem but is just to have a clearer vision.
In order to have a visual effect, i use the c0 packet, and it works:
sendpacket 0c0 02 D(00) D(00) W(i_fire_column) W(<p.x>) W(<p.y>) B(<p.z>) w(0) w(0) b(0) 00 b(16) w(00) 00 00 d(04) d(1)
The last dword is the render (though i don't see this in any packet guide, if i don't write it the client would block), the penultimate dword is the color.
Why with spyuo i see the render as a byte instead of a dword?
Code:
C0 02 00 00 00 00 00 00
00 00 37 09 09 B9 02 0D
00 00 00 00 00 00 00 10
00 00 00 00 00 00 00 04
00 00 00 01
If i use
sendpacket 0c0 02 D(00) D(00) W(i_fire_column) W(<p.x>) W(<p.y>) B(<p.z>) w(0) w(0) b(0) 00 b(16) w(00) 00 00 d(04) 01
treating the render as a byte, client freezes. Same happens omitting the render.

Re-EDIT: oh, nothing, it is just because the most significant byte is on the right
(This post was last modified: 03-18-2014 05:33 PM by karma.)
03-18-2014 06:45 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
EC basic support - karma - 01-12-2014, 06:35 AM
RE: EC basic support - Khaos - 01-13-2014, 08:59 AM
RE: EC basic support - karma - 01-14-2014, 07:47 AM
RE: EC basic support - karma - 01-19-2014, 07:28 AM
RE: EC basic support - karma - 01-26-2014, 11:53 PM
RE: EC basic support - Ben - 01-27-2014, 12:57 AM
RE: EC basic support - karma - 01-27-2014, 01:00 AM
RE: EC basic support - karma - 02-13-2014, 11:56 PM
RE: EC basic support - karma - 03-16-2014, 05:32 AM
RE: EC basic support - Ben - 03-16-2014, 06:47 AM
RE: EC basic support - karma - 03-16-2014, 07:22 AM
RE: EC basic support - XuN - 03-17-2014, 04:32 AM
RE: EC basic support - karma - 03-17-2014, 04:53 AM
RE: EC basic support - XuN - 03-17-2014, 06:34 AM
RE: EC basic support - karma - 03-17-2014, 06:45 AM
RE: EC basic support - XuN - 03-17-2014, 07:24 AM
RE: EC basic support - karma - 03-17-2014, 07:35 AM
RE: EC basic support - XuN - 03-17-2014, 07:59 AM
RE: EC basic support - Feeh - 03-17-2014, 09:10 AM
RE: EC basic support - karma - 03-17-2014, 08:04 AM
RE: EC basic support - XuN - 03-17-2014, 08:22 AM
RE: EC basic support - XuN - 03-17-2014, 07:32 PM
RE: EC basic support - karma - 03-18-2014, 12:38 AM
RE: EC basic support - Feeh - 03-18-2014, 02:53 AM
RE: EC basic support - karma - 03-18-2014, 03:03 AM
RE: EC basic support - XuN - 03-19-2014, 09:13 AM
RE: EC basic support - Feeh - 03-20-2014, 03:59 AM
RE: EC basic support - XuN - 03-18-2014, 03:51 AM
EC basic support - karma - 03-18-2014 06:45 AM
RE: EC basic support - XuN - 03-18-2014, 07:41 AM
RE: EC basic support - karma - 03-18-2014, 07:43 AM
EC basic support - karma - 04-19-2014, 11:04 PM
EC basic support - karma - 04-20-2014, 04:35 AM
RE: EC basic support - karma - 04-22-2014, 10:42 PM
RE: EC basic support - XuN - 03-27-2015, 03:40 AM
RE: EC basic support - Coruja - 03-27-2015, 08:16 AM
RE: EC basic support - XuN - 03-27-2015, 05:56 PM
RE: EC basic support - Coruja - 03-28-2015, 04:26 AM
RE: EC basic support - XuN - 03-28-2015, 06:19 AM

Forum Jump:


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