Page 93 of 100 FirstFirst ... 43839192939495 ... LastLast
Results 2,301 to 2,325 of 2479

Thread: [SRL-6] Draynor Chop N' Bank | By Coh3n

  1. #2301
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by XrTw View Post
    its okay, its load, but script dont do anything. could you support me via skype?
    Sorry, I don't do that. You need to read this page.

  2. #2302
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Script updated. A could things:
    1. The banking issue was in SRL, which I've fixed. The script should work when your SRL updates.
    2. The latest version of the script (Rev. 81) has updated Willow tree colors. This should improve accuracy and the script should no longer find the bridge west of the bank as another tree.

    Enjoy,
    Coh3n

  3. #2303
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    The script should work when your SRL updates.
    Do you have any idea when SRL is going to get an update? I want to try out your script but unfortunately, it doesn't bank very well so that's why I'm asking you this. Thanks in advance.

    This is the banking issue you're talking about, right?
    Code:
    [0:00:24]: ---- isMouseOverText()
    [0:00:24]: ------ Current mouse-over text: "Bank Counter"
    [0:00:24]: ------ Found "Bank" in mouse-over string: "Bank Counter"
    [0:00:24]: ---- isMouseOverText(): True
    [0:00:24]: ---- We found correct mouse-over text
    [0:00:35]: ---- Bankscreen or pinscreen never opened
    [0:00:35]: ---- isMouseOverText()
    [0:00:35]: ------ Current mouse-over text: ""
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ---- isMouseOverText(): False
    [0:00:35]: ---- Mouse-over text wasn't correct
    [0:00:35]: -- TRSBankscreen.__openNPC(): result = False
    [0:00:35]: ERROR: Bank_Logs: Failed to open bank, retrying...
    [0:00:36]: ERROR: Bank_Logs: Failed to find bank screen
    [0:00:36]: -- TRSGameTabs.openTab(2)
    [0:00:36]: ---- Opening tab via gametab navigation bar

  4. #2304
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Spaceblow View Post
    Do you have any idea when SRL is going to get an update? I want to try out your script but unfortunately, it doesn't bank very well so that's why I'm asking you this. Thanks in advance.

    This is the banking issue you're talking about, right?
    Code:
    [0:00:24]: ---- isMouseOverText()
    [0:00:24]: ------ Current mouse-over text: "Bank Counter"
    [0:00:24]: ------ Found "Bank" in mouse-over string: "Bank Counter"
    [0:00:24]: ---- isMouseOverText(): True
    [0:00:24]: ---- We found correct mouse-over text
    [0:00:35]: ---- Bankscreen or pinscreen never opened
    [0:00:35]: ---- isMouseOverText()
    [0:00:35]: ------ Current mouse-over text: ""
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
    [0:00:35]: ---- isMouseOverText(): False
    [0:00:35]: ---- Mouse-over text wasn't correct
    [0:00:35]: -- TRSBankscreen.__openNPC(): result = False
    [0:00:35]: ERROR: Bank_Logs: Failed to open bank, retrying...
    [0:00:36]: ERROR: Bank_Logs: Failed to find bank screen
    [0:00:36]: -- TRSGameTabs.openTab(2)
    [0:00:36]: ---- Opening tab via gametab navigation bar
    No, that's a different problem. What I updated was the finding of the bank. According to that debug it's clicking the bank, but it's never detecting that it's open. Make sure your graphics are set properly. Sometimes the bank screen can move a few pixels, which messes up the finder.

    The bankscreen detection is working. Unless there was an update since last night that broke it.
    Last edited by Coh3n; 09-08-2014 at 02:34 PM.

  5. #2305
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    No, that's a different problem. What I updated was the finding of the bank. According to that debug it's clicking the bank, but it's never detecting that it's open. Make sure your graphics are set properly. Sometimes the bank screen can move a few pixels, which messes up the finder.

    The bankscreen detection is working. Unless there was an update since last night that broke it.
    My graphics are set up perfectly so that can't be the issue. And there was an update a few hours ago, maybe that's why it isn't working as it should be?

  6. #2306
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Spaceblow View Post
    My graphics are set up perfectly so that can't be the issue. And there was an update a few hours ago, maybe that's why it isn't working as it should be?
    I just tested and everything worked like it should:
    Progress Report:
    -- TRSBankscreen.__openNPC()
    ---- TRSMinimap.getDots()
    ------ Found 22 minimap dots (ID: 0)
    ---- TRSMinimap.getDots(): [{X = 671, Y = 19}, {X = 671, Y = 23}, {X = 633, Y = 43}, {X = 729, Y = 57}, {X = 698, Y = 58}, {X = 673, Y = 63}, {X = 701, Y = 75}, {X = 631, Y = 80}, {X = 661, Y = 82}, {X = 771, Y = 82}, {X = 645, Y = 93}, {X = 664, Y = 96}, {X = 680, Y = 102}, {X = 680, Y = 106}, {X = 679, Y = 114}, {X = 679, Y = 118}, {X = 746, Y = 129}, {X = 682, Y = 142}, {X = 670, Y = 149}, {X = 743, Y = 154}, {X = 741, Y = 156}, {X = 743, Y = 160}]
    ---- isMouseOverText()
    ------ Current mouse-over text: ""
    ------ Current mouse-over text: ""
    ------ Current mouse-over text: "Bank Banker"
    ------ Found "Bank" in mouse-over string: "Bank Banker"
    ---- isMouseOverText(): True
    ---- We found correct mouse-over text
    ---- Bankscreen or pinscreen is open
    -- TRSBankscreen.__openNPC(): result = True
    
    Bankscreen is open.
    Make sure you reset your interfaces. Like I said before, the bankscreen can be accidentally shifted and needs to be reset. I've seen it happen several times before.

  7. #2307
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Make sure you reset your interfaces. Like I said before, the bankscreen can be accidentally shifted and needs to be reset. I've seen it happen several times before.
    Yep you were right, something was messed up with the bankscreen, now it banks without any problem although I didn't touch any settings. Is it normal that it detects a lot of the environment as a tree? I understand that a lot of the colours in the area are very similar to each other but could this possibly be fixed by using bonsai's idea?

  8. #2308
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Everything seems to work fine though he spends like 4-5seconds at a tree no matter what i change the settings too
    Current Rank Supreme Master First Class

  9. #2309
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

    Default

    Quote Originally Posted by big man 1 View Post
    Everything seems to work fine though he spends like 4-5seconds at a tree no matter what i change the settings too
    Maybe post your settings here so Coh3n could take a look.

  10. #2310
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Spaceblow View Post
    Yep you were right, something was messed up with the bankscreen, now it banks without any problem although I didn't touch any settings. Is it normal that it detects a lot of the environment as a tree? I understand that a lot of the colours in the area are very similar to each other but could this possibly be fixed by using bonsai's idea?
    That's an interesting post. It might help with accuracy, I don't know. Unfortunately I don't have the time right now to investigate further.

    Quote Originally Posted by big man 1 View Post
    Everything seems to work fine though he spends like 4-5seconds at a tree no matter what i change the settings too
    Chances are your animation shift setting is off. In your case, it sounds like it's too high.

  11. #2311
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    I don't know suddenly it has stopped working.. i updated my simba and i know i have my graphics and interfaces set up as required ,

    though the script thinks im in bank when im not when he is actually standing at willwos .. so he will over click on the mini map so its just by elder tree and then fails to find willows ..

    If i start it from the bank it clicks to the willows and does a tree or two and then fails after that .. it's hard to get what the debug box says because it spams it like crazy and ends the script where it clears it and just displays your proggy .. but i did manage to catch it before it cleared it and it said ..

    Code:
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:05]: ---- Found symbol bitmap 42
    [0:01:05]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:05]: ERROR: Chop_Trees: Failed to find trees 60 times
    [0:01:05]: -- TPlayer.logout()
    any advice would be great

    EDIT:

    Well after some frustration .. i should have done this earlier insted of complaining .. i found the problem myself and seeing as the colour wasn't being found and asuming you used ACA to get the color ,hue,sat ect.. i did the same and it seems to be working fine again ..

    anyone with that has a problem with the script not being able to find the tree i'd suggest to get the Auto Colour Aid tool
    from here and load the image from client and set your settings to CTS 2 and then just pick the colors of the tree and not the leaves or anything as it may and im pretty sure it will think that the ground is the tree too xD

    well anyways once you get all the colours just input these



    into here



    only change line 235 to 237 and line 239 with the numbers you get on the ACA.

    I hope it works for whoever comes across this problem.. if not then ..im still learning XD
    Current Rank Supreme Master First Class

  12. #2312
    Join Date
    Sep 2014
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    what is TRS and what program do you use for script opener? im using simba, but for me not works

  13. #2313
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by big man 1 View Post
    I don't know suddenly it has stopped working.. i updated my simba and i know i have my graphics and interfaces set up as required ,

    though the script thinks im in bank when im not when he is actually standing at willwos .. so he will over click on the mini map so its just by elder tree and then fails to find willows ..

    If i start it from the bank it clicks to the willows and does a tree or two and then fails after that .. it's hard to get what the debug box says because it spams it like crazy and ends the script where it clears it and just displays your proggy .. but i did manage to catch it before it cleared it and it said ..

    Code:
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:04]: ---- Found symbol bitmap 42
    [0:01:04]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
    [0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
    [0:01:04]: -- TRSMinimap._getSymbolColor()
    [0:01:04]: ---- Loaded symbol: Fishing Spot
    [0:01:05]: ---- Found symbol bitmap 42
    [0:01:05]: -- TRSMinimap._getSymbolColor(): -1
    [0:01:05]: ERROR: Chop_Trees: Failed to find trees 60 times
    [0:01:05]: -- TPlayer.logout()
    any advice would be great

    EDIT:

    Well after some frustration .. i should have done this earlier insted of complaining .. i found the problem myself and seeing as the colour wasn't being found and asuming you used ACA to get the color ,hue,sat ect.. i did the same and it seems to be working fine again ..

    anyone with that has a problem with the script not being able to find the tree i'd suggest to get the Auto Colour Aid tool
    from here and load the image from client and set your settings to CTS 2 and then just pick the colors of the tree and not the leaves or anything as it may and im pretty sure it will think that the ground is the tree too xD

    well anyways once you get all the colours just input these



    into here



    only change line 235 to 237 and line 239 with the numbers you get on the ACA.

    I hope it works for whoever comes across this problem.. if not then ..im still learning XD
    The location detection doesn't work. It relies on SRL's symbol finding, which doesn't work right now. It seems that the colors need to be updated often, which is annoying. I might implement a system to read the color settings from a server, so I don't have to release a new version of the script every time. We'll see if I get time.

    In the meantime your post should help others with the same issue. Thanks for that.

    Quote Originally Posted by XrTw View Post
    what is TRS and what program do you use for script opener? im using simba, but for me not works
    You have to run it with Simba. You can't just post and say it doesn't work. No one can help you with that information.

  14. #2314
    Join Date
    Jul 2014
    Location
    Europe
    Posts
    182
    Mentioned
    7 Post(s)
    Quoted
    103 Post(s)

    Default

    Quote Originally Posted by big man 1 View Post
    Great settings, somehow this works better for me, thanks!

    Coh3n, I added a tiny bit of randomness to your script:
    Simba Code:
    function Chop_Relocate(tree: TTree): boolean;
    var
      p: TPoint;
      tmpAcc: extended = minimap.symbolAccuracy;
    begin
      DcnB_Debug('Chop_Relocate', 'Relocating to trees', DEBUG_DETAILS);
      minimap.symbolAccuracy := 0.6;

      if (InRange(minimap.getAngleDegrees(), 10.0, 350.0)) then
      begin
        //minimap.clickCompass();
        minimap.setAngle(randomRange(300, 360)); //added
        mainscreen.setAngle(MS_ANGLE_HIGH);
      end;
    I've commented out minimap.clickCompass(); and added one with a random range, so it would turn the in game camera if it has to relocate for trees.

    Then I've also added something at the of the Walk_ToLoc(which: Integer): Boolean; function so it would turn the in game camera when it has banked and arrived back at the trees:
    Simba Code:
    Wait(500 + Random(500));
      Players[CurrentPlayer].location := Walk_ConstToLoc(which);
      DCnB_Debug('Walk_ToLoc', 'Walked to location: ' + Walk_ConstToLoc(which), DEBUG_SUCCESS);
      if not tabBackpack.isFull() then //added
      minimap.setAngle(randomRange(300, 360)); //added
    end;

    I don't know if this could be handy for someone but it kind of is for me.

    EDIT: When it wants to log out (for example when it's time for a break) it just opens the options menu. I guess it's pressing the escape button. Is this a bug in SRL or is this because of Runescape's updates?
    Last edited by Spaceblow; 09-12-2014 at 09:52 PM. Reason: spelling

  15. #2315
    Join Date
    Jul 2014
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    I have the script setup correctly, but when I run it, it logs in and everything. It opens my backpack, and then I get:

    Exception in Script: Runtime error: "Access violation" at line 873, column 35


    Any help?
    Last edited by SOmesand; 09-13-2014 at 10:55 PM.

  16. #2316
    Join Date
    Apr 2008
    Location
    My house
    Posts
    207
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    Srry fail post, i forgiven how to setup the settings XD!

  17. #2317
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by SOmesand View Post
    I have the script setup correctly, but when I run it, it logs in and everything. It opens my backpack, and then I get:

    Exception in Script: Runtime error: "Access violation" at line 873, column 35


    Any help?
    You didn't setup your players right. Probably misspelled your username. It needs to match the name you entered into Rafiki.

  18. #2318
    Join Date
    Jul 2014
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Thumbs up

    Quote Originally Posted by Coh3n View Post
    You didn't setup your players right. Probably misspelled your username. It needs to match the name you entered into Rafiki.
    I made sure my player info was correct. It seems like it cant find my current location. I'm not sure what I'm doing wrong. I tried starting at both the trees and at the bank. This is what I am getting.

    [0:00:02]: -- TPlayerArray.setup(): Success
    [0:00:02]: Loading, please wait...
    [0:00:02]: -- TPlayer.login()
    [0:00:02]: ---- Already logged in
    [0:00:02]: ---- Logged in:
    [0:00:02]: ------ TRSGameTab.__initTabs(): Setup gametab properties
    [0:00:03]: -- TPlayer.login(): True
    [0:00:03]: -- TRSMinimap._getSymbolColor()
    [0:00:03]: ---- Loaded symbol: Fishing Spot
    [0:00:03]: ---- Found symbol bitmap 42
    [0:00:03]: -- TRSMinimap._getSymbolColor(): -1
    [0:00:03]: PLAYER: Find_PlayerLocation: : Location = Bank
    [0:00:03]: Exception in Script: Runtime error: "Access violation" at line 873, column 35
    The following bitmaps were not freed: [Minimap Mask, SMART Debug Image, Gametab Bitmap[0], Gametab Bitmap[1], Gametab Bitmap[2], Gametab Bitmap[3], Gametab Bitmap[4], Gametab Bitmap[5], Gametab Bitmap[6], Gametab Bitmap[7], Gametab Bitmap[8], Gametab Bitmap[9], Gametab Bitmap[10], Gametab Bitmap[11], Gametab Bitmap[12], Gametab Bitmap[13]]
    Last edited by SOmesand; 09-15-2014 at 07:19 PM. Reason: Thought I fixed issue. didn't.

  19. #2319
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    The location part won't work since SRL's symbol finding doesn't work, so you can forget about that. As for the error, though, I don't know why that happens. What is line 873 in the script?

  20. #2320
    Join Date
    Jul 2014
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    The location part won't work since SRL's symbol finding doesn't work, so you can forget about that. As for the error, though, I don't know why that happens. What is line 873 in the script?
    Line 873 reads:

    Players[CurrentPlayer].location := Find_PlayerLocation;

    If i delete it, I get an access violation elsewhere that uses the player location.

    That line is 584. Which reads:
    if (Players[CurrentPlayer].location = Walk_ConstToLoc(which)) then


    Deleting that line basically renders it useless as I get more errors, and I'm not able to script. I'd like to, but I need time to learn.

  21. #2321
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by SOmesand View Post
    Line 873 reads:

    Players[CurrentPlayer].location := Find_PlayerLocation;

    If i delete it, I get an access violation elsewhere that uses the player location.

    That line is 584. Which reads:
    if (Players[CurrentPlayer].location = Walk_ConstToLoc(which)) then


    Deleting that line basically renders it useless as I get more errors, and I'm not able to script. I'd like to, but I need time to learn.
    I don't understand how this could have come up. Does the script login fine?

  22. #2322
    Join Date
    Jul 2014
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I don't understand how this could have come up. Does the script login fine?
    I'm not exactly sure how to setup the declare players correctly. I looked at the tutorial on here, and the format in the script is different. It won't login. I start it logged in.

    How would I setup this correctly?

    Players.Setup(['Player''s Nickname/Login Name/Display Name'], 'PlayerFileName');
    CurrentPlayer := 0;


    I get the filename part, but the filling in of the names and everything boggles my mind...

  23. #2323
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by SOmesand View Post
    I'm not exactly sure how to setup the declare players correctly. I looked at the tutorial on here, and the format in the script is different. It won't login. I start it logged in.

    How would I setup this correctly?

    Players.Setup(['Player''s Nickname/Login Name/Display Name'], 'PlayerFileName');
    CurrentPlayer := 0;


    I get the filename part, but the filling in of the names and everything boggles my mind...
    Players.Setup(['myemail@gmail.com'], 'PlayerFile');

    Where "myemail@gmail.com" is the username you use to login. It has to match the login name you entered into Rafiki (SRL > Player Manager).

  24. #2324
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    136
    Mentioned
    0 Post(s)
    Quoted
    57 Post(s)

    Default

    Seems to be working, but why does it click on the same tree every 1/2 seconds, even if it is chopping it?

  25. #2325
    Join Date
    Jul 2014
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    I was finally able to get it to work!!!!! The script works great. keep up the good work!

Page 93 of 100 FirstFirst ... 43839192939495 ... 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
  •