SRL Archive - SRL Archives

Magic.Scar


Baked0420

2009-07-29 01:14:41

In the dev svn, the magic.scar has bugs in the following:
-FixSpells;
-Cast;
-GetLumbridgeMins;

In them, they have the code:

if (GetCurrentTab <> 7) then
begin
GameTab(tab_Magic);

It should be 8, or Tab_Magic where it says GetCurrentTab <> 7, 7 is the prayer tab now under GameTab.Scar. I can attatch a fixed Magic.Scar if anyone wants, but it's easy to fix. Just open Magic.Scar under include>srl>srl>skill. Then search for <> 7, it's in the three above mentioned procedures/functions, and switch the 7 to Tab_Magic. A dev should fix this, I don't know how many people use Magic.Scar, but I think it'd be best to not leave it hanging around. :)

P.S.

This bug is also in the public svn. I just checked out the svn too see if it's in there also or not, and it is.

Naum

2009-07-29 01:22:46

Good work but magic.scar already has a bigger error of CastSpell not working.

senrath

2009-07-29 01:25:23

From: NaumanAkhlaQ
Good work but magic.scar already has a bigger error of CastSpell not working.


What's wrong with it?

Baked0420

2009-07-29 01:26:22

yea, I've noticed, I was using CastSpell, well was going to, it's not working for me, so I was looking to see if I could see what was wrong, and so far I only saw the little problem of what I said in my first post.

EDIT: I'm not sure what's wrong with it yet, maybe someone knows, like specifically, but all I know is it isn't casting the spell I put it to, which would be the kinda obvious thing that's wrong :p.

EDIT: Hm, weird, it's working for me now.

JPHamlett

2009-07-29 02:08:39

i posted with my thaghts on y it doesn't work

http://www.villavu.com/forum/showthread.php?t=48127