Search Results
Searched for posts by Vladivarius in all forums

Showing results 11 - 14 out of 14 total
Modify your search
Posted by Vladivarius, Jul 19, 2020 at 2:36 pm
Also, running in the wild at the beginning of the game gives you an enormous boost to agility, from now on I'm just gonna buy all the bananas from new attnam and do this at the start of every run. You can easily get to 15 AGI.
Posted by Vladivarius, Jul 19, 2020 at 2:30 pm
You are right about snowballing but that's not really the problem if agility loss is tied to agility gain, so they happen at the same time. This way the worst thing could be that you are leveling faster than monsters around you.

Dodging trains agility. And perception too!
(I scaled exp. to show only progress towards next level which would happen at 1000 exp. in that attribute). If I understand the code right, I scaled experience down 25 times from how original game sees it. Agility is tied to limbs, so the message pops up once for each limb trained. Message log gets clogged very quickly so I only use this for debugging, but if you want(and trust me not to send a virus to you) you can download my build(.exe) here:
www.bsedev.net/ozone/ivan_vlad1.rar
I removed the pings, you can't see anything from the ammount of them.
I also removed hungry, satiated, and burdened attribute loss so if you want to see the bad thing happening go for more extreme states.
Posted by Vladivarius, Jul 19, 2020 at 10:48 am
Hi, I'm new here and this is my first attempt to solve something by changing/looking at the code.

My problem was that I had too much trouble raising some stats - I just made it to Oree level with 11 agility and 17 dex and just couldn't dodge enough critical strikes from the knights. I wanted to see the code and figure out what was I doing wrong so I could finally get more jumpy in the future runs.

I edited ivan sc to print out changes in experience, and what I found out is that every turn of moving I get the normal ammount of agility, and then lose just a little bit because I'm burdened or satiated... except I was gaining exp once per turn and losing it 10 times!. Then I traced the problem back a bit and figured out that my character actually exists around 10 times each turn(this varies a bit). This is the edit I did on char.cpp:989:
void character::Be()
{
  if (IsPlayer()) ADD_MESSAGE("Ping!");
  ...rest is unchanged
Ping! would print at least 10 times every time I moved. This is a problem because every time the character happens, it loses a bit of experience which is at the end of the game so high that just being burdened, without any other modifiers, makes you lose AGI when moving.
Is this a bug, or is it intended to happen this way? I guess this is the way characters attack multiple times in one turn, but it don't match the agility gain.
Posted by Vladivarius, Jul 19, 2020 at 6:24 am
I report that I have successfully built IVAN using Visual Studio 2017 by following the instructions from INSTALL. Everything was very clear and worked without any problems. Well written manual!