SRL Archive - Reflection Discussion

[R2]Antirandoms; looking good!


Flight

2011-07-21 12:38:57

Just wanted to post an update to let the Dev know how the antirandoms for R2 are coming along…

So… of the current antirandoms we have for R2 there's a handful that are working 100% so far.

  • Beekeeper
  • Certer
  • Mime
  • Leo
  • Demon
  • Maze

Here's a list of completed randoms that have reports of failures:

  • Abyss
  • Forester

So far so good!

I don't know about the others though. I recently converted our Frog antirandom over R2 and at the rapid rate of randoms (we) are getting using my newest R2 scripts, I think it's only a matter of time before I can find out for sure if it works correctly or not.

As you can see in my LividFarmer script (R2) we trigger random events quite often, so if anyone has some accounts they'd like to let the Dev team borrow for fabricating anti-random scripts and has the ability to use this script, I highly recommend it. In about 1 day and a half it's triggered 13 randoms. So, Reflection Dev team, if you really need your antirandoms tested go ahead and throw them in R2 and hopefully everyone will promptly add them to their R2 libraries so our R2 scripts can tell us if they're successful or not.

Also, if you'd like to take a look for yourself which randoms are working or not, just look at the Stats page for LividFarmer.

Echo_

2011-07-21 14:06:56

Nice to hear that most of them are working 100% :thumbsup:

Flight

2011-07-21 22:28:22

Just noticed, Leo and Demon antirandoms are now tested successfully. :)

mormonman

2011-07-21 22:56:53

Looks like pinball needs to be added :D

Flight

2011-07-22 00:15:23

Has someone already started work on it yet?

By the way, added Abyss to the list, it tests out successful as well. :thumbsup:

litoris

2011-07-28 03:27:15

I saw abyss being solved too. It failed on Certer once though, I had to fix it myself.

mormonman

2011-07-28 03:28:24

From: litoris
I saw abyss being solved too. It failed on Certer once though, I had to fix it myself.


How did it fail?

litoris

2011-07-28 04:00:13

From: mormonman
How did it fail?


It was talking to the certer guy, the debug said that the char wasn't talking to the certer, and then it couldn't find portal and then said "random failed!" in the debug, I was watching 't all along and 't did nothing in-game.

Wizzup?

2011-07-28 07:18:46

Seems the Quiz fails too? I'm pretty sure the SRL one works fine. :p

Flight

2011-07-28 07:27:02

From: Wizzup?
Seems the Quiz fails too? I'm pretty sure the SRL one works fine. :p


The Quiz hasn't even been worked on yet.

mormonman

2011-07-28 09:53:53

From: Wizzup?
Seems the Quiz fails too? I'm pretty sure the SRL one works fine. :p


var
RQuizVars_NPC: TNPC;

function RQuiz_InRandom: Boolean;
begin
Result := R_FindNPC(2477, True, RQuizVars_NPC);
if Result then
Result := (R_DistanceFromTile(RQuizVars_NPC.Tile) < 5);
end;

function RQuiz_Solve: Boolean;
begin
Result := False
end;

Ya, reflection is good…..but not that good. It can't solve a random when the solving function just returns false.

NCDS

2011-07-28 15:01:33

From: mormonman
var
RQuizVars_NPC: TNPC;

function RQuiz_InRandom: Boolean;
begin
Result := R_FindNPC(2477, True, RQuizVars_NPC);
if Result then
Result := (R_DistanceFromTile(RQuizVars_NPC.Tile) < 5);
end;

function RQuiz_Solve: Boolean;
begin
Result := False
end;

Ya, reflection is good…..but not that good. It can't solve a random when the solving function just returns false.


IMO you should have it call the color solver then, at least until you get a reflection solver in place. Seems better than just 'killing' the player anyways.

Just my 2 cents.

Drakan

2011-07-28 16:04:01

Sure we could do that, I just had it return false because I had an hour to put reflection together before I was leaving on vacation and hadn't even added randoms yet. If one of the reflection devs can add it then it would be great. And yes wizzup, we don't even have a quiz solver added yet….

Flight

2011-07-28 20:50:12

Added Maze to the list, as it was tested successfully as well. Looks like PinBall has a high rate of being triggered at the Livid Farm. I hope everyone (who uses this script) has it added to their random events so we can see if it works or not.

Echo_

2011-07-29 11:31:34

From: drags111
Sure we could do that, I just had it return false because I had an hour to put reflection together before I was leaving on vacation and hadn't even added randoms yet. If one of the reflection devs can add it then it would be great. And yes wizzup, we don't even have a quiz solver added yet….


Sent the changes over Github, now someone just needs to add it.

Jakkle

2011-07-29 20:09:16

Forester Random: just kept clicking on the forester guy to see which pheasant to collect.
Edit:
I had a look at the forester.simba in antirandoms. I seen that the ncp chat you had it detecting for is different to what the forester guy said. This is what he says now implemented like you would put it inside Foester.simba
if (Pos('kill a pheasant', NPCChat) > 0) then
begin
Tails := Trim(Between('Can you kill a ', '-tailed pheasant, please?', NPCChat));
case Tails of
'one': Result := RForestVars_OneTail;
'two': Result := RForestVars_TwoTail;
'three': Result := RForestVars_ThreeTail;
'four': Result := RForestVars_FourTail;
else

Edit2:Even tho I added that tho it still don't work :S thought that would be it.

KingKong

2011-07-29 21:14:10

Didn't detect Graveyard random, just stood there doing nothing for about 15mins.

onilika

2011-07-30 01:03:53

Hey…just to report that I've had problems with the abyss random. It has detected that I were at the random, but it wasn't able to find the odd appendage. Had to stop it and do it by my own.

Jakkle

2011-08-03 11:23:05

[Reflection] Trying to solve: Mime
[Mime] Animation: 857
[Mime] Animation: 861
[Mime] Animation: 1130
[Reflection] Mime solved
[Reflection] Out of random
[Reflection] Solving took: 59421 ms

Edit: some reason i didn't see it in the list lol :duh:
Anyway confirms it works :p

Flight

2011-08-03 20:42:10

From: Jakkle
[Reflection] Trying to solve: Mime
[Mime] Animation: 857
[Mime] Animation: 861
[Mime] Animation: 1130
[Reflection] Mime solved
[Reflection] Out of random
[Reflection] Solving took: 59421 ms

Edit: some reason i didn't see it in the list lol :duh:
Anyway confirms it works :p


Yep that one's already added to the list.

bolshak25

2011-08-03 23:38:05

[Mordaut] Unable to load the Door Object.

spams debug with that, but it clicked the door, and was out of it

Jakkle

2011-08-05 18:41:49

[Reflection] Trying to solve: Quiz
[Quiz] Question interface up
[Quiz] Question interface up
[Quiz] Question interface up
[Quiz] Question interface up
[Reflection] Quiz solved
[Reflection] Out of random
[Reflection] Solving took: 27830 ms

And again

[Reflection] Trying to solve: Quiz
[Quiz] Question interface up
[Quiz] Question interface up
[Quiz] Question interface up
[Quiz] Question interface up
[Reflection] Quiz solved
[Reflection] Out of random
[Reflection] Solving took: 28892 ms

Edit1:
Drill daemon solved :)

[Reflection] Trying to solve: Drill Demon
[Reflection] Drill Demon solved
[Reflection] Out of random
[Reflection] Solving took: 60606 ms

ry0240

2011-08-06 00:20:13

Whats that one random called where your in a cage, and you have to click the shapes to unlock the cage? the script I was using a ref2 script and it just sat there saying "reflection cannot find walk path" or something like that. It just stayed logged in for like 3 hours saying that and didnt realize it was in the random.

Flight

2011-08-06 00:39:17

From: ry0240
Whats that one random called where your in a cage, and you have to click the shapes to unlock the cage? the script I was using a ref2 script and it just sat there saying "reflection cannot find walk path" or something like that. It just stayed logged in for like 3 hours saying that and didnt realize it was in the random.


That's a script fault. There is no way to detect if we're in a random event while walking a path, that's why WindWalking is nice.

mormonman

2011-08-06 02:16:00

I'm going to make a new thread for this ok? Similar to the old ref1 antirandom bugs thread.

mormonman

2011-08-06 02:31:33

Closed this thread. Please refer to this one from now on: http://villavu.com/forum/showthread.php?p=809420