Page 1 of 2 12 LastLast
Results 1 to 25 of 29

Thread: Pascalsciprt Reflection Hook Log #79

  1. #1
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default PascalScript Reflection Hook Log #79

    Since Elffy didn't update the pascalscript, I wanted to share mine with you guys :


    Code:
    const
    ReflectionRevision = '79';
    
    {Node = gv}
     Node_UID =  'ef';
     Node_Next =  'ek';
     Node_Prev =  'ex';
    
    {Cacheable = gd}
     Cacheable_Next =  'cr';
     Cacheable_Prev =  'cs';
    
    {Renderable = ch}
     Renderable_ModelHeight =  'cb';
     Renderable_ModelHeight_Multiplier = -734091663;
    
    {Animable = h}
    
    {Model = cy}
    
    {AnimationSequence = ah}
    
    {NpcDefinition = ay}
     NpcDefinition_Actions =  'g';
     NpcDefinition_Name =  'l';
     NpcDefinition_ID =  'p';
     NpcDefinition_ID_Multiplier = -1536623773;
     NpcDefinition_CombatLevel =  'y';
     NpcDefinition_CombatLevel_Multiplier = 905796195;
    
    {LinkedList = gh}
     LinkedList_Head =  'b';
     LinkedList_Current =  'e';
    
    {Actor = ab}
     Actor_Animation =  'bj';
     Actor_Animation_Multiplier = -129982891;
     Actor_QueueX =  'bd';
     Actor_QueueY =  'bu';
     Actor_WorldX =  'g';
     Actor_WorldX_Multiplier = 714387585;
     Actor_WorldY =  'f';
     Actor_WorldY_Multiplier = 443183909;
     Actor_SpokenText =  'al';
     Actor_CombatCycle =  'aq';
     Actor_CombatCycle_Multiplier = -1403997273;
     Actor_Health =  'as';
     Actor_Health_Multiplier = 1916365129;
     Actor_MaxHealth =  'ay';
     Actor_MaxHealth_Multiplier = 1946223691;
     Actor_Interactingindex =  'ad';
     Actor_Interactingindex_Multiplier = -435283347;
    
    {Npc = am}
     Npc_Definition =  'b';
    
    {ObjectDefinition = ag}
     ObjectDefinition_Actions =  'ai';
     ObjectDefinition_Name =  'n';
    
    {Buffer = dh}
    
    {Widget = fb}
     Widget_Children =  'ep';
     Widget_InvIDs =  'do';
     Widget_StackSizes =  'dm';
     Widget_ItemAmount =  'ez';
     Widget_ItemAmount_Multiplier = -377425935;
     Widget_ItemID =  'eq';
     Widget_ItemID_Multiplier = 652646019;
     Widget_WidgetID =  'h';
     Widget_WidgetID_Multiplier = -1428688301;
     Widget_Name =  'ca';
     Widget_Text =  'bz';
     Widget_IsHidden =  'ap';
     Widget_AbsoluteX =  'd';
     Widget_AbsoluteX_Multiplier = 280533711;
     Widget_AbsoluteY =  'ax';
     Widget_AbsoluteY_Multiplier = 150978763;
     Widget_RelativeX =  'null';
     Widget_RelativeX_Multiplier = 1;
     Widget_RelativeY =  'null';
     Widget_RelativeY_Multiplier = 1;
     Widget_Width =  'ag';
     Widget_Width_Multiplier = -978834493;
     Widget_Height =  'ai';
     Widget_Height_Multiplier = -62917981;
     Widget_ParentID =  'ac';
     Widget_ParentID_Multiplier = -513345053;
     Widget_ScrollX =  'al';
     Widget_ScrollX_Multiplier = 1041005965;
     Widget_ScrollY =  'ak';
     Widget_ScrollY_Multiplier = -847651301;
     Widget_BoundsIndex =  'el';
     Widget_BoundsIndex_Multiplier = 1730503215;
    
    {WidgetNode = c}
     WidgetNode_ID =  'b';
     WidgetNode_ID_Multiplier = 550133409;
    
    {HashTable = gf}
     HashTable_Buckets =  'e';
     HashTable_Size =  'b';
    
    {GameShell = ew}
    
    {Player = l}
     Player_Definition =  'e';
     Player_Name =  'b';
    
    {Client = client}
     Client_LoopCycle =  'client.h';
     Client_LoopCycle_Multiplier = -2061225245;
     Client_Region =  'd.dl';
     Client_Plane =  'a.hm';
     Client_Plane_Multiplier = -436484799;
     Client_MenuCount =  'client.iu';
     Client_MenuCount_Multiplier = 1121447219;
     Client_MenuWidth =  'ay.ha';
     Client_MenuWidth_Multiplier = -1117658985;
     Client_MenuHeight =  'dc.hu';
     Client_MenuHeight_Multiplier = 2088094925;
     Client_MenuOptions =  'client.ie';
     Client_MenuActions =  'client.io';
     Client_IsMenuOpen =  'client.ho';
     Client_MenuX =  'az.hs';
     Client_MenuX_Multiplier = -306763191;
     Client_MenuY =  'ee.hr';
     Client_MenuY_Multiplier = 365734005;
     Client_BaseX =  'dy.cw';
     Client_BaseX_Multiplier = 1307004557;
     Client_BaseY =  'ad.cj';
     Client_BaseY_Multiplier = -1916106429;
     Client_Widgets =  'fx.b';
     Client_LocalPlayer =  'f.hg';
     Client_LocalPlayers =  'client.gl';
     Client_TileSettings =  'l.e';
     Client_TileHeights =  'l.b';
     Client_LocalNpcs =  'client.cg';
     Client_NpcIndices =  'client.cb';
     Client_Sine =  'cf.aw';
     Client_Cosine =  'cf.ac';
     Client_CameraPitch =  'a.fn';
     Client_CameraPitch_Multiplier = 1973349267;
     Client_CameraYaw =  'dj.fo';
     Client_CameraYaw_Multiplier = -242029701;
     Client_CameraX =  'ca.eo';
     Client_CameraX_Multiplier = 99420353;
     Client_CameraY =  'eh.fj';
     Client_CameraY_Multiplier = -1231385699;
     Client_CameraZ =  'client.fm';
     Client_CameraZ_Multiplier = -1132651853;
     Client_GroundItems =  'client.hh';
     Client_GameSettings =  'fi.a';
     Client_MapScale =  'client.eq';
     Client_MapScale_Multiplier = -334710349;
     Client_MapAngle =  'client.fw';
     Client_MapAngle_Multiplier = -1147639833;
     Client_MapOffset =  'client.ej';
     Client_MapOffset_Multiplier = 1757100609;
     Client_CurrentLevels =  'client.hf';
     Client_RealLevels =  'client.hw';
     Client_Experiences =  'client.hv';
     Client_Energy =  'client.k';
     Client_Energy_Multiplier = -462981805;
     Client_Weight =  'client.jq';
     Client_Weight_Multiplier = 1485798329;
     Client_Rights =  'client.h';
     Client_Rights_Multiplier = -2061225245;
     Client_CurrentWorld =  'client.ar';
     Client_CurrentWorld_Multiplier = -939231799;
     Client_LoginState =  'client.c';
     Client_LoginState_Multiplier = -2061786953;
     Client_PlayerIndex =  'client.hk';
     Client_PlayerIndex_Multiplier = -643248669;
     Client_WidgetPositionX =  'client.la';
     Client_WidgetPositionY =  'client.li';
     Client_WidgetWidths =  'client.lo';
     Client_WidgetHeights =  'client.lu';
     Client_WidgetNodeCache =  'client.jt';
     Client_CrosshairColor =  'client.gb';
     Client_CrosshairColor_Multiplier = -822258891;
     Client_DestinationX =  'client.mt';
     Client_DestinationX_Multiplier = 467466875;
     Client_DestinationY =  'client.mr';
     Client_DestinationY_Multiplier = -1157010332;
    
    {Region = cb}
     Region_SceneTiles =  'l';
    
    {BoundaryObject = cv}
     BoundaryObject_ID =  'o';
     BoundaryObject_ID_Multiplier = -1530326365;
     BoundaryObject_Flags =  'm';
     BoundaryObject_Flags_Multiplier = -1398482299;
     BoundaryObject_Plane =  'b';
     BoundaryObject_Plane_Multiplier = -892155191;
     BoundaryObject_Height =  'p';
     BoundaryObject_Height_Multiplier = -506977239;
     BoundaryObject_Render =  'l';
     BoundaryObject_Render2 =  'u';
     BoundaryObject_Orientation =  'k';
     BoundaryObject_Orientation_Multiplier = -8046679;
     BoundaryObject_LocalX =  'e';
     BoundaryObject_LocalX_Multiplier = -1211607659;
     BoundaryObject_LocalY =  'a';
     BoundaryObject_LocalY_Multiplier = -1446263589;
    
    {GameObject = cu}
     GameObject_ID =  'z';
     GameObject_ID_Multiplier = -902221355;
     GameObject_Flags =  'r';
     GameObject_Flags_Multiplier = -1886144005;
     GameObject_Plane =  'b';
     GameObject_Plane_Multiplier = 1307425195;
     GameObject_WorldX =  'a';
     GameObject_WorldX_Multiplier = 844169099;
     GameObject_WorldY =  'k';
     GameObject_WorldY_Multiplier = 825066889;
     GameObject_Height =  'e';
     GameObject_Height_Multiplier = -902909889;
     GameObject_Render =  'p';
     GameObject_Orientation =  'l';
     GameObject_Orientation_Multiplier = 959181943;
     GameObject_LocalX =  'u';
     GameObject_LocalX_Multiplier = 827064225;
     GameObject_LocalY =  'm';
     GameObject_LocalY_Multiplier = -9411951;
     GameObject_OffsetX =  'o';
     GameObject_OffsetX_Multiplier = -305552111;
     GameObject_OffsetY =  'q';
     GameObject_OffsetY_Multiplier = -1416883087;
    
    {GroundDecoration = cm}
     GroundDecoration_Render =  'k';
     GroundDecoration_LocalX =  'e';
     GroundDecoration_LocalX_Multiplier = -1233039595;
     GroundDecoration_LocalY =  'a';
     GroundDecoration_LocalY_Multiplier = -1913912235;
     GroundDecoration_Plane =  'b';
     GroundDecoration_Plane_Multiplier = 476456035;
     GroundDecoration_ID =  'p';
     GroundDecoration_ID_Multiplier = -1585321645;
     GroundDecoration_Flags =  'l';
     GroundDecoration_Flags_Multiplier = -1974313147;
    
    {WallDecoration = cj}
     WallDecoration_ID =  'q';
     WallDecoration_ID_Multiplier = 1427324801;
     WallDecoration_Flags =  'v';
     WallDecoration_Flags_Multiplier = -502751645;
     WallDecoration_LocalX =  'e';
     WallDecoration_LocalX_Multiplier = -1204426185;
     WallDecoration_LocalY =  'a';
     WallDecoration_LocalY_Multiplier = -806965815;
     WallDecoration_Plane =  'b';
     WallDecoration_Plane_Multiplier = -1696201559;
     WallDecoration_Renderable =  'o';
     WallDecoration_Renderable2 =  'm';
     WallDecoration_Orientation =  'k';
     WallDecoration_Orientation_Multiplier = 1773153601;
     WallDecoration_Height =  'p';
     WallDecoration_Height_Multiplier = -1263130157;
     WallDecoration_RelativeX =  'l';
     WallDecoration_RelativeX_Multiplier = -721839653;
     WallDecoration_RelativeY =  'o';
     WallDecoration_RelativeY_Multiplier = 957896505;
    
    {SceneTile = cw}
     SceneTile_GameObject =  'n';
     SceneTile_GroundDecoration =  'm';
     SceneTile_WallDecoration =  'o';
     SceneTile_BoundaryObject =  'u';
    
    {Item = ax}
     Item_ID =  'b';
     Item_ID_Multiplier = -197377273;
     Item_StackSizes =  'e';
     Item_StackSizes_Multiplier = -1259183067;

    If you find any bugs or errors, feel free to pm me and i'll try to fix them asap.
    Last edited by mocrosoft; 06-06-2015 at 09:28 AM. Reason: Typo

  2. #2
    Join Date
    May 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    Thanks for sharing tho but more things are affected by the update. I did this too but it seems that it's only working half :/

  3. #3
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default

    Quote Originally Posted by Biertje View Post
    Thanks for sharing tho but more things are affected by the update. I did this too but it seems that it's only working half :/
    What are the parts that do not work?

  4. #4
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    where do we install this to?

  5. #5
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    where do we copy paste that at?

  6. #6
    Join Date
    Oct 2006
    Posts
    491
    Mentioned
    0 Post(s)
    Quoted
    41 Post(s)

    Default

    Quote Originally Posted by yat13 View Post
    where do we copy paste that at?
    You would copy paste that into simba/includes/srl-osr/srl/reflection/core/hooks file I believe.

  7. #7
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default

    Quote Originally Posted by ry0240 View Post
    You would copy paste that into simba/includes/srl-osr/srl/reflection/core/hooks file I believe.
    Correct

  8. #8
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by ry0240 View Post
    You would copy paste that into simba/includes/srl-osr/srl/reflection/core/hooks file I believe.
    thats for the help im sort of new i copied paste it to the bottom of the hooks file at simba/includes/srl-osr/srl/reflection/core/hooks and it came up with a new error "[Error] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Hooks.simba(282:1): Duplicate identifier 'ReflectionRevision' at line 283" can you help me mocrosoft. do i clear the whole file and just post that or add it on or inset it somewhere?
    Last edited by yat13; 06-06-2015 at 04:31 AM.

  9. #9
    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Yeah thought I'd try these hooks and run my script that uses Pascalscript Reflection for a few more days before I switch over to Lape Reflection. I get an error on start up however:

    Error: Don't know which overloaded method to call with params (Extended) at line 145
    Compiling failed.

    Which is highlighting this line: randomDist:= maxStep / 2.0 + random(round(maxStep) / 2);
    ( R_WindPath )

    EDIT: This error was due to the interpreter being set to Lape
    Last edited by Michael Bruv; 06-06-2015 at 09:37 PM.

  10. #10
    Join Date
    Oct 2006
    Posts
    491
    Mentioned
    0 Post(s)
    Quoted
    41 Post(s)

    Default

    Quote Originally Posted by yat13 View Post
    thats for the help im sort of new i copied paste it to the bottom of the hooks file at simba/includes/srl-osr/srl/reflection/core/hooks and it came up with a new error "[Error] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Hooks.simba(282:1): Duplicate identifier 'ReflectionRevision' at line 283" can you help me mocrosoft. do i clear the whole file and just post that or add it on or inset it somewhere?
    You clear the whole file and paste the new hooks in there.

  11. #11
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default

    Quote Originally Posted by Michael Bruv View Post
    Yeah thought I'd try these hooks and run my script that uses Pascalscript Reflection for a few more days before I switch over to Lape Reflection. I get an error on start up however:

    Error: Don't know which overloaded method to call with params (Extended) at line 145
    Compiling failed.

    Which is highlighting this line: randomDist:= maxStep / 2.0 + random(round(maxStep) / 2);
    ( R_WindPath )
    Don't think that has anything to do with the hooks...send me the script your running in a pm and i'll see if I can run it if you want, else try to run other scripts maybe.

  12. #12
    Join Date
    Aug 2014
    Posts
    93
    Mentioned
    2 Post(s)
    Quoted
    36 Post(s)

    Default

    Quote Originally Posted by mocrosoft View Post
    What are the parts that do not work?
    Field not found: B
    Field not found: l
    Field not found: al

  13. #13
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default

    Quote Originally Posted by BawsScripts View Post
    Field not found: B
    Field not found: l
    Field not found: al
    Don't think their used, it's spokenText, and LinkedList_Head and Region_SceneTiles

  14. #14
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    You should really credit whoevers update log you got these off tbh (Unless you've got your own updater ofc)
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  15. #15
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by mocrosoft View Post
    Don't think that has anything to do with the hooks...send me the script your running in a pm and i'll see if I can run it if you want, else try to run other scripts maybe.
    cant do pms yet because i haven't posted on multiple post yet. but the script i want is catherby lobby fisher(under fishing in forums) i just need it for a couple more days and if i could preferably get it as pascal script because I've never messed around with lape.

    EDIT: i just deleted hooks file and put in what u put up there and got this "Grabbing your best world...
    Fatal Error: Unable to spawn a SMART client
    HINT: Make sure you have the lastest java version, and try running simba as admin
    Successfully executed." (ran as admin)
    wonder if you know how to fix
    thanks
    -yat13
    Last edited by yat13; 06-06-2015 at 03:08 PM.

  16. #16
    Join Date
    May 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    Quote Originally Posted by yat13 View Post

    Grabbing your best world...
    Fatal Error: Unable to spawn a SMART client
    HINT: Make sure you have the lastest java version, and try running simba as admin
    Successfully executed.
    -yat13
    You need the latest Java 7 version(7u76).
    Don't use java 8 for botting OSR.
    Go to start, right click Computer > properties > advanced systemsettings > Envoirnmentvariables > Search for Path in the list and change this to the location where your java is located. For me that is: C:\Program Files (x86)\Java\jre7\bin

    Should work.

    Good luck.
    Last edited by Biertje; 06-06-2015 at 03:28 PM.

  17. #17
    Join Date
    May 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    Quote Originally Posted by mocrosoft View Post
    What are the parts that do not work?
    I think more scripts of C:\Simba\Includes\SRL-OSR\SRL\core are affected by the update.
    I have updated the hooks so everything should work like supposed to, right? But that isn't the case.

  18. #18
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Biertje View Post
    You need the latest Java 7 version(7u76).
    Don't use java 8 for botting OSR.
    Go to start, right click Computer > properties > advanced systemsettings > Envoirnmentvariables > Search for Path in the list and change this to the location where your java is located. For me that is: C:\Program Files (x86)\Java\jre7\bin

    Should work.

    Good luck.
    Downloaded java 7up76 at http://www.techspot.com/downloads/5198-java.html
    installed it to my java folder deleted all the old(java 8) java JRES
    named the folder JRE changed my path to java/JRE/bin and still got
    "Attempting to spawn a client
    Failed To Find Java.exe or Javaw.exe. Please add ...\JRE\Bin to your PATH environment variable.
    Grabbing your best world...
    Fatal Error: Unable to spawn a SMART client
    HINT: Make sure you have the lastest java version, and try running simba as admin
    Successfully executed."

    the script i want to run is https://villavu.com/forum/showthread.php?t=108076
    please look over and see if you can help me! skype: blstarling13
    thanks for the help
    -yat13

  19. #19
    Join Date
    May 2013
    Posts
    75
    Mentioned
    3 Post(s)
    Quoted
    48 Post(s)

    Default

    Try reinstalling Simba.

  20. #20
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by MariusK View Post
    Try reinstalling Simba.
    reinstalled and got everything back to where it was suppose to be. it looked like it was going to start up then it hit this
    "Error: Duplicate declaration "AddDTM" at line 164
    Compiling failed."
    im trying to use this script
    "program LobsterFisher;
    {$DEFINE SMART8}
    //Using Smart 8.3
    {$I SRL-OSR/SRL.Simba}
    //{$I SPS/sps-osr.simba}
    {$I SRL-OSR/SRL/Reflection/Reflection.simba}
    {$i SRL-OSR\SRL\misc\debug.simba}
    {$i SRL-OSR/SRL/misc/al_functions.simba}
    {$i SRL-OSR\SRL\misc\SmartGraphics.simba}
    {$I SRL-OSR/SRL/skill/fighting.Simba}

    var
    X,Y,TriedTimes,FishSpot,V,AtBank,Lobsters,LobsterF ish,LobFound,DepositIt,DepositItt,BankFound,FishCa ge: Integer;
    //Defining X,Y and others



    Function isFishing: Boolean;
    var
    PBox: TBox;
    begin
    PBox := IntToBox(238, 169, 279, 217);
    Result := (AveragePixelShift (Pbox, 250, 350) > 40);
    end;

    Procedure Antiban;
    begin
    case random(25) of
    0: SmallRandomMouse;
    1: RandomTab(True);
    2: RandomRClick;
    3,4,5,6: CompassMovement(25, 150, true);
    7: RandomAngle(1);
    8: RandomFKeys(True);
    9: HoverMovingObject;
    end;
    end;





    procedure DefineLetters;
    begin
    FishSpot := 1;
    LobsterFish := BitmapFromString(8, 7, 'meJyTc60U0vKWcykFIkXPBuWALuXA' +
    'XtXw6UJCYmKmcSBx10qIOFAQiGTs82Rss4CCyOJacYuBgoo+z XBxI' +
    'Q13oDgjAwOQC1ITOkXOoxYkLiQGQUDFQEGNqLlaCcuAysSMIy UtEy' +
    'EmYxF0KQUAS68s5g==');
    DepositIt := BitmapFromString(70, 6, 'meJytVNsNwCAIZDsW8Nf9x6CJpIb' +
    'gQaj04gcirwOVx5QFIuIx+d0qVNPX2yNaSBzPJQg2iJWhUpPa XB39' +
    'hk162sDKoeUdo6YcjSCxtxOEfXCRPzHagDGLjHZ5sNsRo+TWd Ri5F' +
    'l0zqvv+yMjNInrR0eyiOJE9rE1qP0OR0QNsyr9G');
    DepositItt := BitmapFromString(68, 5, 'meJxjYGBwD4n9DwYMYDacCwEQEcr' +
    'FkaUYwACPRqzakR2JlY1fCtkWSsThAC6OVQ1Wv8BlKfELhWxc wY5H' +
    'PS6/4NdI0C9wQLZ/kZMT1rigm1/QEgbZfiFeL+V+AQAZWCi+');
    FishCage := BitmapFromString(15, 12, 'meJyNkMEKgkAURVu68UtaBC2CQD' +
    'CMUVRSTDGEEEHMrBBauezXu887SW1CuIsz887MvHnGOjCYTay zzXS' +
    'sQscudeY4Tq0zU1OtLOdoqjW9e5KcZP+vRnMYXlGUVdUVMO1L fjWa' +
    'iO/HdX0D5Pl5sdyRzaD/DkqUXe/Qtj1A+lm5TfMAp2mBSZblhQ5KB' +
    'Mdxu+7JfiDwoPBGv8glwbb3lNEPBHIYHjEfvsKSfGr8OwX0M8 ly0C' +
    'r4Cksij/OhgH5wG1mpADJZlz7zeQNxb54D');
    end;

    procedure FreeBitmaps;
    begin
    Freebitmap(LobsterFish);
    Freebitmap(DepositIt);
    Freebitmap(DepositItt);
    Freebitmap(FishCage);
    end;



    procedure FindFish;
    begin
    if (AtBank = 1) then
    begin
    ClearDebug();
    WriteLn('You have fished : ' + toStr(Lobsters) + ' Lobsters!');
    WriteLn('You have made : ' + toStr(Lobsters*210) + ' GP roughly!');
    WriteLn('Walking to the Fishing spot!');
    R_BlindWalk(Point(2838, 3431));
    Wait(1000);
    ClearDebug;
    AtBank := 2;
    FishSpot := 1;
    TriedTimes := 0;
    end;

    if (TriedTimes = 1) AND (FishSpot = 1) then
    begin
    TriedTimes := 0;
    FishSpot := 2;
    wait(200);
    R_BlindWalk(Point(2845, 3428));//Spot2
    wait(1000);
    end;

    if (TriedTimes = 1) AND (FishSpot = 2) then
    begin
    TriedTimes := 0;
    FishSpot := 3;
    wait(200);
    R_BlindWalk(Point(2854, 3422));//Spot3
    Wait(1500);
    end;

    if (TriedTimes = 3) AND (FishSpot = 3) then
    begin
    TriedTimes := 0;
    FishSpot := 4;
    wait(200);
    R_BlindWalk(Point(2860, 3426));//Spot 4
    Wait(1500);
    end;

    if (TriedTimes = 1) AND (FishSpot = 4) then
    begin
    TriedTimes := 0;
    FishSpot := 1;
    wait(200);
    R_BlindWalk(Point(2837, 3430));//Spot1
    Wait(1500);
    end;

    wait(500);
    MakeCompass('N');
    SetAngle(SRL_ANGLE_HIGH);
    wait(1000);
    if (FindObjCustom(x,y,['cage','cag','ca','ag','age'],[4597535, 14597268, 15123625, 14398100, 15058085],15)) then
    begin
    Wait(1000);
    ClickMouse(X,Y,Mouse_Left)
    clearDebug();
    WriteLn('You have fished : ' + toStr(Lobsters) + ' Lobsters!');
    WriteLn('You have made : ' + toStr(Lobsters*210) + ' GP roughly!');
    WriteLn('Starting check for full inventory');
    V := 1;
    TriedTimes := 0;

    repeat
    if (isFishing) then
    begin
    Sleep(1500);
    V := 1;
    Antiban;

    end else
    begin


    if FindBitmapToleranceIn(LobsterFish, X, Y, 680, 430, 730, 480, 20) OR
    InvFull then
    begin
    r_BlindWalk(point(2808, 3439));
    Wait(1000);
    R_WalkPath([point(2808, 3439)]);
    Wait(1500);
    BankFound := 1;
    MakeCompass('N');
    SetAngle(SRL_ANGLE_HIGH);
    wait(1000);

    repeat
    if (FindObjCustom(x,y,['de','po','sit','depo','epos','posit','epos','dep' ,'eposit','bank','ank','ban','an'],[607323, 606550,1514271,1580837],20)) then
    begin
    wait(1000);
    if
    IsUpText('eposit') OR
    IsUpText('ank') OR
    IsUpText('bank') OR
    IsUpText('ban') then
    begin
    Wait(1000);
    ClickMouse(X,Y,Mouse_Left)
    clearDebug();
    wait(3000);
    LobFound := 0;
    BankFound := 2;
    repeat
    if FindBitmapToleranceIn(LobsterFish, X, Y, 300, 100, 700, 350, 20)then
    begin
    wait(1000);
    ClickMouse(X,Y,Mouse_Right)
    wait(500);
    if FindBitmapToleranceIn(DepositIt, X, Y, 0, 0, 730, 480, 20)or
    FindBitmapToleranceIn(DepositItt, X, Y, 0, 0, 730, 480, 20)
    then
    begin
    wait(500);
    ClickMouse(X,Y,Mouse_Left)
    Wait(1500);
    ClearDebug;
    LobFound := 1;
    AtBank := 1;
    Lobsters := Lobsters + 27;
    WriteLn('You have fished : ' + toStr(Lobsters) + ' Lobsters!');
    WriteLn('You have made : ' + toStr(Lobsters*210) + ' GP roughly!');
    FindFish;
    end;
    end;
    until (LobFound = 1);
    end;
    end;
    until (BankFound = 2);

    end else
    begin
    V := 2;
    FishSpot := 4;
    FindFish;
    end;

    end;
    until (V = 2);

    end else
    begin
    ClearDebug();
    TriedTimes := TriedTimes + 1;
    WriteLn('You have fished : ' + toStr(Lobsters) + ' Lobsters!');
    WriteLn('You have made : ' + toStr(Lobsters*210) + ' GP roughly!');
    WriteLn('Times tried to retry ' + IntToStr(TriedTimes) + '/1');
    FindFish;
    end;

    end;



    procedure StartBotting;
    begin

    DefineLetters;
    if FindBitmapToleranceIn(FishCage, X, Y, 0, 0, 730, 480, 20)then
    begin
    AtBank := 1;
    Wait(1500);
    FindFish;
    end else
    WriteLn('No fishing cage ');
    LogOut;
    end;

    begin
    SetupSrl;
    SetupReflection;
    ClearDebug();
    AddOnTerminate('FreeBitmaps');
    StartBotting;

    end. "

  21. #21
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by yat13 View Post
    reinstalled and got everything back to where it was suppose to be. it looked like it was going to start up then it hit this
    "Error: Duplicate declaration "AddDTM" at line 164
    Compiling failed."
    im trying to use this script
    Update the SRL-OSR include and then turn the interpreter to lape.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  22. #22
    Join Date
    Jun 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by mocrosoft View Post
    Don't think that has anything to do with the hooks...send me the script your running in a pm and i'll see if I can run it if you want, else try to run other scripts maybe.
    My bad, I had the interpreter set on Lape and forgot to switch back to PascelScript.
    HOWEVER when I actually try to run the script properly I keep getting this:
    http://pastebin.com/FQhUF4PG

    Yes I've reinstalled everything, yes my paths are correct, yes I'm running as admin. What's going on? Someone please help me.

  23. #23
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default

    Quote Originally Posted by Michael Bruv View Post
    My bad, I had the interpreter set on Lape and forgot to switch back to PascelScript.
    HOWEVER when I actually try to run the script properly I keep getting this:
    http://pastebin.com/FQhUF4PG

    Yes I've reinstalled everything, yes my paths are correct, yes I'm running as admin. What's going on? Someone please help me.
    Well it says that your paths are not correctl, so Try to change them around or something until you fix that error.

    Failed To Find Java.exe or Javaw.exe. Please add ...\JRE\Bin to your PATH environment variable.

  24. #24
    Join Date
    Mar 2015
    Posts
    189
    Mentioned
    3 Post(s)
    Quoted
    73 Post(s)

    Default

    Quote Originally Posted by Biertje View Post
    I think more scripts of C:\Simba\Includes\SRL-OSR\SRL\core are affected by the update.
    I have updated the hooks so everything should work like supposed to, right? But that isn't the case.
    Well it works perfectly fine for me, just got done crafting 30k cosmic runes, also my miners and woodcutters were perfectly fine.

  25. #25
    Join Date
    Apr 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by mocrosoft View Post
    Well it works perfectly fine for me, just got done crafting 30k cosmic runes, also my miners and woodcutters were perfectly fine.
    mocrosoft do you have ur own scripts if so can i add u on skype and see if i can use any? im not a member here but been using this website for a while and i got my lobby script working thanks for the help mocrosoft and biertje and mariusk. really appreciate only help i could find on a post
    -yat13

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •