Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old January 24, 2016, 14:02   #21
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by jevansau View Post
Hi,

I encountered a level - I think a pristine wilderness with a player ghost zombie challenge, where it would repeatedly crash. i didn't quite manage to figure out the cause, and unfortunately I forgot to take a copy before I found a way off the level. I did see some 'nothing' terrain types nearby, but it seemed that entering combat caused an immediate crash.
Probably a separate issue, but I get crashes when Windows is low on memory.

Enjoying the playstyle, but finding the new interface takes some time to get used to.

I also just had a crash when inscribing some ammunition with @0. I did have 2 stacks of the same ammunition in my quiver.
Thank you. I found the cause of the 'nothing' terrain types yesterday, and you are correct that was causing the crash due to divide-by-zero errors. NPP 8.0.1 will be out shortly. I will look at ammo inscription first.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old January 24, 2016, 14:59   #22
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by jevansau View Post

I also just had a crash when inscribing some ammunition with @0. I did have 2 stacks of the same ammunition in my quiver.
I could not duplicate that crash, but I did find a way the game could conceivably crash while inscribing ammo. Let's hope that is it.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old January 25, 2016, 00:32   #23
jevansau
Adept
 
Join Date: Jan 2009
Age: 58
Posts: 119
jevansau is on a distinguished road
Thanks for the quick response.

I seem to have had more issues with missile inscriptions becoming corrupt, and have a corrupt savefile - don't know if this is related or not. I got an error on saving the character and now the savefile won't load.

I'll attach it in case it helps you find the cause.
Attached Files
File Type: zip Grantham.zip (9.6 KB, 105 views)
jevansau is offline   Reply With Quote
Old January 25, 2016, 04:10   #24
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by jevansau View Post
Thanks for the quick response.

I seem to have had more issues with missile inscriptions becoming corrupt, and have a corrupt savefile - don't know if this is related or not. I got an error on saving the character and now the savefile won't load.

I'll attach it in case it helps you find the cause.
What area you inscribing the ammunition with that is causing the crash? Is it something you can duplicate?

I am sorry about the corrupted savefile. Did you say you got an error while saving the character? If so, what was it?

I looked at the savefile. Somewhere in the middle of reading all the store's inventory the remaining data in the file becomes all zeroes. This doesn't make a whole lot of sense at first glance but I will keep looking at it.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57

Last edited by nppangband; January 25, 2016 at 04:37.
nppangband is offline   Reply With Quote
Old January 25, 2016, 06:06   #25
jevansau
Adept
 
Join Date: Jan 2009
Age: 58
Posts: 119
jevansau is on a distinguished road
Don't worry about the savefile. I'm grateful for a new variant to play.

I had originally inscribed some ammunition in the quiver with @0. This went smoothly until I had used all the inscribed ammunition. At this point, the next ammunition in the stack seemed to gain an odd and changing inscription, so I'd think maybe a bad pointer.
In the attached corrupted savefile, I had stored the ammunition with the bad inscription in the home. On reflection this was a poor choice.
jevansau is offline   Reply With Quote
Old January 25, 2016, 15:00   #26
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by jevansau View Post
Don't worry about the savefile. I'm grateful for a new variant to play.

I had originally inscribed some ammunition in the quiver with @0. This went smoothly until I had used all the inscribed ammunition. At this point, the next ammunition in the stack seemed to gain an odd and changing inscription, so I'd think maybe a bad pointer.
In the attached corrupted savefile, I had stored the ammunition with the bad inscription in the home. On reflection this was a poor choice.
What most likely happened is the inscription got overwritten then the string may not have been properly terminated in the savefile, and so it read the rest of the savefile as the inscription for that object in your home.

I just uploaded a new version. It should take care of the crashes with inscriptions. I don't know if it would cause a memory leak, but it could have corrupted the inscription string. (Technical explanation: C++/Qt has a standard library command "firstIndex" that returns the position of a specified character in a string. If the character isn't found, then it returns "-1". I found several places in the quiver sorting code where it did not check if the value was in bounds before deleting a character. Also, there was some code that read the next character after that index, without first checking the next character was in bounds. Either of those could definitely cause a crash, and possibly a memory leak. We will see if that fixes it).
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old January 25, 2016, 17:31   #27
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by takkaria View Post
There isn't anything more to it than that, I think, but I'm not an expert either!

DMG files are just what Macs tend to use instead of zips to distribute software. There's no point in putting an executable into a zip and then into a dmg - it just means you have to extract the app from two different containers instead of one.
I gave it a shot, but it is does not work. Who makes that folder for Angband? Is it Nick?
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/
Source code repository:
https://github.com/nppangband/NPPAngband_QT
Downloads:
https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57
nppangband is offline   Reply With Quote
Old January 25, 2016, 23:40   #28
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,653
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by nppangband View Post
I gave it a shot, but it is does not work. Who makes that folder for Angband? Is it Nick?
In a sense, but more precisely it's Makefile.osx and its author. If you read through the comments and commands below
Code:
# Installation.
it actually gives a pretty good description. Notice that the making of the .dmg is under the heading
Code:
# In the unlikely event that tar+zip isn't enough...
- an event which is now the norm
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old January 25, 2016, 23:46   #29
bio_hazard
Knight
 
bio_hazard's Avatar
 
Join Date: Dec 2008
Posts: 570
bio_hazard is on a distinguished road
Note- OSX- I just tried to play again after properly saving (no crash this time), and again, I get the limits.txt error. To summarize- it seems like the application can find /lib only the first time it is opened, and fails on subsequent launches.

If it matters, when trying to open, it defaults to root.

e: sorry- this belongs in the 8.0.1 thread

Last edited by bio_hazard; January 25, 2016 at 23:46. Reason: whoops
bio_hazard is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NPPAngband/NPPMoria QT port nppangband Variants 109 November 14, 2015 03:18
NPPAngband/Moria QT Port (Windows) Beta-2 released nppangband Variants 0 April 1, 2015 21:49
Final NPPMoria and NPPAngband 7.1.0 released nppangband Variants 8 January 30, 2014 11:55
Final NPPMoria and NPPAngband 7.0.0 released! nppangband Variants 34 September 6, 2013 23:21
NPPAngband and NPPMoria 7.0.0 beta-1 released! nppangband Variants 15 May 9, 2013 22:26


All times are GMT +1. The time now is 09:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.