John
04-01-2012, 08:32 AM
So I am redoing my gilded altar script, but i ran into a problem, i keep getting the error below, i did infact read the apparent fix in the other section but i do not understand it completely.
Error: Error: Exception: Access violation at line 101
When i press play it opens up smart then shows this error and stops.
Code:
program EvlinsGildedAltarReMade;
{$i srl/srl/misc/smart.simba}
{$i SRL\SRL.simba}
const
{______________________________Script Setup____________________________________}
//Player Setup
UserLogin = ''; //RuneScape Username
UserPassword = ''; //Runescape Password
Pin = ''; //Bank Pin, Leave blank if none.
//Summoning
UseSummoning = ''; //Yes or No?
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := UserLogin;
Players[0].Pass := UserPassword;
Players[0].Active := True;
Players[0].Pin := pin;
end;
begin
DeclarePlayers;
if not (LoggedIn) then
begin
LogInPlayer;
end;
end.
Also, i want it to be able to use Many different type of bones(using DTMS), say i had it like this:
program blah;
Includes n stuff
const
BoneType = 'dragonbone';//What type of bone(frostdragon Bones, Big Bones)
Would i have to make a ton off different dtms for each type of bone.
Then do somthing like this for the banking
if FindDTM(BoneType, blahblah) then
Mouse(x, y, 5, 5);
Sorry if you don't understand some of this only got 6 hours sleep :norris:
Error: Error: Exception: Access violation at line 101
When i press play it opens up smart then shows this error and stops.
Code:
program EvlinsGildedAltarReMade;
{$i srl/srl/misc/smart.simba}
{$i SRL\SRL.simba}
const
{______________________________Script Setup____________________________________}
//Player Setup
UserLogin = ''; //RuneScape Username
UserPassword = ''; //Runescape Password
Pin = ''; //Bank Pin, Leave blank if none.
//Summoning
UseSummoning = ''; //Yes or No?
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := UserLogin;
Players[0].Pass := UserPassword;
Players[0].Active := True;
Players[0].Pin := pin;
end;
begin
DeclarePlayers;
if not (LoggedIn) then
begin
LogInPlayer;
end;
end.
Also, i want it to be able to use Many different type of bones(using DTMS), say i had it like this:
program blah;
Includes n stuff
const
BoneType = 'dragonbone';//What type of bone(frostdragon Bones, Big Bones)
Would i have to make a ton off different dtms for each type of bone.
Then do somthing like this for the banking
if FindDTM(BoneType, blahblah) then
Mouse(x, y, 5, 5);
Sorry if you don't understand some of this only got 6 hours sleep :norris: