Maceblade
01-22-2013, 07:45 PM
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.
#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:
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?
Whats working: everything but the level increase. Item handins, rewards, flags and exp is all working.
#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:
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?