SRL Archive - Reflection Development

New TTile system.


Seroko

2008-10-15 20:35:10

There is currently a major update to world of warcraft which is my main game, and I am currently unable to spend the needed time to do the needed stuff to finish everything needed with this system. Here is the results of my short work, the tile to ms ex function has been fixed and works on all the monsters i tested it on, was a simple fix after I tried completely rewriting the function kinda funny how i wasted hours thinking through it then seen a flaw in the currently formula and reverted everything back and it worked. Anyway goodluck and lets hopefully clean this up just a bit.

Either include it separately or add it to the reflection core. Goodluck and feel free to rep / what ever. Goodluck SRL I should still be around just not nearly as much.

Edit: I apologize for the poor explanation was in a raid at the time of the post but basically the bottom left hand corner is (x.0, y.0) and the close it gets to one of the opposite sides the higher it gets until it finally rolls over to the next tile. A very horrid visual is…


Basically single tiled things will show up as (x.5, y.5) unless they are in mid movement, 4 tiled things tend to show up in the general range of .9 to .2 on the either bottom left hand corner of the tile or the very top right hand corner. I adjusted the height of the npcs because i was finding lower creatures close to the ground it was right on their upper back if this is an issue change the formula for the npcs MS position to

Result[i].MS := TileToMSEx(Result[i].Tile, Result[i].Height / 2);

Nava2

2008-10-15 21:01:02

Looks good, what did you change in the TileToMS?

Tile(T : TPoint) is mine :)

Seroko

2008-10-15 21:06:41

From: Nava2
Looks good, what did you change in the TileToMS?


nothing changed with normal reflection, just add it in and your good to go, i had to change it around because the formula benland used got the center of the tile as for example 100, 100 but it was actually 100.5, 100.5 so i had to -0.5 off both of the bases and keep it extended a bit longer to keep the formula right.. really simple after i noticed that. trust me I tried rewriting that thing so many times then noticed that and I was like *facedesk* but thats basically it, anywho theres a few small changes in some other things but it works.


Its extended to find 4 tiled mobs btw.

Widget

2008-10-15 21:59:27

So this actually works on the 4-tiled monsters? :)

Now we just need a SMART for it again >.<

Narcle

2008-10-15 22:01:02

I'll get the thing implemented etc. once the SMART is updated and working with reflection again.

sirlaughsalot

2008-10-16 00:47:08

wow, looks great, why has it taken so long in the past?

Narcle

2008-10-16 01:36:40

From: sirlaughsalot
wow, looks great, why has it taken so long in the past?


I've been busy. But Seroko indulged and found the real tile system and looked at RSBots code etc.

I'm not Java savy but once its in SCAR form it takes me no time.

I've already changed my Echo fighter to new TTile system… now to wait for new SMART to test before uploading.

Seroko

2008-10-16 02:07:48

From: Narcle
I've been busy. But Seroko indulged and found the real tile system and looked at RSBots code etc.

I'm not Java savy but once its in SCAR form it takes me no time.

I've already changed my Echo fighter to new TTile system… now to wait for new SMART to test before uploading.


RSBots formula is all messy and their way of doing it converted to scar like would be…

function TileToMS(x, y : Integer; xd, yd : Extended): TPoint;


Turned out to be more of a small math error then anything else <_< go figure. Any who, on to my next project to lurk around. :)

Hopefully we gain some ground on your SMART issue

Wizzup?

2008-10-16 04:26:55

Granted you SRL-Membership. Good job!

Narcle

2008-10-16 04:40:07

From: Wizzup?
Granted you SRL-Membership. Good job!


Hoi. That works.

Seroko

2008-10-16 06:30:24

From: Wizzup?
Granted you SRL-Membership. Good job!


<LeeLokHin> @Seroko, grats on membership :p
<Seroko> Good morning wizzup
<Seroko> aroo?
<LeeLokHin> Look on your TTile thread.


What a thing to wake up to after 3 hours of sleep since Monday. Thanks Wizzup? it was honestly between you, WT-Fakawi, and WhiteShadow that I even invested the time and effort to learn SCAR. Kinda gave me a fun kickstart when I was a super-noob. A real honor :o

@Narcle - Do you want me to work on setting up the objects to test like mentioned in IRC last night?

Naike

2008-10-16 07:37:50

This is good… FINALY.

Now i don't have to disturb Narcle anymore ;)

Narcle

2008-10-16 15:12:49

From: Seroko
@Narcle - Do you want me to work on setting up the objects to test like mentioned in IRC last night?


You can set them up if you want. We'll have to have someone else test objects since that's not really my forte but otherwise I could test it if I wasn't going to be busy moving Saturday. I'll see how it goes…

ShowerThoughts

2008-10-16 15:25:18

There is currently a major update to world of warcraft which is my main game,


since when we got Ttile for WOW?

Naike

2008-10-16 15:32:17

Hermpie start those braincells!

He's maingame [wow] is uptading so he does uptades for srl [rs] :o

ShowerThoughts

2008-10-16 17:26:22

From: N1ke!
Hermpie start those braincells!

He's maingame [wow] is uptading so he does uptades for srl [rs] :o


Is that a word joke or you don't know how to spell "updating"?

Seroko

2008-10-16 17:58:22

From: Hermpie
since when we got Ttile for WOW?


No, my main game [WOW] updated and I won't have much time to work on things like this so I gave it to the community. Sorry for the misunderstanding.

Naike

2008-10-17 01:17:27

Hermpie, its called a misstype and get used to it becuase it happends alot.

uptading, yuor, combuter, grund, pitsa, hermpe, sigantur.

BobboHobbo

2008-10-17 04:36:00

From: Seroko
No, my main game [WOW] updated and I won't have much time to work on things like this so I gave it to the community. Sorry for the misunderstanding.


Daww i was like ZOMG reflection for WoW, would of great. I <3 WoW too, currently lv 54 warrior lol :(

Pure1993

2008-10-17 06:24:53

[Offtopic]
@BobboHobbo: I would suggest you leave the warrior be and create another class… This is posted by a frustrated level 70 warrior… :mad:
Sorry for the offtopic, just trying to give some good advice ^^
[/Offtopic]
Gratz on the membership Seroko, and good job with those functions :D

n3ss3s

2008-10-17 06:59:39

Daww i was like ZOMG reflection for WoW, would of great.


Glider ain't no colour bot, that's for sure…

Narcle

2008-10-17 16:00:42

From: BobboHobbo
Daww i was like ZOMG reflection for WoW, would of great. I <3 WoW too, currently lv 54 warrior lol :(


From: Pure1993
[Offtopic]
@BobboHobbo: I would suggest you leave the warrior be and create another class… This is posted by a frustrated level 70 warrior… :mad:
Sorry for the offtopic, just trying to give some good advice ^^
[/Offtopic]
Gratz on the membership Seroko, and good job with those functions :D

Then you suck with the warrior class. :p I want my warrior back! Only thing I'm pissed about is they removed improved slam. :(

From: n3ss3s
Glider ain't no colour bot, that's for sure…

To bad it gives me bluescreens atm… *sigh*

ruler

2008-12-01 21:48:01

From: Narcle
I've been busy. But Seroko indulged and found the real tile system and looked at RSBots code etc.

I'm not Java savy but once its in SCAR form it takes me no time.

I've already changed my Echo fighter to new TTile system… now to wait for new SMART to test before uploading.

Alot of the calculations and methods in rsbot were inaccurate last time i read thru it. I recommend looking at the functions in the actual client and do some debugging to find some of the more accurate conversions.