SRL Archive - Reflection Development

Revision 213 ~ How-to fix these new errors!


Nava2

2009-03-28 13:03:45

This update WILL BREAK SCRIPTS.

Now, here is how you fix them.

repeat the following:

  1. Run the script
  2. If the error says: FindNPCByID is unknown, then replace it with FindNPC, leaving the old parameters. If it says GetNPCsByID/Name is wrong, then remove the ID/Name and leave the GetNPCsBy
  3. GoTo step 1.

I hope this explains some things, and I hope that this will allow for minimal issues with the new Update.

Questions? Need clarification? Let me know.

~N2

Nava2

2009-03-28 14:38:08

This is now in effect, and working. My apologies to any who suffered.

Colluci

2009-03-28 15:23:44

From: Nava2
This is now in effect, and working. My apologies to any who suffered.


You forgot the AntiRandoms folder. It's being deleted with the last rev

Nava2

2009-03-28 15:51:58

Damn it. Its not my day.

Colluci

2009-03-28 16:20:24

Hum, SCAR is crashing with the new reflection revision. It just closes by itself. Doesn't display anything. Help?

NiCbaZ

2009-03-28 20:22:23

+1.

JPHamlett

2009-03-28 20:36:09

is this the new revision or an old one

DeSnob

2009-03-29 08:34:37

i keep getting an error in GetNPCsBy:

[Runtime Error] : Type Mismatch in line 271 in script C:\Program Files (x86)\SCAR 3.15\includes\SRL\SRL\Reflection\Characters.Scar

Line 271:
if TileOnMSEx(Result[L].Tile, Round(Result[L].Height / 2.5)) then

How do i fix it?

Naike

2009-03-29 09:51:46

Ahh, You should Make ONE main character.scar then STICK to it.

As now you kinda broke all my scripts ;/

Nava2

2009-03-29 13:27:48

N1ke that was the intention. I don't get any errors.

Desnob, that wasn't changed… =/ Unless… Whoops…

DeSnob

2009-03-29 15:39:10

hmm? have a fix for it? I need to use it :S

HyperSecret

2009-03-30 02:21:49

From: Colluci
Hum, SCAR is crashing with the new reflection revision. It just closes by itself. Doesn't display anything. Help?


Same is happening to me. It logs me in but once it tries to like find a rock or something it crashes. Walking worked fine but not finding an object.

Nava2

2009-03-30 09:41:56

I never touched object finding… But the hooks were wrong for a bit there.

Make sure you have the newest reflection :)

HyperSecret

2009-03-30 11:37:02

Would it walk if I had an old version? :P. I just updated it yesterday right before the post.

Colluci

2009-03-30 12:48:56

I just uploaded to rev 216.
Still crashes for me :(
After the player' login, scar just crashes

impiwimpi

2009-03-30 12:57:29

From: Colluci
I just uploaded to rev 216.
Still crashes for me :(
After the player' login, scar just crashes


Same with me…

Lazar16

2009-03-30 16:37:38

I love you, except you gave me false hope because now scar crashes when it tries to object find :O what do we do? and whoot first page :D

Nava2

2009-03-30 18:32:24

What scar version are you all using?

Colluci

2009-03-30 19:09:19

Scar 3.20 rc3.

mormonman

2009-03-30 19:13:55

Scar 3.15b

Nava2

2009-03-31 10:04:14

3.2 is fail, and 3.15b shouldn't be an issue.

I think its because Jagex changed one of our hooks. Benland is fixing smart, so it might solve the problem.

Colluci

2009-03-31 10:06:52

From: Nava2
3.2 is fail, and 3.15b shouldn't be an issue.

I think its because Jagex changed one of our hooks. Benland is fixing smart, so it might solve the problem.


Ok.. All I can say is good luck :D

Nava2

2009-03-31 17:52:08

It is not from my changes, ran some tests this morning.

Cannot seem to figure out the issue. :(

Looking more into it later, sorry my friends.

TRiLeZ

2009-03-31 19:27:03

How do I get the function FindFreeNPC to work?
Please give me a working example with cows as the npc.
It dosnt work for me :(

HyperSecret

2009-04-01 01:57:00

I was able to find that the problem with why my SCAR keeps crashing is whenever I called the function R_FindRandoms; I got the newest reflection and everything.

Home

2009-04-01 02:08:21

From: HyperSecret
I was able to find that the problem with why my SCAR keeps crashing is whenever I called the function R_FindRandoms; I got the newest reflection and everything.


Ya same thing .. People just Remove R_FindRandoms; From your scripts, and that should do it :)


~Home

Nava2

2009-04-01 09:12:39

Yes, several of us are looking into it. Sorry about this all.

Narcle

2009-04-01 10:57:17

We should try to figure out a basis for Reflection so we can look into finalizing some of the basic functions.

Colluci

2009-04-01 11:39:05

I think something is wrong with Molly.scar so that's why R_FindRandoms; isnt working properly.

kabilie

2009-05-15 11:55:30

it works for m now :D had problems with the monk terrorist, but works now.