Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-11-2017, 12:16 AM
atomic's Avatar
atomic
Sarnak
 
Join Date: Jul 2011
Location: UK
Posts: 29
Default

i may not have been clear.

What i've learned since posting this. I'm using global_player.lua

Quote:
function event_level_up(e)
local free_skills = {0,1,2,3,4,5,8,9,10,11,12,13,14,15,16,17,18,19,20, 21,22,23,24,25,26,28,29,30,31,32,33,34,36,37,38,39 ,41,42,43,44,45,46,47,49,51,52,54,67,70,71,72,73,7 4,76};

for k,v in ipairs(free_skills) do
if ( e.self:MaxSkill(v) > 0 and e.self:GetRawSkill(v) < 1 and e.self:CanHaveSkill(v) ) then
e.self:SetSkill(v, 1);
end
end

end
is what part needs editing.
below is one of my player.pl that has the code i need BUT its perl and doesn't work in my lua global file.
Quote:
sub EVENT_LEVEL_UP {
if ($ulevel <= 69) {
quest::scribespells($ulevel);
quest::traindiscs($ulevel);
$client->AddAAPoints(2);
if ($ulevel <= 50) {
$client->Message(15,"A mysterious voice whispers to you, \'You have gained a level and 2 AA points to use when your level 51 or over.\'");
}
else {
$client->Message(15,"A mysterious voice whispers to you, \'You have gained a level and 2 AA points to use.\'");
}
}
}
So my question is do i need to change every player.pl to include this level up code or is their a lua code that does the same?
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 12:33 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3