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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-22-2017, 10:43 AM
Drty
Fire Beetle
 
Join Date: Nov 2017
Posts: 6
Default Auto level, etc. in Global_Player.pl

Hi all,

I've been out of the game for a bit, but decided to come back and host a server for some friends and I. On the previous server I hosted, I had some custom code in Global_player.pl (see below) that auto leveled characters skills and gave them some starting equipment.

sub EVENT_ENTERZONE { #message only appears in Cities / Pok and wherever the Wayfarer Camps (LDON) is in. This message won't appear in the player's home city.
if($ulevel == 1 && $qglobals{"skillss"} == 0)
{
quest::scribespells(40);
quest::level(40);
quest::traindiscs(40);
quest::setallskill(200);
quest::setglobal("skillss",1,5,"f");
$client->SetHP($client->GetMaxHP());
$client->SetMana($client->GetMaxMana());
$client->SetEndurance($client->GetMaxEndurance());
quest::summonitem($_) for (34228..34240);
}
}

I'm trying to do the same in the current build of Akka's Repack, but none of the actions are happening when I log in my new character. Am I missing something in that code block? Any help is much appreciated!

Thanks,
Drty
Reply With Quote
 


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 11:22 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