Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2013, 07:45 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default Kunark flag + increase in lvl quest

Just some basic back ground: my server has a lvl 50 norrath limit on it currently. Kunark is flag locked as is every expansion. Perhaps my understanding of qglobals is a bit slow and retarded but im posting it for review and critique.

Whats working: everything but the level increase. Item handins, rewards, flags and exp is all working.

Code:
#Dumptruck

sub EVENT_SAY {
  if ($text=~/hail/i) {
    quest::say("So you are the one Seeking a charm of advanced power? Don't look like much but i'll give you the [task] anyway.");
  }
  if ($text=~/task/i) {
  quest::say("Bring me back a burnt book and a frost covered book from Norrath's dragons as well as your old charm.");}

}

sub EVENT_ITEM {
  if (plugin::check_handin(\%itemcount, 59943 => 1, 19070 => 1, 19071 => 1)) {
    quest::say("Interesting mortal, you have succeeded where others have failed.");
    quest::summonitem ("1079");}
$client->SetGlobal("CharMaxLevel", 55, 5, "F");
$client->Message(4,"You are now flagged for Kunark!");
quest::set_zone_flag(87);#1 burning woods
quest::set_zone_flag(103);#2 chardok
quest::set_zone_flag(90);#3 City of mist
quest::set_zone_flag(104);#4 dalnir
quest::set_zone_flag(86);#5 dreadlands
quest::set_zone_flag(106);#6 cabeast
quest::set_zone_flag(82);#7 cabwest
quest::set_zone_flag(94);#8 emeraldjungle
quest::set_zone_flag(78);#9 fieldofbone
quest::set_zone_flag(84);#10 firiona
quest::set_zone_flag(92);#11 frontiermtns
quest::set_zone_flag(88);#13 kaesora
quest::set_zone_flag(102);#14 karnor
quest::set_zone_flag(97);#15 Kurn
quest::set_zone_flag(85);#16 lakeofillomen
quest::set_zone_flag(107);#17 nurga
quest::set_zone_flag(91);#19 skyfire
quest::set_zone_flag(83);#20 swampofnohope
quest::set_zone_flag(96);#21 timorous
quest::set_zone_flag(95);#22 trakanon
quest::set_zone_flag(79);#24 warsliks
quest::set_zone_flag(81);#25 droga
quest::set_zone_flag(93);#26 overthere
quest::exp(5000);

    quest::ding();
  }

 else {
 plugin::return_items(\%itemcount); # return unused items
  }
}

#End of File
in my quest globals table i see this:

Code:
130 | 1 | 0 | 0 | CharMaxLevel| 55 | (null)
but none of the characters that have done this can level higher. Am I supposed to change my max level limit for the server? And if so how do i put a strict limitation to every character with out progression flags?
Reply With Quote
  #2  
Old 01-31-2013, 02:59 PM
LordAdakos
Sarnak
 
Join Date: Dec 2007
Posts: 57
Default

As far as I know when i dabbled around in the database, there was no way to set individual max level caps.

The way i used when i was screwing around was to set the max level to 60, set the max exp obtainable level to be 50.
After 50, you get repeatable quests , series quests, etc, that add up on a qglobal, once it reaches a certain amount, it 'dings' you to the next level and sets your qglobal highestlevel to that,
if for some reason you died and un-dinged the priest would set you back to your qglobal 'maxlevel'.

it was a roundabout way of doing it, but hey, it worked... kind of.
Reply With Quote
  #3  
Old 01-31-2013, 04:04 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

Code:
UPDATE `rule_values` SET `rule_value` = 'true' WHERE `rule_name` = 'Character:PerCharacterQglobalMaxLevel' LIMIT 1;
if the rule isn't there, you'll have to add it instead.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #4  
Old 02-09-2013, 10:33 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

Already had Rule just had to turn it to true. Currently dabbling with encounter based level progression to see if I can force direction.
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 03:41 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