Page 1 of 1
Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 5:52 pm
by PacWhite
Hey Community
In the last time i had few question

and today gives a new question^^
First: How to add "World"Drops to all Mobs with a percent Chance?
Second: Gives a option to add to a "L2Npc" the bypass buff/goto? without jython /else. (its only for a test^^)
Thanks for reply
Pac the White

Re: Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 6:13 pm
by jurchiks
1) check out data/faenor
2) check the database table `custom_npc_buffer` and data/html/mods/NpcBuffer.htm for the built-in buffer.
Re: Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 7:53 pm
by PacWhite
a) Thanks

and b) i think you dont understand me.
I mean. If it Possible to add the bypass multisell & goto & buff to one NPC with the Tag "L2Npc"(or else) or must i write for this a script?
Re: Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 8:01 pm
by jurchiks
You can't add any bypass to any NPC just like that. You either need to change the NPC's class in the database (table `npc`, column `class`) - for example, if you want to make an NPC support the multisell bypass, it needs to be L2Merchant (I might be wrong in this one, but it used to be so back in the day) - or make a datapack script that adds event listeners to your specified NPC IDs and then edit their HTMLs with your bypasses to that script, same as all quests/ai scripts.
Re: Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 8:05 pm
by PacWhite
omfg... so much work... to much for this shit..

But i think you a stalking me!

you answer of all my questions...

!
... ok i think ill make for every thing a npc... -.- fuuu..
But Thanks Mate
You listen from me!
Re: Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 8:07 pm
by jurchiks
No, I just check new posts frequently and nobody else bothers to answer. NP.
Re: Some Question about NPC / DROP
Posted: Sat Aug 10, 2013 9:45 pm
by PacWhite
ah i have a question again
Can you give me a "Guide" how to add all bypasses to one NPC?
Re: Some Question about NPC / DROP
Posted: Sun Aug 11, 2013 8:29 am
by jurchiks
It's not possible without modifying core because there are bypasses that are specific to certain NPCs, like the multisell bypass being available only for L2Merchant, and tele bypass for L2Teleporter.
You can, however, write a DP script that does pretty much the same thing as the core bypasses, but if you want them all it's going to be damn long.