Animeband - The worst variant ever

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ehuangsan
    Scout
    • May 2007
    • 25

    Animeband - The worst variant ever

    Discuss anything and everything about the bastard child born from a drunk hententmon schoolgirl called Animeband in this thread. Please keep the flaming to a minimum.

    日本語でどうぞ。
    http://angband.oook.cz/animeband - Come for the horror
    なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!
  • ehuangsan
    Scout
    • May 2007
    • 25

    #2
    Known bugs in the current alpha

    Known bugs and stuff in the current 0.6.0 alpha

    - After going up or down stairs to a new level, the hunger indicator in the status bar is blanked out. It doesn't update until hunger status changes.

    - If you take off a mecha while in a shop, your HP/Max HP will overwrite the shop inventory. Wielding the Mecha probably induces the same problem.

    - Replacement technique will induce mystical hits from nowhere (doesn't happen in 0591). I know why it happens; I just don't know how to fix it well, and the previous 0591 solution was stupid anyway.

    - Naive solution to the so called too much junk problem induces starvation.

    - Chuukei on watch setting spews out funky text when player is X or 変愚 (if you're not Japanese, don't worry about this one)

    - Rasengan doesn't work quite right. Similar problem to the replacement technique.

    - Train station ought to be a menu

    - Hamiltonian chain code should be rewritten and recommented so I can understand how the heck it works again.

    Please let me know if y'all find any other bugs. Since my coding skills and my spare time are declining exponentially each day, I would appreciate some help too.
    http://angband.oook.cz/animeband - Come for the horror
    なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!

    Comment

    • arcum42
      Rookie
      • Apr 2007
      • 10

      #3
      Does being totally unable to compile it count as a bug?

      lux Animeband060a2src # make
      Making all in src
      make[1]: Entering directory `/usr/local/src/angband/Animeband060a2src/src'
      Makefile:290: *** missing separator. Stop.
      make[1]: Leaving directory `/usr/local/src/angband/Animeband060a2src/src'
      make: *** [all-recursive] Error 1
      lux Animeband060a2src # cd src
      lux src # make -f Makefile.std
      gcc -I/usr/X11R6/include -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -D"USE_X11" -D"USE_GCU" -D"USE_NCURSES" -c -o cave.o cave.c
      cave.c: In function 'prt_path':
      cave.c:1449: error: too many arguments to function 'map_info'
      cave.c: In function 'cave_set_feat':
      cave.c:3535: warning: suggest parentheses around && within ||
      make: *** [cave.o] Error 1
      lux src # make -f Makefile.gtk
      gcc -Wall -o `gtk-config --cflags` -D"USE_GTK" -g -c -o cave.o cave.c
      cave.c: In function 'prt_path':
      cave.c:1449: error: too many arguments to function 'map_info'
      cave.c: In function 'cave_set_feat':
      cave.c:3535: warning: suggest parentheses around && within ||
      make: *** [cave.o] Error 1

      (And, yes, I'm sure if I dinked around a bit with cave.c, I could get it to compile, but still...)

      --Shanoah

      Comment

      • ehuangsan
        Scout
        • May 2007
        • 25

        #4
        Oh yeah, it doesn't compile on some of the newer versions of GCC. I forgot which versions though.

        If everything goes right, it should just compile with a billion different warnings.
        http://angband.oook.cz/animeband - Come for the horror
        なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!

        Comment

        • arcum42
          Rookie
          • Apr 2007
          • 10

          #5
          Ah, that'd explain it - the only version of gcc I have on here is 4.1.1. Wonder if my amd64 processor would give it problems, too? Ah well, I'll hold off on it for a bit. I've still got Oangband, Sangband, and Vanilla to play with, after all...

          --Shanoah

          Comment

          • Leon Marrick
            Sangband maintainer
            • Apr 2007
            • 24

            #6
            Originally posted by arcum42
            Does being totally unable to compile it count as a bug?

            gcc -I/usr/X11R6/include -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -D"USE_X11" -D"USE_GCU" -D"USE_NCURSES" -c -o cave.o cave.c
            cave.c: In function 'prt_path':
            cave.c:1449: error: too many arguments to function 'map_info'
            Check USE_TRANSPARENCY. That'd be the obvious suspect here.

            Originally posted by ehuangsan
            Oh yeah, it doesn't compile on some of the newer versions of GCC. I forgot which versions though.

            If everything goes right, it should just compile with a billion different warnings.
            It's worth your time to remove these warnings. My code got a LOT less troublesome once I started testing on more compilers with better error messages. For a long time (pretty much up to Oangband 0.4.0) I was using only makefile.ibm, with no extra warnings. Took me forever to figure out why people couldn't compile my crap...
            S(all) W/D H+ D c+ f? PV++ s? d- P++ M+
            C S !I !So SQ RQ V+ F:<<buffer overrun>>
            http://angband.oook.cz/code

            Comment

            • arcum42
              Rookie
              • Apr 2007
              • 10

              #7
              Yep. Looking at the code, prt_path should be checking for transparency, but instead is just assuming you have it. So Animeband is uncompilable if you don't have transparency, currently. I hacked an #ifdef in, which got me past that error.

              That got me to wizards2.c, where wiz_create_itemtype doesn't match externs.h (and yes, a million error messages.

              Which led me up to this batch of errors. Sadly, I have to get going, so they'll have to wait:

              util.o: In function `my_fopen_temp':
              util.c.text+0x2f56): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
              z-term.o: In function `Term_inkey':
              z-term.c.text+0x2b00): undefined reference to `flush_ringbuf'
              dungeon.o: In function `play_game':
              dungeon.c.text+0x31bb): undefined reference to `browse_movie'
              dungeon.c.text+0x31ca): undefined reference to `prepare_chuukei_hooks'
              dungeon.c.text+0x31e8): undefined reference to `browse_chuukei'
              dungeon.o: In function `process_command':
              dungeon.c.text+0x22d): undefined reference to `prepare_movie_hooks'
              main.o: In function `main':
              main.c.text+0x394): undefined reference to `connect_chuukei_server'
              main.c.text+0x481): undefined reference to `prepare_browse_movie'
              main.c.text+0x4a6): undefined reference to `connect_chuukei_server'
              collect2: ld returned 1 exit status
              make: *** [angband] Error 1

              --shanoah

              Comment

              • ehuangsan
                Scout
                • May 2007
                • 25

                #8
                Yeah, most of the warnings are WIP stuff that I haven't implemented yet, so there are lots of variables doing nothing. The only exception is the chuukei code, which was created by voodoo magic.
                http://angband.oook.cz/animeband - Come for the horror
                なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!

                Comment

                • arcum42
                  Rookie
                  • Apr 2007
                  • 10

                  #9
                  Ah. Well, here's the completion of the saga so far:

                  First, I added the #ifdef USE_TRANSPARENCY around map_info in cave.c, to change the number of args properly.

                  Then I took, IIRC, static off of wiz_create_itemtype in wizards2.c, to match externs.h.

                  Finally, I added chuukei.c/o to the list of source files and object files in Makefile.std.

                  And, naturally, I played around with commenting and uncommenting a few of the different sections, to try compiling as, say, xaw, x11, and ncurses.

                  It now compiles. It hangs immediately after running the executable, but it compiles. (the x11 or xaw window never comes up, ncurses doesn't draw anything, and gcu clears the screen and sits with a blank screen). Too much voodoo, perhaps...

                  Note, I was using make -f Makefile.std simply because the main make file seemed to be broken.
                  I'm not sure it prepared anything beyond that.

                  As far as the warnings go, a lot are, yeah, but there are others. Some arguments probably just need to be recast, etc. Here's the warnings, for reference:

                  Code:
                  lux src # make -f Makefile.std
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o z-util.o z-util.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o z-virt.o z-virt.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o z-form.o z-form.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o z-rand.o z-rand.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o z-term.o z-term.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o variable.o variable.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o tables.o tables.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o util.o util.c
                  util.c: In function 'quarks_free':
                  util.c:1919: warning: value computed is not used
                  util.c: In function 'messages_free':
                  util.c:2312: warning: value computed is not used
                  util.c:2313: warning: value computed is not used
                  util.c:2314: warning: value computed is not used
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cave.o cave.c
                  cave.c: In function 'prt_path':
                  cave.c:1443: warning: unused variable 'tc'
                  cave.c:1442: warning: unused variable 'ta'
                  cave.c: In function 'cave_set_feat':
                  cave.c:3538: warning: suggest parentheses around && within ||
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o object1.o object1.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o object2.o object2.c
                  object2.c: In function 'compact_objects_aux':
                  object2.c:389: warning: value computed is not used
                  object2.c: In function 'object_copy':
                  object2.c:1512: warning: value computed is not used
                  object2.c: In function 'inven_item_optimize':
                  object2.c:3751: warning: value computed is not used
                  object2.c: In function 'combine_pack':
                  object2.c:4308: warning: value computed is not used
                  object2.c: In function 'inven_takeoff':
                  object2.c:20: warning: 'mechmax' may be used uninitialized in this function
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o monster1.o monster1.c
                  monster1.c: In function 'roff_aux':
                  monster1.c:166: warning: value computed is not used
                  monster1.c:1376: warning: value computed is not used
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o monster2.o monster2.c
                  monster2.c: In function 'compact_monsters_aux':
                  monster2.c:146: warning: value computed is not used
                  monster2.c: In function 'monster_place':
                  monster2.c:1412: warning: value computed is not used
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o xtra1.o xtra1.c
                  xtra1.c: In function 'calc_bonuses':
                  xtra1.c:2197: warning: unused variable 'r_ptr'
                  xtra1.c: In function 'prt_hp':
                  xtra1.c:463: warning: 'mechmax' may be used uninitialized in this function
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o xtra2.o xtra2.c
                  xtra2.c:3965: warning: 'target_set_interactive_accept_monster' defined but not used
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o spells1.o spells1.c
                  spells1.c: In function 'take_hit':
                  spells1.c:455: warning: unused variable 'old_c_meter'
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o spells2.o spells2.c
                  spells2.c:3923:2: warning: no newline at end of file
                  spells2.c: In function 'do_cmd_cook':
                  spells2.c:1773: warning: 'o_ptr' may be used uninitialized in this function
                  spells2.c:1774: warning: 'o_ptr2' may be used uninitialized in this function
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o melee1.o melee1.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o melee2.o melee2.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o save.o save.c
                  save.c:1181:2: warning: "/*" within comment
                  save.c:1182:2: warning: "/*" within comment
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o files.o files.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cmd1.o cmd1.c
                  cmd1.c: In function 'py_attack':
                  cmd1.c:1864: warning: unused variable 'dir'
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cmd2.o cmd2.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cmd3.o cmd3.c
                  cmd3.c: In function 'do_cmd_query_symbol':
                  cmd3.c:1560: warning: value computed is not used
                  cmd3.c:1594: warning: value computed is not used
                  cmd3.c:1694: warning: value computed is not used
                  cmd3.c: In function 'do_cmd_wield':
                  cmd3.c:19: warning: 'mechmax' may be used uninitialized in this function
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cmd4.o cmd4.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cmd5.o cmd5.c
                  cmd5.c: In function 'do_cmd_study_chi_warrior':
                  cmd5.c:361: warning: unused variable 'p'
                  cmd5.c: In function 'do_cmd_ninjutsu':
                  cmd5.c:1434: warning: unused variable 'px'
                  cmd5.c:1433: warning: unused variable 'py'
                  cmd5.c: In function 'do_cmd_intrinsic':
                  cmd5.c:3469: warning: unused variable 'redraw'
                  cmd5.c:3468: warning: unused variable 'flag'
                  cmd5.c:3457: warning: unused variable 'px'
                  cmd5.c:3456: warning: unused variable 'py'
                  cmd5.c:4301:4: warning: "/*" within comment
                  cmd5.c: In function 'do_cmd_chi_power':
                  cmd5.c:4880: warning: unused variable 'redraw'
                  cmd5.c:4879: warning: unused variable 'flag'
                  cmd5.c: In function 'do_cmd_mimic_cast':
                  cmd5.c:5333: warning: unused variable 'redraw'
                  cmd5.c:5332: warning: unused variable 'flag'
                  cmd5.c:5317: warning: unused variable 'px'
                  cmd5.c:5316: warning: unused variable 'py'
                  cmd5.c: In function 'do_cmd_mknight':
                  cmd5.c:6069: warning: unused variable 'redraw'
                  cmd5.c:6068: warning: unused variable 'flag'
                  cmd5.c:5991: warning: unused variable 'px'
                  cmd5.c:5990: warning: unused variable 'py'
                  cmd5.c: In function 'do_cmd_sentai_power':
                  cmd5.c:6564: warning: unused variable 'plev'
                  cmd5.c:6561: warning: unused variable 'redraw'
                  cmd5.c:6560: warning: unused variable 'flag'
                  cmd5.c: In function 'do_cmd_power':
                  cmd5.c:6931: warning: unused variable 'redraw'
                  cmd5.c:6930: warning: unused variable 'flag'
                  cmd5.c:6901: warning: unused variable 'px'
                  cmd5.c:6900: warning: unused variable 'py'
                  cmd5.c: In function 'do_cmd_mecha':
                  cmd5.c:7145: warning: unused variable 'plev'
                  cmd5.c:7142: warning: unused variable 'redraw'
                  cmd5.c:7141: warning: unused variable 'flag'
                  cmd5.c:7123: warning: unused variable 'px'
                  cmd5.c:7122: warning: unused variable 'py'
                  cmd5.c:7792:4: warning: "/*" within comment
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o cmd6.o cmd6.c
                  cmd6.c: In function 'do_cmd_read_scroll':
                  cmd6.c:1429: warning: 'mechmax' may be used uninitialized in this function
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o store.o store.c
                  store.c: In function 'handle_special_store':
                  store.c:989: warning: unused variable 'o_ptr'
                  store.c:2285:3: warning: "/*" within comment
                  store.c: In function 'store_request_item':
                  store.c:4504: warning: unused variable 'px'
                  store.c:4503: warning: unused variable 'py'
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o birth.o birth.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o load2.o load2.c
                  load2.c:1543:2: warning: "/*" within comment
                  load2.c:1544:2: warning: "/*" within comment
                  load2.c: In function 'rd_extra':
                  load2.c:1637: warning: pointer targets in passing argument 1 of 'rd_byte' differ in signedness
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o wizard1.o wizard1.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o wizard2.o wizard2.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o generate.o generate.c
                  generate.c: In function 'town_gen':
                  generate.c:4878: warning: unused variable 'a'
                  generate.c: In function 'wilderness_gen':
                  generate.c:1185: warning: 'daytime' may be used uninitialized in this function
                  generate.c:813: warning: 'py' may be used uninitialized in this function
                  generate.c:812: warning: 'px' may be used uninitialized in this function
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o dungeon.o dungeon.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o init1.o init1.c
                  init1.c: In function 'parse_c_info':
                  init1.c:2996: warning: format '%d' expects type 'int *', but argument 3 has type 'byte_hack *'
                  init1.c:2996: warning: format '%d' expects type 'int *', but argument 4 has type 'byte_hack *'
                  init1.c:2996: warning: format '%d' expects type 'int *', but argument 5 has type 'byte_hack *'
                  init1.c:2996: warning: format '%d' expects type 'int *', but argument 6 has type 'byte_hack *'
                  init1.c:2996: warning: format '%d' expects type 'int *', but argument 7 has type 'byte_hack *'
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o init2.o init2.c
                  init2.c: In function 'init_info_raw':
                  init2.c:318: warning: value computed is not used
                  init2.c: In function 'free_info':
                  init2.c:607: warning: value computed is not used
                  init2.c:610: warning: value computed is not used
                  init2.c:613: warning: value computed is not used
                  init2.c: In function 'init_angband':
                  init2.c:1868: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
                  init2.c: In function 'cleanup_angband':
                  init2.c:2026: warning: value computed is not used
                  init2.c:2027: warning: value computed is not used
                  init2.c:2039: warning: value computed is not used
                  init2.c:2040: warning: value computed is not used
                  init2.c:2041: warning: value computed is not used
                  init2.c:2052: warning: value computed is not used
                  init2.c:2058: warning: value computed is not used
                  init2.c:2063: warning: value computed is not used
                  init2.c:2066: warning: value computed is not used
                  init2.c:2069: warning: value computed is not used
                  init2.c:2072: warning: value computed is not used
                  init2.c:2073: warning: value computed is not used
                  init2.c:2074: warning: value computed is not used
                  init2.c:2080: warning: value computed is not used
                  init2.c:2081: warning: value computed is not used
                  init2.c:2086: warning: value computed is not used
                  init2.c:2087: warning: value computed is not used
                  init2.c:2088: warning: value computed is not used
                  init2.c:2089: warning: value computed is not used
                  init2.c:2092: warning: value computed is not used
                  init2.c:2095: warning: value computed is not used
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o randart.o randart.c
                  randart.c: In function 'init_names':
                  randart.c:827: warning: value computed is not used
                  randart.c: In function 'scramble':
                  randart.c:2103: warning: value computed is not used
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o chuukei.o chuukei.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o main-cap.o main-cap.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o main-gcu.o main-gcu.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o main-x11.o main-x11.c
                  main-x11.c: In function 'init_x11':
                  main-x11.c:2469: warning: assignment from incompatible pointer type
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o main-xaw.o main-xaw.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o main.o main.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET"   -c -o maid-x11.o maid-x11.c
                  gcc -I/usr/include/ncurses -Wall -O2 -fno-strength-reduce -fomit-frame-pointer -D"USE_X11" -D"USE_GCU" -D"USE_TPOSIX" -D"USE_CURS_SET" -s -o angband z-util.o z-virt.o z-form.o z-rand.o z-term.o variable.o tables.o util.o cave.o object1.o object2.o monster1.o monster2.o xtra1.o xtra2.o spells1.o spells2.o melee1.o melee2.o save.o files.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o store.o birth.o load2.o wizard1.o wizard2.o generate.o dungeon.o init1.o init2.o randart.o chuukei.o main-cap.o main-gcu.o main-x11.o main-xaw.o main.o maid-x11.o -lX11 -lncurses
                  util.o: In function `my_fopen_temp':
                  util.c:(.text+0x2f56): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
                  And sorry if I sort of hijacked the thread with compilation issues. I'm sure people that actually can play the game would like to comment on it, as well...

                  --Shanoah

                  Comment

                  • ehuangsan
                    Scout
                    • May 2007
                    • 25

                    #10
                    That is quite weird. It sould at least run. I'll have to look into it when I get the chance.
                    http://angband.oook.cz/animeband - Come for the horror
                    なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!

                    Comment

                    • phaethon_h
                      Rookie
                      • May 2007
                      • 17

                      #11
                      subversion

                      I arranged for a SVN (Subversion) repository for animeband (it's like CVS, but less clunky):




                      for web-based views of the source tree.


                      Code:
                      svn co svn://svn.icculus.org/animeband/trunk animeband
                      for the more developmentally-oriented.

                      Commit access can be granted rather painlessly (unlike CVS).


                      We also have animeband as part of icculus.org's buzilla bug-tracking system: http://bugzilla.icculus.org/

                      (for what it's worth, bugzilla is the bug-tracking system originally created for and used by Mozilla/Firefox development, available as a standalone system)

                      The bugs database is shared with a number of other projects; animeband is one of the projects ("Product"="Animeband").

                      I can delve into a few primers on svn and bugzilla in this thread if needed.

                      Let the coding commence.

                      Comment

                      • ehuangsan
                        Scout
                        • May 2007
                        • 25

                        #12
                        Oh excellent. Thanks a lot!
                        http://angband.oook.cz/animeband - Come for the horror
                        なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!

                        Comment

                        • phaethon_h
                          Rookie
                          • May 2007
                          • 17

                          #13
                          I added code which I think fixes one of the Replacement Technique bugs, where you teleport out of a multi-hit attack and end up teleporting into the middle of another multi-hit attack ("monster1 hit 1 of 3, teleport, monster2 hit 2/3, monster2 hit 3/3").

                          My idea was basically to implement "phasing out" for the duration of the turn (cf Shadowcat, Gouki/Athena teleport), so the monsters try all the motion but end up doing nothing to you (literally attacking empty air).

                          The one gotcha is that the teleport expends "action energy" (akin to a RPG "turn gauge/meter")... on the next turn, if you're "tired" enough, the monster you teleported next to may get a chance to attack before you get a chance to move. This is what happens with regular angband teleporting, but Replacement Technique is supposed to escape danger -- so I don't know if the "phase-in" should happen at the start of the turn (before you move, as it is now) or just as you get to move (complete escape, but godly-priority cheap).

                          Comment

                          • ehuangsan
                            Scout
                            • May 2007
                            • 25

                            #14
                            Originally posted by phaethon_h
                            I added code which I think fixes one of the Replacement Technique bugs, where you teleport out of a multi-hit attack and end up teleporting into the middle of another multi-hit attack ("monster1 hit 1 of 3, teleport, monster2 hit 2/3, monster2 hit 3/3").

                            My idea was basically to implement "phasing out" for the duration of the turn (cf Shadowcat, Gouki/Athena teleport), so the monsters try all the motion but end up doing nothing to you (literally attacking empty air).

                            The one gotcha is that the teleport expends "action energy" (akin to a RPG "turn gauge/meter")... on the next turn, if you're "tired" enough, the monster you teleported next to may get a chance to attack before you get a chance to move. This is what happens with regular angband teleporting, but Replacement Technique is supposed to escape danger -- so I don't know if the "phase-in" should happen at the start of the turn (before you move, as it is now) or just as you get to move (complete escape, but godly-priority cheap).
                            Actually I didn't care much about that scenario as I did about this:

                            Monster 1 hits you, Monster 1 hits you, you teleport, Monster 1 hits you, Monster 1 misses you.

                            If you try making it so that it can interrupt an attack at anytime, funky things happen. Honestly, if you teleport and Monster 2 happens to hit you, I say oh well, that's just silly luck.
                            http://angband.oook.cz/animeband - Come for the horror
                            なに勘違いしてるんだ…まだ俺のバトルフェイズは終了してないぜ! ずっと俺のターン!

                            Comment

                            • phaethon_h
                              Rookie
                              • May 2007
                              • 17

                              #15
                              Originally posted by ehuangsan
                              Actually I didn't care much about that scenario as I did about this:

                              Monster 1 hits you, Monster 1 hits you, you teleport, Monster 1 hits you, Monster 1 misses you.

                              If you try making it so that it can interrupt an attack at anytime, funky things happen. Honestly, if you teleport and Monster 2 happens to hit you, I say oh well, that's just silly luck.
                              hrm. That particular scenario didn't happen to me in 060a2. The scenario I posted did happen, though: A-hit1/3, teleport next to B, B-hit2/3, B-hit3/3. But then again it was a large horde of vicious Hello Kittys (Kitties?),: if I teleported next to another HK, I got hit by the remaining number of hits from a HK, but if I ended up in the clear, no remote hits. So I assume it was the other HK getting in the last hits.

                              Comment

                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎