Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old March 31, 2021, 06:34   #21
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,191
Donated: $40
Pete Mack is on a distinguished road
It's published by github, and yes it works or did when I tried it some years ago. I also used the PowerShell plug in for pulling updates and the like.
Pete Mack is online now   Reply With Quote
Old April 6, 2021, 19:44   #22
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,007
Donated: $10
will_asher is on a distinguished road
I got it to compile. that's one step.

But I'm already stuck with a bug trying to get it to run. I get a "bad f-flag: " error with a bunch of garbage after it. I made sure all the new flags I plan to add are still commented out in monster.txt and monster-base.txt (even though I already added them to list-mon-race-flags.h). I double and triple checked. I can't figure out what's wrong. Could adding a new monster base do this? Is there a max number of monster bases somewhere? (if so, I can't find it.)

(I'm not going to ask for help for every little thing. Part of the reason I post here for help is sometimes it helps me to think of something when I write out the question.)
__________________
Will_Asher
aka LibraryAdventurer

My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
will_asher is offline   Reply With Quote
Old April 6, 2021, 22:10   #23
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,461
wobbly will become famous soon enough
I spied enough to find your github, which contains a fork of 4.2.2 but nothing else. It's going to be easier to see whats going wrong if someone can see the actual code and more importantly the commits of what you actually changed.
wobbly is offline   Reply With Quote
Old April 6, 2021, 22:17   #24
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,759
Donated: $60
Nick will become famous soon enough
This message means that somewhere in the datafile being parsed there was a flag that was not in the list of all the flags. As wobbly says, if people can see your code it's easier to find problems.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 6, 2021, 23:01   #25
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,007
Donated: $10
will_asher is on a distinguished road
I gotta figure out how to sync the github with what's on my computer...
...Okay, I think I updated my github with my changes, but I don't know how to change the name of my github so that it's clear that it's a variant. I don't get github yet.
EDIT: no it didn't sync. I'm still figuring that out.

Anyway, I barely changed anything so far. It's parsing monster_base.txt, and I looked over that file like 6 times and didn't find anything wrong with it.

Also, Pete implied that there's a relatively easy way to get new changes made to V and add them to my fork. How do I do that?
Is there some quick github tutorial somewhere? I could use a glossary for all the lingo (Push, pull, commit, stash, repository, etc).
EDIT3: I found a github glossary, but it doesn't have "stash".

EDIT2: (learned the difference between push and pull) I told VS to push changes to github, but it didn't update anything...
EDIT4: Okay, I got it to sync now.
https://github.com/will2asher/RubberBand
__________________
Will_Asher
aka LibraryAdventurer

My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)

Last edited by will_asher; April 7, 2021 at 01:07.
will_asher is offline   Reply With Quote
Old April 7, 2021, 10:14   #26
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,461
wobbly will become famous soon enough
You've got typos in your flags, compare:

Code:
# Mostly slow with lots of hitpoints and armor
name:golem
glyph:g
pain:1
flags:EMPTY_MIND | CLEAR_WEB | NONLIVING
flags:NO_FEAR | NO_CONF | NO_SLEEP | NO_STUN
desc:Golem
Code:
# mostly very deep
name:wall monster
glyph:#
pain:1
flags:COLD_BLOOD | EMPTY_MIND
flags:BASH_DOOR | CLEAR_WEB | NON_LIVING
flags:IM_POIS | NO_CONF | NO_SLEEP | NO_FEAR
desc:Wall Monster
Also that true_sight flag in object properties isn't defined in list-object-flags.h
wobbly is offline   Reply With Quote
Old April 7, 2021, 10:27   #27
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,007
Donated: $10
will_asher is on a distinguished road
Thanks. to think I looked through the file as many times as I did and didn't see that...
__________________
Will_Asher
aka LibraryAdventurer

My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
will_asher is offline   Reply With Quote
Old April 7, 2021, 13:56   #28
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,007
Donated: $10
will_asher is on a distinguished road
ugh. still won't run.
Now it's saying there's a parse error in dungeon_profile line 60 but I haven't touched dungeon_profile.txt and I don't see anything wrong there.
__________________
Will_Asher
aka LibraryAdventurer

My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
will_asher is offline   Reply With Quote
Old April 7, 2021, 15:07   #29
backwardsEric
Adept
 
Join Date: Aug 2019
Posts: 136
backwardsEric is on a distinguished road
Quote:
Originally Posted by will_asher View Post
Now it's saying there's a parse error in dungeon_profile line 60 but I haven't touched dungeon_profile.txt and I don't see anything wrong there.
From the source on GitHub, you added "cutoff:..." lines for the profiles. Those will cause errors until you change the parsing in src/generate.c. The cutoff parameter mentioned in the comments is the last value in "room:..." lines within a profile.
backwardsEric is offline   Reply With Quote
Old April 7, 2021, 15:15   #30
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,461
wobbly will become famous soon enough
Quote:
Originally Posted by will_asher View Post
ugh. still won't run.
Now it's saying there's a parse error in dungeon_profile line 60 but I haven't touched dungeon_profile.txt and I don't see anything wrong there.
You didn't deliberately change it, but you did in fact change it. In fact you accidentally changed a whole bunch of files no doubt, take a look at the file list in this commit:

https://github.com/will2asher/Rubber...5ab654b8bf0c2e

As far as I can see you've:

downloaded a copy of angband
Nick has updated dungeon_profile.txt
you've uploaded the older version of dungeon_profile.txt
wobbly 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
can we make identify more common ? Sky Vanilla 16 September 10, 2017 10:20
Make Artistry automatic bagori nd Sil 4 September 26, 2016 18:22
How many variant developers/maintainers have beaten their own variant? Delver Variants 12 June 5, 2009 09:08
Variant writing.. quickstart guide? Also, Hengband variant suggestions? dzhang Variants 34 April 1, 2009 00:45
Trying to make my own variant bpleshek Variants 8 September 15, 2008 20:42


All times are GMT +1. The time now is 01:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.