Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 17.04.2007, 13:39   #1
Banshee
Архивный участник
 
Join Date: Apr 2007
Posts: 3
Default Problem with //loadhtml

Hi everybody,

I am trying to use the command //loadhtml to be able to have several summons of the same NPC with a different dialog for every summon.
The syntax I have tried is:

//loadhtml text_npc.htm

(text_npc.htm is in lowercase and the NPC is previously selected)

However, this command seems not to do anything. I suppose the syntax is not correct or maybe the command is not working, I don´t know.
Can anyone of you give any clue on this?

Any help will be really appreciated.

Thanks in advance,

Banshee
Banshee is offline  
Old 17.04.2007, 14:37   #2
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

you don't need to select the NPC.
I'm not 100% sure it's loadhtml but I've already used it so it's working.

Maybe if the html's weren't cached by the server they won't display.
m4rk is offline  
Old 18.04.2007, 00:21   #3
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

Loadhtml is just to show you what teh html is, it wont give an npc that html to us as a hello.
GMan is offline  
Old 19.04.2007, 11:00   #4
Banshee
Архивный участник
 
Join Date: Apr 2007
Posts: 3
Default

Ok, thanks for the answers, it seems I was expecting another behavior from loadhtml.

So I will reask my question:

"Is there any GM command that allows to change the html associated to an NPC, so I can have several summons of the same NPC associated with different html files?"

Thanks a lot again^^ !!
Banshee is offline  
Old 19.04.2007, 11:07   #5
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

There's none that you ask for. Unless you have several ais made for the same npc and use setai or sumn..
tpuNIsher is offline  
Old 20.04.2007, 00:56   #6
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

is there a way to reload htmls without server restarting?
top-gear is offline  
Old 20.04.2007, 11:27   #7
erra
Архивный участник
 
Join Date: Apr 2007
Posts: 1
Default

I think, there is not. You can turn off HTML caching for a moment and test your new HTML file, but into the cache it will be realoaded only when restarted.
erra is offline  
Old 20.04.2007, 12:05   #8
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Cache updates all the time. I've replaced HTMLs with caching on and the changes made it to the server just fine.
mcrabben7 is offline  
Old 20.04.2007, 12:10   #9
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

You just have to turn off html caching and the changes will be reflected on real time.
m4rk is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:59.