SRL Archive - OSR Help

Cannot find Mage of Zamorak?


Flight

2011-05-18 04:22:47

Reflection cannot find this NPC even when it's standing right next to me.

"GetNPC(2257);" Does not work
"GetNPC('Mage of Zamorak');" Does not work
"GetNPC('Mage_of_Zamorak');" Does not work.

It only returns as a Null NPC. I've tried it with surrounding NPCs, they're all detected, but not this one. Tis very aggravating.

Harry

2011-05-18 04:28:39

So use GetNullNPCs?

Flight

2011-05-18 04:46:11

What made him a Null in the first place when everything else around him was valid? Why just this one?

Kasi

2011-05-18 04:52:14

where did you get you ID from?
try getting it directly using rsbuddy or a older version of rsbot.
dont save your pass with rsbot.

Flight

2011-05-18 04:54:50

Directly from both TriBot and RsBuddy. Both said the same thing. "GetNullNPCs" worked but that doesn't tell me why this single NPC is already classified Null. Harry, would you know why this is?

KingKong

2011-05-18 05:01:43

I don't know the exact reasons, but this is case with a few other npcs as well(like the npc you have to talk to do bloodpact)

Flight

2011-05-18 05:34:05

From: KingKong
I don't know the exact reasons, but this is case with a few other npcs as well(like the npc you have to talk to do bloodpact)


It's definitely a new one on me. I'd just like to know what makes these few specific NPCs Null by default… Oh well, I've bigger fish to fry.

Btw, I can tell someone else besides me is working on a new script. :p

footballjds

2011-05-26 23:44:27

Flight, There are quite a few NullNPC's scattered throughout runescape.
They are made null. No clue why SRL Ref can't handle that in all one GetNPC but ya know…

So yes, use GetNullNPC. You will encounter many other NullNPC's.

Brandon

2011-05-27 00:08:25

as far as I have experienced, the null npc's are usually the ones we cannot get to.. like the mage, you can't get to him directly.. but u can cast a spell through the cage.. Not a valid explanation but thats the best that I can come up with.

Flight

2011-05-27 00:45:47

Right. It's working just fine now. As long as I've worked with Java and what not, 'null' has always been an undefined or non existent. Yet, this one particular NPC is very much defined. :p Maybe it's best I ignore it and just be happy everything's working smoothly.

Nava2

2011-05-27 02:55:42

If you're writing an abyssal crafter, I recommend taking a look at mine. :)

Flight

2011-05-27 04:54:14

I didn't know you made one, Nava. I've heard of Icefire's but that's the only one I've seen. I'll see if I can find yours. I'm stably crafting Death runes consistently, but only using color for the rift locating. Although I am having a bit of trouble getting to the inner ring of the Abyss. I'm able to do it now but it's anything but fast. Maybe you could throw a few suggestions my way in that area?

Nava2

2011-05-27 16:45:31

From: Flight
I didn't know you made one, Nava. I've heard of Icefire's but that's the only one I've seen. I'll see if I can find yours. I'm stably crafting Death runes consistently, but only using color for the rift locating. Although I am having a bit of trouble getting to the inner ring of the Abyss. I'm able to do it now but it's anything but fast. Maybe you could throw a few suggestions my way in that area?


I haven't worked with it in a LONG time.. I would suggest digging up my old script.. I don't even have a copy any more haha. It'll be in the depreciated section.

E: http://villavu.com/forum/showthread.php?t=37399