SRL Archive - RuneScape News and General

Prison Pete; Is it me or...


Cravings

2011-05-29 14:41:26

… have the balloon animals gotten frikkin HUGE!? :eek:


Floor66

2011-05-29 14:46:40

wtf that must be new o.o

BazzBarrett

2011-05-29 14:58:27

thats odd i havnt noticed that and i was in that random yesterday. that random didnt work work for me -.- in fact quite a few dnt work in reflection :/

i luffs yeww

2011-05-29 15:05:27

It's been like this for the past several days. Few posts about it.

Coh3n

2011-05-29 16:08:14

From: BazzBarrett
thats odd i havnt noticed that and i was in that random yesterday. that random didnt work work for me -.- in fact quite a few dnt work in reflection :/

The Prison Pete random solver doesn't work. It would be nice to know what the user has to do to get IDs, etc. when they encounter the random since there's a 15 minute limit.

Wanted

2011-05-29 16:11:04

Well Iroki's ground animal detection is completely screwed now.

Though larger balloons may have made it easier to write a new detection.

Echo_

2011-05-29 17:34:28

From: Coh3n
The Prison Pete random solver doesn't work. It would be nice to know what the user has to do to get IDs, etc. when they encounter the random since there's a 15 minute limit.


The NPC IDs actually change every time you enter the prison pete random.

Coh3n

2011-05-29 18:31:21

From: Echo_
The NPC IDs actually change every time you enter the prison pete random.

Oh really? Why wouldn't they do that with every ID in RS then? Would stop a lot of bots. :p

Does it cycle through certain IDs or are they literally different EVERY time?

mormonman

2011-05-29 19:17:30

From: Coh3n
Oh really? Why wouldn't they do that with every ID in RS then? Would stop a lot of bots. :p

Does it cycle through certain IDs or are they literally different EVERY time?


Then we would just identify things by some other field than their "ID".

i luffs yeww

2011-05-29 19:31:22

Well it can't just be a completely random number, there has to be a set of some sort. I'd say we should just upload information of the random when someone's in one.

TRiLeZ

2011-05-30 00:02:20


The IDs of the animals are actually found by the npc's children IDs. I've made a post about it in the reflection forum.

However, the wireframe is smaller than what is being displayed. -.- There must be a scaling field somewhere in the NPC class.

Method

2011-05-30 01:26:44

I decided to put a little bit of work into this tonight, and I may have figured out how to figure out which animal is which without having to resort to model comparisons or anything silly like that. TriLeZ is on the right track, though the array in the NpcDefinition class is actually an array of "parents" instead of "children" (I probably labeled this poorly in the 578 client, too).

Essentially, you'll need to read the setting containing the index of the animal's parent (setting 531) and then use that value to grab the actual npc id from the npc's parents array. Then, you should be able to determine if that npc is the one you should be clicking on or not. Doing so will allow you guys to replace that mess of code in R_PrisonDetermineNPCToPop with a simple switch statement that maps the interface model id to the correct npc id.

edit: Since Nava2 said my post was hard to decipher, here are three easy steps to getting the animal's actual id:

  1. Grab setting 531.
  2. Use that value to index into the balloon animal's parents array.
  3. You now have the actual balloon animal id!!