Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Jul 22, 2006 9:46 pm   

When things stop working...
 
I'll set this up by showing what I have. This is for Gemstone 4.

the trigger:
Code:
#TRIGGER {b} {scarnum = %gsl( b);numtobin @scarnum;scarbin = @storage} "wondsandscars"


the alias numtobin:
Code:
#ALIAS numtobin {storage = "";#VAR number %1;#if (@number=0) {#ABORT 1};#UNTIL (@number=0) {#if ((@number\2)=1) {storage = %concat( 1, @storage);#MATH number (@number/2)} {storage = %concat( 0, @storage);#MATH number (@number/2)}}} "wondsandscars"


This worked not one day ago, but now it stopped. It's bad enough that Gemstone doesn't send the gsl codes for wounds and scars when you sign on.

Any idea on why it would stop assigning the proper binary string to scarbin?
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Mon Jul 24, 2006 1:47 pm   
 
Silly thing works again.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
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

© 2009 Zugg Software. Hosted by Wolfpaw.net