Lich with Avalon? 01/27/2011 02:28 AM CST
I'm not sure if this is the right place to post this but I can't get Lich running at all. I'm running Mac OS X Tiger Version 10.4. Kelebornn, and any others -- how did you get Lich running with Avalon? I followed the instructions exactly and tried about 100 different variations and nothing worked...
I get this error

[Glen-Gillards-Computer:/Applications/Lich] glen% sudo ruby lich.rbw --gemstone --avalon
warning: failed to load GTK bindings: No such file to load -- gtk2
Pretending to be gs3.simutronics.net
Listening on port 4900
Waiting for the client to connect...
error: timed out waiting for client to connect

I try to connect while it's waiting, but nothing happens, it just doesn't communicate properly with me logging in Avalon.

and when I try to see what ports everything is using, I get this

lsof -Pnl +M -i4
Avalon 943 501 7u IPv4 0x01e367e4 0t0 TCP 192.168.1.45:53276->206.225.28.2:4900 (ESTABLISHED)
Avalon 943 501 8u IPv4 0x025d4b38 0t0 TCP 192.168.1.45:53274->206.225.28.135:7900 (ESTABLISHED)

It seems like there's two of them popping up, even though I only opened Avalon once, and one seems to be listening on 4900, the other on 7900? Not sure why. I tried editing lich.rbw to edit out 127.0.0.1 and putting in 192.168.1.45 but that didn't work. I also tried putting in port 7900 for lich.rbw but that didn't work either..tried every variation of those modifications but that didn't work either. Any suggestions?
Reply
Re: Lich with Avalon? 01/31/2011 07:41 AM CST
The port 7900 connection is for authentication via the SGE protocol that you pass through before actually connecting to the game.

Just FYI.

--
Naos

I'm immune to fire! Now with more banhammer! You sense the bond between you and your grey cat grow stronger.
Reply
Re: Lich with Avalon? 01/31/2011 09:31 PM CST
The only difference in the results in terminal I see is that gtk isn't working for you. I think I remember executing some scripts without gtk, I just wasn't able to run ones that use windows. It doesn't really make sense to me that not having gtk2 would stop you from connecting, but you might try getting gtk working:

http://gtk2.darwinports.com/

The instructions are almost at the end of this page. It does require darwin ports - there's a link on there get that running too.

Here's what it looks like when I launch lich:

Infinity:~ peter$ sudo ruby ~/documents/lich/lich.rbw --gemstone --avalon
Password:
Xlib: extension "RANDR" missing on display "/tmp/launch-mqpCbj/org.x:0".
Pretending to be gs3.simutronics.net
Listening on port 4900
Waiting for the client to connect...


And then I launch avalon and this is echoed in terminal:

Connection with the local game client is open.


I am running OS X 10.6.6. I didn't edit lich.rbw or fiddle with any of my network settings to get it to work. What version of ruby do you have installed? Here's mine:

Infinity:~ peter$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-darwin10]


-Keleborrn.
Reply