Riding skill, steed info

06/20/2012 06:06 Zeroxelli#16
Interesting.. One of the attribute amounts for the gear in whole or the steed itself is over the max. What data are you sending in your packets for the steed exactly?

Edit: Actually, that means that the information attribute for the item tooltip is too large or negative.
06/20/2012 06:16 .Kinshi#17
Quote:
Originally Posted by Zeroxelli View Post
Interesting.. One of the attribute amounts for the gear in whole or the steed itself is over the max. What data are you sending in your packets for the steed exactly?

Edit: Actually, that means that the information attribute for the item tooltip is too large or negative.
This sends the item info for the steed.
Code:
54 00 F0 03 09 99 98 00 E0 93 04 00 64 00 64 00             T...........d.d.
01 00 0C 00 2F F2 A2 00 00 00 00 00 64 00 00 00             ..../.......d...
00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00                                                 ....
06/20/2012 06:27 Zeroxelli#18
Quote:
Originally Posted by .Kinshi View Post
This sends the item info for the steed.
Code:
54 00 F0 03 09 99 98 00 E0 93 04 00 64 00 64 00             T...........d.d.
01 00 0C 00 2F F2 A2 00 00 00 00 00 64 00 00 00             ..../.......d...
00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00                                                 ....
This is the output of a PHP script I wrote up real quick:
Code:
Length: 84
Type: 1008
UniqueID: 10000649
StaticID: 300000
Dura: 100
MaxDura: 100
CreationType: 1
Location: 12
Steed Info: 10678831
SocA: 0
SocB: 0
SpecialType: 100
Plus: 12
Bless: 0
Free: 0
Enchant: 0
Locked: 0
Color: 5
Progress: 0
Is that all correct?

SpecialType and Position are definitely correct. I dunno about Color being 5. Not sure about the SteedInfo part, that's steed collor/tali progress right?
06/20/2012 06:39 .Kinshi#19
Quote:
Originally Posted by Zeroxelli View Post
This is the output of a PHP script I wrote up real quick:
Code:
Length: 84
Type: 1008
UniqueID: 10000649
StaticID: 300000
Dura: 100
MaxDura: 100
CreationType: 1
Location: 12
SpecialType: 162
SocA: 0
SocB: 0
Plus: 100
Bless: 0
Free: 0
Enchant: 0
Locked: 0
Color: 0
Progress: 0
Is that all correct?
No sir.
Code:
Length: 84
Type: 1008
UniqueID: 10000649
StaticID: 300000
Dura: 100
MaxDura: 100
CreationType: 1
Location: 12
Progress: 10678831
Plus: 12
The item packet:
Code:
Size: 84
Type: 1008
UInt32 Identifier - 4
UInt32 ItemID - 8
UInt16 Durability - 12
UInt16 MaxDurability - 14
ItemCreateType CreationType - 16
ItemPos Position - 18
UInt32 SocketProgress - 20
Byte Socket1 - 24
Byte Socket2 - 25
ItemEffect Effect - 28
Byte Plus - 33
Byte Bless - 34
Boolean Bound - 35
Byte Enchant - 36
Boolean Suspicious - 45
Boolean Locked - 46
ItemColor Color - 48
UInt32 ComposistionProgress - 52
Boolean Inscribed - 56
UInt32 TimeLeft - 60
UInt16 Amount - 64

EDIT:
Here's a comparison between what I'm sending for the steed, and what real conquer is sending. (Real one is a +3 steed, mine is a +12)

Real:
Code:
44 00 F0 03 5B 34 33 16 E0 93 04 00 64 00 64 00 
01 00 0C 00 FF 00 96 00 00 00 00 00 00 00 00 00 
00 03 96 00 00 00 00 00 FF 00 00 00 00 00 01 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
01 00 00 00
Mine:
Code:
54 00 F0 03 09 99 98 00 E0 93 04 00 64 00 64 00 
01 00 0C 00 2F F2 A2 00 00 00 00 00 64 00 00 00 
00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00
06/20/2012 06:40 Zeroxelli#20
Yeah, I forgot to update my offsets for the newer patch. I edited my post a few minutes ago. As far as the steed color/progress goes, if that is progress, reduce it to 0 and do the same for plus. Does that help any?

Edit: My scripts output for your real packet:

Code:
Length: 68
Type: 1008
UniqueID: 372454491
StaticID: 300000
Dura: 100
MaxDura: 100
CreationType: 1
Location: 12
Steed Info: 9830655
SocA: 0
SocB: 0
SpecialType: 0
Plus: 3
Bless: 150
Free: 0
Enchant: 0
Locked: 1
Color: 0
Progress: 0
Notice Bless = 150 and Color = 0? Also, SpecialType of 0. That's certainly odd.
06/20/2012 06:50 .Kinshi#21
Still crashes.

Code:
44 00 F0 03 09 99 98 00 E0 93 04 00 64 00 64 00             D...........d.d.
01 00 0C 00 2F F2 A2 00 00 00 00 00 64 00 00 00             ..../.......d...
00 03 96 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             ................
01 00 00 00                                                 ....
Edit: Changed to +3 to match.
06/20/2012 06:52 Zeroxelli#22
Code:
Length: 68
Type: 1008
UniqueID: 10000649
StaticID: 300000
Dura: 100
MaxDura: 100
CreationType: 1
Location: 12
Steed Info: 10678831
SocA: 0
SocB: 0
SpecialType: 100
Plus: 12
Bless: 150
Free: 0
Enchant: 0
Locked: 0
Color: 0
Progress: 0
Try setting SpecialType aka RebornEffect to 0, as in my last post. Also look at the difference in the SteedInfo (i.e socket progess?)
06/20/2012 06:56 .Kinshi#23
No dice :(

Code:
44 00 F0 03 09 99 98 00 E0 93 04 00 64 00 64 00             D...........d.d.
01 00 0C 00 FF 00 96 00 00 00 00 00 00 00 00 00             ................
00 03 96 00 00 00 00 00 FF 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
01 00 00 00                                                 ....
Do you know what offset 40 is?
06/20/2012 07:05 Zeroxelli#24
Hmm.. I believe it's one of the text labels. Albetros has it set as "GreenText" if that means anything?

Edit: Gotta be off to bed, 4 hours until I have to be up so people can work on my back yard lol. Here's the PHP script I wrote so you can convert your packet on the fly:

PHP Code:
<?php
    
// Your servers packet
    
$packet_1008="44-00-F0-03-09-99-98-00-E0-93-04-00-64-00-64-00-01-00-0C-00-FF-00-96-00-00-00-00-00-00-00-00-00-00-03-96-00-00-00-00-00-FF-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-01-00-00-00";
    
    
// Note, packets should always be in BYTE form, with each byte separated by a hyphen.
    
$bytes explode('-'$packet_1008);
    
    class 
PacketParser
    
{
        public static function 
ReadByte($bytes$pos)
        {
            return (
count($bytes) >= $pos hexdec($bytes[$pos]) : null);
        }
        
        public static function 
ReadUInt16($bytes$pos)
        {
            if (
count($bytes) < $pos 2)
            {
                return 
null;
            }
            
$return "";
            for (
$x 1$x >= 0; --$x)
            {
                
$return .= $bytes[$pos+$x];
            }
            return 
hexdec($return);
        }
        
        public static function 
ReadUInt32($bytes$pos)
        {
            if (
count($bytes) < $pos 4)
            {
                return 
null;
            }
            
$return "";
            for (
$x 3$x >= 0; --$x)
            {
                
$return .= $bytes[$pos+$x];
            }
            return 
hexdec($return);
        }
        
        public static function 
ReadUInt64($bytes$pos)
        {
            if (
count($bytes) < $pos 2)
            {
                return 
null;
            }
            
$return "";
            for (
$x 5$x >= 0; --$x)
            {
                
$return .= $bytes[$pos+$x];
            }
            return 
hexdec($return);
        }
    }
    
    echo 
"Length: ".PacketParser::ReadUInt16($bytes0)."\n";
    echo 
"Type: ".PacketParser::ReadUInt16($bytes2)."\n";
    echo 
"UniqueID: ".PacketParser::ReadUInt32($bytes4)."\n";
    echo 
"StaticID: ".PacketParser::ReadUInt32($bytes8)."\n";
    echo 
"Dura: ".PacketParser::ReadUInt16($bytes12)."\n";
    echo 
"MaxDura: ".PacketParser::ReadUInt16($bytes14)."\n";
    echo 
"CreationType: ".PacketParser::ReadUInt16($bytes16)."\n";
    echo 
"Location: ".PacketParser::ReadUInt16($bytes18)."\n";
    echo 
"Steed Info: ".PacketParser::ReadUInt32($bytes20)."\n"// Apparently "Socket Progress" for talismans, Unknown for steeds.
    
echo "SocA: ".PacketParser::ReadByte($bytes24)."\n";
    echo 
"SocB: ".PacketParser::ReadByte($bytes25)."\n";
    echo 
"SpecialType: ".PacketParser::ReadByte($bytes28)."\n"// Aka ItemEffect or RebornEffect
    
echo "Plus: ".PacketParser::ReadByte($bytes33)."\n";
    echo 
"Bless: ".PacketParser::ReadByte($bytes34)."\n";
    echo 
"Free: ".PacketParser::ReadByte($bytes35)."\n"// Aka Bound
    
echo "Enchant: ".PacketParser::ReadByte($bytes36)."\n";
    echo 
"Suspicious: ".PacketParser::ReadByte($bytes45)."\n";
    echo 
"Locked: ".PacketParser::ReadByte($bytes46)."\n";
    echo 
"Color: ".PacketParser::ReadByte($bytes48)."\n";
    echo 
"Progress: ".PacketParser::ReadUInt32($bytes52)."\n";
    echo 
"Inscribed: ".PacketParser::ReadByte($bytes56)."\n";
    echo 
"Lock Timer: ".PacketParser::ReadUInt32($bytes60)."\n";
    echo 
"Amount: ".PacketParser::ReadUInt16($bytes64)."\n";
?>
Good luck!
06/20/2012 07:32 .Kinshi#25
Thanks buddy.
06/20/2012 11:56 { Angelius }#26
I'm telling you its not a packet that's crashing the client. and if you wanna make sure.... then send the 1008 packet with no attribute other then the UID + ID of the steed.
06/20/2012 14:59 Zeroxelli#27
So you're saying that it is the client? Or that it's the attributes being sent of the steed?
06/20/2012 18:37 nTL3fTy#28
Quote:
Originally Posted by Zeroxelli View Post
Hmm.. I believe it's one of the text labels. Albetros has it set as "GreenText" if that means anything?
GreenText is a short name we gave it, based on what it looks like in the client. In actuality, it represents something called 'anti monster' -- which basically means you deal double damage to certain monsters of that type. TQ has yet to fully implement this system in the client because the text that appears in the item's tooltip is green, and untranslated.
06/20/2012 22:37 Zeroxelli#29
Quote:
Originally Posted by nTL3fTy View Post
GreenText is a short name we gave it, based on what it looks like in the client. In actuality, it represents something called 'anti monster' -- which basically means you deal double damage to certain monsters of that type. TQ has yet to fully implement this system in the client because the text that appears in the item's tooltip is green, and untranslated.
Ah alright. Conquer is full of unimplemented code.