View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000035Sanny Builder[All Projects] compilerpublic2015-11-11 18:552015-11-13 01:11
Reporterloominati 
Assigned ToSeemann 
PrioritynormalSeverityminorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version3.2.2 
Target VersionFixed in Version 
Summary0000035: Compiler creates wrong bytecode
DescriptionI am using 0618 opcode in my script:

0618: assign_actor $PLAYER_ACTOR to_AS_pack 18@

Compiler translates it into "18 06 02 08 00 03 12 00" but it is wrong because $PLAYER_ACTOR is "02 0C 00", not "02 08 00". So the game crashes when this code is executed.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000033)
Seemann (administrator)
2015-11-13 01:10

Check out CustomVariables.ini which location is defined in the SB\data\games.xml file for your edit mode. The compiler uses ids for the custom variables from this file. If there's no $PLAYER_ACTOR then the compiler compiles it to the first available index, not necessarily 0x0C ($3).

- Issue History
Date Modified Username Field Change
2015-11-11 18:55 loominati New Issue
2015-11-11 18:55 loominati Status new => assigned
2015-11-11 18:55 loominati Assigned To => Seemann
2015-11-13 01:10 Seemann Note Added: 0000033
2015-11-13 01:11 Seemann Status assigned => feedback


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker