Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Get npc Projectiles

Featured Replies

Hey so I'm trying to get out what projectiles npcs are sending.

For instance, when fighting zulrah I want to know the projectile and/or the gfx ids when they're being casted on me.

I don't know what to call for that. 

If someone could shed some light this way it would be very helpful.

 

 

I'm doing this because I'm writing a script.

Can get the animation ID for each attack which is what you want to be doing.

 

Just some advice, from your post it sounds like this is the first time your writing something for OSBot, I wouldn't write or even attempt a Zulrah script as yet as you wil 100% fuk it up happy.png make something simpler happy.png

Edited by Extreme Scripts

You get all the incoming projectiles, iterate trough them, find the projectile you need and with it do what ever you want.

 

snippy snip snips:

for (Projectile p : projectiles.getAll()) {
    if (p.getId().equals(*projectileID*)){
        //do what ever
    }
}

Simple look up on RSPS forums brings up some id's which match with the zulrah projectiles.

I'm guessing you want to pray flick between those two mage and range attacks

 
mage projectile 1046
range projectile: 1044

 


Can get the animation ID for each attack which is what you want to be doing.

 

Just some advice, from your post it sounds like this is the first time your writing something for OSBot, I wouldn't write or even attempt a Zulrah script as yet as you wil 100% fuk it up happy.png make something simpler happy.png

 

Somehow an s1 knows how to do this stuff and u don't Troll.png

Edited by Vilius

Hey so I'm trying to get out what projectiles npcs are sending.

For instance, when fighting zulrah I want to know the projectile and/or the gfx ids when they're being casted on me.

I don't know what to call for that. 

If someone could shed some light this way it would be very helpful.

 

 

I'm doing this because I'm writing a script.

I would indeed advice what Extreme told you, checking for the animation would be the easiest way for you to go with this. 

 

Goodluck on your project! (:

 

You get all the incoming projectiles, iterate trough them, find the projectile you need and with it do what ever you want.

 

snippy snip snips:

for (Projectile p : projectiles.getAll()) {
    if (p.getId().equals(*projectileID*)){
        //do what ever
    }
}

Simple look up on RSPS forums brings up some id's which match with the zulrah projectiles.

I'm guessing you want to pray flick between those two mage and range attacks

 
mage projectile 1046
range projectile: 1044

 

 

Somehow an s1 knows how to do this stuff and u don't Troll.png

 

 

No but for Zulrah projectiles are useless if you are standing right next to it, the animation will always change before the projectile is fired giving you a much greater leniency for prayer flicking/activating. 

 

Thats why I'm S3 and your not doge.png

Edited by Extreme Scripts

No but for Zulrah projectiles are useless if you are standing right next to it, the animation will always change before the projectile is fired giving you a much greater leniency for prayer flicking/activating. 

 

Thats why I'm S3 and your not doge.png

And thats where you are wrong, when pray flicking at jad phase, you need to pray flick the instant a projectile is out.

 

I.e

magic projectile is out -> pray flick to range

range projectile is out -> pray flick to mage

 

You need to pray flick the opposite the instant a projectile comes out.

And thats where you are wrong, when pray flicking at jad phase, you need to pray flick the instant a projectile is out.

 

I.e

magic projectile is out -> pray flick to range

range projectile is out -> pray flick to mage

 

You need to pray flick the opposite the instant a projectile comes out.

 

Why would you want to prayer flick when the projectile is out when you can prayer flick before the projectile is fired? It makes NO difference but gives you/bot more time to react. I've made this kind of script + a jad helper before, I know.

Edited by Extreme Scripts

Why would you want to prayer flick when the projectile is out when you can prayer flick before the projectile is fired? It makes NO difference but gives you more time to react.

Good luck on keeping track of what projectile will be next :P

Good luck on keeping track of what projectile will be next tongue.png

 

Mate you don't need to, AnimationID will tell you exactly what projectile is coming, never changes. Still got a lot to learn my friend :troll:

Mate you don't need to, AnimationID will tell you exactly what projectile is coming, never changes. Still got a lot to learn my friend Troll.png

And again, you are wrong, zulrah has only one projectile shooting animation, doesn't matter what projectile it will shoot it wont change, it will always be the same.

And again, you are wrong, zulrah has only one projectile shooting animation, doesn't matter what projectile it will shoot it wont change, it will always be the same.

 

Fair enough didn't know that doge.png

Edited by Extreme Scripts

And again, you are wrong, zulrah has only one projectile shooting animation, doesn't matter what projectile it will shoot it wont change, it will always be the same.

Wrong or not , you're still not able to make dat script lad

Wrong or not , you're still not able to make dat script lad

Thing is, I wasnt asking for a guide how to check projectiles, look at the top its a different lad, plus I answered his question in a second post :p

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.