zanpei Posted October 26, 2011 Share Posted October 26, 2011 Here is some log, I wonder why the "unknown opcode" will appear. 13:41:05 Interpreter::run(): unknown opcode 0xfeeefeee 13:41:05 Stack dump: 13:41:05 0x0000: Trigger 693ED4A0 (6:1:1202) 13:41:05 0x0001: ChangeState 42F5BEB0 (9:1:1202) 13:41:05 0x0002: int: 1 13:41:05 0x0003: int: -1 13:41:05 0x0004: int: -1 13:41:05 0x0005: int: -1 13:41:05 0x0006: int: 33 13:41:05 0x0007: int: 0 13:41:05 0x0008: string: "" 13:41:05 0x0009: int: 1 13:41:05 0x000a: int: -1 13:41:05 0x000b: int: -1 13:41:05 0x000c: int: -1 13:41:05 0x000d: StateDef 69E62290 (15:59:948) 13:41:05 0x000e: int: 1 13:41:05 0x000f: int: -1 13:41:05 0x0010: int: -1 13:41:05 0x0011: int: -1 13:41:05 0x0012: int: 36 13:41:05 0x0013: int: 35 13:41:05 0x0014: vec3: 0 0 0 13:41:05 0x0015: Node 00000000 external (54:-1:-1) 13:41:05 0x0016: int: 0 13:41:05 0x0017: int: 0 13:41:05 0x0018: int: 0 13:41:05 0x0019: float: 0 13:41:05 0x001a: float: 0 13:41:05 0x001b: float: 0 13:41:05 0x001c: float: 0 13:41:05 0x001d: int: 0 13:41:05 0x001e: int: 0 13:41:05 0x001f: float: 0 13:41:05 0x0020: float: 0 13:41:05 0x0021: string: "" 13:41:05 0x0022: string: "" 13:41:05 0x0023: Npc 6A48F860 (16:21:228) 13:41:05 0x0024: int: 1 13:41:05 0x0025: int: -1 13:41:05 0x0026: int: -1 13:41:05 0x0027: int: -1 13:41:05 0x0028: int: 38 13:41:05 0x0029: int: 37 13:41:05 0x002a: string: "" 13:41:05 0x002b: int: 0 13:41:05 0x002c: string: "" 13:41:05 0x002d: int: 0 13:41:05 0x002e: string: "" 13:41:05 0x002f: string: "" 13:41:05 0x0030: mat4: (1 0 0 0) (0 1 0 0) (0 0 1 0) (0 0 0 1) 13:41:05 0x0031: float: 0 13:41:05 0x0032: float: 0 13:41:05 0x0033: string: "" 13:41:05 0x0034: int: 0 13:41:05 0x0035: StateDef 00000000 (15:-1:-1) 13:41:05 0x0036: AnimationData 00000000 (2:-1:-1) 13:41:05 0x0037: ObjectMeshSkinned 00000000 external (83:-1:-1) 13:41:05 0x0038: AnimationBlender 00000000 (4:-1:-1) 13:41:06 Call stack: 13:41:06 00: 0x00003d49 StateController::Load() 13:41:06 01: 0x00003fbf StateDef::Load() 13:41:06 02: 0x000046a0 Npc::LoadStates() 13:41:06 03: 0x0000439a Npc::Load() 13:41:06 04: 0x00004941 NpcManager::create() 13:41:06 05: 0x00006beb Level::LoadLevel() 13:41:06 06: 0x00008ff7 GameLogic::onWorldLoaded() 13:41:06 Disassemble: 13:41:06 0x00003d9d: popv trigger 13:41:06 0x00003d9f: pushv trigger 13:41:06 0x00003da1: calluaf mTriggers.append 13:41:06 0x00003da4: pop Link to comment
frustum Posted October 26, 2011 Share Posted October 26, 2011 Please upgrade the engine. You use outdated script system. Link to comment
zanpei Posted October 26, 2011 Author Share Posted October 26, 2011 my project has been completed neerly, and the engine which i used is the oldest version, new version engine(the material) is not compatible with that. Link to comment
zanpei Posted October 27, 2011 Author Share Posted October 27, 2011 Please upgrade the engine. You use outdated script system. can you give me a better suggestion? Link to comment
frustum Posted October 27, 2011 Share Posted October 27, 2011 You should merge your version of engine with current script interpreter. There were several bugs in script system which was fixed. Link to comment
zanpei Posted October 27, 2011 Author Share Posted October 27, 2011 You should merge your version of engine with current script interpreter. There were several bugs in script system which was fixed. where were the bugs, and how to merge, new version engien is too different from the old one, I try to copy the "interpreter.cpp" from new engine to the old one, and correct some grammar error, but it did not work. Link to comment
frustum Posted October 27, 2011 Share Posted October 27, 2011 Replace entirely interpreter directory. And try to build the engine. Link to comment
Recommended Posts