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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Morgal
Beginner


Joined: 06 Nov 2006
Posts: 26

PostPosted: Sun Dec 24, 2006 3:15 pm   

[1.24] CRITICAL #ADD & %1 BUG
 
If you have a trigger which matches the following text:
Your costs are 55 gold.

Code:
Your costs are (%d) gold.
#SAY Added %1 To Costs
#ADD Costs %1
#SAY Added %1 To Costs


The #SAY lines will be different.

The first one would be correct, ie. Added 55 To Costs
The second one however would now display the current value of the Costs variable ie. Added 33420 To Costs

Anyone confirm this?

Thanks
Morgal
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sun Dec 24, 2006 4:51 pm   
 
Confirmed, using '#say Your costs are 500 gold.' to test repeatedly.

Quote:
Your costs are 500 gold.
Added 500 To Costs
Added 500 To Costs

Your costs are 500 gold.
Added 500 To Costs
Added 1000 To Costs

Your costs are 500 gold.
Added 500 To Costs
Added 1500 To Costs

Your costs are 500 gold.
Added 500 To Costs
Added 2000 To Costs
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Dec 24, 2006 9:46 pm   
 
Flagging this as critical for when Zugg gets back. It looks like there is an error in the internal stack that could potentially cause some nasty problems.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jan 17, 2007 8:16 pm   
 
Added to the high priority bug list
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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