Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2010, 01:32 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default Level limits on buffs?

Is there a flag somewhere to turn on the live-like buff limitations? Like a conviction can't be cast on a level 1 toon.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #2  
Old 07-08-2010, 01:44 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

I can't remember where but I know on my server the level limits were in effect.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
  #3  
Old 07-08-2010, 02:42 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

i believe that buff duration formula type determines that property (including like duration scaling up and down with level), but how to fine tune them still mostly a mystery.
Reply With Quote
  #4  
Old 07-10-2010, 12:10 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Well, I'm using the 1589 database spells...and they're still landing on players. Really would like to block the over-plvl'ing going on.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #5  
Old 07-24-2010, 07:13 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

still looking into this...is there a way to check

(again, not a coder...but just flowing this out)

Code:
if {rule_value_player_buff_restriction == True
   if {spell_type == buff (but need to exclude illusion)
     if {spell_level() > target_player_level + (target_player_level / 2)
            abort_spell()
            send_message_too_low_for_buff()
            return
     }
  }
}
with this you would need a few items in the database:
rule_value - something to indicate this is checked or not
new_spells - new column to indicate spell level
new_spells - something to indicate that the spell is used for buff exclusion
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #6  
Old 09-07-2010, 09:32 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Ok, I'm no coder...but still looking at that buff duration logic...and don't see it taking into account level.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #7  
Old 09-07-2010, 11:06 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,447
Default

http://samanna.net/gen.info/buffs.shtml

This has a "level limit" for buffs table on it. It appears to be level dependent.

I don't see a consistent formula for it, though, we're only up to level 65 (70?) on PEQ, so implementing it for even the lower levels would help. Of course, it would need a rule value determining if you want to enable this per-serverop.
Reply With Quote
  #8  
Old 09-08-2010, 04:28 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Any chance this can be queue'd up as it would be a huge boon to the EMU.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #9  
Old 09-08-2010, 04:41 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

You could always code it yourself. I know you will reply with but I don't know how to code and the answer is... learn. If the feature is so important to you, then sitting down and running through some C++ tutorials is not much to do plus then you can use that knowledge on other features you would like to add.

If you prefer somebody else do the work for you, then be prepared to wait... a long time.

Most people don't realize that they are sitting on the best resource you could ask for... thousands of lines of working code that is commented well(for the most part). You don't even need to understand C all that well to be able to grasp the very basics that allow you to do 90% of the additions that people want, just look through the code for working examples of what you want to do and alter them to suit your needs.
Reply With Quote
  #10  
Old 09-08-2010, 09:30 PM
wheeljack
Fire Beetle
 
Join Date: Aug 2010
Posts: 18
Default

That's the good and the bad about open source projects: coders tend to only work on features/fixes they care about. I know I've been guilty in the past and since I never liked this "feature" on live, I'll be guilty again.
Reply With Quote
  #11  
Old 09-09-2010, 09:20 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Sent a tell instead to "help" him out.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #12  
Old 09-09-2010, 11:02 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

yes having universal DB controlled formula would be nice.
Something like (level*X)
and then X could be a rule set in %

So if X is 70%

then level 50*0.7=35
which means lev 50 spell cannot be landed on person below level 35
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:44 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