Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
TRiLeZ

Project Royal Penguin

13 posts in this topic

Project Royal Penguin. This API converts screen points into "PRPMarker" which can be later converted back into screen points. Characters can move freely around or change the camera angle, and the markers will still point to the same, original position.

Caution: Loading a new area will break all the markers, making them all invalid. Markers must be re-calculated upon loading a new area.

https://tribot.org/doc/org/tribot/api/prp/PRP.html

Edit:

The point of this API is to enable tile clicking, or to track objects / remember where they are.

Create a PRPMarker from a screen point, and it will always point to where the original point was made. As long as you don't load a new chunk of land.

If you were to know the point of a static object, you could add x and y values to the base point of the model, then convert that new point to a PRPMarker. You will then have a good representation of your targeted tile.

Share this post


Link to post
Share on other sites

I like your project names.

Haha, thanks.

Nice update, but what's the name? Project Royal Penguin? like err?

Thanks. I like to have original names. :3

Share this post


Link to post
Share on other sites

Nice update, but what's the name? Project Royal Penguin? like err?

Thanks. I like to have original names. :3

haha Fair :)

Share this post


Link to post
Share on other sites

I like your project names.

Haha, thanks.

Nice update, but what's the name? Project Royal Penguin? like err?

Thanks. I like to have original names. :3

You achieved that. Sounds like a name for a fast food restaurant. :P

Share this post


Link to post
Share on other sites

What kind of benefit does this have? Not entirely sure what to use this for yet :P

Share this post


Link to post
Share on other sites

Say a screenmodel is off screen you turn to it and the Points will be changed to the new look.

Share this post


Link to post
Share on other sites

Never knew this existed, thanks for gravedig though. this works for 07?

No, this is for EOC and OpenGL side of the bot. This doesn't work with 07.

Share this post


Link to post
Share on other sites

The royal penguin, I was expecting to see one of these.

Posted Image

OT: Good work, keep it up you're doing a great job.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.