Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2009, 05:49 PM
enkendu
Fire Beetle
 
Join Date: Nov 2002
Posts: 27
Default

ok so i think i figured out whats going on here, so i make a NPC quest or something that when the quest is completed then the npc would basicly cast #scribespells 75, and that would give the player all spells for their class up to level 75, thaks for the help guys, if i am able i'll post the results of that quest here when im finished, "im a noob when it comes to doing quest" now im just trying to figure out the quest editor.

Thanks alot for the help guys
Reply With Quote
  #2  
Old 02-08-2009, 05:59 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

This is the spell scriber script I use on Storm Haven. Feel free to use it or modify it to work for you. Note that it also scribes disciplines, trains bard skills up (since they level extremely slow in the emu), and will allow players to buy individual train points 1 at a time at a very high cost. The reason I let them buy extra points is in case they get to level 70 and spend all of their train points and forget to train at least 1 point in an important skill. I had a guy forget to train meditate once, so this seems like a decent solution, lol.

I highlighted the spell scribing part in green for you, which is the main thing you need.

Code:
#A conversation to Scribe ALL spells for Player (up to curr. level)
sub EVENT_SAY
 {
if ($text =~/hail/i)
{
quest::say ("Good day to you, $name. Would you like me to teach you all of your [spells]?  I am also trained in combat disciplines if you would like [train] them. I'm selling skill [points] if you are interested. Or maybe you are a [bard] in need of music lessons?");
}
if ($text =~/bard/i)
{
quest::say ("Yes, normally you would think of a bard as being an adept student of music.  For some reason, these lands slow the music learning ability to such an extent that I am willing to use my magic to train their abilities.  Are you [ready] to learn?");
}
if ($text =~/ready/i)
{
 quest::say ("Listen closely as the essence of music fills your soul!");
 quest::addskill(12,255);
 quest::addskill(41,255);
 quest::addskill(49,255);
 quest::addskill(54,255);
 quest::addskill(70,255);
}

if ($text =~/spells/i)
{
 quest::say ("Good, stand where you are while I begin your lessons");
 quest::scribespells($ulevel);
}

if ($text =~/train/i)
{
 quest::say ("Good, stand where you are while I begin your lessons");
 quest::traindiscs($ulevel);
}


if ($text =~/points/i)
{
 quest::say ("If you have used up all of your Skill Training Points and need more, or if you just want to buy more, hand me 1000 Platinum and I will give you 1 point.  These points sure are costly, eh?");
}

 }

sub EVENT_ITEM {

  if($platinum == 1000) {
    quest::say ("Thank you!  Here is your costly skill point.  Use it wisely!");
    my $cur_skill = $client->GetSkillPoints();
    my $new_skill = ($cur_skill + 1);
    $client->SetSkillPoints("$new_skill");
    #quest::say ("You started with $cur_skill points and trained up to $new_skill points");
    $client->Message(15, "You have gained 1 skill point.  You must zone before you can use it.");
  }

}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 02-08-2009, 08:15 PM
enkendu
Fire Beetle
 
Join Date: Nov 2002
Posts: 27
Default

wow, this one is awesome, hehe thanks alot for posting that, i will use and enjoy that one much,

i just made a simple one but i'll be using yours for sure.

thanks for that fast reply too.
Reply With Quote
  #4  
Old 02-08-2009, 08:52 PM
enkendu
Fire Beetle
 
Join Date: Nov 2002
Posts: 27
Default

Hey trev, if its not too much to ask, you wouldnt happen to know if there is a way to setup a patch server so that all the clients that play on my server can download the edited spells_us.txt files? when i update them?

or even an IP updater? http://www.eqemulator.net/forums/sho...t=auto+updater i looked at this alot but i cant post on this thread to ask there for some reason, and all the links are dead there, but i am very interested in something like this.

sorry to nag all the time, i just like building a server really, it takes alot of learning and i enjoy it.
Reply With Quote
  #5  
Old 02-08-2009, 09:15 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I know a patcher can be setup, and I think there may be a link to download one from sourceforge somewhere. I have never messed with it personally. Running a public server, you couldn't use a patcher, and really if you are just sending the spells file, a simple link for players to download it should be simple enough. Most people just host the file on their website and link the website in the MOTD for players to reference.

Using a patcher to send EQ files may be considered illegal, especially if you send certain files like eqgame.exe, zone files and probably most other files that aren't just plain text.

If you are planning to allow players play publicly on your server, you are better off just setting up a public server so you don't have to mess with mini-login stuff. As of right now, I am not aware of any good public alternative to the public login server. It sounds like you are wanting to setup something similar to what Shards of Dalaya uses. They aren't affiliated with the EQEmu project, so you may be able to find out more about that from their website.

There may be alternates to the current public login server eventually, but other than mini-login, I don't think there are any other options right now.

I only use public login, so I can't really be of much help in anything other than that. Though, maybe some of the private server admins can be of more assistance.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 02-08-2009, 09:30 PM
enkendu
Fire Beetle
 
Join Date: Nov 2002
Posts: 27
Default

Thanks for you help trev, it is much appreciated, im not running a public server at the moment and i dont really want to, i just have mostly friends and family on my server, i only have about 35 accounts or so that play, but i know everyone of them in person, i'll have to look into putting up a link for them to download it, some of them are not savy when it comes to this stuff,

would it be ok if i linked your webpage that you have setup for the spell_us.txt? i dont have a webpage or anything like that. i will link your download page to them if that is ok with you, but i dont want to impose on you or anything
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:17 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