SRL Archive - Reflection Help

My reflection is not working?


P1nky

2009-06-08 20:24:48

Hey guys some of yall may know i've been complaining that my reflection is not working.

This is what it does, when ever i use a reflection script it will just click north or a random tile and go north from there… any idea? it's really weird.
i guess its only the walking :((

im using dev reflection (117) and SMART 4.4 and SCAR 3.20

thanks hope yall can help me thanks alot.

Shuttleu

2009-06-08 20:37:20

i thought smart was only on v 4.3?
:eek: i must have an old version

but sorry no i have no idea why its now working
but my ChooseOption doesnt work :/

~shut

senrath

2009-06-08 20:54:55

Run this and then run your other script:

program new;
{.include SRL\SRL\Misc\Smart.scar}
{.include SRL\SRL.scar}
{.include SRL\SRL\Reflection\Reflection.scar}

begin
SmartSetupEX(6, False, True, False);
SetTargetDC(SmartGetDC);
SetupSRL;
SetupReflection;
end.

P1nky

2009-06-08 22:41:59

From: senrath
Run this and then run your other script:

program new;
{.include SRL\SRL\Misc\Smart.scar}
{.include SRL\SRL.scar}
{.include SRL\SRL\Reflection\Reflection.scar}

begin
SmartSetupEX(6, False, True, False);
SetTargetDC(SmartGetDC);
SetupSRL;
SetupReflection;
end.

the other script w/o smart?

senrath

2009-06-08 22:47:32

No, I'm saying run that script. Once it is finished, run your other script.

Gu3st...

2009-06-08 22:48:40

From: ~~Joker~~
the other script w/o smart?

That script will download the newest Rev if there is any newer.

P1nky

2009-06-08 22:56:10

sadly same problem :( want me to record whats going on?

Baked0420

2009-06-10 01:44:14

I think it's because the hooks are outdated.my scar debug box says the hooks have been outdated starting today, I have the hooks mostly updated, there's just a few I don't have yet, once I have it done I'll post it unless someone else gets it done before me.

Dynamite

2009-06-10 01:51:11

baked how you update your hooks?

T~M

Shuttleu

2009-06-10 02:06:01

he probs does them by hand :p
which will take ages

~shut

rpg711

2009-06-10 02:42:13

Can someone update the hooks? Or atleast tell how to do it :p

Baked0420

2009-06-10 03:52:55

no it didn't take me too long, I found someone with an updater and started updating our hooks in the reflection folder, but they are missing like 10 things in our hooks file, so I was trying to see if I could figure out how to get those 10 things but didn't figure it out yet. I'm about to just learn how to make my own updater, it might take longer then when our hooks get fixed, but then I'll know for next time, but yea, for now I'm just 10 things short in our hooks folder out of like 90.

Shuttleu

2009-06-10 04:09:53

could you pm me the updater so i can have a look at it?
and maybe learn from it

~shut

P1nky

2009-06-10 04:28:42

hooks are outdated right now.
though mine were happening even before it got outdated.
Though hopefully it'll work

Method

2009-06-10 04:31:10

http://method.pastebin.com/m5a7019a8

There you go. Let me know if any aren't working.

Baked0420

2009-06-10 07:23:45

When I started I had a feeling you'd beat me when I was close to the end Method :p, but that's because I had to go for a while so I was forced to stop trying to get my last 10 hooks. And the few I compared of ours are the same, and I tested a reflection script with your hooks and it works, so I think all of yours are right.

Method

2009-06-10 07:31:54

From: Baked0420
When I started I had a feeling you'd beat me when I was close to the end Method :p, but that's because I had to go for a while so I was forced to stop trying to get my last 10 hooks. And the few I compared of ours are the same, and I tested a reflection script with your hooks and it works, so I think all of yours are right.


Yeah, it's a lot easier having a file created for me instead of doing it manually. :p

Thanks for checking the hooks, by the way.

Baked0420

2009-06-10 07:46:20

I only checked a few, and I used someone's file they had created also, I didn't feel like making my own updater, and that's why I found all the hooks but 10, so I didn't do it manually either, I used a file too, the only manual part was the code not being in the same form as our hooks so I copied and pasted, which I coulda made a script do for but I'd rather done it manual to get it done sooner, only took me like 10 minutes to copy and paste. I'm about to start reading tuts to learn how to make my own updater so I can make the files in our hooks order so I won't have to copy a bunch of times again and can have my hooks instantly.

EDIT: oh by the way, did you use eclipse method? or something different? I'm thinking of using that since the first tut I saw a while ago said to use that.

Method

2009-06-10 17:40:03

From: Baked0420
EDIT: oh by the way, did you use eclipse method? or something different? I'm thinking of using that since the first tut I saw a while ago said to use that.


I've used multiple IDEs, but I namely use Eclipse or IntelliJ IDEA.

ZaSz

2009-06-11 03:20:08

From: Method
http://method.pastebin.com/m5a7019a8

There you go. Let me know if any aren't working.


Stacksizes are not working :(

+ i think uptext isnt either