Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   NPC Buffer HTML (https://postpacific.loc-online.com/showthread.php?t=6253)

Anduras 14.11.2006 22:47

NPC Buffer HTML
 
I was wondering if anyone could help me out by giving me a sample HTML for a NPC Buffer. We're having a little bit of a hard time making everything work since we don't fully understand all the HTML that we were looking at for the clan hall NPC Buffer. Any help you could give us would be greatly appreciated!!!

blondeamon 14.11.2006 23:29

Why dont u try experimenting with the Newbie guide npc

Taichy 15.11.2006 00:16

at last that easy ... just see how nooby guide works , then its bit pasting and thinking ...

GMan 15.11.2006 02:29

i hacked the clan hall manager up and got my full buffer system

Anduras 15.11.2006 03:10

Tried it all
 
We've tried all that. As far as I can tell with the files we've got the newbie guide doesn't work either. He'll give you SS but not buffs. And as far as the clan hall manager, I've looked at him too. The HTML refers you to npcdata_pch or something like that which is a list of skills and new ID's. In the HTML the ?ask and &reply refers to that file, but I'm not sure how it deciphers which file that is.

GMan 16.11.2006 05:25

the ask is like an option used in an if statmen IE

if(ask == 1)
{
//do this
}
if(ask == 2)
{
//do this
}
the reply can be anything but for the clan hall persons Support magic section is used to pass the skill IDs from the skill_pch.txt file and are pluged right into the UseSkillDesire function

but remember just changing the HTML will get you noware, you will need to make some AI, becsuse the AI used by other NPCs that buff, usualy have checks for things like Level, Nebie, and Clan hall owner


All times are GMT. The time now is 15:49.