Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Invalid _MyWeapon value crashes the game
New Topic New Poll Post Reply
Poster Message
kieranmillar
Level: Smitemaster
Rank Points: 2670
Registered: 07-11-2014
IP: Logged
icon Invalid _MyWeapon value crashes the game (0)  
Step 1: Create a character, make him look like a guard.

Step 2: Set his _MyWeapon variable to 6.

Step 3: Test the room.

Step 4: AAAAIIIIEEEEEE!!!! Also, you get this error:
Assertion error in line 1783 of .\TileImageCalcs.cpp: "!"Invalid weapon type""
Assertion error in line 573 of .\BitmapManager.cpp: "wTileImageNo < this->wNextCustomTileNo"
Assertion error in line 4439 of .\BitmapManager.cpp: "pCustomTiles"
Assertion error in line 800 of .\BitmapManager.cpp: "pMaskSurface"


P.S. Why does a value of -2 give you an unarmed guard, but not -1?
02-27-2015 at 07:48 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged
icon Re: Invalid _MyWeapon value crashes the game (0)  
Fixed for 5.0.2, the invalid _MyWeapon values are now silently ignored.

____________________________
My website | Facebook | Twitter
03-02-2015 at 06:43 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
bomber50
Level: Smitemaster
Rank Points: 872
Registered: 09-18-2006
IP: Logged
icon Re: Invalid _MyWeapon value crashes the game (0)  
I get no crashes/beeps/assertion errors in 5.0.2 for invalid weapon values.
07-26-2015 at 07:01 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Invalid _MyWeapon value crashes the game
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.