EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Custom (https://www.eqemulator.org/forums/forumdisplay.php?f=671)
-   -   auto-train on level for the extra lazy (https://www.eqemulator.org/forums/showthread.php?t=36263)

xplodr 05-31-2013 04:31 PM

Do you happen to know how to close off expansions? So I can have just vanilla open for awhile then have the others unlocked later?

Kingly_Krab 05-31-2013 05:21 PM

I replied to your question in your topic.

Mortow 06-13-2013 07:32 PM

Train only newly aquired skills?
 
C0ncrete, is there a way to auto train a newly acquired skill to its minimum? I know on live they auto train your skill when you reach the level that it can be trained and the character gets a message telling them they have gained a new skill. Would this require a script for each individual skill? It is really nice not having to run back to your trainer to train a new skill only to have to run back to where you were hunting.

ward3 06-22-2013 01:16 PM

Hmm, I can't seem to find global_player.pl. I see lots of player.pl files though.

Anyone know where I can find global_player.pl? Or maybe I am supposed to create one?

Thanks for your time.

Kingly_Krab 06-22-2013 01:36 PM

Ward, you can find it in quests/templates then you'll see 'global_player.pl'.

ward3 07-07-2013 08:40 PM

Hmm, has quests/templates been replaced by quests/globals? I reinstalled from scratch the other day, and now I can't find the templates directory under quests. I see a globals directory now under quests though. And it does have a global_player.pl listed.

The problem I am having is that I can't get the EVENT_LEVEL_UP to fire when I put it in the global_player.pl script. If I put the EVENT_LEVEL_UP inside player.pl for ecommons it works fine though.

Anyone have any ideas as to what I am doing wrong?

Thanks for your time.

Kingly_Krab 07-07-2013 09:41 PM

Yes, templates is now global. You may need to update your source to work with the new Perl changes.

ward3 07-07-2013 10:03 PM

Ahh, I see that in the change log now. Thanks for the information. I will get to updating. :)

ward3 07-07-2013 10:55 PM

Rockin. After updating, everything seems to be working. :)

Thanks for all of the help.

ward3 07-07-2013 11:36 PM

Probably not the place to ask this, but it is along the lines of auto adding spells on level. Sometimes when I level, I get multiple entries for the same spell.

I can't seem to delete any spells from my spell book. If I remember right, you would right click on the spell and then press the delete button. That doesn't seem to be working for me any longer.

Is there another way to delete spells? :)

Thanks for your time.

Ciraith 08-13-2014 12:12 AM

Here is what I am using to train 1 point into each skill. It unlocks the skill at the level you would normally train it by checking max skill > 0 and current skill < 1. It also gives you one point in all the generic skills even if you cant use them.

Quote:

sub EVENT_LEVEL_UP
{
foreach my $skill ( 0 .. 73 ) {
next unless $client->MaxSkill( $skill, $client->GetClass(), $ulevel ) > 0 & $client->GetRawSkill($skill) < 1;
$client->SetSkill( $skill, 1 );
}
}

Bandor 12-28-2014 12:28 PM

Is there any way of altering this to stop at a certain level?

c0ncrete 12-28-2014 12:35 PM

yes. check against $ulevel in a conditional.

Andrew425 01-11-2015 08:44 PM

I cant seem to get the auto train code to work for my server. I am using the AXClassic-PEQ Repack and have placed the code in the player.pl file and it is not working. Originally I saw the text "Your experiences across..." but nothing would happen. I am not scribing spells or maxing skills. The only skill that increases is swimming for some reason. Any help would be appreciated.

jsr 02-18-2015 07:56 AM

It will help if you post your player.pl script and where the file is located. Otherwise are you getting any errors when you load scripts? (Subscribe to errors and #reloadpl)


All times are GMT -4. The time now is 02:10 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.