![]() |
#11 | ||
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
Quote:
![]() Notice this mistake occurrs twice.....a couple lines apart. My apoloiges for the state of the codebase. I have never had RL slam me this hard right after uploading so many changes to the game.
__________________
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; June 9, 2013 at 23:00. |
||
![]() |
![]() |
![]() |
#12 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
Maybe you should have put out a beta first 8-)
But more seriously, it compiles and its playable and I can fix things as I go. Sure it'd be nice if everything always worked first time, but then why have a beta? (Although technically I'm now playing a slightly mutant gitfork rather than the beta) -- This time I, uh, broke the experience system. Drinking an !exp while drained resulted in having cured exp but an apparently still drained level. Neither a !RLL or a save-reload fixed it. When I get back to town I may try a !LoseMemory/!RLL cocktail. Sort of a hair-of-the-vampire-wolf thing. Note to self- check the exact !LoseMemory code before doing something dumb. ... OK, it seems that any level loss will trigger this, not just my wacky circumstances. p_ptr->max_level is getting set to 50 for some reason. ... Got it. Fix should be on github, along with a somewhat hacky 'cure' for afflicted characters -- Github is starting to include a bunch of my mutant tweaks, so you probably want to be choosy in what you import... -- Another minor bug- stat modifiers weren't shown correctly on the character screen. A fix is on github. -- Minor but annoying: after loading the game, it does not figure out that you have any inventory until after the first time you try to use something. Heading off to try to figure it out now... ... It needs item_tester_swap = TRUE; to be set somewhere. I'm dumping it just after the game mode check for now. -- Looking through monster2.c/calc_monster_speed: A default monster has a base speed|energy of 110|10. So having SLOWER or FASTER flags will modify the base speed by +- 10 (calc_energy_gain(r_ptr->r_speed)) So it could be as slow as 100|5 (half speed) or as fast as 120|20 (double speed) Another example, a faster-by-default monster (120|20) could be +- 20 giving quarter speed (100|5) through to not quite double speed (140|38) Is this desired? Hmm. Also note that since rand_spread(a,b) is goes from a-b to a+b, both SLOWER and FASTER flags have exactly the same effect! ... OK, I have a tweak on github that gives a simpler distribution: FASTER gives +1 to +7, SLOWER the opposite, and normal critters get -2 to +2 So the examples above would give 110|10 -> 103|5 (50%) .. 117|17 (170%) and 120|20 -> 113|13 (65%) .. 127|27 (135%) Alternatively, if you wanted to keep things in proportion to the critters speed, then you could scale things by (|r_speed-110| + 10)/10 Last edited by kaypy; June 14, 2013 at 10:19. |
![]() |
![]() |
![]() |
#13 |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Again, thanks. I poked around your branch and saw plenty of good stuff. Hopefully over the next couple days I can take your changes and add put out a beta-3 sometimes this week.
I think you have the start of the the game automatically choosing between nppmoria and npp when a savefile is loaded here: https://github.com/kaypy/NPPAngband/...18825f92ce125f If, before that, the game opened the savefile and read the first couple bytes, it could get the game mode from the savefile, and then maybe that menu could be bypassed.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
![]() |
![]() |
![]() |
#14 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
That's a good idea
*hack hack hack github* -- Tested what I have in Linux & Windows. Should theoretically work on others I think Last edited by kaypy; June 16, 2013 at 04:42. |
![]() |
![]() |
![]() |
#15 | |||
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
Quote:
Quote:
Both those lines should be rand_range instead of rand_spread.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|||
![]() |
![]() |
![]() |
#16 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
I credited your work as 'kaypy' in the npp changes file. If you wish to be credited by another name, please let me know.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|
![]() |
![]() |
![]() |
#17 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
kaypy is fine. If I really wanted to be less anonymous I could always fill in my details...
(Not that I'm spectacularly anonymous here- I think its a few pages of google and a guess that the roguelike/retro gaming hits are me before you get a real name) -- Kinda surprised that the hunger tweak made it in- its a patch that has failed to make V for about a decade... |
![]() |
![]() |
![]() |
#18 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
Simple patches like that not making it into V was the reason I started NPP 10 years ago.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|
![]() |
![]() |
![]() |
#19 |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
Wait, what's this hunger tweak?
|
![]() |
![]() |
![]() |
#20 |
Swordsman
Join Date: May 2009
Posts: 294
![]() |
Its a tweak to the @-colour-shows-health-status that adds a colour for healthy-but-hungry. Used to be on the patches ftp but that appears to no longer work.
edit on finding a working patches ftp: Or maybe not- there was an older clunkier patch with similar motivations, but not the one I was thinking of. Last edited by kaypy; June 25, 2013 at 13:03. |
![]() |
![]() |
![]() |
Tags |
moria |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
NPPAngband and NPPMoria 7.0.0 beta-1 released! | nppangband | Variants | 15 | May 9, 2013 21:26 |
NPP 0.5.4 Beta-4 "Its fixed for real this time, I promise" | nppangband | Variants | 0 | March 10, 2012 22:28 |
NPP 0.5.4 Beta-3 uploaded | nppangband | Variants | 2 | March 10, 2012 20:34 |
NPP 0.5.4 Beta-2 uploaded | nppangband | Development | 2 | February 28, 2012 02:33 |
NPP 0.5.0 Beta 4 Bug???? | Rizwan | Variants | 2 | February 6, 2008 13:44 |