Cartographer problem

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
Greenyel
Slime
Posts: 21
Joined: Mon Jan 16, 2017 2:58 pm
Location: Tubarao/SC - Brazil

Cartographer problem

Post by Greenyel »

I dont know exactly if it is because of the new version of ohrrpgce, but I cant draw my new map anymore. The mesage I got is this:

Code: Select all

Please enter the id of the map you want to print (0-46)
You can enter a list or range of maps to be printed
(i.e. '4-8, 10, 12')
Type 'all' to print all the maps.
Type 'quit' to close this program.

> 2
Drawing map 2
undefined method `[]' for nil:NilClass
["C:/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/lib/map.rb:64:in `block (2 le
vels) in draw'", "C:/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/lib/map.rb:58
:in `times'", "C:/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/lib/map.rb:58:in
 `block in draw'", "C:/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/lib/map.rb:
55:in `times'", "C:/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/lib/map.rb:55:
in `draw'", "C:/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/main.rb:66:in `blo
ck &#40;2 levels&#41; in <main>'", "C&#58;/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/mai
n.rb&#58;63&#58;in `each'", "C&#58;/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/main.rb&#58;63
&#58;in `block in <main>'", "C&#58;/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/main.r
b&#58;39&#58;in `loop'", "C&#58;/Users/CASA/AppData/Local/Temp/ocr8877.tmp/src/main.rb&#58;39&#58;in
 `<main>'"&#93;

Press Enter to continue...
TMC
Metal King Slime
Posts: 4101
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

I notice that you aren't using the latest version, which could help. I don't encounter that errot. Unfortunately Sephy hasn't created an .exe of the latest version. I'll PM him.
User avatar
RMSephy
Metal Slime
Posts: 356
Joined: Mon Dec 21, 2009 5:56 pm

Post by RMSephy »

Yikes, sorry for taking so long to reply here! I've updated the github repo with the latest exe file. Please let me know if this works for you

https://github.com/Spencer-Zhang/ohr-cartographer
Post Reply