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 11-19-2009, 05:14 PM
Keladon
Fire Beetle
 
Join Date: Sep 2007
Posts: 7
Default Expansion variable and AAs

I've been digging through the source code and trying to learn how the expansion variable is used and if it might be possible to activate AAs for earlier expansions than Luclin but I can't find anything.

Would this be possible or is there something on the clientside that would prevent this? Would really appreciate some pointers where to look if it is possible.
Reply With Quote
  #2  
Old 11-19-2009, 06:53 PM
Digitala's Avatar
Digitala
Sarnak
 
Join Date: Dec 2006
Posts: 35
Default

Any information on this would be really helpful.
Thx
Reply With Quote
  #3  
Old 11-19-2009, 07:07 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The expansion setting in the Variables table uses a bit mask to let you pick and chose which expansions you want. Here is the wiki note on what to set for it:

http://www.eqemulator.net/wiki/wikka...les#Expansions

Just add up the expansions and put the total in the variables table for the expansion setting.

As for disabling certain AAs for certain expansions, I am unaware of any current support for that. I don't think we have them all labeled out properly by expansion yet anyway. If they were all sorted properly per expansion and set in the table, it probably wouldn't be too hard to add support for only sending AAs that match the expansion setting of the server. For now though, you are best off just deleting the AAs you don't want them to have from your altadv_vars table.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 11-20-2009, 07:06 AM
Keladon
Fire Beetle
 
Join Date: Sep 2007
Posts: 7
Default

Thanks for the reply, Trevius. I might have been abit unclear, I know how to use the expansion variable but I can't find where in the source code it is being used. I'm guessing it sends some kind of packet to the client to tell it to enable which expansions but I'm not quite sure where to look.

What I wish to do is to make AAs available in earlier expansion than Luclin. I want to be able to set the expansion variable to only enable say classic and kunark for the server but still give the players the abilites to use AAs.

Would that be possible by changing the source? And if anyone has any idea where to look I would really appreciate a hint, C++ ain't my primary language but I am keen to learn.
Reply With Quote
  #5  
Old 11-20-2009, 07:18 AM
Keladon
Fire Beetle
 
Join Date: Sep 2007
Posts: 7
Default

Why was this thread moved to the windows forum? It's a question about source code...
Reply With Quote
  #6  
Old 11-20-2009, 08:04 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I moved it out of the development section, because it is more of a support/request thread than one to do with further development of EQEmu. The development section is for discussing further development changes or development issues, not for support or requests.

Now that you have explained that you want AAs to be usable when only Kunark or Classic are enabled, I believe that is a limitation of the client that cannot be changed. Changing the expansion variable changes what expansion version is sent to the client. Just like on Live, if you don't own certain expansions, you do not receive the special features from those expansions. The client was built to work that way, and I can't think of any simple way around it.


Your best bet is probably to just set the Luclin expansion as well and then just block off the other zones you don't want. You would still have Vah Shir, but if needed, you could write a script that changes any players who are Vah Shir into a Classic permanent race.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 11-20-2009 at 08:12 PM..
Reply With Quote
  #7  
Old 04-30-2018, 11:30 PM
deladriendil
Sarnak
 
Join Date: Jan 2017
Posts: 30
Default AAs missing

I'm having a similar issue. most recent db.

running ROF2 client
Changed World:UseClientBasedExpansionSettings to false
Changed World:ExpansionSettings to 59 (LDON and older)

Yet when I look at AAs. I only have planes of power. nothing from Luclin.

looking at aa_ability table. enabled = 1 for all AAs listed.

what am I missing to enable the Luclin AAs?
Reply With Quote
  #8  
Old 04-30-2018, 11:52 PM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

World:ExpansionSettings 63 1+2+4+8+16+32 = 63 (I always set that in variables to, as a preference).

Code:
0 - Classic
1 - Ruins of Kunark
2 - Scars of Velious
4 - Shadows of Luclin
8 - Planes of Power
16 - Legacy of Ykesha
32 - Lost Dungeons of Norrath
64 - Gates of Discord
128 - Omens of War
256 - Dragons of Norrath
512 - Depths of Darkhallow
1024 - Prophecy of Ro
2048 - Serpent's Spine
4096 - The Burried Sea
8192 - Secrets of Faydwer
Reply With Quote
  #9  
Old 05-01-2018, 08:24 AM
deladriendil
Sarnak
 
Join Date: Jan 2017
Posts: 30
Default

Thanks Grumpy! I must of missed adding the 4 for Luclin.
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 02:34 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