Okay I will start to reference Lucy's to see what is off. Wonder if it was done with a PERL CGI script and if someone still has it ?
|
I think Cavedude just periodically downloads the items database from 13th floor and imports it into PEQ.
http://eqitems.13th-floor.org/ The item DB (as a delimited text file) is under the downloads link. |
I have been visiting their site, but did not notice they had downloads.....cool stuff.
|
Quote:
Derision only said that currently its not possible for the bazaar code to handle NPCs, without ever having looked at the code I wonder if making it recognize NPCs is not the best way to go in this situation. In this case I think the NPC is little more than visual placeholder, would have to track the items for sale more reliably than in a bag on an NPC. I envison it more like walking up to a generic NPC and purchasing a place in the bazaar, this would copy the look and name of your character onto that NPC and load any previous items you had for sale into his inventory. Then by giving him items, he writes those to the db and updates his list. Clients can then use the bazaar window to search for items as they would if the player was in zone as well. If it got paired up with the barter window as well, might be able to do the reverse and have roving NPC buyers who buy things for their clients as they are put up for sale. Without using any c++ I think the best you could do is have the NPCs /auc items, then when players hail the NPC they are given a list of saylinks of the items for sale with prices. If they have enough plat when they click the desired link, it removes the plat from their char, deletes the item from the sellers db and then summons one to their cursor. |
Well the best I can do is Perl coding at the moment. I can read some C++ but it is still out of my league. In my case I just want something a little different. Crazy thing I always feel like I am slightly cheating when I use BOTS, I know it is crazy but when I can not even have to cast or send a pet out I feel like I am cheating. Hell I can just make a hotkey with a group of BOTS and the mob is dead. I am not quite sure what I want but I think trying to recreate the bazaar like live is a first step for me.
|
While this is something I have been wanting to get done, it hasn't been at the top of my list like I was saying. Also, it would need player-base time-tweaking over an extended period of time. The reason why I say it would take an extended period of time is because you would want it flexible enough to not only store player trades, but you would also want to be able to classify the items that are being put for auction in a menu so that when you have 20,000 items on an auction/trade system, you will be able to navigate it all without it being utter chaos.
Just to shoot some examples would be to sort by latest posting, the most popularly bought items that are up for post again. -Maintaining a system of average prices and color coating the messages based on auctions being a good deal or costing more than the average cost of the item. -You could limit each account or player to a certain amount of items to put up for auction. -After so long of an item sitting on auction, it either A) Get's returned back to the players inventory B) Threatens to get deleted or C) Goes to a collections bin after so long -Being able to set rules on your item max/min and your rate for decreasing each day. And I'm sure there are other features I am missing right now because you have the player base to tell you what should be added to it over time. I will definitely implement this on my own server, but it may not be as soon as you'd like it. |
Quote:
|
Well after months of letting it sit I finally got back on this during the Thanksgiving Holidays.
What I ended up doing is starting with just one NPC. The NPC randomly pulls a small list of items from the item table, based on certain criteria. The items are then loading into him like a vendor would. He randomly yells in the zone with random text and links to what is for sale. I know it is a lot of randomness but I did not want anything to be static. I am thinking having him randomly spawn / despawn and during the respawn the items clear out. It sounds easy to do all of this, but it has not been super easy for me to do with my lack of coding experience, but it is now done. I had to modify the server code a bit because clearing out the vendors items did not seem to have a built in routine. Also the pricing in the database was an issue as some items had a zero value. I found someone had a post on modifying server pricing and used it. I need to go back through that and critique the pricing. Now all I have left to do is come up with shouts for zone, then make 30+ of these guys with different names, looks, shouts and behaviors.....tada.....East Commons tunnel is now alive. |
So far so good, I am sure it needs tons of tweeking, but he is working.
http://reefcrazed.dyndns.org:82/scre...s/EQ000066.jpg |
You should share this... Im looking for something for solo servers that allows the acquisition of items unattainable solo. This looks like the solution.
|
Well I have started and stopped multiple times. I did code out some that just sat in East Commons, announced items. Basically they pulled random items out of the database based on type and price. I will definitely share it but keep in mind, I wrote it months ago and never went back and tweaked it out.
It was not so much a "bazaar bot" but East Commons NPC's that pull random items from the items table, set prices and announced. It may not even be what a server admin would want. Some of the things that bothered me was it used Perl DBI and also the fact the config sat in the Perl file. It was not the elegant solution I really wanted so I ditched the idea. |
By sharing it you allow more experienced coders to fine tune it.
|
This was one of them in East Commons.
Code:
#Battlestaff Fuzzietoe 22210 Code:
#!/usr/bin/perl -w |
All times are GMT -4. The time now is 02:35 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.