Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.05.2007, 01:06   #1
Carlos
Архивный участник
 
Join Date: Apr 2007
Posts: 7
Default need some help whith NPC shop and summoning mobs

hi guys , i wold like some help, i wold like create a NPC shop whith any itens ( quest itens etcc..) i dont have idea how i do this.

and i have some problems when i summon any NPC , becouse its dont stay agressive ,,, just atack when are atacked ... and i need put in agressive mod...

thx and sory my english ...
Carlos is offline  
Old 08.05.2007, 01:20   #2
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

warrior -> citizen
undying=0 -> undying=1
attacked = 1 -> can_be_attacked=0
superkent is offline  
Old 08.05.2007, 02:00   #3
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Agrresiveness is in npcdata as err... hate_points? or something
mcrabben7 is offline  
Old 08.05.2007, 06:02   #4
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

I think it's a AI problem, you'd have to take out the "is in myterritory" check to let them attack outside their territory
m4rk is offline  
Old 08.05.2007, 06:43   #5
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default

omfg
just set ai to citizen, fnHi to your html and other parameters in npcdata.txt like other traders have. just copy-paste any trader and change npc_id
zcold is offline  
Old 08.05.2007, 11:46   #6
Carlos
Архивный участник
 
Join Date: Apr 2007
Posts: 7
Default

thx guys ,, the problem is : i did : //summon karik 1 , and wait be atacked for him , but nothing happened ... se just atack if i did fist .

and abaout NPC special shop , i just summon ? becouse i looking for command to put the quest itens to sell in npc luxury or in special NPC. how ?
Carlos is offline  
Old 08.05.2007, 12:11   #7
kikuchi
Архивный участник
 
Join Date: May 2007
Posts: 17
Default

Quote:
Originally Posted by Carlos View Post
thx guys ,, the problem is : i did : //summon karik 1 , and wait be atacked for him , but nothing happened ... se just atack if i did fist .

and abaout NPC special shop , i just summon ? becouse i looking for command to put the quest itens to sell in npc luxury or in special NPC. how ?
how did u manage to setup a server?
kikuchi is offline  
Old 08.05.2007, 12:23   #8
Guaresnay
Архивный участник
 
Join Date: Oct 2005
Posts: 113
Default

Quote:
Originally Posted by Carlos View Post
thx guys ,, the problem is : i did : //summon karik 1 , and wait be atacked for him , but nothing happened ... se just atack if i did fist .

and abaout NPC special shop , i just summon ? becouse i looking for command to put the quest itens to sell in npc luxury or in special NPC. how ?
Take a trader from ur ai as zcold told u, then make a html in unicode, then make a multisell fot it and finally add ur NPC to ur npcpos. If u don't know how to do these things then u have to read the whole postpacific
Guaresnay is offline  
Old 10.05.2007, 11:05   #9
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

IF you want shop with quest item, this is best way:
1. edit your multisell.txt file and paste at end this code
Code:
MultiSell_begin [quest_items]	553
is_dutyfree = 1
selllist={
{{{[khavatari_totem];1}};{{[adena];10000}}};
{{{[mark_of_raider];1}};{{[adena];10000}}};
{{{[medallion_of_warrior];1}};{{[adena];10000}}};
{{{[sword_of_ritual];1}};{{[adena];10000}}};
{{{[beziques_recommendation];1}};{{[adena];10000}}};
{{{[bead_of_season];1}};{{[adena];10000}}};
{{{[eternity_diamond];1}};{{[adena];10000}}};
{{{[mark_of_faith];1}};{{[adena];10000}}};
{{{[leaf_of_oracle];1}};{{[adena];10000}}};
{{{[elven_knight_brooch];1}};{{[adena];10000}}};
{{{[reoria_recommendation];1}};{{[adena];10000}}};
{{{[pass_final];1}};{{[adena];10000}}};
{{{[ring_of_raven];1}};{{[adena];10000}}};
{{{[gaze_of_abyss];1}};{{[adena];10000}}};
{{{[jewel_of_darkness];1}};{{[adena];10000}}};
{{{[iron_heart];1}};{{[adena];10000}}};
{{{[mask_of_medium];1}};{{[adena];10000}}};
{{{[orb_of_abyss];1}};{{[adena];10000}}};
{{{[mark_of_seeker];1}};{{[adena];50000}}};
{{{[mark_of_fate];1}};{{[adena];50000}}};
{{{[mark_of_searcher];1}};{{[adena];50000}}};
{{{[mark_of_duty];1}};{{[adena];50000}}};
{{{[mark_of_trust];1}};{{[adena];50000}}};
{{{[mark_of_healer];1}};{{[adena];50000}}};
{{{[mark_of_witchcraft];1}};{{[adena];50000}}};
{{{[mark_of_challenger];1}};{{[adena];50000}}};
{{{[mark_of_life];1}};{{[adena];50000}}};
{{{[mark_of_sagittarius];1}};{{[adena];50000}}};
{{{[mark_of_scholar];1}};{{[adena];50000}}};
{{{[mark_of_magus];1}};{{[adena];50000}}};
{{{[mark_of_summoner];1}};{{[adena];50000}}};
{{{[mark_of_duelist];1}};{{[adena];50000}}};
{{{[mark_of_pilgrim];1}};{{[adena];50000}}};
{{{[mark_of_reformer];1}};{{[adena];50000}}};
{{{[mark_of_guildsman];1}};{{[adena];50000}}};
{{{[mark_of_prosperity];1}};{{[adena];50000}}};
{{{[mark_of_maestro];1}};{{[adena];50000}}};
{{{[mark_of_champion];1}};{{[adena];50000}}};
{{{[mark_of_lord];1}};{{[adena];50000}}};
{{{[mark_of_warspirit];1}};{{[adena];50000}}};
{{{[mark_of_glory];1}};{{[adena];50000}}}
}
MultiSell_end
You can change the adena & amount for anything you want (for example instead of adena, put medal and ppl need 50,000 medal to buy 1 quest item..)

NOW - find npc in npcdata.txt where you want sell this marks. Its good to set your gatekeeper in giran to sell this marks. So how to do it?

1. gatekepeer in giran have ID clavier in npcdata so find in npcdata name clavier.

2. on line with clavier find npc_ai= and you will see which html file clavier use (npc_ai={[clavier];{[fnHi]=[clavier001.htm]) its clavier001.htm

3. now open folder html and find file clavier001.htm and edit it.

Now you will see some plain html text looks like this:
Code:
<html><head><body>
Gatekeeper Clarissa:<br> We Gatekeepers use the will of the Gods to open the doors to time and space and teleport others.  Which door would you like to open?<br><a action="bypass -h teleport_request"> Teleport</a><br><a action="bypass -h menu_select?ask=-303&reply=518"> Exchange with the Dimension Diamond</a><br><a action="bypass -h menu_select?ask=-19&reply=0"> [Noblesse Only] teleport</a><br><a action="bypass -h menu_select?ask=255&reply=4" msg="811;Monster Derby Track"> Move to Monster Derby Track (Free of Charge)</a><br><a action="bypass -h talk_select">Quest </a></body></html>
Ok, so we need to put in to this html dialog link to multisell.txt and to section where we selling marks (section is number 553).
Best choice will be put it at end of dialog = you need to put it BEFORE </body> ok? so put it
Quest</a><--- here ---></body>

And what to put there? This code - which is link to multisell section 553 where we are selling mark items.

<a action="bypass -h menu_select?ask=-303&reply=553">CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE</a>

You see? code command ask=-303 is link to multisell.txt and &reply=553 is link to 553 section inside multisell.txt where we set to sell quest items.. rest is basic html..


so whole gateekeeper html file will be now looks like this:

Code:
<html><head><body>
Gatekeeper Clarissa:<br> We Gatekeepers use the will of the Gods to open the doors to time and space and teleport others.  Which door would you like to open?<br><a action="bypass -h teleport_request"> Teleport</a><br><a action="bypass -h menu_select?ask=-303&reply=518"> Exchange with the Dimension Diamond</a><br><a action="bypass -h menu_select?ask=-19&reply=0"> [Noblesse Only] teleport</a><br><a action="bypass -h menu_select?ask=255&reply=4" msg="811;Monster Derby Track"> Move to Monster Derby Track (Free of Charge)</a><br><a action="bypass -h talk_select">Quest </a><a action="bypass -h menu_select?ask=-303&reply=553">CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE</a></body></html>
bold is what we added now save it. save multisell file and its done.
Gatekeeper in Giran will have new menu called "CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE" and if anyone click, big window open and marks there will be for sale.

multisell.txt is used for events and for npcs that sell items for crystal in luxury. Its the easyest way how to setup something for sell. If you want sell more thing, just add line .. but remember.. last line is without ;

You can make donate shop via this way..
rodier is offline  
Old 15.05.2007, 20:59   #10
Carlos
Архивный участник
 
Join Date: Apr 2007
Posts: 7
Default thx

Quote:
Originally Posted by rodier View Post
IF you want shop with quest item, this is best way:
1. edit your multisell.txt file and paste at end this code
Code:
MultiSell_begin [quest_items]	553
is_dutyfree = 1
selllist={
{{{[khavatari_totem];1}};{{[adena];10000}}};
{{{[mark_of_raider];1}};{{[adena];10000}}};
{{{[medallion_of_warrior];1}};{{[adena];10000}}};
{{{[sword_of_ritual];1}};{{[adena];10000}}};
{{{[beziques_recommendation];1}};{{[adena];10000}}};
{{{[bead_of_season];1}};{{[adena];10000}}};
{{{[eternity_diamond];1}};{{[adena];10000}}};
{{{[mark_of_faith];1}};{{[adena];10000}}};
{{{[leaf_of_oracle];1}};{{[adena];10000}}};
{{{[elven_knight_brooch];1}};{{[adena];10000}}};
{{{[reoria_recommendation];1}};{{[adena];10000}}};
{{{[pass_final];1}};{{[adena];10000}}};
{{{[ring_of_raven];1}};{{[adena];10000}}};
{{{[gaze_of_abyss];1}};{{[adena];10000}}};
{{{[jewel_of_darkness];1}};{{[adena];10000}}};
{{{[iron_heart];1}};{{[adena];10000}}};
{{{[mask_of_medium];1}};{{[adena];10000}}};
{{{[orb_of_abyss];1}};{{[adena];10000}}};
{{{[mark_of_seeker];1}};{{[adena];50000}}};
{{{[mark_of_fate];1}};{{[adena];50000}}};
{{{[mark_of_searcher];1}};{{[adena];50000}}};
{{{[mark_of_duty];1}};{{[adena];50000}}};
{{{[mark_of_trust];1}};{{[adena];50000}}};
{{{[mark_of_healer];1}};{{[adena];50000}}};
{{{[mark_of_witchcraft];1}};{{[adena];50000}}};
{{{[mark_of_challenger];1}};{{[adena];50000}}};
{{{[mark_of_life];1}};{{[adena];50000}}};
{{{[mark_of_sagittarius];1}};{{[adena];50000}}};
{{{[mark_of_scholar];1}};{{[adena];50000}}};
{{{[mark_of_magus];1}};{{[adena];50000}}};
{{{[mark_of_summoner];1}};{{[adena];50000}}};
{{{[mark_of_duelist];1}};{{[adena];50000}}};
{{{[mark_of_pilgrim];1}};{{[adena];50000}}};
{{{[mark_of_reformer];1}};{{[adena];50000}}};
{{{[mark_of_guildsman];1}};{{[adena];50000}}};
{{{[mark_of_prosperity];1}};{{[adena];50000}}};
{{{[mark_of_maestro];1}};{{[adena];50000}}};
{{{[mark_of_champion];1}};{{[adena];50000}}};
{{{[mark_of_lord];1}};{{[adena];50000}}};
{{{[mark_of_warspirit];1}};{{[adena];50000}}};
{{{[mark_of_glory];1}};{{[adena];50000}}}
}
MultiSell_end
You can change the adena & amount for anything you want (for example instead of adena, put medal and ppl need 50,000 medal to buy 1 quest item..)

NOW - find npc in npcdata.txt where you want sell this marks. Its good to set your gatekeeper in giran to sell this marks. So how to do it?

1. gatekepeer in giran have ID clavier in npcdata so find in npcdata name clavier.

2. on line with clavier find npc_ai= and you will see which html file clavier use (npc_ai={[clavier];{[fnHi]=[clavier001.htm]) its clavier001.htm

3. now open folder html and find file clavier001.htm and edit it.

Now you will see some plain html text looks like this:
Code:
<html><head><body>
Gatekeeper Clarissa:<br> We Gatekeepers use the will of the Gods to open the doors to time and space and teleport others.  Which door would you like to open?<br><a action="bypass -h teleport_request"> Teleport</a><br><a action="bypass -h menu_select?ask=-303&reply=518"> Exchange with the Dimension Diamond</a><br><a action="bypass -h menu_select?ask=-19&reply=0"> [Noblesse Only] teleport</a><br><a action="bypass -h menu_select?ask=255&reply=4" msg="811;Monster Derby Track"> Move to Monster Derby Track (Free of Charge)</a><br><a action="bypass -h talk_select">Quest </a></body></html>
Ok, so we need to put in to this html dialog link to multisell.txt and to section where we selling marks (section is number 553).
Best choice will be put it at end of dialog = you need to put it BEFORE </body> ok? so put it
Quest</a><--- here ---></body>

And what to put there? This code - which is link to multisell section 553 where we are selling mark items.

<a action="bypass -h menu_select?ask=-303&reply=553">CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE</a>

You see? code command ask=-303 is link to multisell.txt and &reply=553 is link to 553 section inside multisell.txt where we set to sell quest items.. rest is basic html..


so whole gateekeeper html file will be now looks like this:

Code:
<html><head><body>
Gatekeeper Clarissa:<br> We Gatekeepers use the will of the Gods to open the doors to time and space and teleport others.  Which door would you like to open?<br><a action="bypass -h teleport_request"> Teleport</a><br><a action="bypass -h menu_select?ask=-303&reply=518"> Exchange with the Dimension Diamond</a><br><a action="bypass -h menu_select?ask=-19&reply=0"> [Noblesse Only] teleport</a><br><a action="bypass -h menu_select?ask=255&reply=4" msg="811;Monster Derby Track"> Move to Monster Derby Track (Free of Charge)</a><br><a action="bypass -h talk_select">Quest </a><a action="bypass -h menu_select?ask=-303&reply=553">CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE</a></body></html>
bold is what we added now save it. save multisell file and its done.
Gatekeeper in Giran will have new menu called "CLICK HERE AND YOU WILL SEE MARK ITEMS FOR SALE" and if anyone click, big window open and marks there will be for sale.

multisell.txt is used for events and for npcs that sell items for crystal in luxury. Its the easyest way how to setup something for sell. If you want sell more thing, just add line .. but remember.. last line is without ;

You can make donate shop via this way..
Thx a lot !!!!!!!
Carlos 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 20:54.