View unanswered posts | View active topics It is currently Mon Apr 21, 2014 3:29 pm



Post new topic Reply to topic  [ 7 posts ] 
 Filter Issues 
Author Message

Joined: Sun Feb 13, 2011 9:24 pm
Posts: 3
Post Filter Issues
Skip to the bottom for tl;dr-ness.

So despite some issues getting OpenRPG installed on my new computer, I finally succeeded. Further issues ensued with the alias library window crashing and making all of OpenRPG unresponsive save for the quit button - how considerate - until I updated to the beta version.

My problem is with filter behaviour. I tried setting up a filter that would replace or remove letters in messages to represent a different language. For instance, 'Cleverness of the Vortex' should work out as 'Csuusrurr a su Vassu'.

Code:
Replace... a  ,b,c,d,e,f,g ,h,i ,j ,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y ,z.
...with... i'a, ,s,s,u, ,ph, ,uh,th,h,s,n,r,a,z,w,s,r,s,i, ,z, ,il, .


Code:
Cleverness of the Vortex.
Csu usrurr a  s u Vassu .


Basically a Caesar cipher; I... don't have the persistence to make up a whole new language, or even this filter - I'm borrowing it from a generator at Chaotic Shiny - and it produces something that looks fairly close to being another language. Plus the players get rewarded early if they work out how to decipher the speech.

Anyway, if you work it out on paper, 'Cleverness of the Vortex' should indeed produce 'Csuusrurr a su Vassu'... but when I turn it into a filter in OpenRPG, and type that name, I instead get 'Criirrirr a si Varsi'.
I can even tell why it's doing that, I think; the above order, left-to-right, is the order I input letters to be replaced and replacements, in the filter, and filtering doesn't stop when a match is found for a letter to replace. So when it sees 'l' in 'Cleverness', it first replaces it with 's' then replaces that with 'r' when it continues checking and matches it with 's'.
Is there any way to have it not do that, or am I going to have to run stuff through the Language Mixer at Chaotic Shiny each time I want to know the translation for anything?

tl;dr - how do I stop filters from continuing to test for matches and replace letters after it's replaced a letter once already?


Sun Feb 13, 2011 9:48 pm
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: Filter Issues
The current filter is a bit archaic in design. It's on my to do lists for Traipse openrpg, but not in the near future.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Mon Feb 14, 2011 12:18 am
Profile YIM WWW

Joined: Sun Feb 13, 2011 9:24 pm
Posts: 3
Post Re: Filter Issues
I did try Traipse whilst trying to get OpenRPG to work properly.
It just... died when trying to use the alias library more than once, and never saved the filter I tried to create. Ah, well. I guess I'll have to keep an eye on your site for updates.


Mon Feb 14, 2011 12:34 am
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: Filter Issues
I have not done anything special with the alias library in the current Traipse. I said that was planned for the future.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Mon Feb 14, 2011 1:06 am
Profile YIM WWW

Joined: Sun Feb 13, 2011 9:24 pm
Posts: 3
Post Re: Filter Issues
I meant I found it as buggy on this computer as non-beta OpenRPG. Admittedly when I got OpenRPG working I stopped trying to get Traipse working.
I'm kind of at a loss as to how Traipse differs from OpenRPG; are there just not that many differences thus far?


Mon Feb 14, 2011 2:39 am
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: Filter Issues
No, not yet. Most of the differences in Traipse are subtle. The Meta server provides room lists: http://traipsemeta.madmathlabs.info/ the dieroller has a few more die rollers and allows for newer features, the layout does not break so often, the grid nodes can be referenced by cell, and other subtle features.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Mon Feb 14, 2011 3:14 am
Profile YIM WWW
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: Filter Issues
Feldherren wrote:
tl;dr - how do I stop filters from continuing to test for matches and replace letters after it's replaced a letter once already?


Sorry, you can't. I'll work it into the next milestone of Traipse. Sorry the current one is not working for you. I am doing all of my chat / server / client work in the OpenIM software. You can get a copy here: http://traipse.assembla.com/spaces/openim/documents It requires PyQt instead of wxPython, and is still under heavy development. You can get a copy of PyQt here: http://www.riverbankcomputing.co.uk/sof ... t/download

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Thu Feb 17, 2011 9:27 am
Profile YIM WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.