Posted By: Ch40zzC0d3r
proc_kill - Functions with different parameters - 10/21/13 16:57
Hello
Today I noticed a little bug while using proc_kill.
First of all, heres the code:
If Im going to stop test(1) everything works fine, but proc_kill wont stop test(1, 5).
Would be awesome to see a workarround because I know it will take some time till you release the new 3DGS version
EDIT: I found a verrrry crappy workarround: Displaying the address and calculate the difference (would be here 0x163)
This will ONLY stop the second function. Please fix this soon
Today I noticed a little bug while using proc_kill.
First of all, heres the code:
Code:
function test(var lol) { while(1) { DEBUG_VAR(1, 20); wait(1); } } function test(var lol, var tes) { while(1) { DEBUG_VAR(1, 20); wait(1); } } ... test(1, 5); //test(1); proc_kill((void*)test);
If Im going to stop test(1) everything works fine, but proc_kill wont stop test(1, 5).
Would be awesome to see a workarround because I know it will take some time till you release the new 3DGS version
EDIT: I found a verrrry crappy workarround: Displaying the address and calculate the difference (would be here 0x163)
Code:
proc_kill((void*)(test + 0x163));
This will ONLY stop the second function. Please fix this soon