Page 1 of 1

Cartographer problem

Posted: Tue Apr 11, 2017 12:20 am
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...

Posted: Tue Apr 11, 2017 12:35 am
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.

Posted: Tue Jun 13, 2017 2:15 am
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