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 02-22-2016, 11:05 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Shared Memory and RuleSets

Anyone know what rule set is exposed to shared memory? Let me explain, I am trying pull the ExpansionSettings rule from SharedDatabase:LoadLootDrops and it is always returning the default. Either the expansion settings are not being pulled before the loot drops are loaded or I do not know the default rule set, or maybe there is not one. My best guess is that you are not really supposed to use rulesets here, or it would take some substantial code changes. I do not mind doing the code changes but if there is a default ruleset that would be helpful.
Reply With Quote
  #2  
Old 02-22-2016, 11:48 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Looking under rulesys.cpp if the request is not coming from a zone, it will not load the rules, probably hits a return. This is probably what I am experiencing. I may need to shift gears and working within loottables.cpp instead.
Reply With Quote
  #3  
Old 02-22-2016, 01:49 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Ah hah! Figured it out. I small change to shared_memory/main.cpp got me what I wanted, I am basically loading the rules there and I can now access the values in loot.cpp
Reply With Quote
  #4  
Old 02-22-2016, 05:55 PM
jpyou127's Avatar
jpyou127
Discordant
 
Join Date: Nov 2005
Posts: 270
Default

This is really cool what your doing. Are you going to basically turn on loot by enabled expansion as your server progresses?

Celestial
Reply With Quote
  #5  
Old 02-22-2016, 05:57 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yes, and it is working perfectly. I am in Greater Faydark right now and set a skeleton spawn spot for Velious, our current era and it repops fine. I then change it in the editor for another era, out of our current range such as Luclin and repop the zone...no skeleton. Other than some code changes I also of course had to add a tinyint to the spawn2 table, called expansion.

But yes I have done spawns and loot, both are working fine. I gave the skeleton different eras of loot and the only thing they are spawned with is current era loot. Things like a Skeleton Tibia never enters the loot table.
Reply With Quote
  #6  
Old 02-22-2016, 06:02 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

This is where I set the skeleton for a higher expansion, I picked PoR on this instance, he instantly quit popping.

Reply With Quote
  #7  
Old 03-06-2016, 10:54 AM
ElmnerFudge
Fire Beetle
 
Join Date: Aug 2011
Location: At Home
Posts: 11
Default

This is great stuff. Do you have plans to have settings for melee and other things that changed (pets for example)? Also quests via expansion?
Reply With Quote
  #8  
Old 03-06-2016, 10:59 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I plan on doing all of it in time. Luckily i had already thought about a lot of these things as I was fixing issues. As some know certain class and race combinations were only allowed during certain expansions and you cannot block those from the database in Titanium. When I made those changes for the combinations I did it using the expansions column.

Not sure if I mentioned it in a previous post but I have found you really do need an expansions_min and expansions_max column because many things existed in only a certain era, they came and went.
Reply With Quote
  #9  
Old 03-06-2016, 11:06 AM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Legacy items come to mind immediately
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #10  
Old 03-06-2016, 11:15 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

This is what I came up with.

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 12:46 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3