Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Hacking UA / Re: Hacking encumbrance
« Last post by Nol Drek on April 27, 2017, 07:46:32 PM »
That's also progress. I wasn't aware that the encumbrance changes in FRUA when the weight carried > 100 + 256 * n, for some integer n>=2.
12
Dungeon Craft - Troubleshooting / Re: More wand woes
« Last post by Paul R. Stevens on April 27, 2017, 06:05:31 PM »
Quote from: Manikus
It does not need to be fixed - it is not broken.

Technically true, I suppose.  But the lack of an error message
could easily lead the unwary into believing that the $TargetContext()
function was supplying useful information.
13
Dungeon Craft - Troubleshooting / Re: More wand woes
« Last post by Paul R. Stevens on April 27, 2017, 06:02:07 PM »
Quote from: Manikus
that is the $TargetContext()
....
$AttackerContext() refers to the spell caster.

I'm sorry.  You may declare that a $TargetContext() exists and
you may declare that an $AttackerContext() exists but it is not
true.  The 'AURA_Create' hook does not execute in those
contexts or in any other context.  Using those functions in that
hook will cause an error message.
14
I can use the GBC Teleport inside towns but not outdoors in Champions of Krynn...

Pools of Darkness, if you can identify the current Ecl in the DosBox data, then you can know which outdoor map the party is currently in. This might enable you to bring Teleport to the game.

Can't remember why teleport is not working in Champions.

In Pools, If I remember correctly, I figured out the memory location that indicates the current indoor map index but it didn't change correctly to Realms/Moander/etc. ECL when you left the map to outdoors. It worked in some cases but not in all. There also seemed to be some game state values regarding the outdoors map.

As I've said before, it's much more difficult to pinpoint memory addresses compared to static save files. Where there's one value for one thing in a save file, there might be several in the game memory. When an address is found you'd want it to be an offset to some base address so that in can be safely used. In most cases the save file is not a dump of the memory so knowing the save file structure does not help.

I wrote a tool which can search for values in memory and then narrow the list after the value changes and can monitor the changes live but still there can be hundreds of false positives especially if the value is just a byte.

Try HxD, it's a hex editor which can view/edit the memory of a process like you would view/edit a file.
15
Dungeon Craft - Troubleshooting / Re: More wand woes
« Last post by manikus on April 27, 2017, 01:14:58 PM »
For this particular hook, $TargetContext() works, but is not listed in the documentation. I do not think we need to add $CombatantContext() or $AttackerContext() to AURA_Create.
The script currently calls $AttackerContext() on the last line. Does that need to be fixed or not?
It does not need to be fixed - it is not broken. ;)
There are a couple of thiings going on here.
1) we are telling the script who to apply the AURA to - that is the $TargetContext()
2) we are telling the engine to get rid of targeting information, so that next time we do this we're not pointed at the wrong target. That info is stored on the spell caster, hence $AttackerContext().

For both characters and combatants, $AttackerContext() refers to the spell caster.
16
Dungeon Craft - Artwork / Re: Hero Craft - Icons
« Last post by manikus on April 27, 2017, 01:08:17 PM »
I think this is a good reason for any designer to use minor and/or obscure characters because you can change them into what you want without breaking the more established characters.

That was part of my motivation to search through Golden Age Comics looking for obscure villains that look interesting but don't have a mountain of history beneath them. The copyrights have expired and the characters only appeared in one or two issues. I'm guessing the "Green Mummy" story was something that Jack Binder drew in about one week 75 years ago.
I find this very inspirational. When I am done with Hero Craft, or at least more done, I want to do a deep dive into some classic comics for these purposes. :)

Quote from: Nol Drek
The Puzzler (Nedor) comes with fewer expectations for behavior than the Riddler (DC) despite having an almost identical modus operandi. The Puzzler appeared six months after the Riddler, never had his secret identity named, and was caught by the Black Terror and sent to jail on the last page of the only story he ever appeared in. I guess the Black Terror is just a more effective super hero than Batman. That other guy's villains never seem to stay in jail for long.  ;)
I've actually been thinking about giving one of my designs a villain named "The Googler" that is in almost all ways like the Riddler.
Good point about that bat-guy, too. You would think with as many times as the inmates have broken out of Arkham Assylum, that they would consider using another facility.
17
Cool. :D

All good things to know. I will add Friedrich's Quest into the gueue at it's proper spot.
I think it is very wise to break up the big epic projects into smaller, more manageable designs. Have you thought about building them in such a way as to combine them at a latter point? You would need "master" databases, by which I mean ones that included all the need things (spells, items, etc) for all of the designs. And I think you could assign a block of levels to each, 1-20 for the first, 21-40 for the second, etc. Not that you should do this, just something to consider. ;)
18
Dungeon Craft - Troubleshooting / Re: More wand woes
« Last post by Paul R. Stevens on April 27, 2017, 10:50:38 AM »
Quote
For this particular hook, $TargetContext() works, but is not listed in the documentation

Wrong.  There is good reason it is not listed in the documentation.

I will fix this.  In the future you will get an error message.

There is no context for this hook.  Nor should there be. 
19
Hacking UA / Re: Hacking encumbrance
« Last post by steve_mcdee on April 27, 2017, 08:08:32 AM »
If I understand this correctly, in FRUA a normal human with a strength of 8-11 can carry a maximum of 1500 gold pieces of weight or 150 pounds (68 kg). A character with an 18/00 strength has a strength adjustment of +3000 gold pieces of weight or +300 pounds for a total maximum encumbrance of 4500 gold pieces or 450 pounds (204 kg).
You do understand this correctly.

It may be of interest for you if I explain a little more about how the STR-based adjustments appear to work. The general outline appears from CKITFORM.txt, but without the detail. The following bytes affect the STR adjustments to maximum encumbrance:


29652 (0x73d4)    bonus for characters with STR 3 (-350)
29664 (0x73e0)    bonus for characters with STR 4-5 (-250)
29676 (0x73ec)    bonus for characters with STR 6-7 (-150)
29697 (0x7401)    bonus for characters with STR 12-13 (100)
                   CKITFORM.txt describes this as "1 byte" but it is in fact a 2-byte number
                   like the other adjustments (albeit the second byte is, by default, 0)
29709 (0x740d)    bonus for characters with STR 14-15 (200)
29720 (0x7418)    bonus for characters with STR 16 (350)
29739 (0x742b)    bonus (250) applied by multiples to characters with STR 18 (x1=250),
                   18(1-50) (x2=500), 18(51-75) (x3=750) and 18(76-90) (x4=1000)
29747 (0x7433)    bonus (500) applied equally to characters with STR 17, 18, 18(1-50)
                   18(51-75) and 18(76-90) -- cumulative on the previous bonus
29766 (0x7446)    bonus for characters with STR 18(100)
29774 (0x744e)    bonus for characters with STR 18(91-99) and 18(100) -- cumulative


Given that characters with STR 8-11 don't receive a bonus, it is not surprising that there doesn't seem to be a place to specify any bonus for them.

I wonder if FRUA use the following values for encumbrance:
ENCUMBRANCE MOVEMENT RATE
350         12"
700         9"
1050        6"
1500        3"


If so, it might be useful to look for the values 350, 700, and 1050 somewhere close to the part of the code where you found your new discovery.
A nice thought. However, these are not the values that FRUA uses. I have now worked this out too, to some extent.

The same STR-score-based encumbrance bonuses are applied to the encumbrance values at which movement is decreased. For example, a character with STR 16 drops from 12 movement to 9 movement at a figure 350 greater than a character with STR 8-11.

The "normal" figures (ie, unadjusted, applicable to characters with STR 8-11) are as follows:

ENCUMBRANCE  MOVEMENT RATE
613          9"
869          6"
1125         3"


The significance of these numbers seems to be that they equate to two-byte pairs of "101 2", "101 3" and "101 4" respectively. I'm not sure that there is any greater significance. These figures are not altered by changing the maximum encumbrance value from 1500.

I tried searching CKIT for all values of 613 and 1125, but none of these control the encumbrance effect on movement rate. I suppose we might just be looking for a byte with the value "101", but there are an awful lot of those... and if it is a single byte then we would presumably be limited to adjusting this figure within a range of 256, which is not likely to be very helpful anyway.
20
Dungeon Craft - Artwork / Re: Hero Craft - Icons
« Last post by Nol Drek on April 27, 2017, 12:02:25 AM »
I think this is a good reason for any designer to use minor and/or obscure characters because you can change them into what you want without breaking the more established characters.

That was part of my motivation to search through Golden Age Comics looking for obscure villains that look interesting but don't have a mountain of history beneath them. The copyrights have expired and the characters only appeared in one or two issues. I'm guessing the "Green Mummy" story was something that Jack Binder drew in about one week 75 years ago.

The Puzzler (Nedor) comes with fewer expectations for behavior than the Riddler (DC) despite having an almost identical modus operandi. The Puzzler appeared six months after the Riddler, never had his secret identity named, and was caught by the Black Terror and sent to jail on the last page of the only story he ever appeared in. I guess the Black Terror is just a more effective super hero than Batman. That other guy's villains never seem to stay in jail for long.  ;)
Pages: 1 [2] 3 4 ... 10
anything