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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 10-30-2013, 07:29 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

Yeah, IMHO I think the query used to get the merc stats should be changed to get the last level merc available. So if a server op only wants new mercs every 10 levels (I know not live like) they wouldn't have to fill the merc_stats table with a bunch of jazz.
The query would be like
Code:
Select * from merc_stats where clientlevel <= getlevel() limit 1
Of course that won't work, but you get the idea. It would select the highest level available to the player and only return 1 result. I can't imagine that putting too much extra load time on mercs.

I'll take a look at the code and see if I can implement this myself.
Reply With Quote
 

Thread Tools
Display Modes

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 02:29 AM.


 

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