Forum Links 

Click to return to main page
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile  Log in to check your private messagesLog in to check your private messages    Log inLog in 
 Current Top Rated Killers 
 Next Event   Voting Links 


The event "The Assault on Taekir" is beginning in 1 day, 5 hours.

CMUD MSDP and other useful scripts
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Abandoned Realms Forum Index -> Mocker's Tavern
View previous topic :: View next topic  
Author Message
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Mon Feb 16, 2015 5:36 am    Post subject: CMUD MSDP and other useful scripts

Hey team, thanks to a newbie asking questions, I did some googling and this is what I came up with: click

Going to link to http://aarchonmud.com/forum/viewtopic.php?f=1&t=248 for credit and instructions. For the record to get the image above I just followed the directions exactly from the post linked there.

glhf

Sidenote: I added an album on our facebook to include screenshots of people using msdp, so feel free to submit your images, regardless of client.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Mon Feb 16, 2015 9:40 am    Post subject:

So I took that basic code and putzed around a bit, got the affects button on the side and the group button on the bottom (which I will probably move to the side soon). Only problem is I can't figure out how to get the buttons to wrap. Anyone have any advice? Here is the screenshot of where I got so far. (The affects side is extra big because I set the width manually so I could test some stuff out.)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Mikoos



Joined: 03 Nov 2012
Posts: 474

PostPosted: Mon Feb 16, 2015 1:34 pm    Post subject:

oooh, pretty Smile MUSHclient looks fugly. Post the code for the affects tab? and the rest of the tabs/buttons actually? and the affect you want displayed, from that screen shot?
Back to top
View user's profile Send private message
 
0 0 0
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Mon Feb 16, 2015 2:44 pm    Post subject:

Affects bar:
Code:
<button type="Separator" autosize="false" width="350" height="16" toolbar="3" toolstyle="true" stack="true" priority="12" id="863">
  <caption>Affects: @affects</caption>
  <expr>@affects</expr>
  <tooltip>@affects</tooltip>
</button>



The whole statusbar code:
Code:

<class name="Status Bars" id="856">
  <button type="Gauge" autosize="false" width="120" height="16" autopos="false" left="0" top="0" toolbar="2" toolstyle="true" color="lime" gaugelowcol="red" gaugebackcol="#CCFFFF" priority="3" id="857">
    <caption>HP: @health</caption>
    <expr>@health</expr>
    <gaugemax>@health_max</gaugemax>
    <gaugelow>@health_max/4</gaugelow>
    <tooltip>@health</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="120" height="16" toolbar="2" toolstyle="true" color="yellow" gaugelowcol="red" gaugebackcol="#CCFFCC" priority="6" id="858">
    <caption>Mana: @mana</caption>
    <expr>@mana</expr>
    <gaugemax>@mana_max</gaugemax>
    <gaugelow>@mana_max/5</gaugelow>
    <tooltip>@msdp.mana</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="120" height="16" toolbar="2" toolstyle="true" color="aqua" gaugelowcol="red" gaugebackcol="#CCFFCC" priority="8" id="859">
    <caption>Moves: @movement</caption>
    <expr>@movement</expr>
    <gaugemax>@movement_max</gaugemax>
    <gaugelow>@movement_max/5</gaugelow>
    <tooltip>@msdp.moves</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="240" height="16" toolbar="2" toolstyle="true" color="black" gaugelowcol="None" gaugebackcol="None" priority="15" id="860">
    <caption>Opp: %left(@opponent_name, 25) Lvl: @opponent_level</caption>
    <tooltip>@msdp.opponent_name</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="120" height="16" toolbar="2" toolstyle="true" color="lime" gaugelowcol="red" gaugebackcol="#CCFFFF" priority="10" id="861">
    <caption>Enemy HP: @opponent_health</caption>
    <expr>@opponent_health</expr>
    <gaugemax>@opponent_health_max</gaugemax>
    <gaugelow>@opponent_health_max/10</gaugelow>
    <tooltip>@opponent_health</tooltip>
  </button>
  <button type="Separator" autosize="false" width="800" height="23" toolbar="2" toolstyle="true" priority="100" id="862">
    <caption>%upper(@group)</caption>
    <expr>@group</expr>
    <tooltip>@group</tooltip>
  </button>
  <button type="Separator" autosize="false" width="350" height="16" toolbar="3" toolstyle="true" stack="true" priority="12" id="863">
    <caption>Affects: @affects</caption>
    <expr>@affects</expr>
    <tooltip>@affects</tooltip>
  </button>
</class>


And the msdp class:
Code:

<class name="MSDP" id="838">
  <trigger type="Telnet" param="69" priority="20" trigontrig="false" newline="false" prompt="true" id="839">
    <pattern><![CDATA[<IAC><WILL><69>]]></pattern>
    <value>// enable MSDP clientside
#SENDRAW %char(255)%char(253)%char(69)</value>
  </trigger>
  <trigger type="Telnet" param="69" priority="5920" id="840">
    <pattern>(@MSDPVAR)([%w|_])(@MSDPVAL)(*)</pattern>
    <value>// parse MSDP vars.
#var {MSDP.%trim(%2)} {%trim(%delete(%4,1,1))} {} {MSDP-VARS}
// end.
health = @msdp.health
health_max = @msdp.health_max
mana = @msdp.mana
mana_max = @msdp.mana_max
movement = @msdp.movement
movement_max = @msdp.movement_max
opponent_name = @msdp.opponent_name
opponent_level = @msdp.opponent_level
opponent_health = @msdp.opponent_health
opponent_health_max = @msdp.opponent_health_max
group = @msdp.group
affects = @msdp.affects</value>
  </trigger>
  <alias name="msdpinit" id="841">
    <value>#show %ansi(white)**MSDP Init** Run this init script only once. No need to run it again.

// Clearing MSDP variable
#var {MSDP} {} {} {MSDP-VARS}

// This string tells client what vars to get from mud.
#SENDSB 69 %CHAR(1)REPORT%CHAR(2)HEALTH%CHAR(2)HEALTH_MAX%CHAR(2)MANA%CHAR(2)MANA_MAX%CHAR(2)MOVEMENT%CHAR(2)MOVEMENT_MAX%CHAR(2)OPPONENT_HEALTH%CHAR(2)OPPONENT_HEALTH_MAX%CHAR(2)OPPONENT_LEVEL%CHAR(2)OPPONENT_NAME%CHAR(2)GROUP%CHAR(2)AFFECTS</value>
  </alias>
  <class name="MSDP-VARS" id="842">
    <var name="MSDP" type="Record" usedef="true" id="843">
      <value><![CDATA[AFFECTS=Bloodthirsters Fury-1 hoursBloodthirsters Fury-1 hours|HEALTH=25191|HEALTH_MAX=25191|MANA=25076|MANA_MAX=25076|MOVEMENT=746|MOVEMENT_MAX=746|OPPONENT_HEALTH=0|OPPONENT_HEALTH_MAX=0|OPPONENT_LEVEL=0|OPPONENT_NAME=None.|GROUP="Vevier{""hp"":100,""mp"":100}Davairus{""hp"":100,""mp"":100}"]]></value>
      <json><![CDATA[{"MOVEMENT":746,"OPPONENT_LEVEL":0,"MANA_MAX":25076,"OPPONENT_HEALTH":0,"AFFECTS":"Bloodthirsters Fury-1 hoursBloodthirsters Fury-1 hours","GROUP":"Vevier{\"hp\":100,\"mp\":100}Davairus{\"hp\":100,\"mp\":100}","HEALTH_MAX":25191,"MANA":25076,"OPPONENT_HEALTH_MAX":0,"OPPONENT_NAME":"None.","HEALTH":25191,"MOVEMENT_MAX":746}]]></json>
    </var>
    <var name="mana" id="844">
      <value>25076</value>
      <json>null</json>
    </var>
    <var name="health" id="845">
      <value>25191</value>
      <json>null</json>
    </var>
    <var name="health_max" id="846">
      <value>25191</value>
      <json>null</json>
    </var>
    <var name="moves" id="847"/>
    <var name="opponent_name" id="848">
      <value>None.</value>
      <json>null</json>
    </var>
    <var name="mana_max" id="849">
      <value>25076</value>
      <json>null</json>
    </var>
    <var name="movement" id="850">
      <value>746</value>
      <json>null</json>
    </var>
    <var name="movement_max" id="851">
      <value>746</value>
      <json>null</json>
    </var>
    <var name="opponent_health" id="852">
      <value>0</value>
      <json>null</json>
    </var>
    <var name="opponent_health_max" id="853">
      <value>0</value>
      <json>null</json>
    </var>
    <var name="opponent_level" id="854">
      <value>0</value>
      <json>null</json>
    </var>
    <var name="group" id="855">
      <json>null</json>
    </var>
  </class>
</class>


The change I want to get is to be able to stack up the affects, so they come out one per line like a list instead of all on one line like they are now.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Mikoos



Joined: 03 Nov 2012
Posts: 474

PostPosted: Mon Feb 16, 2015 3:48 pm    Post subject:

okay, cool. I'll look into this later this evening. All we probably need to do is, take the string for the affect, break it into a 'table' using the new line(s), then print them out.
Back to top
View user's profile Send private message
 
0 0 0
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Mon Feb 16, 2015 7:09 pm    Post subject:

Yeah, not sure how to do that. I got affects to stack the way I want them to by replacing hours with hours%char(10) but there's no really easy way to hijack things like inventory and group names for that. Here's the updated code for the affects button:

Code:
<button type="Separator" autosize="false" width="199" height="300" autopos="false" top="-1" toolbar="3" toolstyle="true" stack="true" color="black" textcolor="#CCFFFF" border="#003366" priority="14" id="1463">
  <caption>%replace(@affects, hours, hours%char(10))</caption>
  <expr>@affects</expr>
  <tooltip>@affects</tooltip>
</button>


Well, I ended up janking around the group code too...
Code:

<button type="Separator" autosize="false" width="199" height="300" autopos="false" top="300" toolbar="3" toolstyle="true" color="black" textcolor="#99CCFF" border="#003366" priority="12" id="1502">
  <caption>%replace(@group, "}","}"%char(10))</caption>
  <expr>@group</expr>
  <tooltip>@group</tooltip>
</button>



Screenshot here
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Mon Feb 16, 2015 11:49 pm    Post subject:

Okay, I think I'm actually happy with this now.
status bars:
Code:
<class name="Status Bars" id="242">
  <button type="Gauge" autosize="false" width="120" height="16" autopos="false" left="0" top="0" toolbar="2" toolstyle="true" color="lime" gaugelowcol="red" gaugebackcol="#CCFFFF" priority="3" id="243">
    <caption>HP: @health</caption>
    <expr>@health</expr>
    <gaugemax>@health_max</gaugemax>
    <gaugelow>@health_max/4</gaugelow>
    <tooltip>@health</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="120" height="16" toolbar="2" toolstyle="true" color="yellow" gaugelowcol="red" gaugebackcol="#CCFFCC" priority="6" id="244">
    <caption>Mana: @mana</caption>
    <expr>@mana</expr>
    <gaugemax>@mana_max</gaugemax>
    <gaugelow>@mana_max/5</gaugelow>
    <tooltip>@msdp.mana</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="120" height="16" toolbar="2" toolstyle="true" color="aqua" gaugelowcol="red" gaugebackcol="#CCFFCC" priority="8" id="245">
    <caption>Moves: @movement</caption>
    <expr>@movement</expr>
    <gaugemax>@movement_max</gaugemax>
    <gaugelow>@movement_max/5</gaugelow>
    <tooltip>@msdp.moves</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="240" height="16" toolbar="2" toolstyle="true" gaugelowcol="None" gaugebackcol="None" priority="16" id="246">
    <caption>Opp: %left(@opponent_name, 25) Lvl: @opponent_level</caption>
    <tooltip>@msdp.opponent_name</tooltip>
  </button>
  <button type="Gauge" autosize="false" width="120" height="16" toolbar="2" toolstyle="true" color="lime" gaugelowcol="red" gaugebackcol="#CCFFFF" priority="10" id="247">
    <caption>Enemy HP: @opponent_health</caption>
    <expr>@opponent_health</expr>
    <gaugemax>@opponent_health_max</gaugemax>
    <gaugelow>@opponent_health_max/10</gaugelow>
    <tooltip>@opponent_health</tooltip>
  </button>
  <button type="Separator" autosize="false" width="199" height="400" autopos="false" top="-1" toolbar="3" toolstyle="true" stack="true" color="black" textcolor="#CCFFFF" border="#003366" priority="14" id="248">
    <caption>%replace(%replace(%replace(@affects, hours, hours%char(10)), rounds, rounds%char(10), moments, moments%char(10)))</caption>
    <expr>@affects</expr>
    <tooltip>@affects</tooltip>
  </button>
  <button type="Separator" autosize="false" width="199" height="200" autopos="false" top="399" toolbar="3" toolstyle="true" stack="true" color="black" textcolor="#99CCFF" border="#003366" priority="12" id="249">
    <caption>%upper(%replace(@group, "}","}"%char(10)))</caption>
    <expr>@group</expr>
    <tooltip>@group</tooltip>
  </button>
  <button type="Separator" autosize="false" width="199" height="242" autopos="false" top="599" toolbar="3" toolstyle="true" color="black" textcolor="#99CCFF" border="#003366" priority="13" id="250">
    <caption>(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(@inventory, "1", 1%char(10)) , "2", 2%char(10)), "3", 3%char(10)), "4", 4%char(10)), "5", 5%char(10)), "6", 6%char(10)), "7", 7%char(10)), "8", 8%char(10)), "9", 9%char(10)))</caption>
    <expr>@inventory</expr>
    <tooltip>@inventory</tooltip>
  </button>
</class>


msdp control:
Code:
<class name="MSDP" id="1129">
  <trigger type="Telnet" param="69" priority="20" trigontrig="false" newline="false" prompt="true" id="1130">
    <pattern><![CDATA[<IAC><WILL><69>]]></pattern>
    <value>// enable MSDP clientside
#SENDRAW %char(255)%char(253)%char(69)</value>
  </trigger>
  <trigger type="Telnet" param="69" priority="5920" id="1131">
    <pattern>(@MSDPVAR)([%w|_])(@MSDPVAL)(*)</pattern>
    <value>// parse MSDP vars.
#var {MSDP.%trim(%2)} {%trim(%delete(%4,1,1))} {} {MSDP-VARS}
// end.
health = @msdp.health
health_max = @msdp.health_max
mana = @msdp.mana
mana_max = @msdp.mana_max
movement = @msdp.movement
movement_max = @msdp.movement_max
opponent_name = @msdp.opponent_name
opponent_level = @msdp.opponent_level
opponent_health = @msdp.opponent_health
opponent_health_max = @msdp.opponent_health_max
group = @msdp.group
affects = @msdp.affects
inventory = @msdp.inventory
</value>
  </trigger>
  <alias name="msdpinit" id="1132">
    <value>#show %ansi(white)**MSDP Init** Run this init script only once. No need to run it again.

// Clearing MSDP variable
#var {MSDP} {} {} {MSDP-VARS}

// This string tells client what vars to get from mud.
#SENDSB 69 %CHAR(1)REPORT%CHAR(2)HEALTH%CHAR(2)HEALTH_MAX%CHAR(2)MANA%CHAR(2)MANA_MAX%CHAR(2)MOVEMENT%CHAR(2)MOVEMENT_MAX%CHAR(2)OPPONENT_HEALTH%CHAR(2)OPPONENT_HEALTH_MAX%CHAR(2)OPPONENT_LEVEL%CHAR(2)OPPONENT_NAME%CHAR(2)GROUP%CHAR(2)AFFECTS%CHAR(2)ROOM_MAP%CHAR(2)INVENTORY

</value>
  </alias>
  <class name="MSDP-VARS" id="1133">
    <var name="MSDP" type="Record" usedef="true" id="1134">
      <value>HEALTH=3720|HEALTH_MAX=3720|MANA=972|MANA_MAX=972|MOVEMENT=1566|MOVEMENT_MAX=1566|OPPONENT_HEALTH=0|OPPONENT_HEALTH_MAX=0|OPPONENT_LEVEL=0|OPPONENT_NAME</value>
      <json>{"MOVEMENT":1404,"OPPONENT_LEVEL":0,"MANA_MAX":972,"OPPONENT_HEALTH":0,"HEALTH_MAX":3720,"MANA":972,"OPPONENT_HEALTH_MAX":0,"OPPONENT_NAME":"","HEALTH":3354,"MOVEMENT_MAX":1566}</json>
    </var>
    <var name="mana" id="1135">
      <value>972</value>
      <json>null</json>
    </var>
    <var name="health" id="1136">
      <value>3720</value>
      <json>null</json>
    </var>
    <var name="health_max" id="1137">
      <value>3720</value>
      <json>null</json>
    </var>
    <var name="moves" id="1138"/>
    <var name="opponent_name" id="1139">
      <json>null</json>
    </var>
    <var name="mana_max" id="1141">
      <value>972</value>
      <json>null</json>
    </var>
    <var name="movement" id="1142">
      <value>1566</value>
      <json>null</json>
    </var>
    <var name="movement_max" id="1143">
      <value>1566</value>
      <json>null</json>
    </var>
    <var name="opponent_health" id="1146">
      <value>0</value>
      <json>null</json>
    </var>
    <var name="opponent_health_max" id="1147">
      <value>0</value>
      <json>null</json>
    </var>
    <var name="opponent_level" id="1148">
      <value>0</value>
      <json>null</json>
     </var>
   <var name="group" id="1149">
     <value>0</value>
     <json>null</json>
    </var>
   <var name="map" id="1150">
     <value>0</value>
     <json>null</json>
    </var>
   <var name="inventory" id="1151">
     <value>0</value>
     <json>null</json>
    </var>
  </class>
</class>


And screenshot here.


Last edited by Vevier on Tue Feb 17, 2015 1:54 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Faelon
Emissary


Joined: 23 Feb 2006
Posts: 938
Location: Your moms house.

PostPosted: Tue Feb 17, 2015 12:52 am    Post subject:

Not sure why, but yours came out different then mine.

I don't have an inventory on mine, after directly copying yours. Also, the affects area is bleeding over the boundaries of the box it is supposed to be in. Any thoughts?
Back to top
View user's profile Send private message
 
0 0 0
Olyn
Immortal


Joined: 23 Jul 2008
Posts: 3244
Location: Pennsylvania

PostPosted: Tue Feb 17, 2015 1:11 am    Post subject:

Compare screen resolutions.
Back to top
View user's profile Send private message
 
0 0 0
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Tue Feb 17, 2015 1:57 am    Post subject:

To fix the sizing issue, just right click on the bar and mess around with the height and position bars until you find a setting you like.

I added some more code into the affects readout to account for rounds and moments affects that could show up.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Clifton



Joined: 16 Jan 2004
Posts: 530

PostPosted: Thu Mar 19, 2015 5:38 am    Post subject:

This is some cool stuff. For example...

Back to top
View user's profile Send private message
 
0 0 0
Vevier
Immortal


Joined: 23 Jul 2008
Posts: 1642
Location: everywhere

PostPosted: Thu Mar 19, 2015 6:40 am    Post subject:

How did you get the minimap working?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
 
0 0 0
Clifton



Joined: 16 Jan 2004
Posts: 530

PostPosted: Thu Mar 19, 2015 6:50 am    Post subject:

Used a trigger to capture multiline regex. Lots of inline replaces because I was getting memory errors when I was trying to replace variables. Also, I turn mxp off. I also threw everything into windows which clear on update instead of buttons, because buttons weren't fixed length and couldn't be colored.

Code:

<trigger type="Telnet" param="69" priority="14520" regex="true" newline="false" prompt="true" id="1452">
  <pattern>ROOM_MAP(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+(.*)[\n\r]+</pattern>
  <value><![CDATA[#clr map
#var parsedline {}

parsedline.1 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%1,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.2 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%2,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.3 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%3,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.4 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%4,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.5 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%5,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.6 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%6,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.7 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%7,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.8 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%8,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))
parsedline.9 = %replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%9,``,""),`1,%ansi(red)),`2,%ansi(green)),`3,%ansi(brown)),`4,%ansi(blue)),`5,%ansi(bold,magenta)),`6,%ansi(cyan)),`7,%ansi(bold,gray)),`8,%ansi(gray)),`!,%ansi(bold,red)),`@,%ansi(bold,green)),`#,%ansi(yellow)),`$,%ansi(bold,blue)),`%,%ansi(magenta)),`^,%ansi(bold,cyan)),`&,%ansi(white))

#window map {%replace(@parsedline.1,%char(2)," ") %crlf @parsedline.2 %crlf @parsedline.3 %crlf @parsedline.4 %crlf @parsedline.5 %crlf @parsedline.6 %crlf @parsedline.7 %crlf @parsedline.8 %crlf @parsedline.9}]]></value>
</trigger>
Back to top
View user's profile Send private message
 
0 0 0
Olyn
Immortal


Joined: 23 Jul 2008
Posts: 3244
Location: Pennsylvania

PostPosted: Sun Mar 22, 2015 6:10 pm    Post subject:

Clifton, would you be willing to share your other scripts that use windows? I think they would make it a lot easier for our players to customize their cmud layout.
Back to top
View user's profile Send private message
 
0 0 0
tayyah



Joined: 20 May 2011
Posts: 597

PostPosted: Sun Mar 22, 2015 7:55 pm    Post subject:

lol, its things like this that make me feel like im a feather weight going up against brock lesnar. I see this page, and I feel like im trying to read tagalog. I have tried to figure it out, and just walked away with a sore brain.
Back to top
View user's profile Send private message
 
0 0 0
Davairus
Implementor


Joined: 16 Jan 2004
Posts: 10344
Location: 0x0000

PostPosted: Sun Mar 22, 2015 9:33 pm    Post subject:

Webclient bro. Got your back.
Back to top
View user's profile Send private message Send e-mail
 
0 0 0
Faelon
Emissary


Joined: 23 Feb 2006
Posts: 938
Location: Your moms house.

PostPosted: Sun Mar 22, 2015 11:36 pm    Post subject:

Clifton, I dig the hell out of that mini-map. Slick looking.
Back to top
View user's profile Send private message
 
0 0 0
Clifton



Joined: 16 Jan 2004
Posts: 530

PostPosted: Mon Mar 23, 2015 12:29 am    Post subject:

Yeah. I'm happy to put out the xml. What specific parts would you guys want? Alternatively, I could upload the whole set if you wanted.

The room area:vnum stuff could be interesting, but I haven't figured out how to build a mapper with it.
Back to top
View user's profile Send private message
 
0 0 0
Olyn
Immortal


Joined: 23 Jul 2008
Posts: 3244
Location: Pennsylvania

PostPosted: Mon Mar 23, 2015 1:13 am    Post subject:

This is great stuff. When I play, I'm still clunking along with my macros, aliases, and triggers I developed over 15 years ago, but I'll probably get on board using all of these bells and whistles at some point.

If it's easy to do, you could probably throw it all of your stuff in one xml and nest each window as a different class folder inside a generic msdp class fodler. I can't tell what all is in your buttons/gauges, but weapon/combat matchups and group hp/mana/move might be good to add if they're not there.

Ideally, we'll make a sticky with the latest version of the script with step-by-step directions so anybody who's interested and using cMUD can enjoy these features. I think Mikoos is pretty far along with MUSHclient, too.
Back to top
View user's profile Send private message
 
0 0 0
Clifton



Joined: 16 Jan 2004
Posts: 530

PostPosted: Mon Mar 23, 2015 2:48 am    Post subject:

K. I'll get around to doing it sometime this week.

A lot of the hp buttons and bars were working with the version Vevier uploaded.
Back to top
View user's profile Send private message
 
0 0 0
Display posts from previous:   
Post new topic   Reply to topic    Abandoned Realms Forum Index -> Mocker's Tavern All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © phpBB Group