Lich for Ubuntu 16.04 08/17/2016 10:12 PM CDT
I followed the 14.10 Ubuntu instructions and run into an error: The gtk2 gem is not installed (or failed to load), you may need to: sudo gem install gtk2.

New laptop, new install. Any suggestions...

* LOCAL GEMS *

atk (3.0.9)
bigdecimal (1.2.8)
cairo (1.15.2)
did_you_mean (1.0.0)
gdk_pixbuf2 (3.0.9)
glib2 (3.0.9)
gtk2 (3.0.9)
io-console (0.4.5)
json (1.8.3)
minitest (5.8.4)
net-telnet (0.1.1)
pango (3.0.9)
pkg-config (1.1.7)
power_assert (0.2.7)
psych (2.0.17)
rake (10.5.0)
rdoc (4.2.1)
sqlite3 (1.3.11)
test-unit (3.1.7)


-Dartellum Waddle

Vote for DR: http://www.topmudsites.com/vote-DragonRealms.html
Reply
Re: Lich for Ubuntu 16.04 08/18/2016 06:59 AM CDT
gem uninstall gtk2

gem install gtk2 -v 3.0.8

Please let me know if this works. And don't forget, depending on your set up, you may.need.to use did I.

Doug
Reply
Re: Lich for Ubuntu 16.04 08/18/2016 07:01 AM CDT
Dern auto correct. May need to use sudo.

Doug
Reply
Re: Lich for Ubuntu 16.04 08/18/2016 11:27 AM CDT
Thanks! Can you update the Ubuntu install on the Lich site? Also, I like putting all my games in their own WINEPREFIX. Appears I need to install into the default wine location?

-Dartellum Waddle

Vote for DR: http://www.topmudsites.com/vote-DragonRealms.html
Reply
Re: Lich for Ubuntu 16.04 08/18/2016 11:38 AM CDT
Sorry - that's Tillmen (drop him a note at Ludwig@play.net) for updating the Linux instructions.

On the separate WINEPREFIX, absolutely! Only way to manage multiple Win games in Linux. Won't be a problem at all. Tillmen's got Lich set up to detect WINEPREFIX, and use it appropriately.

Doug
Reply
Re: Lich for Ubuntu 16.04 08/18/2016 11:58 AM CDT
Thanks again.

For the WINEPREFIX, it did not pick it up. Do I need to specify a command or other option in the launcher window?

-Dartellum Waddle (DR)
-Uaedaven (GS)

Vote for DR: http://www.topmudsites.com/vote-DragonRealms.html
Reply
Re: Lich for Ubuntu 16.04 08/18/2016 12:28 PM CDT
Um. . . you know, I think you do.

Sadly, not at my system and don't have my ref notes. Might be worth dropping by the PC boards and dropping a note on Lich forum for advice. If you don't have something by Saturday AM, drop me a note at doug@play.net, and I'll get back to you. I'll be back at my system then.

http://forum.gsplayers.com/forumdisplay.php?104-The-Lich-Project


Doug
Reply
Re: Lich for Ubuntu 16.04 08/22/2016 08:27 AM CDT
Note that you can play natively without wine.

Warlock (Java GUI): http://warlock.sourceforge.net/

Profanity (Ruby Terminal): https://github.com/matt-lowe/ProfanityFE
Reply
Profanity 08/22/2016 11:39 AM CDT
OK, Soooo ... Since Profanity came up...

I think I need to get Profanity working to get Newsby moved to my new computer. (Avalon's got ... interesting ... interface features that make it difficult for me to use in the manner I'm used to interacting with GS.)

But it appears to need some step-by-step instructions on exactly how to do that.

I started the process, and then got discouraged when I read after Step #x that I was supposed to have installed it in my lich directory...

I feel like before I rewrite stuff to make Avalon work for the TownCrier channel, I should at least consider looking at Profanity. Rewrite it once, do it well, is my theory.

---
Rohese: "... the TownCrier (tune in if you haven’t, it’s without doubt the best thing to ever happen on LNet)
Reply
Re: Profanity 08/22/2016 02:30 PM CDT
I'm not sure, but I think you basically just copy profanity.rb into your lich directory, then in a terminal inside that directory, make it executable. Here, "$" represents a terminal prompt, not something you should type.

$ chmod +x profanity.rb


Now all you really need to do is to make lich able to login without a front end. If you already have done this by saving character profiles, great! If not, just run lich blindly, from the same directory:

$ ./lich.rb


This should make a GUI pop-up. Choose the tab Game Entry, enter your account and password, select the character of interest. Don't care about if Wizard or Stormfront radio button is selected. But make sure you check the box "Save this info for quick game entry"

Probably, it will fail to launch the game when you select it. That doesn't matter, it only matters that it saved the information for quick login. Once that's done, in one terminal window, type all this mess (and change 'Kaldonis' to your character's name):

$ sudo ruby $HOME/lich/lich.rb --login Kaldonis --without-frontend --detachable-client=8000


Then in a different terminal, also in the lich directory:

$ ./profanity.rb --port=8000


If you shoot me an email via my play.net account, I can send you a couple shell scripts that are handy for this stuff.

You may need to install some ncurses things, though if you paste a relevant error message I might be able to help. I don't recall having to install much if anything to run it.

I might bother posting them, along with my .profanity.xml configuration file, to my github or somewhere else. One reason preventing me from posting my login shell script is...the name of the script is a profane word... :D
Reply
Re: Profanity 08/22/2016 02:32 PM CDT
PS: I assumed you keep lich in ~/lich. So make sure this portion also correctly points to your lich directory and lich.rb file:

$HOME/lich/lich.rb

($HOME should work fine as your user's home directory...so we just need the path from there)
Reply
Re: Lich for Ubuntu 16.04 08/23/2016 08:37 AM CDT
Hello,

I am moving from Warlock to Lich. I showed my wife some of the features, the map for one, and she loved it. Therefore, I need to move to it.

-Dartellum Waddle (DR)
-Uaedaven (GS)

Vote for DR: http://www.topmudsites.com/vote-DragonRealms.html
Reply
Re: Lich for Ubuntu 16.04 08/24/2016 11:21 AM CDT
>I am moving from Warlock to Lich. I showed my wife some of the features, the map for one, and she loved it. Therefore, I need to move to it.

Warlock is a Front End. Lich is ... different than that. However, it's sufficient to say that Lich is not exclusive from a front end, and is (almost) always used in combination with one.

I certainly had no problem running Warlock on top of Lich. I forget at the moment how I logged in to the game, but it mainly depends which port Warlock wants to use, which I thought was similar to the Wizard?

Let me know if you have some questions.
Reply
Re: Lich for Ubuntu 16.04 08/26/2016 08:41 AM CDT
I know Warlock is a front end. I like it. If you have the commands to launch Lich with Warlock, I would like them. The only downside is Warlock development seems stuck at the moment, unless that changed recently.

-Dartellum Waddle (DR)
-Uaedaven (GS)

Vote for DR: http://www.topmudsites.com/vote-DragonRealms.html
Reply
Re: Lich for Ubuntu 16.04 08/31/2016 06:31 AM CDT
>If you have the commands to launch Lich with Warlock, I would like them. The only downside is Warlock development seems stuck at the moment, unless that changed recently.

I found a script on my computer which executes the following line. I downloaded Warlock and just tested it again, and it still works.

sudo ruby /home/daid/lich/lich.rb -g storm.gs4.game.play.net:10024


Of course, make sure that the part with /home/daid/lich/lich.rb is pointing to where ever you have installed lich. You can make this into a one-liner script as I had done so you don't have to remember it. Just launch this command in a terminal, and you should get an output similar to this (my script calling the above line is in my path and named lich)

daid@titanium ~/scripts % lich
Pretending to be storm.gs4.game.play.net
Listening on port 10024
Waiting for the client to connect...


Then you can minimize the terminal and connect normally in Warlock. Presto magic!
Reply