Google-Code-Fork / tibiaapi

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

DrawIcon crashing client on ItemCount parameter #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Draw an icon with an ItemCount bigger than 1.

What is the expected output? What do you see instead?
It should draw the icon but instead it crashes the client. If you set the
ItemCount to 0 or 1, however, it displays correctly.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by joebingham07@gmail.com on 9 Oct 2009 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by joebingham07@gmail.com on 10 Nov 2009 at 7:06

GoogleCodeExporter commented 9 years ago
This is still valid. Here's my error.txt:

+---------------------------------------------------------------
Debug Assertion 8.53 Graphics.cpp 1465
Tue Nov 10 23:23:50 2009
Graphic Engine: DirectX9 (2)
Operating System: Windows 7 Ultimate Edition 32 Bit in USA
Processor: AMD Sempron 3100+
Video Card: ATI Radeon 9600 SERI
Last Packet Types: 106 161 160 180 210 141 130 120 120 120
Last Packet: 106 103 125 195 125 007 255 097 000 000 000 000 000 240 000 000
Player Position: [32098,32189,6]
Player Name: Bingalingam (Calmera)
Player Action: 055 052 046 053 052 046 050 050 048 046 052 049 058 055 049 055 
049
Player.cpp 361: exception occurred, reason:
Player.cpp 465: exception occurred, reason:
Control.cpp 1719: exception occurred (MessageType: 0 MaW: 1FE3FE8 MoW: 0), 
reason:
Control.cpp 1714: exception occurred, reason:
Control.cpp 386: exception occurred (Force?1:0 = 0), reason:
Graphics.cpp 1183: exception occurred (Debug: 10 Type: 3031 PX: 2 PY: 1 Ph: 1 
W: 1 H:
1 L: 1 X: 2 Y: 2 L: 2 S: 411), reason:
Graphics.cpp 1465: assertion failed (FontNumber = 215) (NumberOfFonts = 4), 
reason:
In(FontNumber,1,NumberOfFonts)
----------------------------------------------------------------

Using this code:

client.Icon.AddIcon(1000, 10, 10, 32, 3031, 2, Constants.ClientFont.Normal,
Color.AliceBlue)

If anyone understands the error file I'm sure it tells you what the problem is. 
If no
one gets to it I'll look into it tomorrow.

Original comment by joebingham07@gmail.com on 11 Nov 2009 at 4:27

GoogleCodeExporter commented 9 years ago
Fixed in r764.

Original comment by joebingham07@gmail.com on 12 Nov 2009 at 5:26