DRL > Bug Reports

[0.9.9.3] Can't create a nanoskin cybernetic armor.

(1/1)

bucels:

--- Code: -------------------------------------------------------------------------
Timestamp   : 2011-05-18 18:19:14
Error level : ERROR
Message     : Lua hook OnUse failed!

Hook name     : items[mod_power].OnUse
Error message : Lua error : lua\mod_arrays.lua:322: attempt to perform arithmetic on field 'armor' (a nil value)
----------------------------------------------------------------------

--- End code ---

I was standing on the stairs at Lev73.
I was trying to create a nanoskin cybernetic armor (PPN). I added a power mod pack, then a nano pack, and when I tried to add the second power mod pack the game didn't like it.
I saved the game (attached), resumed, and tried to add the second power mod pack again (twice), but I got the same error.
Oh, and the "nanoskin" prefix was added multiple times (see screenshot) - armor stays at [9/9] (PN).
Bah, I've been playing for 3 hours and now I'm going to die... :(

DoomRL version: 0.9.9.3, win
Platform: Windows XP
Game type: Ao100
Difficulty: UV
Level: 73
Doomguy level: 21
Traits: Irox3, Finx3, HRx3, SoBx4, Relx2, Jug, WKx2, THx2, MAc

lua\mod_arrays.lua:322: attempt to perform arithmetic on field 'armor' (a     
 nil value) Press <Enter>... Error written to error.log, please report!         
                                  ##########                                   
                                  .=...=...#=                                   
                               ..  .====..=.=.                                 
                               ...##=====....^                                 
                              ......===..... ..                                 
                              ......==....#=...                                 
                             ......===.....#=.O.                               
                             ...^...==@.........                               
                             ........=..........                               
                              ...====..O.......                                 
                              ...===...........                                 
                               ....==....O....                                 
                               ..=^=....=####.                                 
                                .=.....==#                                     
                                 O......##                                     
                                   ....##                                       
                                     .##                                       
                                                                               
                                                                               
                                                                               
 Bob                        Armor : modified nanoskin nanoskin nanoskin Cybernet
 Health: 75%  Exp: 21/64%   Weapon: hyperblaster (2d4)x3 [40/40]               
 cautious                                                    Phobos Hell  Lev74

tehtmi:
Thanks for the bug report.

This is a problem with saving/loading.  After I save/load all the items in my equipment and inventory have their proto set to stubitem.

To avoid this bug, don't save.  However, the item prototype is almost never referenced directly.  Nanofiber skin armor and cybernano armor are the only things I have noticed that do this.

Edit: This same bug will disable the possibility of getting set bonuses from your items.  It may cause other set issues too.

Navigation

[0] Message Index

Go to full version