Jun 1 2013, 02:41 PM Post #1 | |
The New Guy! Posts: 2 Joined: 1-June 13 | I downloaded spooky's scm hook to see how custom scm code injecting works, but i dont get it. i am interested in writing a simple cleo-like program to run my small scripts. i need an explanation to how to achieve this. not the code, just how scm hook manages to inject it. thanks. |
Jun 8 2013, 02:09 PM Post #2 | |
The New Guy! Posts: 2 Joined: 8-June 13 | I want this but it's pretty much hard to do so I quit. I wish you can accomplish it. |
Sep 30 2013, 04:50 AM Post #3 | |
The New Guy! Posts: 2 Joined: 29-September 13 | I think the codes would be easier to explain. LOL |
Nov 13 2013, 09:39 PM Post #4 | |
The New Guy! Posts: 2 Joined: 1-June 13 | if anyone interested; it starts when game is ready for script execution, and everytime game tries to execute a buffer (buffer may include opcodes more than one) it also executes program's custom code. it sets script_ip for game_script_thread class (custom buffer position minus game's scm base) and then calls process_one_command. |