Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #16  
Old 07-08-2009, 10:23 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You don't have to redo your entire DB every time that you update. Just make sure that you run the SQL updates in the /utils/sql/svn folder for all revisions after the o e you were already running.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #17  
Old 07-09-2009, 12:17 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

so what rev is this in? I updated everything but I didn't see anything talking about scribespells
Reply With Quote
  #18  
Old 07-09-2009, 03:16 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

AndMetal put it in on R732:

Quote:
==07/01/2009==
AndMetal: quest::scribespells can now accept minimum level as a 2nd argument. Examples: quest::scribespells(60,60) will scribe just level 60 spells, quest::scribespells(75,71) will scribe spells from 71 through 75.
AndMetal: Ditto with #scribespells, quest::traindiscs, & #traindiscs.
AndMetal: quest::scribespells & quest::traindiscs will now return the amount of spells/disciplines that were scribed/learned (an optional way to verify success or failure).
AndMetal: #scribespells & #traindiscs will limit the max level to whatever the rule Character:MaxLevel is set to, unless you have GM Mode turned on, in which case it's limited to 255 (uint.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #19  
Old 07-09-2009, 11:56 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

that's odd. I updated all of the things and restarted my server but the quest and command both don't work.
Reply With Quote
  #20  
Old 07-09-2009, 12:16 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

For the Rev732 one it just says
Code:
INSERT INTO `rule_values` VALUES ('1', 'Spells:SacrificeMinLevel', '46', 'First level Sacrifice will work on');
INSERT INTO `rule_values` VALUES ('1', 'Spells:SacrificeMaxLevel', '69', 'Last level Sacrifice will work on');
INSERT INTO `rule_values` VALUES ('1', 'Spells:SacrificeItemID', '9963', 'Item ID of the item Sacrifice will return. Defaults to an Essence Emerald.');
Reply With Quote
  #21  
Old 07-09-2009, 12:32 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

The SQL update, if any, doesn't define what code changes may or may not have been implemented in a revision. AndMetal happened to also include sacrifice changes into the same revision.

When you say the command doesn't work, are you getting an error message? Is it silently not behaving as desired? What exactly do you mean by it doesn't work?

I reviewed the code for the command #scribespells and it appears it should function correctly.
Reply With Quote
  #22  
Old 07-09-2009, 12:34 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

It appears to work properly for me.

For testing purposes, I recently created a mage, did a #level 75, then used #scribespells to get just 71-75 spells.
Reply With Quote
  #23  
Old 07-09-2009, 12:35 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

well I did #scribespells 70, 65 #scribespells (70, 65) and then in a quest I had #quest::scribespells (70,65) and none of those worked
Reply With Quote
  #24  
Old 07-09-2009, 12:37 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Just for clarification, in case it's a punctuation issue you're running into, the #scribespells command must be entered exactly as follows:

#scribespells 70 65

No parentheses or commas.

The quest::scribespells function should be called exactly as follows:

Code:
sub EVENT_SAY
{
  quest::scribespells(70,65);
}
No # symbol before 'quest' or space before the parenthesis, and followed by a semicolon.
Reply With Quote
  #25  
Old 07-09-2009, 12:41 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

It just scribes my spells from 1-70 no matter what
Reply With Quote
  #26  
Old 07-09-2009, 12:48 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Then it sounds like you're still running an old version of the server.

After compiling the newer rev, did you copy the new .exe files from the source code's Build directory to your server's main EQEmu directory?
Reply With Quote
  #27  
Old 07-09-2009, 12:58 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

no i did not
Reply With Quote
  #28  
Old 07-09-2009, 01:29 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

After doing a recompile, the following files should be copied to your server's main EQEmu directory to complete the update:

src\EQEmuServer\Build\*.exe
src\EQEmuServer\utils\*.conf
src\EQEmuServer\eqlaunch\release\*.exe

Make sure you have shut down all running EQEmu server programs before attempting to copy the files.
Reply With Quote
  #29  
Old 07-09-2009, 03:44 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

Quote:
Originally Posted by Shendare View Post
#scribespells 70 65
I'm just curious why the numbers are used backwards? Is this one of those EU vs US things? Seems like it should be:

#scribespells 65 70 or #scribespells 10 25

Or am I missing something?
Reply With Quote
  #30  
Old 07-09-2009, 03:56 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

The numbers are reversed because the usage of the command is actually as follows:

#scribespells MaxLevel [MinLevel]

Where MinLevel is optional, defaulting to 1 if omitted.

MinLevel is a later addition to the command, which used to only take MaxLevel and always use a MinLevel of 1.
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 06:40 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3