SRL Archive - OSR Help

Simba is crashing and I cannot set it up again


footballjds

2022-08-28 15:08:12

lol, yeah title says it… Simba started crashing. So i tried downloading simba again and setting it up in a new directory. but now nothing works. I'm not sure if we have a "best practices" or "standard include" at the moment. But i'll attach a script that would have worked recently for me: https://villavu.com/forum/attachment.php?attachmentid=28931&stc=1&d=1661713669

Simba 1400 encountered an unhandled exception.

Exception class: ELayoutException
Exception message: Position range overflow in AnchorDockSplitter3.SendMoveSizeMessages: Left=407, Top=102256.
$0000000100142E75
$000000010014DAAE
$0000000100154FC0
$000000010014AED9
$00000001003AD723
$00000001003AD950
$00000001003A589D
$00000001001474A0
$0000000100152A8B
$0000000100152AC8
$000000010015283C
$00000001001413A9
$000000010014CC6E
$0000000100141A41
$000000010014879C
$0000000100033F2A
$0000000100036B7D

I guess i'm asking for help resolving the issue or setting up a new fresh environment for scripts. I'm not sure what includes, fonts, plugins, or rswalker to get. Or even if they're all separated still or bundled.
EDITafter removing the LAYOUT line from settings.ini simba doesn't crash anymore. but now i cannot get any scripts to compile. I'm running into 'fresh install' type errors.


here's a copy of packages.ini (which i think lists the packages i was using):
[srl/srl]
InstalledVersion=4.1.1
InstalledVersionTime=5/13/2020 23:21:26

[srl/srl-plugins]
InstalledVersion=1.01
InstalledVersionTime=7/5/2019 20:48:22

[srl/srl-fonts]
InstalledVersion=1.02
InstalledVersionTime=7/6/2019 1:07:19

[ollydev/RSWalker]
InstalledVersion=1.3.0
InstalledVersionTime=7/14/2018 3:39:57
[ATTACH=CONFIG]28932[/ATTACH]
[ATTACH=CONFIG]28933[/ATTACH]

did I posisbly mismatch my version of simba and the includes i'm using?

footballjds

2022-08-28 15:30:55

So i Navigated to C:/Simba/Data/settings.ini and deleted the line that referenced layout from settings. Now Simba loads fine without crashing. However, no scripts will run.


Now when trying to run a script i'm seeing:
Cannot overload function at line 688, column 83 in file "C:\Simba\Includes\SRL\shared\drawing.simba"

that line is:
procedure TMufasaBitmap.DrawText(txt: String; pt: TPoint; Color: TColor); overload;

no clue why this just started happening. two days ago i could run my scripts (i'm probably using old includes, but nothing changed so i'm lost as to why i cannot continue to just press play. hahahahha)

Now it seems like i'm getting fresh simba install errors… Would like to get my scripts working again with whatever include i used to use. I probably have 20-40 scripts. I've tried a fresh install so many times. I dont think theres an up to date guide on the version of srl i was using…

I am using SIMBA 1400 and the following:
https://github.com/srl/srl/tree/master
https://github.com/srl/srl-plugins/tree/master
https://github.com/srl/srl-fonts/tree/master
https://github.com/slackydev/RSWalker/tree/master

should i be using an older simba with those includes? I've tried a couple different versions of simba but cannot ever get any script to compile now. my scripts used to work. a basic script now always throws the following error in drawing.simba:
[ATTACH=CONFIG]28934[/ATTACH]

EDIT
Solution(kinda…)

Per Olly's advice on discord i just commented out every line related to bitmap drawing. Things compile now but debugging is harder because things like RSW.DebugPos() no longer can draw text over bitmaps.

Gf Fagex

2022-08-30 02:25:39

From: footballjds
So i Navigated to C:/Simba/Data/settings.ini and deleted the line that referenced layout from settings. Now Simba loads fine without crashing. However, no scripts will run.


Now when trying to run a script i'm seeing:
Cannot overload function at line 688, column 83 in file "C:\Simba\Includes\SRL\shared\drawing.simba"

that line is:
procedure TMufasaBitmap.DrawText(txt: String; pt: TPoint; Color: TColor); overload;

no clue why this just started happening. two days ago i could run my scripts (i'm probably using old includes, but nothing changed so i'm lost as to why i cannot continue to just press play. hahahahha)

Now it seems like i'm getting fresh simba install errors… Would like to get my scripts working again with whatever include i used to use. I probably have 20-40 scripts. I've tried a fresh install so many times. I dont think theres an up to date guide on the version of srl i was using…

I am using SIMBA 1400 and the following:
https://github.com/srl/srl/tree/master
https://github.com/srl/srl-plugins/tree/master
https://github.com/srl/srl-fonts/tree/master
https://github.com/slackydev/RSWalker/tree/master

should i be using an older simba with those includes? I've tried a couple different versions of simba but cannot ever get any script to compile now. my scripts used to work. a basic script now always throws the following error in drawing.simba:
[ATTACH=CONFIG]28934[/ATTACH]

EDIT
Solution(kinda…)

Per Olly's advice on discord i just commented out every line related to bitmap drawing. Things compile now but debugging is harder because things like RSW.DebugPos() no longer can draw text over bitmaps.


Any chance you would be willing to send me your simba files and help me get jacz aio cooking script running?

slacky

2022-08-30 10:14:38

Idk about your issue, but we are mainly using Simba 1400 these days, along side SRL-Dev version.
https://github.com/Villavu/SRL-Development/releases
https://github.com/Villavu/Simba/releases

If you want to be ahead of the curve you go for Simba 1500
alongside SRL for Simba 1500
This is what is being slowly moved to

Tho keep in mind that no old villavu script will run on these versions. Specially not 1500. As a lot has been rewritten, and new features has been introduced. There is a guy who makes a lot of scripts under the name wasp, there are both free and payed for scripts that uses Simba 1400, but also needs the wasp include which extends on SRL, not the official SRL, but a fork that has a bit more rapid updates. Wasp discord: https://discord.gg/kJC8pzbR, Olly and Flight is present in this community, and Flight plans to release scripts utilizing wasp-lib.
https://github.com/Torwent/wasp-free

You dont download Simba includes like SRL manually after version 1400. There is an include manager instead.

footballjds

2022-08-30 22:37:23

From: Gf Fagex
Any chance you would be willing to send me your simba files and help me get jacz aio cooking script running?


if you're referring to the includes/plugins/rswalker/etc. these can be accessed via the links that i provided in one of my posts.

Simba itself can be found on github as well.

From: slacky
Idk about your issue, but we are mainly using Simba 1400 these days, along side SRL-Dev version.
https://github.com/Villavu/SRL-Development/releases
https://github.com/Villavu/Simba/releases

If you want to be ahead of the curve you go for Simba 1500
alongside SRL for Simba 1500
This is what is being slowly moved to

Tho keep in mind that no old villavu script will run on these versions. Specially not 1500. As a lot has been rewritten, and new features has been introduced. There is a guy who makes a lot of scripts under the name wasp, there are both free and payed for scripts that uses Simba 1400, but also needs the wasp include which extends on SRL, not the official SRL, but a fork that has a bit more rapid updates. Wasp discord: https://discord.gg/kJC8pzbR, Olly and Flight is present in this community, and Flight plans to release scripts utilizing wasp-lib.
https://github.com/Torwent/wasp-free



Thank you for the info! i might look into wasp-lib

slacky

2022-08-31 08:00:13

Forgot to mention: RSWalker is also in SRL now, since SRL-development. No need to include it manually, it wont work since it's already defiened. We also support scaled GUI in OSRS.

For those includes you are tryin to use, you need Simba 1.2. Maybe 1.3 will work… But the 1.2 RC6 fixes in my footer is probably the best solution.