SRL Archive - MSI Archives

Location in SetupPlayers


Sir R. M8gic1an

2010-07-23 07:01:31

I just noticed this for the second time.

I'd rather NOT have it there.

Whenever we get the relocating function, we'll also need a AtLoc(x: integer) function.

Which means we can use that to check where we are.

Also, it's not like the user has much choice.. they're either at the bank OR they're wherever the skill is.

For all it's use, would be easier to have the user set a boolean; AtBank

~RM

ShowerThoughts

2010-07-23 08:09:34

Dissaprove, because a loc can also contain stuff as a random.
Ever made an Tutorial Island script?
They didn't implant it for nothing you know.
Then you will probably say use the. Strings[index]
But .Loc is more clearly.
Not that I script much anymore :p.

Sir R. M8gic1an

2010-07-23 08:20:56

From: Hermen
Dissaprove, because a loc can also contain stuff as a random.
Ever made an Tutorial Island script?
They didn't implant it for nothing you know.
Then you will probably say use the. Strings[index]
But .Loc is more clearly.
Not that I script much anymore :p.


We're not using Players[].Loc, we're using MSI_Players[].Location ;)

~RM

ShowerThoughts

2010-07-23 08:23:45

From: Rasta Magician
We're not using Players[].Loc, we're using MSI_Players[].Location ;)

~RM


/facepalm
Shoot me!

Coh3n

2010-07-23 12:08:46

Once we have relocation we can have it detect where the player is. However, if the user isn't using reflection, the colour location detection could fail. This way, we know for sure where the player is.

Then again, if it's written properly, it shouldn't fail. :) I'm always up for making the player setup easier for the user (not that setting the location is hard, but it's one less thing to worry about).

3Garrett3

2010-07-23 14:05:40

From: Coh3n
Once we have relocation we can have it detect where the player is. However, if the user isn't using reflection, the colour location detection could fail. This way, we know for sure where the player is.

Then again, if it's written properly, it shouldn't fail. :) I'm always up for making the player setup easier for the user (not that setting the location is hard, but it's one less thing to worry about).


I think the boolean works better, because really there is only two options for the person if they do it right..

I really want to start working on the location detector. I'll start trying to get an array together of the locations and such. It will be a rather large job, I can't figure out my priorities.

Coh3n

2010-07-23 14:08:34

From: 3Garrett3
I think the boolean works better, because really there is only two options for the person if they do it right..

I really want to start working on the location detector. I'll start trying to get an array together of the locations and such. It will be a rather large job, I can't figure out my priorities.

Then we would need another function to set the location depending on the boolean. Just seems needless in my opinion.

And you started the fishing development, why don't you continue with that? Make a thread, let everyone post their opinions.

3Garrett3

2010-07-23 14:33:21

From: Coh3n
Then we would need another function to set the location depending on the boolean. Just seems needless in my opinion.

And you started the fishing development, why don't you continue with that? Make a thread, let everyone post their opinions.


I did. It's dead. I posted stuff, some people posted stuff, now it died.

Shuttleu

2010-07-23 15:44:27

TBH i think it should be left how it is ATM because, its not hard to write LOC_VE_BANK

plus it wont break my lovely form i made… ;)

~shut

Coh3n

2010-07-23 16:20:59

From: Shuttleu
TBH i think it should be left how it is ATM because, its not hard to write LOC_VE_BANK

plus it wont break my lovely form i made… ;)

~shut

I agree. For now at least. It can open up for discussion again when the relocator starts being developed.

Sir R. M8gic1an

2010-07-23 16:28:47

Indeed, this is minor.

We need for further organization of what needs doing, what should come first, etc :p

~RM