Forum
Questions, builds, help and the odd argument. The mods and guides are out front.
Awesome
That was exactly what i needed, thanks a lot
Hi, i love the pack you've created. Ive been playing street legal about 15 years and once i came across this i never touched the base game again. I seem to be having an issue though in the later stages of the game. When i exit my garage and head to the night time drag races, I select "Participate" and my game instantly crashes to desktop. This happens regardless of what car i use and its completely halted my progress :crying: Ive checked the error.log and its only a few lines so i shall pop it in here:
[list]
Invalid wear!
Invalid wear!
!Script error
Thread: Ljava.game.cars.Subaru_WRXSTI_2017;<577a4a90>
Error: Thread::evalName: null.methodcall()
java.lang.GameType:run (line:156)
!Instance::getArrayElement: index (300) out of bounds (300) for variable length at file "java.game.City" at line 1367
!Instance::getArrayElement: index (300) out of bounds (300) for variable length at file "java.game.City" at line 1367
!Instance::getArrayElement: index (300) out of bounds (300) for variable length at file "java.game.City" at line 1367
!Instance::getArrayElement: index (300) out of bounds (300) for variable length at file "java.game.City" at line 1367
[/list]
Hopefully this'll mean something to someone. I get that there's an issue with a Subaru WRX STI but i haven't got a clue how to fix it.
Thanks in advance for keeping this awesome game alive.
Hmm something seems fishy you should not get the Invalid wear errors, I removed every reference to that particular error message from the exe quite some time ago.
But maybe its just some remnant message from long ago.
Your city.java is not the latest one somehow, but I think I know where the error is coming from so lets try this first on your end:
open the slrr_root_dir\sl\Scripts\game\src\City.java file and replace this line:
if(Math.random() < 0.5 && (playerID+5) <= clubMax )
to this:
if(Math.random() < 0.5 && (playerID+5) < clubMax )
replace this other line:
if(Math.random() < 0.5 && (playerID+10) <= clubMax )
to this other line:
if(Math.random() < 0.5 && (playerID+10) < clubMax )
If indeed these do exist if not then share your \sl\Scripts\game\src\City.java file and I'll fix it and post it back thats fine too
Also delete the error.log file to clean it up, the game will recreate it on a crash (that would write to it) so you wont miss error messages.
Brilliant! That seems to have fixed it 🙂 Thank you very much, i really appreciate you taking the time to help. Could you offer me some gameplay tips? Im on the Red Flames races and the cars im using are all 1000+ bhp monsters that wheel spin in every gear which is costing me a lot of time in the drag races. Ive tried fitting bigger and wider wheels and tyres but it doesnt seem to make any difference. Is there a way to get more grip from the cars with lots of torque?
I'm glad it worked out 🙂
All wheel drive seems to help aaand there are some tires with insane grip for the 15' rims if push comes to shove, however silly it looks 😛
Ill give them a try, im about ready for a new play through as ive just won the race of champions with a Lamborghini Diablo with a Dodge Viper engine in it. I might do a 4 cylinder run and see how far i can get! 🙂
can i please get some help please whenever i'm loading my career the game keeps crashing :/
# lildemon :
can i please get some help please whenever i'm loading my career the game keeps crashing :/
Whats your error log say? Try using a clean install slrr and new career.
# blast :
Whats your error log say? Try using a clean install slrr and new career.
---
JVM::compileSource: Syntax error in ".\cars\racers\Astra_J\scripts\src\AstraJ_AstraJ_Shimutshibu_Focer_RC_200.java" at line 147
!Script error
Thread: THRD-RUNVMI Dummy.handleEvent
Error: Thread::callmethod: native implementation missing for "Ljava.lang.RawEdit;.setI"
java.game.GameLogic:engine_help_ForceMinAllMemLimits (line:12711)
java.game.Garage:enter (line:219)
java.game.GameLogic:changeActiveSection (line:14259)
java.game.MainMenuDialog:osdCommand (line:976)
java.render.osd.Gadget:sendMessage (line:216)
java.render.osd.Button:click (line:31)
java.render.Group:handleEvent (line:178)
i already used a new career it still crashes and i re download the game it still crashes on career this is the only slrr mod that keeps crashing on career when i try to load it. My other slrr don't crash
apoligies for the stupid question - when i download this do i have to apply the patch to it to get it to the latest version? im newish to SLRR and have no idea how to go about this.
an idea for the release would use appveyor which automaticaly updates with whatever change if this were hosted on github or something etc so you wont have to apply the patch and just download it as a whole
Hey amilmand! Big fan of your work! Was just wondering about the description in your SLRR Exhaustive Bits post
-Automatic memory freeup in the non-reshade version (on entering the garage)
What about the Reshade version, is there an option to free memory up too? Thanks in advance
The wheels ain't even rotating and turn
It has been ages but such is life anyhow,
lildemon wroteJVM::compileSource: Syntax error in ".\cars\racers\Astra_J\scripts\src\AstraJ_AstraJ_Shimutshibu_Focer_RC_200.java" at line 147
This is bogus, Slrr just failed to initialize nothing to do try to open it up again
lildemon wroteError: Thread::callmethod: native implementation missing for "Ljava.lang.RawEdit;.setI"
You are not using the patched exe Slrr_GI.exe needs to be run that is where that function is defined.
mehgeme wroteapoligies for the stupid question - when i download this do i have to apply the patch to it to get it to the latest version? im newish to SLRR and have no idea how to go about this.
an idea for the release would use appveyor which automaticaly updates with whatever change if this were hosted on github or something etc so you wont have to apply the patch and just download it as a whole
Yeah... work though maintaining a proper deployment and whatnot its just two files so you know simple enough but I dont think there is anything crucial in the update anywho.
RocketBunnyS13 wroteWhat about the Reshade version, is there an option to free memory up too? Thanks in advance
Reshade takes care of that on multiple triggers I think
the way it works is just that it sets the max mem limits for models and textures to 0 so the game cleans up what it can thats it, two ints set to 0 and then back to whatever the value should be (or is set in resahde)
muhdaffa25 wroteThe wheels ain't even rotating and turn
Right. I honestly have not noticed that like I just never look at the wheels /s
gorgoil wrotelower the lod detail or make it higher
Thanks!
This may be of interest to some other people too maybe
Gorgoil asked for a way to set the max rpm more dynamically than to set it on the block and then updatevariables the chassis:
Ok I figured it out I think
The actual max rpm the game uses is in the runtime dyno data there is a pointer to it on the offset 0x1FBC from the base native chassis pointer the 6th float is the max rpm in the runtime dyno data
so to query:
RawEdit.getF(RawEdit.getI(player.car.chassis.getIndexedAddr(0x1FBC))+24);
to set
RawEdit.setF(RawEdit.getI(player.car.chassis.getIndexedAddr(0x1FBC))+24,7000,0);
proof:
