SRL Archive - Help

For errors in smart.simba


BenLand100

2010-11-30 14:27:19

Before posting or asking for help with errors in smart.scar, make sure you update your SMART plugin to the most recent version. This will be the version in the SRL OpenDev (search the forums). If in doubt, check the version number on your SMART window, I will usually have the most recent version of SMART stickied in the S.M.A.R.T. section in the forums.

Cstrike

2010-11-30 14:36:58

Since it was a pain for me to find, heres the link:
http://www.villavu.com/repositories/srl-opendev


This may be the folder:
http://villavu.com/repositories/srl-opendev/place%20inside%20plugins%20folder/simba/

Wizzup?

2010-11-30 14:38:23

Plugin is already in Simba plugin updater. Next time tell me about the update before committing it to srl-opendev?

E: Actually, if you broke the setup API, does that mean all SRL scripts will no longer work?

BenLand100

2010-12-02 01:12:33

From: Wizzup?
Plugin is already in Simba plugin updater. Next time tell me about the update before committing it to srl-opendev?

E: Actually, if you broke the setup API, does that mean all SRL scripts will no longer work?

>.> I added an argument to the setup method. It happens from time to time. Its not like it was a drastic change, I modified it quite quickly and easily for the entirety of SRL, but catch me on IRC if its not clear…

Sir R. M8gic1an

2010-12-02 10:47:03

From: BenLand100
>.> I added an argument to the setup method. It happens from time to time. Its not like it was a drastic change, I modified it quite quickly and easily for the entirety of SRL, but catch me on IRC if its not clear…


I'd like to ask a question about good / bad practice…


function SmartSetupKey //or a different name
//this would be the new function

function SmartSetupEx(param1, param2, param3) //... the way it used to be
begin
SmartSetupKey(param1, param2, param3, 's');
end;

Why would a wrapper be bad practice? (would it be bad practice?)
–> I guess in a way it wouldn't be as clean…

~RM

BenLand100

2010-12-03 02:23:22

Well, there already is a wrapper method SmartSetupEx, which is called by SetupSRL. I didn't change SmartSetupEx or SetupSRL, so users/scripters won't even notice the change…

Sir R. M8gic1an

2010-12-03 07:20:51

From: BenLand100
Well, there already is a wrapper method SmartSetupEx, which is called by SetupSRL. I didn't change SmartSetupEx or SetupSRL, so users/scripters won't even notice the change…


Oh ok, my bad :)

~RM

ferrydonders

2012-03-22 10:17:45

Exception in Script: Unable to find file 'srl/srl/misc/smart.scar' used from ''
i still get this message i have a new computer and this never happened to me before. i have also tryed to update simba but there stands no updates availeble please help me. btw sorry for bad english i am dutch :D

Kyle Undefined

2012-03-22 10:23:48

Nice grave dig, but to answer your question, the script you're using is outdated.

RSisDead

2012-06-22 13:46:14

[Error] C:\Simba\Includes\SRL/SRL/core/simba.simba(340:14): Unknown identifier '' at line 339
Compiling failed.
Anyone figure out thhis issue yet?

Tniffoc

2012-06-22 13:50:37

From: RSisDead
[Error] C:\Simba\Includes\SRL/SRL/core/simba.simba(340:14): Unknown identifier '' at line 339
Compiling failed.
Anyone figure out thhis issue yet?


Again nice gravedig. This should be in its own help thread. What exactly is on your line 339 of simba.simba?

Brandon

2012-06-22 14:55:59

From: RSisDead
[Error] C:\Simba\Includes\SRL/SRL/core/simba.simba(340:14): Unknown identifier '' at line 339
Compiling failed.
Anyone figure out thhis issue yet?


https://github.com/MerlijnWajer/Simba/issues/120

No one knows and I doubt anyone is going to do something about it. It's hard to explain and even harder to fix unless everyone uses the same charset/encoding when pushing stuff to SRL.

Just delete the line and re-write it manually.

BenLand100

2012-06-24 00:11:40

Why was this even still stickied >.>