SRL Archive - OSR Help

Randoms not getting solves


tofiktheman

2013-04-07 12:22:56

I've been using three different scripts, and whenever a random appears, it just stops. In simba, a new tab opens, (antirandoms or something). It highlights a line saying function Findtalk: bolean. I have download that slr-osr, and the scripts I've been using says that they use slr-osr. What shall I do?

Physic

2013-04-07 12:26:49

There's not an official OSR include to solve Antirandoms yet. The devs are working hard to get all antirandoms working for OSR.

Justin

2013-04-07 12:28:04

From: Physic
There's not an official OSR include to solve Antirandoms yet. The devs are working hard to get all antirandoms working for OSR.

The OSR include will solve most randoms.

@OP, Make sure you have set up your player nick - http://villavu.com/forum/showthread.php?p=1217811#post1217811

tofiktheman

2013-04-07 12:33:58

From: Justin
The OSR include will solve most randoms.

@OP, Make sure you have set up your player nick - http://villavu.com/forum/showthread.php?p=1217811#post1217811


I mean, I don't udnerstand where to put the code? In the script I'm about to use?

Justin

2013-04-07 12:35:31

From: tofiktheman
I've done that. But I don't know what to put in my nick. My username?


From: Ashaman88
This will set your nickname for the solver. You should generally just use 3-4 characters from your name (in the above snippet, assuming my name is "Ashaman88", I only put "man88". If you do not have anything in here, it WILL cause a runtime error when calling the random solvers. That is why it is important for the scripter to add a failsafe to shutdown the script if there is no value for that (in the future it may be handled by the include).


I have underlined the answer

tofiktheman

2013-04-07 12:38:37

From: Justin
I have underlined the answer


The script i use, ask for a nick, I typed my nick, but still the randoms aren't getting solved. Do I have to put something to even if the scipt allready asks for the nick?

Justin

2013-04-07 12:40:12

You need to make sure the script is also calling 'FindNormalRandoms;' where ever possible. If it isn't your script, maybe post on the thread asking the creator to add this, or you could add it yourself (Need it almost every 5-7 lines)

tofiktheman

2013-04-07 12:42:02

From: Justin
You need to make sure the script is also calling 'FindNormalRandoms;' where ever possible. If it isn't your script, maybe post on the thread asking the creator to add this, or you could add it yourself (Need it almost every 5-7 lines)


I used 3 different scripts (all recommended in the script directory), is it really possible that this is the problem

EDIT: + As I said, in simba, an antirandom tab opens when I get a random.

Justin

2013-04-07 12:44:05

From: tofiktheman
I used 3 different scripts (all recommended in the script directory), is it really possible that this is the problem


Chances are that it is the problem. All scripts that I have made have detected and solved\logged out (on disabled randoms).

tofiktheman

2013-04-07 12:45:35

From: Justin
Chances are that it is the problem. All scripts that I have made have detected and solved\logged out (on disabled randoms).


But the antirandom tab opens in simba, so I don't see how it is the script I am using which is the problem.

Ashaman88

2013-04-07 12:47:02

From: tofiktheman
But the antirandom tab opens in simba, so I don't see how it is the script I am using which is the problem.


redownload the include

Justin

2013-04-07 12:47:33

From: tofiktheman
But the antirandom tab opens in simba, so I don't see how it is the script I am using which is the problem.


Can you please copy-paste what the box at the bottom of Simba says when this happens? Also the line that is highlighted in antirandoms.simba

Thanks

tofiktheman

2013-04-07 12:47:43

From: Ashaman88
redownload the include


I downloaded this today, so it couldn't possibly be outdated?

Can you give me the link, so I download the right one?

tofiktheman

2013-04-07 12:49:27

From: Justin
Can you please copy-paste what the box at the bottom of Simba says when this happens? Also the line that is highlighted in antirandoms.simba

Thanks


I'll do that as soon as I get another random :P

Ashaman88

2013-04-07 12:51:10

From: tofiktheman
I downloaded this today, so it couldn't possibly be outdated?

Can you give me the link, so I download the right one?


Then yes if the scripter put declareplayer before setupsrl and your put something in for your nickname, it should work fine

tofiktheman

2013-04-07 12:52:41

From: Ashaman88
Then yes if the scripter put declareplayer before setupsrl and your put something in for your nickname, it should work fine


It looks like this:
begin
SetupSRL();
SRL_CombatRandoms := False;
DeclarePlayers;
ActivateClient;
ClearDebug;
writeln('HoodzFighter version 1.4')

Justin

2013-04-07 12:54:00

From: tofiktheman
I downloaded this today, so it couldn't possibly be outdated?

Can you give me the link, so I download the right one?


https://github.com/SRL/SRL-OSR/archive/master.zip - That link will always give you the most updated include (Until it's pushed out with Simba to auto-update)

From: tofiktheman
It looks like this:
begin
SetupSRL();
SRL_CombatRandoms := False;
DeclarePlayers;
ActivateClient;
ClearDebug;
writeln('HoodzFighter version 1.4')


Change it to this


begin
DeclarePlayers;
SRL_CombatRandoms := False;
SetupSRL();
ActivateClient;
ClearDebug;
writeln('HoodzFighter version 1.4')