Thread: Bazaar bots
View Single Post
  #7  
Old 01-10-2011, 11:10 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I am thinking that the whole idea of an NPC holding a traders satchel, and moving items in an out of a database may not work. I guess the whole bazaar trader deal is client side correct ? So even if I could get an NPC to equip a satchel, and put things in it I still could not get them to actually turn on the trader function ?

If all else fails I could rather easily just do this. Set up a spawn point, make that spawn point randomly spawn maybe 10 vendors, each with a 10 percent chance of being spawned. Each vendor has different items. The vendors have player names instead of npc names, makes it more real. Have them do random calls, at random times. This would give an element of randomness. That vendor stays there for an amount of time then despawns at a random time, then it repeats. Do this for maybe 50-100 spawn points would be a start. It is not what I want though. What I actually want are the items randomly generated. As far as getting the items in the database and random items that seems easy with MySQL DBI statements in the vendor Perl file. It is getting that NPC to do the trader things I am getting stuck at.
Reply With Quote