Position/status Icons? on 02/22/2006 01:47 AM CST
Links-arrows 1
Reply Reply
I used to have the position icons (sitting, hidden, bleeding, etc) but have since lost them. I've tried various google searches which turns up mostly porn garbage or old zmud version downloads.

Does anyone have these hosted or a link so that I could obtain them or a suitable replacement.




"Men never do evil so completely and cheerfully as when they do it from a religious conviction."
- Blaise Pascal

No one goes there nowadays, it's too crowded.
- Yogi Berra
Reply Reply
Re: Position/status Icons? on 02/23/2006 05:06 PM CST
Links-arrows 2
Reply Reply
Ok, I've decided to go another direction but my brain does not seem to want to wrap around the problem.

I want to use %gsl(P) (The gsl code for position) to display the equivilant value in text for into the prompt. The problem is that I do not know how to do this. I know it is most likely extremely simple but my mind has divorced and left me.




"Men never do evil so completely and cheerfully as when they do it from a religious conviction."
- Blaise Pascal

No one goes there nowadays, it's too crowded.
- Yogi Berra
Reply Reply
Re: Position/status Icons? on 02/23/2006 08:30 PM CST
Links-arrows 3
Reply Reply
The way I would do it is this:

1)in GSL Preferences, where it says GSL Prompt or whatever type in %replace(@GSLStatus,"|",", ")~>. This will display a prompt of the style:

standing, hidden, invisible, etc>

2)Create a gsl trigger for the P tag. The code would be as follows:

GSLStatus = ""
#if (%pos("GH",%gsl(P))) {#additem GSLStatus "whatever GH indicates"} {#if (%pos("G",%gsl(P))) {#additem GSLStatus "whatever G indicates"} {#if (%pos("H",%gsl(P))) {#additem GSLStatus "whatever H indicates"} {#additem GSLStatus "Standing"}}}
#if (%pos("one of the remaining one-letter options",%gsl(P))) {#additem GSLStatus "whatever the option indicates"}
...repeat the last #IF for each remaining one-letter option...

J'Lo, no that other one
Reply Reply
Re: Position/status Icons? on 02/24/2006 12:50 AM CST
Links-arrows 4
Reply Reply
Ok I kind of got it working. It works good except that the prompt looks like:
, Sitting>
The only thing wrong is the annoying "," at the beginning.

#TRIGGER "P" {P} {GSLStatus = "";#if (%pos( "GH", %gsl( P))) {#additem GSLStatus "Kneel"};#if (%pos( "G", %gsl( P))) {#additem GSLStatus "Prone"};#if (%pos( "H", %gsl( P))) {#additem GSLStatus "Sit"} {#additem GSLStatus "Standing"};#if (%pos( "N", %gsl( P))) {#additem GSLStatus "Hide"};#if (%pos( "N", %gsl( P))) {#additem GSLStatus "Hide"};#if (%pos( "N", %gsl( P))) {#additem GSLStatus "Hide"};#if (%pos( "M", %gsl( P))) {#additem GSLStatus "Unconcious"};#if (%pos( "O", %gsl( P))) {#additem GSLStatus "Bleed"};#if (%pos( "B", %gsl( P))) {#additem GSLStatus "Dead"};#if (%pos( "C", %gsl( P))) {#additem GSLStatus "Web"};#if (%pos( "I", %gsl( P))) {#additem GSLStatus "Stun"};#if (%pos( "P", %gsl( P))) {#additem GSLStatus "Join"}} "" {gsl}

The trigger I created is above. I did the gsl prompt just as it appears in your post J'Lo. Thanks



"Men never do evil so completely and cheerfully as when they do it from a religious conviction."
- Blaise Pascal

No one goes there nowadays, it's too crowded.
- Yogi Berra
Reply Reply
Re: Position/status Icons? on 02/24/2006 03:00 PM CST
Links-arrows 6
Reply Reply
Just as I had it? Close, but no.

#if (%pos( "GH", %gsl( P))) {#additem GSLStatus "whatever GH indicates"} {#if (%pos( "G", %gsl( P))) {#additem GSLStatus "whatever G indicates"} {#if (%pos( "H", %gsl( P))) {#additem GSLStatus "whatever H indicates"} {#additem GSLStatus "Standing"}}}

That's what you need for the GH, G, and H options. Since they are all the same letters for all three options, the #IFs for them need to be nested. Otherwise you'll end up with "Kneel, Prone, Sit" instead of just "Kneel".

As for the rest, I can't duplicate so you maybe have an out-of-place or extra comma in the GSL Prompt field in GSL Preferences. To recap, it's

%replace(@GSLStatus,"|",", ")>

J'Lo, no that other one
Reply Reply
Re: Position/status Icons? on 02/24/2006 06:06 PM CST
Links-arrows 7
Reply Reply
When I said I had it just as you posted it, I was refering to the prompt not the trigger.

My settings just went kablooey for no particular reason and I had to pull from a backup. Upon reentering the prompt info it works properly. There was one cosmetic change. <%replace(@GSLStatus,"|",", ")~>




"Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century."
- Dame Edna Everage
Reply Reply
Re: Position/status Icons? on 03/06/2006 10:58 PM CST
Links-arrows 8
Reply Reply
Ok, it has worked almost fully for a while now. However, there is one annoyance. When I am laying down I get both prone and standing in the prompt. I've tweaked with it for a while and just can't get it.

I am still at the idiot stage in zmud programming.

#TRIGGER "P" {P} {GSLStatus = "";#if (%pos( "GH", %gsl( P))) {#additem GSLStatus "Kneel"};#if (%pos( "G", %gsl( P))) {#additem GSLStatus "Prone"};#if (%pos( "H", %gsl( P))) {#additem GSLStatus "Sit"} {#additem GSLStatus "Standing"};#if (%pos( "N", %gsl( P))) {#additem GSLStatus "Hide"};#if (%pos( "N", %gsl( P))) {#additem GSLStatus "Hide"};#if (%pos( "N", %gsl( P))) {#additem GSLStatus "Hide"};#if (%pos( "M", %gsl( P))) {#additem GSLStatus "Unconcious"};#if (%pos( "O", %gsl( P))) {#additem GSLStatus "Bleed"};#if (%pos( "B", %gsl( P))) {#additem GSLStatus "Dead"};#if (%pos( "C", %gsl( P))) {#additem GSLStatus "Web"};#if (%pos( "I", %gsl( P))) {#additem GSLStatus "Stun"};#if (%pos( "P", %gsl( P))) {#additem GSLStatus "Join"}} "" {gsl}

Prompt is set at:
%replace(<@GSLStatus,"|",", ")>

laying down gets me:
<Prone, Standing>




"Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century."
- Dame Edna Everage
Reply Reply
Re: Position/status Icons? on 03/06/2006 11:13 PM CST
Links-arrows 9
Reply Reply
#if (%pos( "GH", %gsl( P))) {#additem GSLStatus "Kneel"};#if (%pos( "G", %gsl( P))) {#additem GSLStatus "Prone"};#if (%pos( "H", %gsl( P))) {#additem GSLStatus "Sit"} {#additem GSLStatus "Standing"}

Your problem is that these three #IF commands are not nested. That, and if you are getting two statuses for lying down then maybe you have your tags crossed up.

#IF (%pos( "GH", %gsl( P))) {#additem GSLStatus "Kneel"} {#IF (%pos( "G", %gsl( P))) {#additem GSLStatus "Prone"} {#IF (%pos( "H", %gsl( P))) {#additem GSLStatus "Sit"} {#additem GSLStatus "Standing"}}}

J'Lo, no that other one
The Manipulation List -- http://symphaena.com/index.html
Reply Reply
Re: Position/status Icons? on 03/07/2006 12:45 AM CST
Links-arrows 10
Reply Reply
0100001001101001011011100110000101110010011110010010110000100000011101000110100001100101001000000110111101101110011011000111100100100000011101000111001001110101011001010010000001100011011011110110010001100101


decipher that one ::smirk::





"I was just an almost innocent bystander."


~Nazaruss/Player Of.
Reply Reply
Re: Position/status Icons? on 03/07/2006 06:04 AM CST
Links-arrows 11
Reply Reply
Binary, the only true code

-- Player of Callahaan Val'kesh
Reply Reply
Re: Position/status Icons? on 03/07/2006 08:21 AM CST
Links-arrows 12
Reply Reply
>>#IF (%pos( "GH", %gsl( P))) {#additem GSLStatus "Kneel"} {#IF (%pos( "G", %gsl( P))) {#additem GSLStatus "Prone"} {#IF (%pos( "H", %gsl( P))) {#additem GSLStatus "Sit"} {#additem GSLStatus "Standing"}}}

Nested? I have heard the term but have no idea what this means. The only difference I see is the removal of the semicolon which only tells Zmud that the following portion is on a new line.




"Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century."
- Dame Edna Everage
Reply Reply
Re: Position/status Icons? on 03/07/2006 08:40 AM CST
Links-arrows 13
Reply Reply
Nested refers to "if" statements that are part of the same line...

#IF {something} {#IF {something} {#IF {something} {do something}}}

And as to the rest of you... Remember, there are only 10 kinds of people in this world: those who understand binary, and those who don't.




Marksman Ahmir Nam'al

[pi]
Reply Reply
Re: Position/status Icons? on 03/07/2006 10:21 AM CST
Links-arrows 14
Reply Reply
Callahaan gets a cookie :D





"I was just an almost innocent bystander."


~Nazaruss/Player Of.
Reply Reply
Re: Position/status Icons? on 03/07/2006 10:27 AM CST
Links-arrows 15
Reply Reply
Try as I may, I cannot get that code to go in properly. I keep getting syntax errors. I think I am just going to live with it for the moment. If I keep it up, this is going to have me wanting to throw my PC out the window.




"Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century."
- Dame Edna Everage
Reply Reply