![]() |
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
Hello again,
I was wondering how in lets say.. The luxury shop, In alexandria001.htm Code:
<a action="bypass -h multisell?id=2">Buy Armor</a> I don't understand how the server knows to forward there. So if I were to add another list to her, what would the .htm have to be named? I am sorry to ask such a basic question. I am learning. I did search and read all posts reguarding "how to add an item" and "luxury shop". Thank you again! |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
multisell = look into multisell.txt ?id=2 = look in section "2"
Code:
MultiSell_begin [blackmerchant_armor] 2 |
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
I dont understand this
Code:
<a action="bypass -h menu_select?ask=-201&reply=2">Close the Coliseum Gates</a> |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
lol if it is empty then it wont do anything.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
That doesn't answer my question. So its
MultiSell_begin [blackmerchant_armor] 2 Why does it choose the text file "alexandria001t.htm". Why not "alexandria001QRSTUV.htm"? Thanks. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
Cuz in npcdata its set to FnHi = alexandria001t.htm which means thats the first html it when open when talked to.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jul 2005
Posts: 136
|
Code:
<a action="bypass -h menu_select?ask=-201&reply=2">Close the Coliseum Gates</a> |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
In the ai you can see that this npc has a certain ai. In example the doorkepers ai. If you look through the ai you can check out that in the AI there's written that this question should be awnsered by opening/closing a certain door. This door is a variable set in the npcdata; at the AI party you probably see "FnHi=doorkeeper_colleseum001.htm;fnDoorName=colle seum_door" in example.
It might sound a bit complicated, but just look it through. AI isn't really that hard if you try writing some.
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
So, If I wanted to another list to her. I would need to put
[code]MultiSell_begin [blackmerchant_armor] 50[code] and HTML would be : ? Sorry, I just don't understand. I could say, Ohh OK!, but I wouldn't understand and this thread I made would be a complete use. Plus I am sure other people are wondering also. Thank you guys! So much! |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
If you wanted to add another list to her through multisell simply :
<a action="bypass -h multisell?id=50">Buy Whatever</a> Understand? action= Tells the server what action (duh) to perform bypass -h multisell? tells it to read your multisell file id=# Is whatever multisell list you want to show up. Buy/Sell/Unseal armor w/e is just so you can make it look nice :P Hope this helps |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
But I notice there is a .htm that alexandria001t.htm works with the "armor" as the first option. Do you need a .htm for it to work, or is it automattic? Thanks!
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
What are you trying to do anyways? Make some concrete questions so we can understand :P
|
|
|
|
|