Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Issue with CreatureSpeechPacket #218

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempting to read the text from a CreatureSpeechPacket

What is the expected output? What do you see instead?
I expected to see the text that is displayed from the CreatureSpeechPacket when 
it's received.

What version of the product are you using? On what operating system?
Latest, Win7 home premium

Please provide any additional information below.
It doesn't seem to contain the information which is quite important. It doesn't 
contain the text which is displayed, which is what I'm looking for! Not sure if 
it's a bug or what but it's certainly annoying.

So you know my last issue has already been resolved, sorry for that one.

Original issue reported on code.google.com by XtrmJosh on 21 Sep 2010 at 10:04

GoogleCodeExporter commented 9 years ago
I seen your other issue was resolved by updating to the latest revision. Did 
that also fix this issue, or are you still getting it?

Original comment by joebingham07@gmail.com on 21 Sep 2010 at 5:46

GoogleCodeExporter commented 9 years ago
CreatureSpeechPacket.Message should contain the text which is displayed.

Original comment by ian320 on 21 Sep 2010 at 10:20

GoogleCodeExporter commented 9 years ago
I'm not entirely sure if the "bug" is actually a bug.

I'm making the assumption that the writing which appears when you roll a dice 
is in the CreatureSpeechPacket, since it's like Creature Speech (orange, 
appears only in game window, etc...)

Basically the thread was called when I rolled the dice, so it obviously 
recognises this packet, but I tried a few things to display the "Message" 
within the packet, but it didn't display anything. I've attempted to use 
MsgBox, Client.Console.Say, TextBox1.Text, and used 
CreatureSpeechPacket.ToString, none of these worked they just returned 
absolutely no values.

Original comment by XtrmJosh on 22 Sep 2010 at 1:18

GoogleCodeExporter commented 9 years ago
Note: I used CreatureSpeechPacket.Message and 
CreatureSpeechPacket.Message.ToString.

Original comment by XtrmJosh on 22 Sep 2010 at 1:26

GoogleCodeExporter commented 9 years ago
CreatureSpeechPacket only comes from other players and NPCs when they speak. 
What you need to look at is the AnimatedTextPacket.

Original comment by joebingham07@gmail.com on 22 Sep 2010 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by joebingham07@gmail.com on 29 Sep 2010 at 4:44