Giter Site home page Giter Site logo

profanityfe's Issues

Respect XDG spec?

Would it be possible to respect the XDG specification for configuration files by locating them in ${XDG_CONFIG_HOME}/profanity rather than in $HOME for macOS / linux users?

curses (LoadError) ?

I'm getting this error when trying to run profanityFE on ubuntu 16.04, is this an issue you can immediately identify? I don't know how to squash it:

user@computer-desktop:/lich$ sudo ruby profanity.rb --port=8001
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- curses (LoadError) from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require'
from profanity.rb:32:in `

'
user@computer-desktop:/lich$

Is there a way to use the terminal's default colors?

It seems that profanity only allows explicitly settings a color value for the background, but terminals have a default color that may differ from the ansi black color setting, which appears to be the default.

--default-background-color-id only allows to change the color. It doesn't appear to allow one to unset the background to the default.

Here is the result in urxvt terminal where I've defined black to render as grayish color. Instead of using the default terminal colors (which I've set to transparent and white), everything is black (configured to grayish color).

img-2020-04-03T16:42:06 300Z

progressBar indicators (mana/health/stamina/spirit) fail to update if player customizes labels in Simu FE

To parse vitals from the game feed, Profanity requires a value for the text field with a space prior the actual value of the vital. Specifically, the line parsing progress bar updates is:

xml =~ /^<progressBar id='(.*?)' value='[0-9]+' text='.*?\s+(\-?[0-9]+)\/([0-9]+)'/

This is a typical example of a line that Profanity works fine with, where text='mana 158/159':

controls='mana' left='25%' top='0%' width='25%' height='100%'/><progressBar     
id='mana' value='99' text='mana 158/159' left='25%' customText='t' top='0%'     
width='25%' height='100%'/></dialogData>You release 1 mana into the surrounding 
area.

But if the name of the progress bar has been customized in SF FE it may look different, such as text='221/223' if the "mana" name was removed:

controls='mana' left='25%' top='0%' width='25%' height='100%'/><progressBar     
id='mana' value='99' text='221/223' left='25%' customText='t' top='0%'          
width='25%' height='100%'/></dialogData>You release 1 mana into the surrounding 
area.

In the latter case, Profanity will silently fail to ever update the mana bar.


A workaround is to issue the following game commands to delete the customizations completely:

_progba health 0
_progba stamina 0
_progba spirit 0
_progba mana 0

Still active?

Are you still actively developing this? Is this the latest version of the code?

I have been using Profanity as my primary frontend since about the beginning of the year and it works pretty well for me in general and fits my workflow much better than the Wizard or Stormfront. There are a few things I would like to help improve (e.g. add some more macro features, fixing puts/print output going to the terminal instead of the frontend), but I wanted to make sure this repo is a good starting point before I started any major rocket surgery.

Color value for certain highlights change periodically?

I'm using the current master branch, and am seeing that certain highlight values don't respect what is present in the default configuration. For instance, the speech ID chooses a different highlight color, other than the one specified in the default configuration, periodically. It appears to be changing whenever the FE is started, and not during play, but it can choose colors that are unreadable relative to the other settings.

Profanity not responding to input/connecting

, having issues running profanity on win10 with cmder. I have the headless lich set up and working, it logs my character into the game but when i run my .bat file for profanity it loads up the FE but doesnt show any scroll and does not respond to the first command input, and upon hitting any key after such the window closes immediately.

this is the error in the profanity log:

string contains null byte
C:/Profanity/profanity.rb:74:in addstr' C:/Profanity/profanity.rb:74:inblock in add_line'
C:/Profanity/profanity.rb:70:in each' C:/Profanity/profanity.rb:70:inadd_line'

please help i've checked my firewall/ports/admin rights/fonts/colors not sure what else to look at.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.