Any way to make this so that it does not train trade skills?
|
Code:
sub EVENT_LEVEL_UP { |
Ill give it a try later today thank you
|
Quote:
I just built a private local server to play on and learn how to use MQemulator. Is there still a global_player.pl file somewhere because I can't find it in my server. I went into the server folder, quests, but there is no template folder there and a search of my pc only finds a reference to global_player.pl in a SQL update and a changelog.txt Is there a way to still accomplish this on the current windows server build? Just curious because I like the idea of this! |
The 'templates' folder was renamed to 'global'.
|
Quote:
|
If you're not compiling Lua, the .lua file will not work, also, the code in this thread is Perl, so you'll have to use a global_player.pl file, which may require you deleting the global_player.lua file, as Lua has precedence.
|
How hard would this be to add to LUA?
Celestial |
Very simple, it's already enabled on the CMake by default. So unless you turn it off, it should be enabled already.
|
Quote:
Try this... (might want to test it.. lol I r bad at lua) This will train all skills except tradeskills Code:
function event_level_up(e) |
Thanks Natedog will give this a try!
Celestial |
If anyone is interested this will train everything but trade skills and spell specializations.
Code:
sub EVENT_LEVEL_UP { |
Wow. That foreach iteration specification is beautiful.
Several people have been wondering about the cleanest way to iterate through numbers while skipping some, without nested ifs or multiple fors. That's just gorgeous! |
Quote:
|
I feel like Shendare is kind of like this guy right now.
|
All times are GMT -4. The time now is 02:19 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.