Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2013, 07:59 AM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default Mercenaries deserted!!!

Hello again
I have an issue with Mercs, non are available from the Merc Liaisons?
Followed everything I can find, sourced these files into my 2506 database
/utils/sql/svn/2380_optional_merc_data
/utils/sql/svn/2380_optional_merc_merchant_npctypes_update
/utils/sql/svn/2380_optional_merc_rules

/utils/sql/svn/mercs.sql
/utils/sql/git/required/2013_02_18_Merc_Rules_and_Tables
/utils/sql/git/optional/2013_02_18_Merc_Spells
/utils/sql/git/required/2013_02_25_Impr_HT_LT
/utils/sql/git/required/2013_03_1_Merc_Rules_and_Equipment
/utils/sql/git/optional/2013_03_14_Merc_Spells
/utils/sql/git/optional/2013_03_18_Merc_Spells

(all my players are using the UF client)

Getting No errors at all serverside, no logs in error either, it all sourced fine.
I have MercsAllow set to true, and can see no reason why they have deserted their posts.
If you can advise me in any way, please do!!!.. promised my players mercs for their protection, and now can't find any.
As usual, Many many thanks for your help.
Reply With Quote
  #2  
Old 10-20-2013, 08:39 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Check that the NPCs are set to 71 and also run the SQL from 10/12.
Reply With Quote
  #3  
Old 10-20-2013, 09:02 AM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default

Quote:
Originally Posted by joligario View Post
Check that the NPCs are set to 71 and also run the SQL from 10/12.
Yep, NPC merc liaisons are set to 71.
found and ran the 10/12 sql, still the same, no mercs appear when you right click their Liaison?, does anyone have any ideas??

thanks for this help
Reply With Quote
  #4  
Old 10-20-2013, 02:34 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

Do you get an error when you right click the liaison? Like 'there are no mercantile available to you?' Or nothing at all?
Reply With Quote
  #5  
Old 10-20-2013, 03:06 PM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default

Quote:
Originally Posted by HnathBST View Post
Do you get an error when you right click the liaison? Like 'there are no mercantile available to you?' Or nothing at all?
No, that's the weird part.. no error, no nothing!
No idea at all what is happening.. I KNOW servers out there have mercs, just don't know how they do it lol, all I get is a blank box, (with all the buttons, and a hire button).. but nothing from the dropdown to select a Merc.
Reply With Quote
  #6  
Old 10-20-2013, 03:58 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

Hmmm. I assume you enabled mercantile when you compiled?

It's usually something stupid. Try looking through your logs and see if there is an error.
Reply With Quote
  #7  
Old 10-20-2013, 06:01 PM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default

Quote:
Originally Posted by HnathBST View Post
Hmmm. I assume you enabled mercantile when you compiled?

It's usually something stupid. Try looking through your logs and see if there is an error.
I did check the logs, and the .dbg from a couple of clients.. and no, nothing shows, thinking back, I followed this thread to set up the server...http://www.eqemulator.org/forums/showthread.php?t=36481,

there were no errors when it all compiled. In fact, the only issue I had was with WAN clients connecting, and that was cleared up with some great help from the chaps here .
I really want to understand why Mercs don't work.
Reply With Quote
  #8  
Old 10-20-2013, 06:25 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Check for the merc related view in the database. run it to see if you get any results. if not, it's a db issue. if you do, it's a server issue. let us know and we can help from there. Also, what client?
Reply With Quote
  #9  
Old 10-20-2013, 06:57 PM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default

Quote:
Originally Posted by bad_captain View Post
Check for the merc related view in the database. run it to see if you get any results. if not, it's a db issue. if you do, it's a server issue. let us know and we can help from there. Also, what client?
Hello bad_captain, read a lot of your advice during this search
I have a view in the DB, called vwmercnpctypes, was that what you meant?
it IS very populated.
also, all the clients are UF. Can't test it against a SOD client, cos' a hard disk failure took it. :( :(
THANKS for helping, all of you.
Reply With Quote
  #10  
Old 10-20-2013, 10:55 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Yes, it's vwmercnpctypes. I was typing from my phone, so I couldn't look it up. If that returns data (and has had the 10/12 changes applied), you should be getting merc data. Do you build your own server? Can you debug?

Usually, it's something simple. The allow mercs rule being false (check DB, it defaults to false) & merchant type being the two biggest.

I know more merc debugging needs to go in to help solve these problems, but until then, you have a few options:

Check column names between the view and what's in ZoneDatabase::GetMercType() - they should match.

One way to debug is to insert a few logging lines to where they should be loading data. Add a few LogFile->write(EQEMuLog:: Debug, "Debug message"); to the code and make sure you're actually loading from the database, and then where they are sent to the client.

If you can debug with breakpoints, check to see if the npcs are getting their merc_type data when they spawn (constructor calls LoadMercTypes() & LoadMercs()). Then we can determine if they just don't want to send it to you.

If not, you may want to do a packet collect and post it here or send it to me, so we can figure out what's being sent, and what's not.
Reply With Quote
  #11  
Old 10-21-2013, 08:07 AM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default

Hiya bad_captain,
I really appreciate your help in this, I know you are busy.
Yes, I did compile my server, followed this link, :
http://www.eqemulator.org/forums/showthread.php?t=36481

If I'm honest, no, I can't really debug, and don't know how to packet
collect :(
Would it be easier if I DL'd a nightly dump of the database, and sourced that?
I don't want to waste your time, and I'm sure we can run with the great bots (they work brilliantly)
Reply With Quote
  #12  
Old 10-21-2013, 10:39 AM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

If you have not set anything up, i would drop your tables and source in the nightly /release

After doing that, you should only need to run the 10/12 SQL that bad_captain mentioned.
Reply With Quote
  #13  
Old 10-21-2013, 10:43 AM
rixcraven
Sarnak
 
Join Date: Nov 2008
Location: UK
Posts: 57
Default

Quote:
Originally Posted by sorvani View Post
If you have not set anything up, i would drop your tables and source in the nightly /release

After doing that, you should only need to run the 10/12 SQL that bad_captain mentioned.
Cool, was pondering that option.. Thanks for ALL the help on this, you have really given my much inspiration.
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 04:27 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3