Should work then :).
Printable View
I try to use the switchrandomWorld() function but it fails to click on a world in the world list half of the time. Am I the only 1 with this problem or is it "normal" for AL at the moment?
So if I recall correctly we (well I think it was @Dgby714) resolved this issue quite some time ago, id assume it will be available in the next "official" Simba-release, the issue was simply bad priority, loadlib was resolved before all other directives.
The current work-around goes something like this:
Create a new File: Loadlib_Prosocks.inc containing the following...
And then replace line 617 in `AeroLib/core/engine/SimbaEx.simba` which currently says `{$loadlib prosocks}` with:pascal Code:{$loadlib prosocks}
That should do it (at this end), but an equal fix should be added to reflection as well - it's needed if reflection is included after AeroLib.pascal Code:{$ifndecl Pro_CreateSocket}
{$include_once Loadlib_Prosocks.inc}
{$endif}
Hey, any help would be appreciated i receive 'Error: Unknown declaration "SSLSocket" at line 79' in Misc.Simba whilst compiling a previously running script?
Using [Reflection] ineedbot's AIO Fisher, I have updated AeroLib and still receive this error.
[Status] All cached references free'd from memory
Successfully executed.
Any idea what's wrong?
Same here. http://prntscr.com/8f9s2g
Code:[AL] Initiating AeroLib...
[AL] Checking version...
[AL] Currently up to date.
[AL] Loaded 2 MSObjects.
Failed To Find Java.exe or Javaw.exe. Please add ...\JRE\Bin to your PATH environment variable.
[AL] Best world found: 70
[AL] Error while finding Java, using default path
[AL] SMART cannot spawn clien
great guide! thanks!
Why do i get this when i try to start this?
http://i.imgur.com/uwehwz9.png
Can someone tell me if there is a mousebox function in this include at all?
I had a look through each of the scripts and I couldn't see any info on mouse movement.
Hey all,
Can anyone give me a snippet on how to use graphics in AeroLib? :)
wanting something simple that can do:
<Skill> experience gained: <Experience>
Time Running: <Time running>
Sure, this is from my herblore script, adapt it to your needs!
Just set up a number of modes for XP and it should be fine :)Code:var
TotalDone, TotalCleaned, x, y : Integer;
XP : Extended;
procedure Draw(text: string); // Davi inspired
var
DonePH, XPPH, CleanedPH: integer;
TillBreak, BreakNo, DoingBreak : String;
FillBox : TBox;
begin
DonePH := Round(((TotalDone) * 3600) / (GetTimeRunning / 1000));
XPPH := Round(((TotalCleaned*XP) * 3600) / (GetTimeRunning / 1000));
CleanedPH := Round(((TotalCleaned) * 3600) / (GetTimeRunning / 1000));
TillBreak := 'Time until break: '+msToTime(getTimeUntilBreak(), Time_Bare);
DoingBreak := 'Time breaking for: '+msToTime(break_RealTime, Time_Bare);
BreakNo := 'Breaks Taken: '+IntToStr(break_Count);
FillBox := InttoBox(5, 345, 515, 502);
OS_Smart.__Graphics.Clear;
OS_Smart.__Graphics.DrawBox(FillBox, True, clNavy);
OS_Smart.__Graphics.DrawClippedText('Status : ' + text, 'SmallChars', point(350, 365), clGray);
OS_Smart.__Graphics.DrawClippedText('AHerblore - Version. ' + ScriptVersion , 'SmallChars', point(10,365), clGray);
OS_Smart.__Graphics.DrawClippedText('Run Time : ' + TimeRunning ,'SmallChars', point(10, 385), clGray);
OS_Smart.__Graphics.DrawClippedText(IntToStr(TotalDone) + ' Total Done ', 'SmallChars', point(10, 405), clGray);
OS_Smart.__Graphics.DrawClippedText(IntToStr(DonePH) + ' Done (P/H)', 'SmallChars', point(350, 405), clGray);
OS_Smart.__Graphics.DrawClippedText(IntToStr(TotalCleaned) + ' Total Cleaned ', 'SmallChars', point(10, 425), clGray);
OS_Smart.__Graphics.DrawClippedText(IntToStr(CleanedPH) + ' Cleaned (P/H) ', 'SmallChars', point(350, 425), clGray);
OS_Smart.__Graphics.DrawClippedText(Floattostr(TotalCleaned*XP) + ' Herblore exp gained.', 'SmallChars', point(10, 445), clGray);
OS_Smart.__Graphics.DrawClippedText(IntToStr(XPPH) + ' Herblore XP (P/H)', 'SmallChars', point(350, 445), clGray);
OS_Smart.__Graphics.DrawClippedText(TillBreak, 'SmallChars', point(10, 465), clGray);
OS_Smart.__Graphics.DrawClippedText(DoingBreak, 'SmallChars', point(10, 485), clGray);
OS_Smart.__Graphics.DrawClippedText(BreakNo, 'SmallChars', point(350, 485), clGray);
end;
That was my next project. Have been trying to perfect my Nightmare Zone script (which I believe is complete) so while my mates are beta testing that I will be starting work on my herblore script.
I have a lot of time to kill at night after work so it won't take long; I'll flick it your way when its in alpha :D
Hey there everyone. Just dropping in for a minute to let you all know what's up. I've been quite busy with work for a while now but had a two-day weekend so I've been tinkering around with some things. I have a few additions and upgrades to do to AeroLib and, if I've the time I'll be pushing a new revision within the next week. It's just difficult to say when I'll have the time to do so, so for what it's worth I do apologize for being behind in updating AeroLib. If it becomes apparent that this'll be a continue issue then I'll have someone else, trusted, come and maintain the include in my absence. On that note if you're interested in doing so drop me a line.
So please be sure to post here any issues you're having with the include or anything new you'd like to see added. Thank you all for your feedback.
Hi there, I'm new here and I had a question.
I did all the steps above. But here is what it said;
Compiled successfully in 1797 ms.
[=================================]
| < Aero|Library > |
| ---------------- |
| Version : 1,2 |
| Revision : 1 |
[=================================]
[AL] Initiating AeroLib...
[AL] Checking version...
Error: "1.2" is an invalid float at line 135
Execution failed.
---
line 135 is this;;
if ((AL_VERSION_MAIN >= strToFloat(vM)) and (AL_VERSION_SUB >= strToFloat(vS))) then
---
How can i fix this?? I really would like some help.
Thanks, this saved me a lot of trouble:)
Well I've had an update ready to go since this morning but I cannot for the life of me get GitHub Windows to cooperate, so I'm unable to push the update. I've been fighting with this all day and I'm absolutely burned out. I'll have another go at it tomorrow and if I still get no where then I'll discontinue AeroLib in GitHub and switch to something else that works. I'll try to keep you all posted.
Glad to see you're still working on this Flight
After lots of frustration I was able to settle the issue with pushing the new version to GitHub. So here we are, revision #2 has been uploaded and your AeroLib will be auto-updated the next time you run it. Here's a list of some of the notable changes:
- scrollToItem (Bank.simba) now utilizes the scroll wheel on the mouse, but can still (optionally) use the scroll bar if you choose to
- Prayer routines, by @Dan the man, have been added
- setDefaultZoom procedure added as well as an update for all display settings & the fixGraphics procedure
- clickNorth added
- Some handy functions for the XPBar (core/minimap/Orbs.simba)
- The newest version of @slacky's RSWalker
- @Clownhair's world list fix for the world selection screen
Now for those of you running scripts which use RSWalker you're going to notice a compile issue. This is because of the new format for TRSWalker.init, which now uses a single parameter (map name [string]) as opposed to (directory, mapname [string]). Simply remove the 'surface' or 'custom', whichever you use. Now all map files are to be placed in the maps directory. You'll see this in the updated AeroLib. An example fix would be:
...changed to:Simba Code:Walker.init('surface', 'WorldMap');
Simba Code:Walker.init('WorldMap');
As always if you have any issues or additions you'd like to see included in AeroLib feel free to post them here or PM me directly.
I'm having the same issue. I keep trying to update AeroLib, and it tells me to restart the script after updating, but when I restart the script it gives me the same message. Where did you redownload the package? I'm unsure what you mean by "masterbrange". Thanks for the help, and great job as usual Flight, looks exciting!
EDIT: I found the issue. Here's what you need to do. You need to let AeroLib update automatically through Simba once, and then go into C:/Simba/Includes, delete your old "AeroLib" folder, and then rename the new "AeroLib-master" folder to "AeroLib". No need to re-install anything from the master branch at GitHub. Hope this helps.