SRL Archive - General

Problem with plugin.


Home

2011-04-15 03:58:00

Hello i get this error when using this plugin there is source too. Any ideas why.

access violation at address 00000000. Read of address 00000000
Plugin DLL and source: https://svn.freddy1990.com/scar_shellutils/

I have API Calls enabled.


Thanks!

~Home

nielsie95

2011-04-15 07:58:24

Official thread: http://forums.freddy1990.com/index.php/topic,4809.0.html

i luffs yeww

2011-04-15 08:21:30

From: nielsie95
Official thread: http://forums.freddy1990.com/index.php/topic,4809.0.html


Apparently Freddy made that for Home.

Brandon

2011-04-15 12:20:23

Hmm… nice try Freddy but thats a pretty badly coded scar plugin (Good attempt for the functions, which I must say is nice to have)..
That said, every programmer knows that when you get such an error, he is basically calling a pointer to something when its declared NULL..

Or he is calling a pointer to something when it doesnt even exist yet..

Or he just has a ridiculous stack overflow and decides to ignore it and compile the plugin anyway..

Check the code and see.. For some odd reason I cannot access any of the links above to check it =( Except for the thread which points me back to the same links above.. so yeah. Anyway as far as I know scar also has this problem on x64 machines..

i luffs yeww

2011-04-15 16:55:56

From: ggzz
Hmm… nice try Freddy but thats a pretty badly coded scar plugin (Good attempt for the functions, which I must say is nice to have)..
That said, every programmer knows that when you get such an error, he is basically calling a pointer to something when its declared NULL..

Or he is calling a pointer to something when it doesnt even exist yet..

Or he just has a ridiculous stack overflow and decides to ignore it and compile the plugin anyway..

Check the code and see.. For some odd reason I cannot access any of the links above to check it =( Except for the thread which points me back to the same links above.. so yeah. Anyway as far as I know scar also has this problem on x64 machines..


Wait, what?

Brandon

2011-04-15 17:39:51

From: i luffs yeww
Wait, what?


Read address 00000000 error is due to calling a pointer to an address when the pointer doesnt exist..

its like this:


int x;
int y;

int main()
{
x == *p; //de-reference
y == &p //pointer p
return 0;
}

U see that?? p isnt declared anywhere but yet Im trying to use the information it points to aka nothing!.. even if I do declare pointer p and I declare it as a NULL pointer and then FREE IT, and I decide to call it, I will get that error.. Basically there is no way for Home to use that plugin unless he fixes it himself or freddy fixes it.
IIRC, Jagex had this bullshit last week with the dungeoneering skill where they were calling pointers that didnt exist and when you went to the adventure log, it showed: "I have just leveled to 80 dungeoneering", "I have killed null null null null"..
That was the reason for the system update which fixed that.

check it out:

http://stackoverflow.com/questions/2237028/how-to-track-down-access-violation-at-address-00000000

i luffs yeww

2011-04-15 17:42:57

Lol oops. Thought I was in a different thread and you said that.. :p