SRL Archive - Reflection Development

TTile discussion & Reflection SVN commit overloads


Narcle

2009-02-04 10:42:28

Ok guys couple things.

1. It was said long time ago that its to late to switch to all TTiles, now its WAY to late. You just broke all of the reflection scripts, congrats. I rather have extra crap in it then have to force people to change all their scripts. (like myself)

2. There apparently is to many Reflection devs. Now those developing Anti - Randoms I can understand them having commit rights however many are going to be removed - whether you like it or not. There is to many that can possible break it without knowing what they're doing.


So first things first, the stuff removed and converted will be placed back. I do not want a commit to break EVERY script. We will have both systems in it and can gradually get people to switch.

Now I do not have time to do this, I work and have college my free time is limited now. Can I get those that changed it in the first place (you know who you are) to put back the originals and rename yours with "Ex" at the end.

Yes we can switch but not this abruptly - it'll crash the system which it has.

NCDS

2009-02-04 10:44:34

Why does it need to be switched at all?

Narcle

2009-02-04 10:46:21

From: N C D S
Why does it need to be switched at all?


It doesn't. And I didn't want it too. I rather just have both.

NCDS

2009-02-04 10:48:04

Is there any difference in how effective it will work?

Narcle

2009-02-04 10:56:41

for Objects and NPCs greatly. Only reason they were introduced was for NPCs at first (my doing). You can pinpoint 4 tiled npcs and with objects can click on a door whereas before you couldn't.

But most people use this for easy walking.

Da 0wner

2009-02-04 10:56:58

They will still be in the repository. It will just be *Ex();. What they did also breaks the Reflection system.

NCDS

2009-02-04 10:58:25

Oh ok.

I thought people were just switching because of preference not effectiveness.

ZephyrsFury

2009-02-04 10:58:35

From: N C D S
Is there any difference in how effective it will work?


Purpose of TTiles is to allow NPC and object functions to find NPCs and objects which spread over two or more tiles. TTiles allow for more accurate functions but use extended variables causing compatibility issues in places. We've been using TPoints from the start so switching over is going to cause lots of confusing and lots of problems with errors and such. Maybe however if we can fix everything it might work. Thats not to say however thats its a pain in the ass to switch over.

NCDS

2009-02-04 11:00:22

From: ZephyrsFury
Thats not to say however thats its a pain in the ass to switch over.


As Narcle has made very clear to me :p

Thanks for the info guys, I dont really know too much about Reflection.

Da 0wner

2009-02-04 11:00:22

If you allowed only SRL devs to be Reflection devs….because they have experience with that and know what they are doing.

Only Widget would be the only non-dev Reflection dev.

Narcle

2009-02-04 11:02:15

From: Da 0wner
If you allowed only SRL devs to be Reflection devs….because they have experience with that and know what they are doing.

Only Widget would be the only non-dev Reflection dev.


Incorrect plz look at the coder list: http://code.google.com/p/scarreflection/

And what i meant by "dev" was those that can commit. All members can commit.

Da 0wner

2009-02-04 11:11:12

Yeah I know.
If you allowd only SRL devs to be Reflection devs besides Widget then it would be good…

lordsaturn

2009-02-04 13:18:19

I talked it over with Zeph and method, they both thought it was a good idea. But if you want it reversed, it won't be a problem.

Edit: I understand number 2 on that list was aimed towards me, are you saying I'm going to be removed from the list?

Narcle

2009-02-04 13:23:59

Yes and I also talked to Zeph. He didn't realize the problems until I told him and he tried himself.

If we want to switch it has to be a little at a time, not a full blow switch like now…

You can keep ur changes but switch them to Ex and revert the regulars to TPoints like it was.

lordsaturn

2009-02-04 13:34:32

From: Narcle
Yes and I also talked to Zeph. He didn't realize the problems until I told him and he tried himself.

If we want to switch it has to be a little at a time, not a full blow switch like now…

You can keep ur changes but switch them to Ex and revert the regulars to TPoints like it was.


No, It's fine. There's no need to keep the changes, it will always be in the reflection snapshots. The algorithms were not changed, only their paramaters. If we ever decide that we want to switch over, it will be on Freddy's site.

Edit: Reverted, everything is back to normal. Sorry about this whole ordeal Narcle, it's really quite embarrassing.

Narcle

2009-02-04 13:52:25

Well I didn't get a chance to tell Nava to switch back either. There is still npcs, MMwalk and characters that needs to be changed/added back.

For future development there will be discussion threads… I don't want this to happen again.

Edit: nvm you got it, ty

Boreas

2009-02-04 15:01:36

From: Narcle
For future development there will be discussion threads… I don't want this to happen again.


+1




Can somebody PM me a function in the new style and the same one in the old style? Thanks.

mormonman

2009-02-04 19:14:19

From: Narcle
with objects can click on a door whereas before you couldn't.


how??? cuz I am going to use this if you tell me!

Smartzkid

2009-02-04 21:53:28

You could use defines to determine whether or not a script is TTile compatible.

Just put in a {$DEFINE DEPRECIATED} up top, and have that switch to the older system.

ZaSz

2009-02-04 22:14:45

From: mormonman
how??? cuz I am going to use this if you tell me!


Um you don't need it for the door. All you need is the offset. Want an example"?

if findobject(p,11714) and (DistanceFrom(p) < 6) then  // 11714 = door
begin
v := TileToMS(p, Random(5));
mouse(v.x,v.y-30,3,3,true); // -30 = offset. I can be anywhere in door site and it will click the door only.
flag;
wait(2000+random(1000));
end;

mormonman

2009-02-04 22:17:02

From: zasz
Um you don't need it for the door. All you need is the offset. Want an example"?

if findobject(p,11714) and (DistanceFrom(p) < 6) then  // 11714 = door
begin
v := TileToMS(p, Random(5));
mouse(v.x,v.y-30,3,3,true); // -30 = offset. I can be anywhere in door site and it will click the door only.
flag;
wait(2000+random(1000));
end;


thats what i am using… but he said that you could use something else, and i want to know if it works better?!?

Nava2

2009-02-05 15:33:40

So, I did that, and I thought I had committed everything correctly. I was in complete knowledge of the breaking of the scripts, but it did make sense to move forwards.

So, does that mean that the following will be removed from the developers list:
  • Widget
  • TheGuyWhoGotOn
  • MasterKill
  • ss23
  • LeeLokHin
  • Method
  • NiCbaZ
  • JuKKa
  • Bobarkinator
  • Nava2

sirlaughsalot

2009-02-05 15:59:55

From: Nava2
So, I did that, and I thought I had committed everything correctly. I was in complete knowledge of the breaking of the scripts, but it did make sense to move forwards.

So, does that mean that the following will be removed from the developers list:
  • Widget
  • TheGuyWhoGotOn
  • MasterKill
  • ss23
  • LeeLokHin
  • Method
  • NiCbaZ
  • JuKKa
  • Bobarkinator
  • Nava2


Personally I think you should have started a discussion about it, saying you have everything set, is it okay to change over/ask an admin to announce it.

lordsaturn

2009-02-05 16:05:43

From: sirlaughsalot
Personally I think you should have started a discussion about it, saying you have everything set, is it okay to change over/ask an admin to announce it.


The lead reflection developers were spoken with, and it was agreed unanimously to go forth with the change.

Nava2

2009-02-05 16:19:49

Wow. Good fight. Removed the people who probably did the most for this project.

Good luck.

For the record, remove Widget too. He isn't a dev. Nor is he worthy.

Narcle

2009-02-05 16:22:17

plz take all discussions in new thread

Timer

2009-02-07 11:03:19

Hmm… Now that reflection has only limited people.. Maybe reflection can actually get better…

*Non Sarcastic*