SRL Archive - OSR Help

Problem with Script - Smart Params


jaketuricchi

2013-03-28 08:45:08

In attempting to run SeanStar's cavefighter script I am getting the error:

[Error] D:\Users\Jake\My Documents\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

line 228 being:
Result := IDs;

I just set up SRL-OSR there as i've been running Danny's include for all other scripts - perhaps I set up wrong but it looks fine to me

If someone could help me with this thatd be great

Runehack123

2013-03-28 08:46:22

i dont think it ahs to do anything with line 228 this is just another weird Simba error EURURGHHGHGHHHH so many error :( needing my helping

jaketuricchi

2013-03-28 08:53:01

haha, fair enough. Any ideas then nah?

Runehack123

2013-03-28 08:57:44

don't know maybe a clean reinstall willl fix it or type the error into google search :) that's the best help
google search is always better than the forum search tool

jaketuricchi

2013-03-28 09:42:11

I'm having no luck. I re-downloaded/installed SRL-OSR and couldnt find any help elsewhere.

Anyone else got any clues?

tomaatje

2013-03-28 15:17:27

I have this error for myself, i tried everything I even reinstalled.

Morgan Lol

2013-03-28 20:39:32

I got this error too, and I don't know what to do either. if you figure it out, please let me know!

jaketuricchi

2013-03-29 08:03:13

Anyone had any luck? I've given up im too stuck….

darkage112

2013-03-29 09:07:44

everything worked just fine for me yesterday, and all the suddenly i get this error today, some one help pls.

taartje

2013-03-29 10:10:45

If the script has {$DEFINE SMART} in it, try putting an 8 behind the SMART part.

tipfout

2013-03-29 10:19:18

That isn't it.
Never mind, actualy it solved the error:
'[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228'
But it just gave me a new one:
'[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(241:157): Invalid number of parameters at line 240'

ANinja

2013-03-29 11:18:09

I am also getting the Invalid number of parameters at line 228. I am trying to use the FightCaveTrainer script.

tipfout

2013-03-29 11:33:32

I just deleted my whole Simba folder and re-installed everything and I got rid of the errors.

vigilante123

2013-03-29 16:48:21

From: ANinja
I am also getting the Invalid number of parameters at line 228. I am trying to use the FightCaveTrainer script.


same here, trying to run the same script and i get the line 228 error

edit:

I tried running it and i get the line 228 error, then if I run the smartparams script that auto opens up in a tab on the error I get this:

[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.
[Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(35:7): Unknown identifier 'Smart_World' at line 34
Compiling failed.

and it highlights "Smart_World" on line 34

rj

2013-03-29 16:50:57

http://www.youtube.com/watch?v=IqukGefbw48

vigilante123

2013-03-29 17:08:01

From: RJJ95
http://www.youtube.com/watch?v=IqukGefbw48


That worked. I just re-installed SMARTv8.0 and re-ran the fight cave script and it worked fine. I even left the {$DEFINE SMART} code on line 3 as is, and did NOT change it to {$DEFINE SMART8}