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
robecks
Beginner


Joined: 22 Jun 2010
Posts: 17

PostPosted: Mon Jul 12, 2010 8:57 pm   

3.21 braces unmatched
 
i know normally you are susposta upgrade to the lastest beta but i have seen a few problems with 3.22 that i do not want to quite upgrade yet, so i dont know if this was tackled

the line below is giving me a braces unmatched, or not enough paramaters if i use #show and just try to pop it up
Code:
%right( %session.cMUDFileName("",""), 2)


but if i remove the %right it works just fine
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 12, 2010 10:21 pm   
 
I think it is just supposed to be %session.FileName and not %session.cMUDFileName, but when I do this:
Code:
#show %right(%session.FileName("",""),2)

it also gives a "not enough parameters" in 3.22 so I've added that to the bug list. The issue is doing the COM reference within the other function. To make this work for now you need to do it in two steps:
Code:
$filename = %session.FileName("","")
#SHOW %right($filename,2)
Reply with quote
robecks
Beginner


Joined: 22 Jun 2010
Posts: 17

PostPosted: Mon Jul 12, 2010 10:55 pm   
 
if i try it #show %session.FileName("","") it does not work in 3.21



if i do #show %session.cMUDFileName("","") it outputs C:\Users\my computer\Documents\My Games\CMUD\Aardwolf\
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Jul 13, 2010 1:46 am   
 
Regarding 'quite a few problems with 3.22,' that's the whole purpose of beta testing. If you're going to use beta, test properly. Problems can't be fixed unless Zugg knows about them. Also, 3.21 was worse than 3.22 regarding stability...

Charneus
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 13, 2010 5:52 pm   
 
Oops, I was testing in TeSSH instead of CMUD. In TeSSH it is %session.FileName. In CMUD it is %session.cMUDFileName. Sorry for that.
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