SRL Archive - General Botting Help

Starting to get frustrated...


Godless

2013-10-21 09:36:10

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…

bonsai

2013-10-21 09:58:09

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.

Kevin

2013-10-21 13:38:22

Have you actually setup any accounts to work in the player manager?

Godless

2013-10-22 06:26:46

From: bonsai
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.

Godless

2013-10-26 03:13:26

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…

bonsai

2013-10-26 03:40:55

Strange. I would try this:

Change SIMBADIR/includes/srl-6/core/players.simba line 276 from:
print('Couldn''t find army file(' + army + ')', TDebug.ERROR);
to
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.

xSorrels

2014-08-30 19:55:46

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!

The Spark

2014-08-30 19:58:08

From: Godless
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?

Godless

2014-09-11 07:44:14

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. :)