Results 1 to 9 of 9

Thread: Starting to get frustrated...

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

    Default Starting to get frustrated...

    Every time I run a script I get this:

    Compiled successfully in 4540 ms.
    -- TPlayerArray.setup()
    ---- ERROR: Couldn't find army file(accounts)
    -- TPlayerArray.setup(): false
    -- Freeing gametabs bitmaps..
    Successfully executed.

    Rafike will not save my player details no matter what.

    I am obviously not a whiz at this stuff, but I like to think I am not a complete moron either. I have followed all instructions. Looked at countless help topics, etc...

    I've waited for about 2 weeks just to see if I could figure it out. No idea...

  2. #2
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    You can check SIMBADIR/includes/players to see if there are any XML files there.

    Based on the error, you're not going to find the one you tried to make (accounts.xml)

    Go to SRL->Player Manager to open it
    Change file name ("default") to accounts
    Use the green +
    Fill in the character details and use the "save" button under the bank pin
    Press the "save player list" button at the bottom.
    Use the close button on the top right of the window.

    Now you should have SIMBADIR/includes/players/account.xml

    You can edit it with notepad and see that it has your info.

    I've had my players file empty itself out a couple of times, not sure what I did to cause it. I've been making a manual copy of the xml file to be able to recover if there is an issue.

  3. #3
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

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

    Default

    Quote Originally Posted by bonsai View Post
    You can check SIMBADIR/includes/players to see if there are any XML files there.

    Based on the error, you're not going to find the one you tried to make (accounts.xml)

    Go to SRL->Player Manager to open it
    Change file name ("default") to accounts
    Use the green +
    Fill in the character details and use the "save" button under the bank pin
    Press the "save player list" button at the bottom.
    Use the close button on the top right of the window.

    Now you should have SIMBADIR/includes/players/account.xml

    You can edit it with notepad and see that it has your info.

    I've had my players file empty itself out a couple of times, not sure what I did to cause it. I've been making a manual copy of the xml file to be able to recover if there is an issue.
    Will give this method a go and let you know how it went.

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

    Default

    Still can't get it to work. I could see the XML file that I had created in the first place, in fact there were two that I had made with different names. Deleted both of them, made a new one. It's showing, my data is in it. No good still...

  6. #6
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Strange. I would try this:

    Change SIMBADIR/includes/srl-6/core/players.simba line 276 from:
    Code:
    print('Couldn''t find army file(' + army + ')', TDebug.ERROR);
    to
    Code:
    print('Couldn''t find army file(' + __PATH_PLAYER + army + ext + ')', TDebug.ERROR);
    At least then it will print the exact path name it's telling you does not exist. It hasn't even looked in the file at the point of the error you reported, it's just seeing if it exists.

  7. #7
    Join Date
    Aug 2014
    Location
    Michigan, USA
    Posts
    138
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    I am having the same issue.
    Although it tells me the account I am having troubles with.
    Looking for this to be resolved!
    Thanks in advance!

  8. #8
    Join Date
    Nov 2013
    Location
    North of Hell
    Posts
    271
    Mentioned
    7 Post(s)
    Quoted
    171 Post(s)

    Default

    Quote Originally Posted by Godless View Post
    Still can't get it to work. I could see the XML file that I had created in the first place, in fact there were two that I had made with different names. Deleted both of them, made a new one. It's showing, my data is in it. No good still...
    Is the scripts your running using a player form, or do you actually enter the player nickname into the script, like on one of the lines?

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

    Default

    Sorry, haven't exactly been active lately as I've had some time to legit. I actually solved the issue I believe. Thank you for the help though. You too bonsai.

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
  •