Get into the heart of the matter

, I made New Opcode With C++ It is an experimental just Such us "Nop" Message Txt , but While I start game is will crashed

Is there a problem at here . .
>> CLEO_SDK\demo_plugins\IntOperations
| CODE |
------------------------define OPCODE------------------------ #define OPCODE_INTOP_AUT 0x0B17 ------------------------Opcode Result------------------------- OpcodeResult WINAPI Script_IntOp_AUT(CScriptThread* thread); -------------------------register opcodes------------------- if (CLEO_RegisterOpcode(OPCODE_INTOP_AUT, &Script_IntOp_AUT)) result = TRUE; -------------------------Opcode Format-------------------- OpcodeResult WINAPI Script_IntOp_SHL(CScriptThread* thread) /**************************************************************** Opcode Format 0B17=1, Author %1h% ****************************************************************/ { int a = CLEO_GetIntOpcodeParam(thread); int b = CLEO_GetIntOpcodeParam(thread);
CLEO_SetIntOpcodeParam(thread, a << b);
return OR_CONTINUE; }
|
Here I Put My Opcode in { IntOperations.cleo opcodes }
data\sa\SASCM.INI
| CODE |
; IntOperations.cleo opcodes 0B17=1, Author %1h% |
the Last stage I Put The Opcode in opcode.txt
| CODE |
0B17: Author "USERNAME" |
Help Pleasse