Page 1 of 1
Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Mon Feb 18, 2002 1:38 am
by Marcus
Runtime-Error.
I want to make some experiments with the Strength of opponents, to see if it can be a shorttime workaround for the problems with the fighting system.
Is there another way that i can make these changes or can it be shortly fixed in Exult-Studio?
Re: Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Mon Feb 18, 2002 1:51 am
by Marcus
If someone can give me a short explanation in what files what is to change, i can handle it with a Hex-Editor.
Re: Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Mon Feb 18, 2002 8:23 am
by drcode
I think we've got the strengths set right, but we might be using the value incorrectly. The code for figuring hit points is in 'actors.cc'; look for 'figure_hit_points'. There, we first determine the probability of a hit occurring. Then, if it occurs, we determine the damage. It's the same formula whether the 'Actor' is a party member or an opponent.
If you do see something wrong, like maybe opponents not having any armor or always having attributes lower than they should, I'll be happy to try to fix it.
Re: Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Tue Feb 19, 2002 1:35 am
by Marcus
Is it possible that you can build in a debug-mode for seeing the fight status of the different chars that are involved in a combat, that comes up per hotkey?
It can looks like following:
When the hotkey is invoked, the game freezes, a display is popped up in which i can see the char-stats of the opponents and what weapons and armor they wear. A second mode can slow down the game and shown all hits that are occured and from whom.
This will help to investigate the problems with the combat system and gives a lot of people the chance to help investigate.
But only if it is not much work for you.
I can do it by my own, but it surely takes me much longer to do it because i dont know the code and it now will takes too long for me to learn enough of the code to do it in seconds
Re: Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Tue Feb 19, 2002 1:49 am
by wjp
I would personally prefer outputting all the hits to stdout as they occur, in a sufficiently detailed way.
Re: Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Tue Feb 19, 2002 11:57 am
by SB-X
Doesn't this already happen? The hit probability and damage is already shown I mean.
Re: Saveing shape-infos cause Exult-Studio (Win) to crash
Posted: Tue Feb 19, 2002 12:03 pm
by wjp
Yeah, but MAC mentioned also wanting to know attack and defense values from which they were calculated.