Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-01-2014, 06:48 AM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default Merc vendors borked?

I can't buy mercs for some reason. When I right click on the merc liasons in PoK I just end up conning them. I tried hailing them for the hell of it and that does nothing as well. I've been using bots in place of mercs so far. But, the bots burn through their mana insanely quickly..

I went back and re-sourced the mercs.sql:

Code:
(OPTIONAL) If you plan on using mercenaries, also do the following:
 
Go to C:\EQ\Source\utils\sql\svn and locate mercs.sql. Copy this file to C:\EQ\SQL. Then type: 
source mercs.sql; 
and press enter.
Still the same problem..


The only other thing I can find in the guide that mentions mercs is this:

Code:
Then, for each of the .sql files you made a note of, starting with the lowest numbered one and proceeding in sequence, enter:
source
and press enter.
 
Eg. in the example I gave, i.e. using PEQ database rev 2294 and EQEmu Source rev 2501, you would type:
 
source 2299_required_inspectmessage_fields.sql
source 2300_optional_loot_changes.sql
source 2340_required_maxbuffslotspet.sql
source 2361_required_qs_rule_values.sql
source 2370_required_aa_updates.sql
source 2376_required_aa_updates.sql
source 2380_optional_merc_data.sql
source 2380_optional_merc_merchant_npctypes_update.sql
source 2380_optional_merc_rules.sql
source 2383_required_group_ismerc.sql
source 2428_optional_levelbasedexpmods.sql
source 2448_optional_stun_proc_aggro_rule.sql
source 2471_required_aa_updates.sql
source 2482_required_start_zones.sql
and press enter.
However, it says to skip that part in the guide.

"The next stage is optional and should only be attempted if you run into problems further down the line. Skip to either "Backing up your database) OR straight to Step 8."

This obviously counts as a problem.. Do I just need to source those three files?

Edit: I am using the UF client by the way. Which apparently should work for mercs. From what I read.

Edit2: I found this post and I think I found the problem.

https://www.eqemulator.org/forums/sh...t=37550&page=3

It suggests checking these three queries:

Code:
SELECT short_name,ruleset FROM zone WHERE zoneidnumber = 202;

SELECT * FROM rule_values WHERE rule_name like 'Mercs:%';

SELECT name,class FROM npc_types WHERE class = 71 LIMIT 2;
For the first query I get:

Code:
+-------------+---------+
| short_name | ruleset    |
+-------------+---------+
| poknowledge | 2          |
+-------------+---------+
1 row in set (0.02 sec)
Which is apparently correct. But, for the second query I get this:

Code:
+------------+------------------------------+------------+----------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------------------------------------------------------+
| ruleset_id | rule_name | rule_value | notes


|
+------------+------------------------------+------------+----------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------------------------------------------------------+
| 3 | Mercs:AllowMercs | false |


|
| 2 | Mercs:AllowMercs | false | Turns mercs on for th
e server - will not load merc data if set to false.

|
| 10 | Mercs:AllowMercs | false |


| 1 | Mercs:ChargeMercPurchaseCost | false | Turns Mercenary purch
ase costs on or off.

|
| 1 | Mercs:ChargeMercUpkeepCost | false | Turns Mercenary upkee
p costs on or off.

|
+------------+------------------------------+------------+----------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------------------------------------------------------+
28 rows in set (0.00 sec)
I cut out most of the other garbage in there to shorten things up a bit. I would assume all those falses need to be changed somehow?

For the third query:

It just says "Empty set <0.20 sec>"

Which is apparently also wrong.. Any ideas how to fix this? Thanx for any help.
Reply With Quote
  #2  
Old 05-01-2014, 08:56 AM
vsab's Avatar
vsab
Discordant
 
Join Date: Apr 2014
Location: United Kingdom
Posts: 276
Default

http://wiki.eqemulator.org/p?Server_Rules&frm=Main

By default they are turned off, so set AllowMercs to true. If you're no SQL guru you can use HEidiSQL (it's free) to edit the values visually, but if you're keen on learning SQL (which is really quite a big part of the EQ Emu server system):-

Code:
UPDATE `peq`.`rule_values` SET `rule_value`='true' WHERE  `ruleset_id`=10 AND `rule_name`='Mercs:AllowMercs';
ruleset_is=10 is the default EQEmu one, and is applied at the zone level (so different zones could use different rulesets, presumably so you can have pvp zones or not)...
Reply With Quote
  #3  
Old 05-01-2014, 09:11 AM
vsab's Avatar
vsab
Discordant
 
Join Date: Apr 2014
Location: United Kingdom
Posts: 276
Default

Update: since this also applies to linux servers I have created a separate page here:-

http://wiki.eqemulator.org/p?Enabling_Mercenaries

If there are more steps involved then I will update that guide seperately. I'll probably do the same with bots at some point, but since I dislike both features I'll need prompting from users who have issues setting these things up
Reply With Quote
  #4  
Old 05-01-2014, 01:15 PM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by vsab View Post
http://wiki.eqemulator.org/p?Server_Rules&frm=Main

By default they are turned off, so set AllowMercs to true. If you're no SQL guru you can use HEidiSQL (it's free) to edit the values visually, but if you're keen on learning SQL (which is really quite a big part of the EQ Emu server system):-

Code:
UPDATE `peq`.`rule_values` SET `rule_value`='true' WHERE  `ruleset_id`=10 AND `rule_name`='Mercs:AllowMercs';
ruleset_is=10 is the default EQEmu one, and is applied at the zone level (so different zones could use different rulesets, presumably so you can have pvp zones or not)...
This doesn't seem to be working for me for some reason.



They aren't changing to true. I also reloaded everything, logged into the game and checked. The mercs still won't do anything.
Reply With Quote
  #5  
Old 05-01-2014, 01:36 PM
werebat's Avatar
werebat
Hill Giant
 
Join Date: Oct 2010
Posts: 143
Default

that statement is for ruleset 10. if you dont care about the ruleset then type:

UPDATE rule_values SET rule_value='true' WHERE rule_name='Mercs:AllowMercs';
Reply With Quote
  #6  
Old 05-01-2014, 04:16 PM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by werebat View Post
that statement is for ruleset 10. if you dont care about the ruleset then type:

UPDATE rule_values SET rule_value='true' WHERE rule_name='Mercs:AllowMercs';
Well the AllowMerc values all turned to true. But, the mercs still aren't working. Also when I try that third query:

Code:
SELECT name,class FROM npc_types WHERE class = 71 LIMIT 2;
It still says empty.. Apparently, that query is searching for the two warrior liasons. I know they are there in-game. They just won't let me talk to them. Same for all the other liasons.
Reply With Quote
  #7  
Old 05-01-2014, 05:06 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Does your client support mercs?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #8  
Old 05-01-2014, 05:30 PM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by Uleat View Post
Does your client support mercs?
Yep. I'm running the underfoot client.
Reply With Quote
  #9  
Old 05-03-2014, 09:42 AM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

I found this while sniffing around.

"If you're using UF, see http://www.eqemulator.net/wiki/wikka...ssingFilesList

I'm not sure if that list is 100% up to date. And I believe you can just grab the dbstr_us.txt file from live and it should work.
Reply With Quote"

The link doesn't work sadly. It does say something about the dbstr_us.txt though?
Reply With Quote
Reply


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 -4. The time now is 07:49 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3