Okay, final commit is in, and I'm going to declare it a success, I present, "Storming the Ship", placing you aboard a captured starship, with orders to recapture or destroy it. It features - a simple ship layout with 8 levels - mostly complete combat implementation (cover effects didn't make it) - hidden passages, unknown to your enemies - 4 types of enemy, mostly alike (alas) - 5 weapons to aqcuire - multiple armours
Missing is - general items - any sense of game balance - some win/loss conditions
It didn't get quite as much done on this as I had hoped, but it's mostly complete. There aren't a whole lot of items presently, but there a few ways to win, and one way to lose.
I haven't actually tested this on anything besides my own computer. It will require at least Ruby 1.9 and the ruby ncursesw library (it may work with the ncurses one, I don't know). Source can be had here:
Oh, I guess I should mention, controls are vi-keys, if you want to figure out more details at the moment, check the keybindings.yml file. I'm going to try to get a proper post about this done up tomorrow.
On Mon, 14 Mar 2011 00:49:09 -0400, Justin Reardon wrote: > Okay, final commit is in, and I'm going to declare it a success, I > present, "Storming the Ship", placing you aboard a captured starship, > with orders to recapture or destroy it. It features > - a simple ship layout with 8 levels > - mostly complete combat implementation (cover effects didn't make it) > - hidden passages, unknown to your enemies - 4 types of enemy, mostly > alike (alas) - 5 weapons to aqcuire > - multiple armours
> Missing is > - general items > - any sense of game balance > - some win/loss conditions
> It didn't get quite as much done on this as I had hoped, but it's mostly > complete. There aren't a whole lot of items presently, but there a few > ways to win, and one way to lose.
> I haven't actually tested this on anything besides my own computer. It > will require at least Ruby 1.9 and the ruby ncursesw library (it may > work with the ncurses one, I don't know). Source can be had here:
Any ideas? It took me some time to figure out that i need to do something with ruby-gems and install ncursesw, the readme "Project for the 2011 7DRL Contest" was not helpful either. I'm running ubuntu and have optionally a win-xp VM.
Michael Durwald <uschkinredsunsh...@gmx.de> writes:
> I don't get it running...
> uninitialized constant Main::Random (NameError)
> Any ideas? It took me some time to figure out that i need to do something > with ruby-gems and install ncursesw, the readme "Project for the 2011 > 7DRL Contest" was not helpful either. I'm running ubuntu and have > optionally a win-xp VM.
> Thanks
The Random class is part of the standard library, but was only introduced in Ruby 1.9. Chances are you are running Ruby 1.8.x. You can check with "ruby -v".
Ubuntu may install the Ruby 1.9 executable as ruby19 (I haven't the most recent release, so I'm not sure what it is now). If that's the case, you'll have to change the first line of bin/Starship-7drl to:
i don't have any ruby19 executable, do you have any other suggestions? i'd really like to try the game. I give it a try on my v-server, perhaps its working there.
> i don't have any ruby19 executable, do you have any other suggestions? > i'd really like to try the game. I give it a try on my v-server, perhaps > its working there.
> Thanks
I've pushed a version of the game to GitHub that explicitly tries to load the random module, I didn't have to do it here, by that's the best I can think to do. I'm running:
but the documentation claims Random is in 1.9.1. You may want to try:
/usr/bin/env ruby -v
since that's what I'm actually calling in the script, just in case you've got multiple versions of ruby floating around. Could you post the full trace it gives when the error occurs?
>> i don't have any ruby19 executable, do you have any other suggestions? >> i'd really like to try the game. I give it a try on my v-server, perhaps >> its working there.
>> Thanks
> I've pushed a version of the game to GitHub that explicitly tries to load > the random module, I didn't have to do it here, by that's the best I can > think to do. I'm running:
> but the documentation claims Random is in 1.9.1. You may want to try:
> /usr/bin/env ruby -v
> since that's what I'm actually calling in the script, just in case > you've got multiple versions of ruby floating around. Could you post the > full trace it gives when the error occurs?
Let me do it for him since I am struggling to overcome the same error:
/roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:80:in `rand': invalid argument - 0.0 (ArgumentError) from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:80:in `block (2 levels) in processRooms' from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:76:in `each' from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:76:in `block in processRooms' from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:73:in `each' from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:73:in `processRooms' from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:48:in `constructMap' from /roguelike/gry/7drl_2011/sts/lib/GameState.rb:29:in `initialize' from lib/Main.rb:178:in `new' from lib/Main.rb:178:in `new_game' from lib/Main.rb:45:in `start' from bin/Starship-7drl:3:in `<main>'
By the way I also have ruby 1.9.2.p180 installed. Will try downloading your fixed version now.
Björn Ritzl <bjorn.remove.this.ri...@gmail.com> writes: > On 2011-03-15 02:08, Justin Reardon wrote: >> Okay, as promised, I've done up a post on the game, available here:
> Let me do it for him since I am struggling to overcome the same error:
> /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:80:in `rand': invalid argument - 0.0 (ArgumentError) > from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:80:in `block (2 levels) in processRooms' > from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:76:in `each' > from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:76:in `block in processRooms' > from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:73:in `each' > from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:73:in `processRooms' > from /roguelike/gry/7drl_2011/sts/lib/MapBuilder.rb:48:in `constructMap' > from /roguelike/gry/7drl_2011/sts/lib/GameState.rb:29:in `initialize' > from lib/Main.rb:178:in `new' > from lib/Main.rb:178:in `new_game' > from lib/Main.rb:45:in `start' > from bin/Starship-7drl:3:in `<main>'
> By the way I also have ruby 1.9.2.p180 installed. Will try downloading > your fixed version now.
That is a different error. The random number generator doesn't like being given 0 as an argument, and I messed something up so it is. Is this happening consistently?
Justin Reardon wrote: > Michal Bielinski <dungeon_kee...@tlen.pl> writes:
>> Let me do it for him since I am struggling to overcome the same error:
[snip backtrace]
>> By the way I also have ruby 1.9.2.p180 installed. Will try downloading >> your fixed version now.
> That is a different error. The random number generator doesn't like > being given 0 as an argument, and I messed something up so it is. Is > this happening consistently?
Every time I run Starship-7drl. The game displays briefing and then crashes. Updated version from github does not differ except it says "no such file to load -- random (LoadError)"
>> i don't have any ruby19 executable, do you have any other suggestions? >> i'd really like to try the game. I give it a try on my v-server, >> perhaps its working there.
>> Thanks
> I've pushed a version of the game to GitHub that explicitly tries to > load the random module, I didn't have to do it here, by that's the best > I can think to do. I'm running:
> but the documentation claims Random is in 1.9.1. You may want to try:
> /usr/bin/env ruby -v
> since that's what I'm actually calling in the script, just in case > you've got multiple versions of ruby floating around. Could you post the > full trace it gives when the error occurs?
/home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such file to load -- random (LoadError) from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top (required)>' from ./bin/Starship-7drl:20:in `load' from ./bin/Starship-7drl:20:in `<main>'
Old version:
/home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such file to load -- random (LoadError) from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top (required)>' from ./bin/Starship-7drl:20:in `load' from ./bin/Starship-7drl:20:in `<main>'
> /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > file to load -- random (LoadError) > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > (required)>' > from ./bin/Starship-7drl:20:in `load' > from ./bin/Starship-7drl:20:in `<main>'
> Old version:
> /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > file to load -- random (LoadError) > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > (required)>' > from ./bin/Starship-7drl:20:in `load' > from ./bin/Starship-7drl:20:in `<main>'
> -- > Michael
Okay, I'm going to have to sit down and see what the proper way to distribute Ruby programs is, as I'm clearly missing something. Unfortunately, I won't have the time till the weekend.
> > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > > file to load -- random (LoadError) > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > > (required)>' > > from ./bin/Starship-7drl:20:in `load' > > from ./bin/Starship-7drl:20:in `<main>'
> > Old version:
> > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > > file to load -- random (LoadError) > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > > (required)>' > > from ./bin/Starship-7drl:20:in `load' > > from ./bin/Starship-7drl:20:in `<main>'
> Okay, I'm going to have to sit down and see what the proper way to > distribute Ruby programs is, as I'm clearly missing > something. Unfortunately, I won't have the time till the weekend.
Yeah, it surely can't always be this hard... Looking forward to hopefully getting a chance to play your game once a working release is out.
> > > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > > > file to load -- random (LoadError) > > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > > > (required)>' > > > from ./bin/Starship-7drl:20:in `load' > > > from ./bin/Starship-7drl:20:in `<main>'
> > > Old version:
> > > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > > > file to load -- random (LoadError) > > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > > > (required)>' > > > from ./bin/Starship-7drl:20:in `load' > > > from ./bin/Starship-7drl:20:in `<main>'
> > Okay, I'm going to have to sit down and see what the proper way to > > distribute Ruby programs is, as I'm clearly missing > > something. Unfortunately, I won't have the time till the weekend.
> Yeah, it surely can't always be this hard... Looking forward to > hopefully getting a chance to play your game once a working release is > out.
> -- > Darren Grey
Trying to run on Ubuntu with ruby1.9.1 and ncurses for ruby install still crashes with the message: $ ruby1.9.1 bin/Starship-7drl <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- ncursesw (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require' from lib/Main.rb:19:in `<top (required)>' from bin/Starship-7drl:20:in `load' from bin/Starship-7drl:20:in `<main>'
> > > > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > > > > file to load -- random (LoadError) > > > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > > > > (required)>' > > > > from ./bin/Starship-7drl:20:in `load' > > > > from ./bin/Starship-7drl:20:in `<main>'
> > > > Old version:
> > > > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such > > > > file to load -- random (LoadError) > > > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top > > > > (required)>' > > > > from ./bin/Starship-7drl:20:in `load' > > > > from ./bin/Starship-7drl:20:in `<main>'
> > > Okay, I'm going to have to sit down and see what the proper way to > > > distribute Ruby programs is, as I'm clearly missing > > > something. Unfortunately, I won't have the time till the weekend.
> > Yeah, it surely can't always be this hard... Looking forward to > > hopefully getting a chance to play your game once a working release is > > out.
> > -- > > Darren Grey
> Trying to run on Ubuntu with ruby1.9.1 and ncurses for ruby install > still crashes with the message: > $ ruby1.9.1 bin/Starship-7drl > <internal:lib/rubygems/custom_require>:29:in `require': no such file > to load -- ncursesw (LoadError) > from <internal:lib/rubygems/custom_require>:29:in `require' > from lib/Main.rb:19:in `<top (required)>' > from bin/Starship-7drl:20:in `load' > from bin/Starship-7drl:20:in `<main>'
Michael Curran <curran.micha...@gmail.com> writes: > On Mar 26, 11:08 am, Michael Curran <curran.micha...@gmail.com> wrote: >> On Mar 23, 8:51 am, Darren Grey <darrenjohng...@gmail.com> wrote:
>> > On Mar 22, 11:45 pm, Justin Reardon <m...@jmreardon.com> wrote:
>> > > Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>> > > > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such >> > > > file to load -- random (LoadError) >> > > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top >> > > > (required)>' >> > > > from ./bin/Starship-7drl:20:in `load' >> > > > from ./bin/Starship-7drl:20:in `<main>'
>> > > > Old version:
>> > > > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such >> > > > file to load -- random (LoadError) >> > > > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top >> > > > (required)>' >> > > > from ./bin/Starship-7drl:20:in `load' >> > > > from ./bin/Starship-7drl:20:in `<main>'
>> > > Okay, I'm going to have to sit down and see what the proper way to >> > > distribute Ruby programs is, as I'm clearly missing >> > > something. Unfortunately, I won't have the time till the weekend.
>> > Yeah, it surely can't always be this hard... Looking forward to >> > hopefully getting a chance to play your game once a working release is >> > out.
>> > -- >> > Darren Grey
>> Trying to run on Ubuntu with ruby1.9.1 and ncurses for ruby install >> still crashes with the message: >> $ ruby1.9.1 bin/Starship-7drl >> <internal:lib/rubygems/custom_require>:29:in `require': no such file >> to load -- ncursesw (LoadError) >> from <internal:lib/rubygems/custom_require>:29:in `require' >> from lib/Main.rb:19:in `<top (required)>' >> from bin/Starship-7drl:20:in `load' >> from bin/Starship-7drl:20:in `<main>'
That's great. I'm still doing a bit of work with it though, so I hadn't mentioned my updates here yet. I'll have a set of install instructions up today or tomorrow. Unfortunately, it looks like there is no good way to distribute a ruby app without requiring the user to compile native dependencies (ie. curses).
Darren Grey <darrenjohng...@gmail.com> writes: > On Mar 22, 11:45 pm, Justin Reardon <m...@jmreardon.com> wrote: >> Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>> > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such >> > file to load -- random (LoadError) >> > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top >> > (required)>' >> > from ./bin/Starship-7drl:20:in `load' >> > from ./bin/Starship-7drl:20:in `<main>'
>> > Old version:
>> > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no such >> > file to load -- random (LoadError) >> > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top >> > (required)>' >> > from ./bin/Starship-7drl:20:in `load' >> > from ./bin/Starship-7drl:20:in `<main>'
>> Okay, I'm going to have to sit down and see what the proper way to >> distribute Ruby programs is, as I'm clearly missing >> something. Unfortunately, I won't have the time till the weekend.
> Yeah, it surely can't always be this hard... Looking forward to > hopefully getting a chance to play your game once a working release is > out.
> -- > Darren Grey
Okay, an updated version is on Github[1]. There are now installation instructions, and the issues with finding Random should be gone. I was unable to reproduce the issue Michal reported, so I've added a small constant to the calculation which should avoid it.
>>> > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no >>> > such file to load -- random (LoadError) >>> > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top >>> > (required)>' >>> > from ./bin/Starship-7drl:20:in `load' from >>> > ./bin/Starship-7drl:20:in `<main>'
>>> > Old version:
>>> > /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `require': no >>> > such file to load -- random (LoadError) >>> > from /home/michael/Downloads/7drl-storm/lib/Main.rb:19:in `<top >>> > (required)>' >>> > from ./bin/Starship-7drl:20:in `load' from >>> > ./bin/Starship-7drl:20:in `<main>'
>>> Okay, I'm going to have to sit down and see what the proper way to >>> distribute Ruby programs is, as I'm clearly missing something. >>> Unfortunately, I won't have the time till the weekend.
>> Yeah, it surely can't always be this hard... Looking forward to >> hopefully getting a chance to play your game once a working release is >> out.
>> -- >> Darren Grey
> Okay, an updated version is on Github[1]. There are now installation > instructions, and the issues with finding Random should be gone. I was > unable to reproduce the issue Michal reported, so I've added a small > constant to the calculation which should avoid it.
/home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:99:in `block (2 levels) in processRooms': undefined method `[]' for nil:NilClass (NoMethodError) from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in `each' from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in `block in processRooms' from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in `each' from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in `processRooms' from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:65:in `constructMap' from /home/michael/Downloads/7drl-storm/lib/GameState.rb:46:in `initialize' from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new' from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new_game' from /home/michael/Downloads/7drl-storm/lib/Main.rb:63:in `start' from ./bin/Starship-7drl:21:in `<main>'
Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
> Seems like i can't get it running....
> /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:99:in `block (2 > levels) in processRooms': undefined method `[]' for nil:NilClass > (NoMethodError) > from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in > `each' > from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in > `block in processRooms' > from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in > `each' > from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in > `processRooms' > from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:65:in > `constructMap' > from /home/michael/Downloads/7drl-storm/lib/GameState.rb:46:in > `initialize' > from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new' > from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in > `new_game' > from /home/michael/Downloads/7drl-storm/lib/Main.rb:63:in `start' > from ./bin/Starship-7drl:21:in `<main>'
Well that's depressing. This happens to you consistently?
On Mon, 28 Mar 2011 18:20:09 -0400, Justin Reardon wrote: > Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>> Seems like i can't get it running....
>> /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:99:in `block (2 >> levels) in processRooms': undefined method `[]' for nil:NilClass >> (NoMethodError) >> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >> `each' >> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >> `block in processRooms' >> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >> `each' >> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >> `processRooms' >> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:65:in >> `constructMap' >> from /home/michael/Downloads/7drl-storm/lib/GameState.rb:46:in >> `initialize' >> from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new' from >> /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in >> `new_game' >> from /home/michael/Downloads/7drl-storm/lib/Main.rb:63:in `start' from >> ./bin/Starship-7drl:21:in `<main>'
> Well that's depressing. This happens to you consistently?
Yes; i already had some trouble getting rubyripper and some other ruby tools (e.g. redmine) runnig, but this beast is tough.
Michael Dürwald <uschkinredsunsh...@gmx.de> writes: > On Mon, 28 Mar 2011 18:20:09 -0400, Justin Reardon wrote:
>> Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>>> Seems like i can't get it running....
>>> /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:99:in `block (2 >>> levels) in processRooms': undefined method `[]' for nil:NilClass >>> (NoMethodError) >>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >>> `each' >>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >>> `block in processRooms' >>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >>> `each' >>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >>> `processRooms' >>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:65:in >>> `constructMap' >>> from /home/michael/Downloads/7drl-storm/lib/GameState.rb:46:in >>> `initialize' >>> from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new' > from >>> /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in >>> `new_game' >>> from /home/michael/Downloads/7drl-storm/lib/Main.rb:63:in `start' > from >>> ./bin/Starship-7drl:21:in `<main>'
>> Well that's depressing. This happens to you consistently?
> Yes; i already had some trouble getting rubyripper and some other ruby > tools (e.g. redmine) runnig, but this beast is tough.
Okay, I've looked at it a bit and it seems you are getting the same problem as Michal now (my previous fix just moves the error up a few lines). The code in question does room generation, so skipping past these errors is probably not going to do any good. The only thing that I'd think could cause this is an issue with the config file. I cannot reproduce it here.
Would you be able to send me the output of this command?
On Tue, 29 Mar 2011 08:34:24 -0400, Justin Reardon wrote: > Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>> On Mon, 28 Mar 2011 18:20:09 -0400, Justin Reardon wrote:
>>> Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>>>> Seems like i can't get it running....
>>>> /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:99:in `block (2 >>>> levels) in processRooms': undefined method `[]' for nil:NilClass >>>> (NoMethodError) >>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >>>> `each' >>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >>>> `block in processRooms' >>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >>>> `each' >>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >>>> `processRooms' >>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:65:in >>>> `constructMap' >>>> from /home/michael/Downloads/7drl-storm/lib/GameState.rb:46:in >>>> `initialize' >>>> from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new' >> from >>>> /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in >>>> `new_game' >>>> from /home/michael/Downloads/7drl-storm/lib/Main.rb:63:in `start' >> from >>>> ./bin/Starship-7drl:21:in `<main>'
>>> Well that's depressing. This happens to you consistently?
>> Yes; i already had some trouble getting rubyripper and some other ruby >> tools (e.g. redmine) runnig, but this beast is tough.
> Okay, I've looked at it a bit and it seems you are getting the same > problem as Michal now (my previous fix just moves the error up a few > lines). The code in question does room generation, so skipping past > these errors is probably not going to do any good. The only thing that > I'd think could cause this is an issue with the config file. I cannot > reproduce it here.
> Would you be able to send me the output of this command?
Michael Dürwald <uschkinredsunsh...@gmx.de> writes: > On Tue, 29 Mar 2011 08:34:24 -0400, Justin Reardon wrote:
>> Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>>> On Mon, 28 Mar 2011 18:20:09 -0400, Justin Reardon wrote:
>>>> Michael Dürwald <uschkinredsunsh...@gmx.de> writes:
>>>>> Seems like i can't get it running....
>>>>> /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:99:in `block (2 >>>>> levels) in processRooms': undefined method `[]' for nil:NilClass >>>>> (NoMethodError) >>>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >>>>> `each' >>>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:93:in >>>>> `block in processRooms' >>>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >>>>> `each' >>>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:90:in >>>>> `processRooms' >>>>> from /home/michael/Downloads/7drl-storm/lib/MapBuilder.rb:65:in >>>>> `constructMap' >>>>> from /home/michael/Downloads/7drl-storm/lib/GameState.rb:46:in >>>>> `initialize' >>>>> from /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in `new' >>> from >>>>> /home/michael/Downloads/7drl-storm/lib/Main.rb:196:in >>>>> `new_game' >>>>> from /home/michael/Downloads/7drl-storm/lib/Main.rb:63:in `start' >>> from >>>>> ./bin/Starship-7drl:21:in `<main>'
>>>> Well that's depressing. This happens to you consistently?
>>> Yes; i already had some trouble getting rubyripper and some other ruby >>> tools (e.g. redmine) runnig, but this beast is tough.
>> Okay, I've looked at it a bit and it seems you are getting the same >> problem as Michal now (my previous fix just moves the error up a few >> lines). The code in question does room generation, so skipping past >> these errors is probably not going to do any good. The only thing that >> I'd think could cause this is an issue with the config file. I cannot >> reproduce it here.
>> Would you be able to send me the output of this command?