|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Quests::Custom Custom Quests here |

05-31-2013, 01:08 AM
|
 |
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,072
|
|
command_add("reloadworld",NULL,255,command_reloadworld) ||
There was a time where I was a dipshit and originally implemented it with level 0. So new servers who didn't pay attention to this had this command on for regular players and could really hose up a server, that's tons of Mysql queries, quest reading depending on how many zones you have up.
It could have been 250 like the rest but I think I said something about it in coders and if someone was about to commit something to nail it up high so that's what it ended up being.
|

05-31-2013, 04:31 PM
|
Sarnak
|
|
Join Date: Jan 2009
Location: Florida
Posts: 53
|
|
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?
|

05-31-2013, 05:21 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
I replied to your question in your topic.
|

06-13-2013, 07:32 PM
|
 |
Hill Giant
|
|
Join Date: Apr 2013
Posts: 215
|
|
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.
|

08-13-2014, 12:12 AM
|
Fire Beetle
|
|
Join Date: Dec 2009
Location: USA
Posts: 6
|
|
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 );
}
}
|
|

06-22-2013, 01:16 PM
|
Sarnak
|
|
Join Date: May 2013
Posts: 31
|
|
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.
|

06-22-2013, 01:36 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
Ward, you can find it in quests/templates then you'll see 'global_player.pl'.
|

07-07-2013, 08:40 PM
|
Sarnak
|
|
Join Date: May 2013
Posts: 31
|
|
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.
|

07-07-2013, 09:41 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
Yes, templates is now global. You may need to update your source to work with the new Perl changes.
|

07-07-2013, 10:03 PM
|
Sarnak
|
|
Join Date: May 2013
Posts: 31
|
|
Ahh, I see that in the change log now. Thanks for the information. I will get to updating. 
|

07-07-2013, 10:55 PM
|
Sarnak
|
|
Join Date: May 2013
Posts: 31
|
|
Rockin. After updating, everything seems to be working.
Thanks for all of the help.
|

07-07-2013, 11:36 PM
|
Sarnak
|
|
Join Date: May 2013
Posts: 31
|
|
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.
|

12-28-2014, 12:28 PM
|
Hill Giant
|
|
Join Date: May 2014
Posts: 209
|
|
Is there any way of altering this to stop at a certain level?
|

12-28-2014, 12:35 PM
|
 |
Dragon
|
|
Join Date: Dec 2009
Posts: 719
|
|
yes. check against $ulevel in a conditional.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
|

01-11-2015, 08:44 PM
|
Fire Beetle
|
|
Join Date: Jan 2008
Posts: 9
|
|
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.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 04:21 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |