Orc captain attacking just after game load

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • PowerDiver
    replied
    Originally posted by ClaytonAguiar
    About this change in the code: is it necessary to open a ticket for this issue myself to add it to the nightlies? You already did it? Any other option?
    I did open a ticket already.

    I think someone else needs to do the fix. Direct changes to p_ptr->energy should only happen in 3 places -- birth, the do an action loop, and the one game turn passes loop. The fix I suggested is wrong. The line should be removed entirely.

    Whoever put it there must have had a reason, and presumably that reason ought to be addressed some other way.

    I guess it wouldn't hurt to make the change I suggested and redo or comment the ticket, so long as a record of the need to remove it entirely remains.


    BTW - Thanks a whole lot for finding this!!! I've felt like something occasionally seemed strange on reload, but never could figure out what or where to look.

    Leave a comment:


  • ClaytonAguiar
    replied
    Ok

    Thanks a lot.

    About this change in the code: is it necessary to open a ticket for this issue myself to add it to the nightlies? You already did it? Any other option?

    Clayton.

    Leave a comment:


  • PowerDiver
    replied
    If you are having problems, I just cast teleport self and saved. Hopefully I zipped and attached it to this message.
    Attached Files

    Leave a comment:


  • ClaytonAguiar
    replied
    MinGW ok

    Hi,

    The compilation using MinGW worked flawlessly. I think the Dev C++ issue is related to the lack of "make" support using the supplied makefile.win.

    I'm still curious how to compile angband with Dev C++. :-)

    Leave a comment:


  • ClaytonAguiar
    replied
    Compilation problem

    Hi,

    I downloaded the source from the Download tab in this forum. Followed the instructions in http://rephial.org/wiki/Compiling using Dev C++ for Windows, targeting a Windows environment. I had to remove the Nintendo DS stuff, and everything seems to compile ok. But the angband.exe had no "main menu". So, I saw a "Click file menu" message and no menu at all.

    Which of the "compiling instructions" is 100% safe for the windows port using dev c++? I have to compile WITH or WITHOUT the stl references?

    Thanks in advance.

    Leave a comment:


  • PowerDiver
    replied
    Originally posted by ClaytonAguiar
    I think the game should start in "paused" mode. Isn't that right, or a bug? Can I still save this char?
    Can you compile the source yourself? Then it is easy. Otherwise, you could get someone to hack the savefile so that the adjacent orc captain has less energy.

    The problem is that in an attempt to give you the first move, someone took it away. At around line 1400 in src/dungeon.c it reads

    Code:
            /* Player gets to go first */
            p_ptr->energy = 100;
    Unfortunately, you and the orc captain both have energy over 100, so that costs you the move. I think the idea of putting something like that there is a mistake, but I don't know that part of the code well enough to suggest removing it. If you could change it and recompile, you would get your turn with

    Code:
           /* Player gets to go first */
            if (p_ptr->energy < 100)
                    p_ptr->energy = 100;
    I think it is a bit more complicated for someone to fix an official release as opposed to adding the fix to the nightlies, so it may be a while before there is a 3.1.2.v3.

    Leave a comment:


  • Derakon
    replied
    Given that you can only save the game when it's your turn, this does sound like a bug; it should still be your turn when you load the game.

    Leave a comment:


  • ClaytonAguiar
    started a topic Orc captain attacking just after game load

    Orc captain attacking just after game load

    Hi,

    I was fighting an Orc Captain with my mage. When I was almost dying (just 6 HP), I saved my game. Now, when I load this game, just after the load process, the captain attacks me, and I die.

    I think the game should start in "paused" mode. Isn't that right, or a bug? Can I still save this char?

    Vanilla official beta from rephial.org (3.1.2v2), downloaded last week. Savegame attached.

    Help, please.
    Attached Files
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎