Author Topic: Fds class  (Read 1791 times)

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2123
Re: Fds class
« Reply #30 on: December 14, 2016, 10:14:53 AM »
It is beautiful.  Fails quickly and totally.  Thank you.

What do you mean 'wonky'?  Is that a suggestion
for improvement?  An exclamation of excellence?
A cry of puzzlement?

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2123
Re: Fds class
« Reply #31 on: December 14, 2016, 12:15:19 PM »
Manikus:  (or anyone interested)

The failure reported has to do with determining a characters's
BASECLASS level.  In this particular instance, to satisfy
a script executing $GetBaseclassLevel() function.

The original code did some strange things like looking at
previous levels.

Here is what it does now:

Under normal (defined in a bit) circumstances the code returns
the current level of the character's baseclass.

Under abnormal circumstances, the code dies a noisy death for
lack of understanding of what should be done.

Definition of abnormal circumstances:
   1) The character is DualClass
   and
   2) The character can use previous class

The code says that a character is "Dual Class"
if any of his baseclasses has a 'previous level'.
Whatever that means.

The code says a character can 'Use Previous Class'
if he is 'Dual Class' and  (from April 2013)
Quote from: Manikus
/*
I would like to treat each baseclass separately if
it occurs in the original and new classes, but as
part of a group if it doesn't, and I'll try to be
clear in what I mean...

PC starts off as baker/lawyer/grocer of
levels 5/6/7 respectively

  scenario 1
  PC changes to plumber/salesman/soldier
-> when the lowest new baseclass reaches one higher
than the highest original baseclass (in this case
an '8') then the PC gets the use of the original
baseclasses back.

 
scenario 2
PC changes to baker/gardener/dancer
->baker stays at 5, but other two new baseclasses
are at 1, and when the lowest of them is 1 higher
than the highest of the two remaning original baseclasses
(again an '8'), then the two original baseclasses can be
used by the PC at their previous levels of 6/7.
*/


Comments, Anyone?

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9479
Re: Fds class
« Reply #32 on: December 14, 2016, 01:25:32 PM »
First a question about recorded logs -> do they not record automatically? Or is that they only record automatically when the eiditor is on?

Okay, baseclasses:
There are actually three ways they get used with PCs
Single Class
     eg. Joe is a Pumber
Multi-class
     eg. Janet is a Plumber/Carpenter/Neurologist
Dual Class
     eg. Jimmy is currently a Plumber but used to be a Neurologist AND as a Plumber has surpassed  his previous level as a Neurologist (which allows him to function as a Plumber and Neurologist but can only gain levels in the current class, not in any previous class or classes).

If I recall correctly, back in the day "Previous Level" was to track Dual Class characters and to keep track of current and previous levels for certain spells and monster effects, ef. Drain.

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2123
Re: Fds class
« Reply #33 on: December 14, 2016, 04:01:59 PM »
Try version 2.60.  It will get you farther.

http://dianneandpaul.net/UAF/DungeonCraft_260.7z

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 64
Re: Fds class
« Reply #34 on: December 17, 2016, 06:22:25 PM »
It is beautiful.  Fails quickly and totally.  Thank you.

What do you mean 'wonky'?  Is that a suggestion
for improvement?  An exclamation of excellence?
A cry of puzzlement?

no, Paul, wonky on my part.  I'm a bit slow on my keystrokes
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 64
Re: Fds class
« Reply #35 on: December 17, 2016, 08:35:10 PM »
Try version 2.60.  It will get you farther.

http://dianneandpaul.net/UAF/DungeonCraft_260.7z

sigh.
I always have trouble with this....
How do I implement this?
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2123
Re: Fds class
« Reply #36 on: December 18, 2016, 10:59:39 AM »
You implement it by replacing the old version of the
engine with the new version of the engine.

You download the .7z file.

You unpack it.  It contains an .exe file

You put the .exe file in your design folder where
the old Dungeon Craft.exe file was.

You probably whould rename the old .exe file (or
delete it) and rename the new one "Dungeon Craft.exe".

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 64
Re: Fds class
« Reply #37 on: December 18, 2016, 11:52:36 PM »
nod, okay.  thats what I thought.
...has the starting equipment issue been fixed yet by any chance?
....
okay, I keep running into problems....  Now, i'm trying to make a few items that can cast spells.  but most of the spells are causing 0 damage.  I keep trying to change the spell level on the item, but it doesn't appear to stick.  Am I doing something wrong?
« Last Edit: December 19, 2016, 02:55:44 AM by Funky Dynamite »
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9479
Re: Fds class
« Reply #38 on: December 19, 2016, 01:10:22 PM »
What is the starting equipment issue?

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 64
Re: Fds class
« Reply #39 on: December 19, 2016, 10:06:50 PM »
meaning can you set it? i can't figure out how. the option is greyed out on mine.
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9479
Re: Fds class
« Reply #40 on: December 20, 2016, 01:00:21 PM »
meaning can you set it? i can't figure out how. the option is greyed out on mine.

It's set in the class database. Open up classes.txt and look at an example class. It will have a line that reads:
Code: [Select]
Starting Equipment =

In the blank space on the right side of the equals sign, put the name of item.
One line per item, as many lines as you need for each class.

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 64
Re: Fds class
« Reply #41 on: December 20, 2016, 10:21:08 PM »
ok, nod.
what about the spells casting off the items?  how do I get the damage up from 0?
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9479
Re: Fds class
« Reply #42 on: December 21, 2016, 01:14:09 PM »
ok, nod.
what about the spells casting off the items?  how do I get the damage up from 0?

Are we talking about items/spells that are already in the databases or new ones?

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 64
Re: Fds class
« Reply #43 on: December 21, 2016, 08:12:54 PM »
new ones.  I tried making some the other day, but most of the spells were causing 0 damage
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9479
Re: Fds class
« Reply #44 on: December 22, 2016, 01:04:25 PM »
new ones.  I tried making some the other day, but most of the spells were causing 0 damage

You'll need to post the txt veersions of the databases for me to help with this.