Yet another question

12/11/2011 01:09 12k#1
Anyone have the 5017 whisper string packet done? Not sure what order the strings need to be in.
12/11/2011 01:48 pro4never#2
trial and error... It's not exactly complicated. Get a working packet and then fill in the strings via command and check the results!
12/11/2011 02:08 12k#3
well ive been trying different spots for the string, my other string packets are working, so i know its not it. but im getting no result anywhere in the whisper box. Nothing is displaying, not even level, spouse or anything. Even tried to do 1, 2, 3, 4, 5, 6, through each spot, to maybe determine it that way.
12/11/2011 07:46 Spirited#4
I got it done. Here's the packet sniff of it from a more current patch that I used to figure out the one in 5017:

Code:
Packet 202 -- TQClient -- Length: 38 | 46 -- Type: 1015
[000]26 [001]00 [002]F7 [003]03 [004]B9 [005]12 [006]00 [007]00 [008]03 [009]01 [010]19 [011]4C [012]65 [013]67 [014]65 [015]6E ;   & ÷¹  Legen
[016]64 [017]73 [018]20 [019]41 [020]62 [021]79 [022]73 [023]73 [024]61 [025]6C [026]4B [027]69 [028]6C [029]6C [030]65 [031]72 ;   ds AbyssalKiller
[032]20 [033]31 [034]20 [035]38 [036]00 [037]00 [038]54 [039]51 [040]53 [041]65 [042]72 [043]76 [044]65 [045]72       ;    1 8  TQServer
12/11/2011 08:46 12k#5
thats the guild name string packet is it not? :\
12/11/2011 09:10 Spirited#6
Quote:
Originally Posted by 12k View Post
thats the guild name string packet is it not? :\
Is it? I didn't really look. I saw something like it and said "that must be it".
It's pretty easy to just guess it. Sorry that I don't have a sniff for u... i must of deleted it.

Edit: HA! Found it.
Code:
Packet 203 -- TQClient -- Length: 43 | 51 -- Type: 1015
[000]2B [001]00 [002]F7 [003]03 [004]B3 [005]11 [006]00 [007]00 [008]15 [009]01 [010]1E [011]46 [012]72 [013]61 [014]63 [015]74 ;   + ÷³  Fract
[016]69 [017]6F [018]6E [019]4F [020]66 [021]57 [022]61 [023]72 [024]20 [025]62 [026]6C [027]61 [028]63 [029]6B [030]64 [031]61 ;   ionOfWar blackda
[032]76 [033]69 [034]6C [035]32 [036]20 [037]31 [038]20 [039]33 [040]34 [041]00 [042]00 [043]54 [044]51 [045]53 [046]65 [047]72 ;   vil2 1 34  TQSer
[048]76 [049]65 [050]72                                        ;   ver
12/11/2011 09:19 12k#7
shweeet, thanks a lot.

#edit, that one is guild enemies ^^ haha
12/11/2011 09:34 Spirited#8
Quote:
Originally Posted by 12k View Post
shweeet, thanks a lot.

#edit, that one is guild enemies ^^ haha
fuuu. What's the subtype? I deleted all of my old sources so I don't have the reference anymore.
12/11/2011 09:42 12k#9
haha, its 0x1A (26) as far as i know, atleast thats what im using. And its on offset 8
12/11/2011 19:30 Spirited#10
HA HA?!
Code:
Packet Nr 596. Client -> Server, Length : 33, PacketType: 1015
19 00 F7 03 00 00 00 00 1A 01 0C 53 70 69 72 69      ; ÷    Spiri
74 65 64 54 65 73 74 00 00 54 51 43 6C 69 65 6E      ;tedTest  TQClien
74                                                   ;t
That's subtype 1A.
12/11/2011 22:59 12k#11
Hmm, interesting. I thought it contained things like level, battelpower, spouse, etc. So it just contains character name?
12/11/2011 23:38 Spirited#12
Quote:
Originally Posted by 12k View Post
Hmm, interesting. I thought it contained things like level, battelpower, spouse, etc. So it just contains character name?
That ... might be the offline one...
You get the basic string though. Just guess around with it.
12/12/2011 00:22 CptSky#13
Code:
                    case Action.Bavarder:
                        {
                            Player Target = null;
                            foreach (Player Player in World.AllPlayers.Values)
                            {
                                if (Player.Name == Params[0])
                                {
                                    Target = Player;
                                    break;
                                }
                            }

                            if (Target == null)
                                return;

                            String SynName = "";
                            if (Target.Syndicate != null)
                                SynName = Target.Syndicate.Name;

                            String TargetInfo = 
                                Target.UniqId + " " + 
                                Target.Level + " " + 
                                Target.Potency + " #" + 
                                SynName + " #" + 
                                "Family" + " " +
                                Target.Spouse + " " + 
                                Target.Nobility.Rank + " " + 
                                (Target.IsMan() ? (Byte)1 : (Byte)0);

                            Client.Send(MsgName.Create(0, new String[] { Target.Name, TargetInfo }, Action.Bavarder));
                            break;
                        }
12/12/2011 01:04 12k#14
bah still no luck at all. Wondering if im simply sending the wrong packet. How does it know what avatar to set the chat window to? o.o, shouldnt that be in the string.
12/12/2011 01:44 Spirited#15
Quote:
Originally Posted by 12k View Post
bah still no luck at all. Wondering if im simply sending the wrong packet. How does it know what avatar to set the chat window to? o.o, shouldnt that be in the string.
I haven't coded the message system in a long time... but i'm pretty sure that the meshes are sent in the message packet (1004).