Log in

View Full Version : Vendor Prices Are Incorrect on Latest Compile


werebat
12-24-2012, 02:02 PM
As of the latest compile, 2314, the prices on vendors are all incorrect. They are correct in the database. Everything was fine on 2294. This morning I compiled 2314 and thats when the price issues showed up. All items are extremely high or low and some are negative.

GurkhaPanzers
12-25-2012, 12:22 AM
I compiled and got the same bug.

werebat
12-25-2012, 10:45 AM
In the same build, the zone line from Shadow Haven to Paludal Caverns is not working.

Uleat
12-26-2012, 11:17 PM
Yep..another one here...

How are your servers setup? (OS, CPU architecture, peq version, etc...)

I'm not at home to check a few things and anything you guys can provide will help in tracking this down.

ghanja
12-26-2012, 11:58 PM
Does this still exist in 2324?

Uleat
12-27-2012, 12:11 AM
I'll grab the latest and take home tonight. It still existed in the one I took home on the 24th.

I've been focused on other areas and hadn't tried merchants until last night. Of course, the code I'm working on requires merchants...

I have rev 67 of the peqdb and run on a 32-bit cpu, 32-bit os.

KLS
12-27-2012, 02:23 AM
Will be fixed tonight.

KLS
12-27-2012, 02:43 AM
Should be addressed now.

werebat
12-27-2012, 09:55 AM
Prices are fixed. The zone line issue is still present as of yesterday afternoons build but I see there is a newer build, will try that later today.

joligario
12-27-2012, 11:49 PM
The zone line issue is still present as of yesterday afternoons build but I see there is a newer build, will try that later today.

Actually, that is a database issue. My fault - deleted wrong zone point. Here is the fix:

INSERT INTO `zone_points` (`id`, `zone`, `version`, `number`, `y`, `x`, `z`, `heading`, `target_y`, `target_x`, `target_z`, `target_heading`, `zoneinst`, `target_zone_id`, `target_instance`, `buffer`, `client_version_mask`) VALUES
(525, 'shadowhaven', 0, 4, -1080, 329.2, -29.81, 0, -2122, 1059, -315, 192, 0, 156, 0, 0, 4294967295);

Shiny151
12-28-2012, 02:20 AM
Actually, that is a database issue. My fault - deleted wrong zone point. Here is the fix:

Speaking of, since the last database update was to include a huge update of zones, mobs and loot tables, should these new zones be accessible via activated zone lines or character permissions/level throughout? A quick example would be zoning over to Blightfire from Crescent Reach. Currently it zaps you back to the succor point.

sorvani
12-28-2012, 11:37 AM
Database setting for the zones most likely. These zones are satus locked by default in the PEQ DB because they are not completed.

sorvani
12-28-2012, 01:44 PM
NPC's are put in to the DB (and have been there a long time) from collects. Collects tell us race/class/level/size?/loc basically nothing else. HP, resists, stats, etc. all require manual setup.

these new scripts simply attached merchant lists and loot to the existing NPC's. it in no way made the zones playable.

Shiny151
12-28-2012, 02:36 PM
NPC's are put in to the DB (and have been there a long time) from collects. Collects tell us race/class/level/size?/loc basically nothing else. HP, resists, stats, etc. all require manual setup.

these new scripts simply attached merchant lists and loot to the existing NPC's. it in no way made the zones playable.

Ah, gotcha; thanks for the update.

blindaviator
12-28-2012, 06:43 PM
Sorry it has been a number of years since I have played around with these servers.

Where and how do i apply the updates to cure the merchant price bug?

I have downloaded the SVN and compiled the newest build.. Do I source in the updates in SQL directory with numbers greater than my current build (2294)??

Akkadius
12-28-2012, 07:00 PM
Sorry it has been a number of years since I have played around with these servers.

Where and how do i apply the updates to cure the merchant price bug?

I have downloaded the SVN and compiled the newest build.. Do I source in the updates in SQL directory with numbers greater than my current build (2294)??

Developers are working on a fix right now, you should expect someone to respond to this thread when it is resolved.

blindaviator
12-28-2012, 07:03 PM
Developers are working on a fix right now, you should expect someone to respond to this thread when it is resolved.

KLS said in an earlier post that it was fixed last night. Was that the merchant prices or the zone line issue or did I misunderstand something?

Akkadius
12-28-2012, 07:15 PM
KLS said in an earlier post that it was fixed last night. Was that the merchant prices or the zone line issue or did I misunderstand something?

Yeah there are some related issue that are being worked on. Just standby

blindaviator
12-29-2012, 08:52 PM
I may have found a temporary fix for the merchant prices. I changed the Merchant:UsePriceMod in rules_values to false and restarted server. All the prices on vendors seem to be normal now. I have since restarted the server many times and the prices are holding.

Can anyone else try this and verify?

Akkadius
12-29-2012, 10:08 PM
I may have found a temporary fix for the merchant prices. I changed the Merchant:UsePriceMod in rules_values to false and restarted server. All the prices on vendors seem to be normal now. I have since restarted the server many times and the prices are holding.

Can anyone else try this and verify?

It should be fixed now in the latest SVN regardless of peripheral changes.

It was an issue bigger than merchants themselves that needed to be addressed. The memory indexing that rules had built in memory in was one problem, while data types being used handling rules was another. With this system being inconsistent all kinds of things can stop working as intended.

Let me know if a recent SVN compile doesn't work for you.