PDA

View Full Version : It is possible to trade item via NPC?


rodier
02.09.2005, 17:13
Please can anybody help me - it is possible to make code in ai.obj + html files for trading items?
I want NPC that trade hatchling flute level xy for strider flute. I have mymyu quest some time ago, but that code lag server or crash it down..

and I dont want quest.. I simply want trade NPC.. it is possible to create it? Can anybody show me ANY (but complete) code for ai.obj where I can learn how to make it? I want make more traders.. for more items.. but need AI that check atribute.. - simply anything that trade item only IF .. conditions are met.

Thanks. As I said.. ANY code (for trading any items that check any atributes) will be appreciated..

Enishi
02.09.2005, 18:24
Just use multisell oO

rodier
02.09.2005, 19:15
lol :-) multisell dont have check on item atributes.
in multisell you can trade item for another item - but not item level xy (enchanted to xy) for item level xy ..

Enishi
02.09.2005, 19:54
Ah I see what you mean...hmm
I dont know anythign about ai.obj...sorry I cant help out

archy
03.09.2005, 10:21
CreatePet in ai

localhost
03.09.2005, 12:43
You want to have the trader trade one thing for another? Just make a recipe npc, like the blacksmith.

rodier
05.09.2005, 20:09
but I need to check level of that item.
Simply - I want NPC that can trade L55 hatch flute for L55 strider bugle..

localhost
05.09.2005, 20:47
I'm not too sure where that info is stored...