Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 17, 2019, 03:53   #1
Glorfindel
Scout
 
Glorfindel's Avatar
 
Join Date: Mar 2019
Posts: 26
Glorfindel is on a distinguished road
Parser error when modifying the monsters file

I don't know the first thing about coding, so I am a bit lost. I decided to try modifying the monster file today. Nothing elaborate, just a name change. When I first tried modifying it and opened Angband, I was told there was a parse error, and then the game closed down. I looked around the forum, and found that I might do better using Notepad++. So I downloaded that, and tried again. I didn't get the same error, which is perhaps an improvement, but I got another one saying "parser_getval error: name is name"; after I clicked OK the game again shut down. After further experimentation I found that there was no objection to my changing the monster description, but only the name. What am I doing wrong?
Glorfindel is offline   Reply With Quote
Old March 17, 2019, 03:54   #2
Glorfindel
Scout
 
Glorfindel's Avatar
 
Join Date: Mar 2019
Posts: 26
Glorfindel is on a distinguished road
Oops, this was not supposed to be in the AAR! How do I move this into general Angband?
Glorfindel is offline   Reply With Quote
Old March 17, 2019, 03:59   #3
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 1,999
wobbly is on a distinguished road
Look in the user directory and see if you have a lore file (where monster memory is kept). Try deleting that. You'll get parser errors if you have monster memory for a non-existant monster.
wobbly is offline   Reply With Quote
Old March 17, 2019, 04:10   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,703
Donated: $60
Nick is on a distinguished road
Thread moved
__________________
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 March 17, 2019, 05:38   #5
Glorfindel
Scout
 
Glorfindel's Avatar
 
Join Date: Mar 2019
Posts: 26
Glorfindel is on a distinguished road
Thank you. Problem solved. I'll miss the lore for a while, though.
Glorfindel is offline   Reply With Quote
Reply

Tags
error, modding, modifying


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
Modifying Artifacts - Parse error? philly1919d Vanilla 9 November 23, 2017 08:36
Reusing the Angband parser Byrhtnoth Development 12 March 17, 2017 04:43
Error in monsters description TJS Development 4 July 31, 2010 13:00
Lua "obsolete file error", blargh Therem Harth ToME 4 July 4, 2010 14:02
File Dump Error Batanu44 Vanilla 2 October 13, 2009 00:01


All times are GMT +1. The time now is 05:16.


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