Toggle navigation
Home
Forum
Files
MUDs
Paste
Wiki
Log in
MudBytes Community Forum
Custom
/
Teensymud for Ruby 1.9.2
Reply
First
1
Last
02 Feb, 2012,
Chris Bailey
wrote in the 1st comment:
Votes:
0
I have a patch to update Teensy for 1.9.2(I hope). Where should I send it? =)
02 Feb, 2012,
Chris Bailey
wrote in the 2nd comment:
Votes:
0
Ya know, It is short. I'll just paste it here.
Patch in pastebin
02 Feb, 2012,
Tyche
wrote in the 3rd comment:
Votes:
0
That works. :-)
02 Feb, 2012,
Tyche
wrote in the 4th comment:
Votes:
0
The major problem in converting from ruby 1.8.x to 1.9.x is string subscripts.
TeensyMud makes frequent use of them and assumes they return integers.
Ruby 1.8.6
irb(main):001:0> "a"[0]
=> 97
Ruby 1.9.3
irb(main):001:0> "a"[0]
=> "a"
02 Feb, 2012,
Chris Bailey
wrote in the 5th comment:
Votes:
0
Oh does it? Well, I will start working on that when I get home then. I guess I just made it possible to boot it.
02 Feb, 2012,
Tyche
wrote in the 6th comment:
Votes:
0
If you can use subversion, I can give you commit access. Just message me here with the user id and password you want.
The only thing with the changes is that TeensyMud still needs to work with ruby 1.8.x
I committed the changes to vt100codes.rb
Random Picks
Aabahran
Narnia MUCK
StormHunters
Top
Jump to
Bottom
0.0
/
6