Node Posted October 6, 2012 Share Posted October 6, 2012 Does anybody know the reason for this UE and how to get rid of it? It's bugging my script. Link to comment Share on other sites More sharing options...
TheGodfather. Posted October 6, 2012 Share Posted October 6, 2012 Do you recently added any mods ??or cleo/asi plugins ??If yes just remove them & try ..I hope that solves your prob. Link to comment Share on other sites More sharing options...
Node Posted October 6, 2012 Author Share Posted October 6, 2012 Do you recently added any mods ??or cleo/asi plugins ??If yes just remove them & try ..I hope that solves your prob. It's nothing to do with added mods, I'm running a clean, stripped VC and the only mod is my CLEO script, I know it has something to do with my script but everything's coded correctly Link to comment Share on other sites More sharing options...
TheGodfather. Posted October 6, 2012 Share Posted October 6, 2012 I m 100% sure it isn't the prob. with the .cs file ... Check you must have some asi/.cleo scripts... Anyways if you think your CLEO Scipt is the prob. then why don't you remove it & check whether it works or not.. Link to comment Share on other sites More sharing options...
Node Posted October 6, 2012 Author Share Posted October 6, 2012 I m 100% sure it isn't the prob. with the .cs file ...Check you must have some asi/.cleo scripts... Anyways if you think your CLEO Scipt is the prob. then why don't you remove it & check whether it works or not.. Because my script is a mission and the error only occurs in the mission at certain points Link to comment Share on other sites More sharing options...
Bad.boy! Posted October 6, 2012 Share Posted October 6, 2012 I haven't got VC installed right now, but you could check where the game crashes with Link2012's scmlog. Link to comment Share on other sites More sharing options...
Node Posted October 6, 2012 Author Share Posted October 6, 2012 (edited) I haven't got VC installed right now, but you could check where the game crashes with Link2012's scmlog. Do you have a link? EDIT: Found it, I'll try it out, thanks! EDIT 2: Using the scmlog I managed to find that the last thing that runs before the game crashes is: 04116287: 0045 This isn't an opcode or a line in the script? So I still don't know whats causing it? Edited October 6, 2012 by The_Sorrow Link to comment Share on other sites More sharing options...
Deji Posted October 6, 2012 Share Posted October 6, 2012 If it's an inexistant or non-sensical opcode, it usually means that the opcode before it has an incorrect number of parameters or incorrect param types. Oh, if only SB was typed Link to comment Share on other sites More sharing options...
Node Posted October 6, 2012 Author Share Posted October 6, 2012 After the crash this is what the scmlog provides now: ********************************************thread nonameLocal variables dump:0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 66 66********************************************00001258: 000000001260: 0101 get numeric params: 8 param 1 = 1256 param 2 = 1 param 3 = 16777218 param 4 = 0 param 5 = 1084227584 param 6 = 1084227584 param 7 = -402587646 param 8 = 0 Link to comment Share on other sites More sharing options...
Bad.boy! Posted October 6, 2012 Share Posted October 6, 2012 Post the script. I don't know what some variables represent in integers, but I suspect the 2nd and 4th parameter to be wrong. They have to be floats (usually a big number) or a variable (actors can always be divided by 8, but I don't know about normal vars). Link to comment Share on other sites More sharing options...
Link2012 Posted October 6, 2012 Share Posted October 6, 2012 The problem is within the actor handle, the handle is incorrect or something. .text:004630E0 038 mov ecx, ds:_PedPool; this.text:004630E6 038 push eax ; a2.text:004630E7 03C call CPool_CPed__AtHandle.text:004630EC 038 mov edx, eax.text:004630EE 038 mov al, [edx+3ACh] ; <<< ACCESS VIOLATION IS HERE! EDX DON'T HAVE A COOL POINTER TO A PED! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now