Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev setup #19

Open
tylerc opened this issue May 28, 2010 · 7 comments
Open

Dev setup #19

tylerc opened this issue May 28, 2010 · 7 comments

Comments

@tylerc
Copy link
Owner

tylerc commented May 28, 2010

Create a doc detailing how to get a development environment set up on Ubuntu.

@roobie
Copy link

roobie commented Apr 11, 2011

I could probably do that if you want.

@tylerc
Copy link
Owner Author

tylerc commented Apr 11, 2011

@roobie that'd be great! :)

@roobie
Copy link

roobie commented Apr 11, 2011

Not 100% sure that this is the correct place to ask about this, but I've got a problem with the program. When I enter my character name and press the 'Start' button I get this:

/rog/lib/ingame.rb:182:in `change': undefined local variable or method `doors17701772144198pos00width202num0branchmainheight468has_doors_ontop' for # (NameError)
    from /rog/lib/ingame.rb:178:in `eval'
    from /rog/lib/ingame.rb:182:in `change'
    from /rog/lib/ingame.rb:178:in `initialize'
    from /rog/lib/ingame.rb:197:in `new'
    from /rog/lib/ingame.rb:197:in `setup'
    from /rog/lib/engine.rb:186:in `switch_state'
    from /rog/lib/engine.rb:153:in `call'
    from /rog/lib/engine.rb:153:in `update'
    from /rog/lib/engine.rb:107:in `run'
    from /rog/lib/engine.rb:106:in `loop'
    from /rog/lib/engine.rb:106:in `run'
    from /rog/game.rb:61

@tylerc
Copy link
Owner Author

tylerc commented Apr 12, 2011

Basically you're getting that error because the game is receiving data from the server that it doesn't understand. To keep things simple, the server only sends the game text, and in this case the game is expecting a string containing the text representation of a hash, which it then evals so it can use the hash. The text obviously isn't formatted right, and I don't know why that's happening.

What version of Ruby are you using? What server are you using? (thin, mongrel, webrick, etc.)

@tylerc tylerc closed this as completed Apr 12, 2011
@tylerc tylerc reopened this Apr 12, 2011
@roobie
Copy link

roobie commented Apr 12, 2011

All right. I'm using ruby 1.8 and thin 1.2.11.

@tylerc
Copy link
Owner Author

tylerc commented Apr 12, 2011

Ah, well, it would appear that the ROG server doesn't work under Ruby 1.8. Doesn't really matter though, use 1.9, it's loads better.

@roobie
Copy link

roobie commented Apr 12, 2011

Wilco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants