DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • August 20, 2019, 11:39:41 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: Specialty - White Knight  (Read 4476 times)
0 Members and 1 Guest are viewing this topic.
« on: April 22, 2005, 10:16:40 PM »

This is the "Good" version of my Knight classes.

Same basic thing(s) going on here as in the Black Knight (posted earlier today).

Meant to have an alignment restriction, but for some reason I can't get it to work. *shrugs*

It still runs just fine in the testing I've done, I just can't get that cursed align restriction.

« Reply #1 on: May 19, 2005, 04:18:18 PM »

There it is, added a line saying "Alignment Ready Fixed by Zelion" and a download link for where I have them hosted.
« Reply #2 on: May 24, 2005, 11:35:53 PM »

You can check out my Paladin Specialty, Draconis Race, or Titan Race to get some ideas of tying alignment into a specialty or race.
Mod God
Offline Offline

Posts: 1065

View Profile WWW
« Reply #3 on: May 23, 2009, 08:16:35 PM »

this error happens with this specialty when one of the forest events is encountered.  it is one of the foil wrench events and when a player goes to give her a gem this happens.  it is only with this specialty.  i dont know why.  if someone else knows why or a fix it would be great to have.  thank you

Fatal error: Call to undefined function align() in /home/wizardre/public_html/modules/specialtywhiteknight.php on line 120

White Knight
Mod God
Offline Offline

Posts: 1030

For the truth!

View Profile
« Reply #4 on: May 24, 2009, 12:11:52 AM »

Open the module file. After case "set-specialty":, case "choose-specialty":, and case "newday":, the add this line (once for each case):
include_once( './modules/alignment/func.php' );

Edit: Hm. You probably have a slightly different version than I do though. IIRC, it may be necessary to put the line only for "newday" in the original version.
« Last Edit: May 24, 2009, 12:16:10 AM by White Knight » Logged

Helping you help yourself.
Mod God
Offline Offline

Posts: 570

View Profile
« Reply #5 on: May 24, 2009, 12:49:09 AM »

Yes, this module (and its related ones) were written before the alignment core change, so need to include that file in relevant places.  I'm attaching a fixed version; Elessa, care to update the download link?  (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=686 -- neither of the two links earlier in this thread still work.)

Changes made:
  • Removed the invalid download entry in the module info.
  • Adjusted setting description to be slightly clearer.
  • Fixed the "undefined function" bugs.
  • Fixed the alignment gain on specialty selection (was not happening beforehand).
  • Adjusted the specialty selection code to better handle the case where the alignment core is not installed.
« Last Edit: May 24, 2009, 01:04:44 AM by Boris735 » Logged
Mod God
Offline Offline

Posts: 3598

short, sweet and to the point

View Profile
« Reply #6 on: May 24, 2009, 01:09:00 AM »

uploaded new version to here in the file sharing area.

thank ye, Boris735  Smiley

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Pages: [1]   Go Up
Jump to:  

DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
103 Guests, 1 User
Home Forums News Downloads Login Register Advanced Search