SRL Archive - Help and Support

strange errors


Shuttleu

2012-01-23 04:45:45

for a few weeks now my script has been getting some strange errors and i cannot figure out what the problem is, i cannot see anything wrong with the script in terms of the code

the script in question is Vine Vanquisher

now i have had numerous reports of 2 errors

the first one is
Error: Exception: "" is an invalid integer at line 1377

and that line is
ThreadSafeCall('InitForm', v);

for some reason this keep popping up randomly for random people for no reason at all

the second one is a "Access Violation" and a popup pops up saying to click ok or cancel

now from what i can work out it has something to do with encrypting the users nick, but the encrypt function is used to encrypt usernames and passwords before hand so i cant seem to understand why it pops up on the nick

also if you get the error and choose to continue the user keeps getting the error. however if the user restarts simba then they dont seem to get the error

~shut

EDIT: but the access violation isnt limited to just the script, i created a small script to create the ini for people who were having problems with the form and some of them get a access violation with that, but not everybody does, once again it seems to be with the encrypt function

bg5

2012-01-23 07:59:36

I can simulate error this way:
a:=strtoint('not integer'); 

@down

First one.

Error: Exception: "not integer" is an invalid integer at line 50

But string to int conversion has nothing to do with ThreadSafeCall:confused:?

Shuttleu

2012-01-23 08:11:47

From: beginner5
I can simulate error this way:
a:=strtoint('not integer'); 


which error is that to, because if its the first one then thats not the problem

if its the second one, then i dont convert it to a int because its the persons nick so its a string

~shut

Kyle Undefined

2012-01-23 08:51:35

Are they running Simba as an Admin? I've seen some funky errors when you don't.