![]() ![]() |
![]() 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. |
![]() 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. |
![]() Post #3 | |
The New Guy! Posts: 2 Joined: 29-September 13 ![]() | I think the codes would be easier to explain. LOL |
![]() 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. |
![]() ![]() |