Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > ToME

Reply
 
Thread Tools Display Modes
Old July 3, 2010, 18:01   #1
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Lua "obsolete file error", blargh

So I created a new skill for a new category of weapons, modifying all the right files as far as I could tell - defines.h, player_c.pkg, w_play_c.c, and s_info.txt. And now the game won't start, complaining about an "obsolete file error" in s_info.txt.

That is... pretty cryptic. What does it mean, how can I fix it, and where can I change the error message so that I get useful information when faced with similar issues in the future?
Therem Harth is offline   Reply With Quote
Old July 3, 2010, 23:02   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,393
Donated: $60
Nick will become famous soon enough
Obsolete file error in my experience usually means you've got the version number wrong in one of the .txt files or in defines.h.
__________________
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 July 4, 2010, 00:10   #3
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
In this case though, it was the number I'd assigned to the new skill. I had made it 60 which for some reason the game didn't like. Making it 38 solved it.
Therem Harth is offline   Reply With Quote
Old July 4, 2010, 12:24   #4
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 36
Posts: 911
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Perhaps there is a MAX_SKILLS constant somewhere set to less than 60?
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old July 4, 2010, 14:02   #5
Slow
Rookie
 
Join Date: Aug 2009
Posts: 6
Slow is on a distinguished road
Quote:
Originally Posted by ekolis View Post
Perhaps there is a MAX_SKILLS constant somewhere set to less than 60?
Exactly. /lib/edit/misc.txt:
Code:
# Maximum number of skills in s_info.txt
M:k:60
Slow 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
"Great" drops replaced by "good" drops in vaults: bug or feature? PowerWyrm Vanilla 14 February 27, 2010 15:54
Feature request: change "Purification and Healing" prayer book. bron Vanilla 1 December 18, 2009 23:19
help with compile error (and "const") will_asher Development 4 August 3, 2009 23:35
"repeat" Command just little bit "smarter" ClaytonAguiar Vanilla 8 June 17, 2009 15:01
Roguelike idea from "Lost Magic" DS game - Mr. @ teaches typing! ekolis Idle chatter 10 October 19, 2007 03:25


All times are GMT +1. The time now is 04:31.


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