Profanity Front End (ProfanityFE): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:


--- Important Installation Instructions ---
Arguments Profanity Front End accepts (based on lines of code 445-453 in profanity.rb (2JUL2017)):


Ensure you have ruby 2.1 installed in your directory. This is the ONLY version that will allow you to use ;narost (Interactive Ranik Maps).
----

Ensure that you SUDO GEM INSTALL GTK3

Ensure that you SUDO GEM INSTALL CURSES




--- Arguments Profanity Front End accepts --- (based on lines of code 445-453 in profanity.rb (2JUL2017)):


--port=<port> <br><br>
--port=<port> <br><br>
Line 16: Line 25:
SAMPLE BASH SCRIPT (for logging in via terminal on Linux):
SAMPLE BASH SCRIPT (for logging in via terminal on Linux):
<br>
<br>
ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002& <br>
#!/bin/bash
sleep 5s <br>

ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002&
sleep 5s
ruby profanity.rb --port=8002 --log-name=yourCharacterNameHere --settings-file=test.xml
ruby profanity.rb --port=8002 --log-name=yourCharacterNameHere --settings-file=test.xml
<br>
<br>
----

Latest revision as of 01:17, 2 August 2017

--- Important Installation Instructions ---

Ensure you have ruby 2.1 installed in your directory. This is the ONLY version that will allow you to use ;narost (Interactive Ranik Maps).

Ensure that you SUDO GEM INSTALL GTK3

Ensure that you SUDO GEM INSTALL CURSES



--- Arguments Profanity Front End accepts --- (based on lines of code 445-453 in profanity.rb (2JUL2017)):

--port=<port>

--default-color-id=<id>

--default-background-color-id=<id>

--custom-colors=<on|off>

--settings-file=<filename> : calling this and setting a filename to an .xml file of your choosing (example: test.xml) creates a new file that initially mirrors the default settings that you can then modify!

--log-name=<name>

--log-dir=<directory>



SAMPLE BASH SCRIPT (for logging in via terminal on Linux):
ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002&
sleep 5s
ruby profanity.rb --port=8002 --log-name=yourCharacterNameHere --settings-file=test.xml