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
  #7  
Old 06-11-2017, 10:39 PM
Jizamuss
Fire Beetle
 
Join Date: Jul 2006
Posts: 3
Default

Maybe try this and if it works please share =)

*for LUA only* Incorporated this in Mister lockout to test with and not have to level repeatedly
if(e.message:findi("hail")) then
e.other:Message(257, "Would you like to know your [" .. eq.say_link("Lockouts",false,"Lockouts") .. "] or fix your [" ..eq.say_link('skills', false, 'skills') .. "] ?")
elseif(e.message:findi("lockouts")) then
instance_requests.DisplayLockouts(e.other, e.other, lockout_globals)
elseif(e.message:findi("skills")) then

-- See the global/global_player.lua for the reference index for these values
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};
local MaxSkill = {eq.MaxSkill}

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



end
end
end
. I have also been trying to do this. I like the global_player.pl but it would be nice to have a lua version. just cant seem to get the event_level_up to work. I did add this portion onto mister lockout in pok and it updated my skills to max for my level. I have been unable to locate references to Scribe spells and Train Discs except that refer to perl. If someone helped you outside of the forum and you made it work I'd love to see what you ended up using.
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 01:12 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3