Can anyone explain this?
Can anyone explain this?
I'm able to pawn chests in bcnm's but this is what i see. Anyone know why?
The chest spawns in the correct location but there is no chest?
The chest spawns in the correct location but there is no chest?
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Can anyone explain this?
What's the NPC ID of that chest?
Edit:
Hmm, started looking over the NPCs in ZoneID 144, and the look data is inconsistent. Most of them seem to be 0x000032 (@costume 50), which is invisible/nothing. 17367182 is 0x0000C003 (03C0, @costume 960) which looks like a chest with iron/silver bands. 17367243 and 17367245 are 0x0000C103 (961) which is a chest with gold/brass bands.
If I had to guess, most of the chests either have the wrong look data, or SE changes the look data to make them appear somehow. Does that answer your question?
Edit:
Hmm, started looking over the NPCs in ZoneID 144, and the look data is inconsistent. Most of them seem to be 0x000032 (@costume 50), which is invisible/nothing. 17367182 is 0x0000C003 (03C0, @costume 960) which looks like a chest with iron/silver bands. 17367243 and 17367245 are 0x0000C103 (961) which is a chest with gold/brass bands.
If I had to guess, most of the chests either have the wrong look data, or SE changes the look data to make them appear somehow. Does that answer your question?
Last edited by PrBlahBlahtson on Thu Aug 23, 2012 1:40 pm, edited 2 times in total.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Can anyone explain this?
17367101
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Can anyone explain this?
Gah! \o/ You replied quickly. 7101 is an invisible chest atm. Either needs the look data changed in the database, or needs its look changed via scripting somehow.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Can anyone explain this?
Oh, just occurred to me. 50 may be the correct ID, and different animations make it visible/open. npc:setAnimation() in a script will let you send animations, if I remember right. You can't test with yourself in costume, sadly.
I have no idea how SE made them untargetable if that's the case, though.
I have no idea how SE made them untargetable if that's the case, though.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Can anyone explain this?
Yes that makes sence and thanks for that bro. So in the core I dont believe theres anything wrong with my code. I was thinking maybe a DB error. Ill try some animation tactics and hope for the best.
Re: Can anyone explain this?
good luck. I was wondering if there's any plans to make coffers random in the future? If so, would it be worth scripting AF coffers yet? I saw it uses a Treasure.lua and I wasn't sure if that's going to be moved or changed in the future...
If nobody knows, then I'll just assume it'll stay the way it is and script it.
If nobody knows, then I'll just assume it'll stay the way it is and script it.
Re: Can anyone explain this?
Yo Cod, I dont plan to do anything on random coffer spawning. I've left this bit alone for awhile, working on divine might at the moment, might go back to it after I finish it.
Re: Can anyone explain this?
divine might sounds mighty awesome...
Re: Can anyone explain this?
PrBlahBlahtson wrote:What's the NPC ID of that chest?
Edit:
Hmm, started looking over the NPCs in ZoneID 144, and the look data is inconsistent. Most of them seem to be 0x000032 (@costume 50), which is invisible/nothing. 17367182 is 0x0000C003 (03C0, @costume 960) which looks like a chest with iron/silver bands. 17367243 and 17367245 are 0x0000C103 (961) which is a chest with gold/brass bands.
If I had to guess, most of the chests either have the wrong look data, or SE changes the look data to make them appear somehow. Does that answer your question?
Yes that worked. Chest now spawns on mob death, thanks very much