Coh3n
2012-02-17 00:01:17
Last updated: Mar. 5th, 2012
__________________________________________
Introduction:
[INDENT]Well, the beta release is finally here! It is somewhat rushed as I will be gone for most of this weekend and next week. I'm hoping that will give people plenty of time to test things out. This release comes with several new, useful, functions and more importantly, a brand new random event solver system. If you're interested on how some events were solved, take a look at the source code (I don't want to explain every single one).
First and foremost, thanks very much for the people who supplied me with accounts in random events. You were a huge help. I would especially like to thank bolshak25 and kevin33 as they have provided me with several accounts time and time again. A huge thanks also goes to DemiseScythe who wrote most of the original solvers (I just cleaned them up) and worked alongside me though out the process. Without her, there's no way I would have taken on a project like this.
For the status of each solver in the new system (including which are disabled), please take a look at this thread. You shouldn't experience any compiling errors with this release, but if you do, please post here and we can figure it out.
[ADMIN]I have NOT tested this a lot while running a script, so do not expect this to be flawless. After all, it's only a beta release.[/ADMIN][/INDENT]
Testing:
- Disable your SRL updater (SRL > Automatically > Update).
- Download the new SRL version from here.
- Extract its contents to Simba/Includes/.
- Rename the folder "SRL" without the quotes (delete or rename your old SRL folder).
- Call SRLRandomsReport in your script (to see which are being solved).
- Run whatever script you want.
Notable Changes:
- A global array, SRL_Randoms, is set in SetupSRL. You can disable any random solver (will logout when found) at any time, by doing this:
SRL_Randoms[SRL_RAND_FROG].disabled := true;
SRL_DisableRandoms := true;
SRL_RandomScreenShot := true;
with players[0] do
begin
name := '';
pass := '';
active := true;
boxRewards := ['amp'];
lampSkill := SKILL_MINING;
end;
procedure Coh3n_OnRandomCall();
begin
if (findDead()) then
deathWalk();
if (findMod()) then
changeWorlds();
findDwarvenPopup();
end;
begin
setupSRL();
SRL_Procs[SRL_OnRandomCall] := @Coh3n_OnRandomCall;
end.
SRL_Procs[OnRandomCall] is called every time FindNormalRandoms or FindNonInventoryRandoms is called.
SRL_SavePath('c:/Users/Coh3n/Desktop/');
SRL_DisableRandoms := true;
Function Additions:
- GetMusic, AreTalking, GetNPCChatName, and DoConversation added to gametab.simba.
- TakeScreen added to SRLlog.simba.
- Grid added to math.simba (incredible function for things like invBox, gameTab, bankBox, etc.).
- GridBox added to math.simba.
- WaitFindDTM, WaitTabExists, and WaitNPCTalking added to timing.simba.
- ReturnTPAExceptColors added to color.simba.
SRL Random Tool:
[INDENT]This is a neat tool that I discovered shortly before starting this thread. The random tool is a form that is run when a random event is detected. It then gives the user the choice whether they want to solve the random themselves, or have SRL do it. Unfortunately, this tool doesn't work properly, but it is quite simple and wouldn't require a lot of editing for it to work again.
If someone would like to fix it up, the file is in Includes/SRL/srl/misc/randomtool.simba. I really don't think it needs that much editing to work properly, but some of the code is messy and may be hard to understand.
[/INDENT]
To-do Before Full Release:
- Updated stats code for new system.
Save debug logs of random events so they can always be accessed.Finish most Mordaut puzzles, don't know exactly how many there are.Update and add Wizzup?'s Quiz solver.Add Beekeeper and Forester solvers.- Fix any bug reports that come in.
Conclusion:
[INDENT]Please post any issues (along with debug text, if possible) on this thread. Any feedback is appreciated. Let's hope everything goes smoothly so this can be fully released as soon as possible. :) If you have any suggestions, please post them here.
[/INDENT]
Cheers,
Coh3n