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
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Oct 27, 2007 11:26 am   

[2.09] %numparam() doesn't work
 
Straight from the helpfile

Example:
#ALIAS testParam {#SAY %numParam()}
testparam 123 "456 789" {abc def}

should display 3. It doesn't display anything. In fact it never seems to display anything.
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Oct 27, 2007 12:00 pm   
 
Coincidence? I think not!

It's working for me, anyway.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Oct 27, 2007 12:07 pm   
 
Hmm, deleting the default.pkg did indeed fix it.

Problem is 2.09 was a clean install, which makes me wonder if the default.pkg that ships with 2.09 is broken and you need to delete it and let it be remade to work...
_________________
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: Sat Oct 27, 2007 2:27 pm   
 
This was the first thing I tested on a fresh install of 2.09. I got a nice display of 3. If you deleted the default.pkg to get it working again then please check the date and time on the one you deleted. The original file from the install has a time stamp of 10/26/07 4:20PM. If the one you deleted is different, and you didn't specifically change anything for that package then it indicates a problem.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Oct 27, 2007 4:50 pm   
 
Hmm, I don't have a default.pkg anymore, seems CMUD didn't recreate it for me.

The one I deleted though had
Created: 26 ‎October ‎2007, ‏‎22:20:42
Modified: 26 ‎October ‎2007, ‏‎22:20:42

I guess the 22:20 is really 4:20PM when you consider I'm operating in GMT which is 6hrs ahead of Central...
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Tue Oct 30, 2007 10:28 am   
 
It doesn´t work for me, either. In fact, I came here looking for a problem with #FUNCTION and I stopped to look at %numparam() because it is used in the MySum function example. It may explain why the example doesn't work, since it works for the simple function that doesn't use %numparam().
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Tue Oct 30, 2007 10:35 am   [2.09]%numparam() doesn't work...
 
I noticed you speaking of default packages. What I did when I installed the BETA product was duplicate my existing CMUD folder and gave it the name of CMUDBETA. This means that CMUD/Beta started out with the "production" package that's been running in CMUD 1.34.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Oct 30, 2007 11:37 am   
 
And you upgraded straight to 2.09 without installing 2.08?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Wed Oct 31, 2007 2:03 am   
 
Yes, that is correct. I wasn't even aware that there was a release 2.08. In fact, I was expecting this release to be 2.0.
Externally, I haven't noticed any difference, though it seems to hang at moments I wished it didn't. MUD events are not forgiving when it comes to lag.
_________________
Sic itur ad astra.
Reply with quote
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Wed Oct 31, 2007 7:51 am   
 
I had the same problem, a version or two ago. Deleting the default package fixed it in the untitled session, but to fix it in my actually settings I had to find the package file for my session (i.e. not in the "packages" folder) and delete that. For me it was in the "Aetolia" folder.
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Oct 31, 2007 4:47 pm   
 
Very curious. I too was having this problem with %numparam. I have two session packages. I had upgraded through 2.06, 2.07, 2.08 and 2.09. The problem started when I got 2.07, of course. Both sessions continued to exhibit the problem in 2.08 and 2.09. Based on what people had said here, I assumed it was a corrupted file somewhere, but I didn't have time to track it down. I did remove and recreate one of the session packages under 2.08, but it did not help.

Just now, I deleted the defaults.pkg, and %numparam is now working in both sessions. The date on defaults.pkg was Oct. 26, 2007.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Oct 31, 2007 9:30 pm   
 
When you install CMUD, it should overwrite the default.pkg file that is in your Program Files directory. But if you have your own default.pkg file in your Data Files (Documents/My Games/CMUD) directory, then that doesn't get changed by the installer, so it could have been left over.

I checked the default.pkg in the installer and there isn't anything in there that would cause this.

So, if you had this problem and deleting the default.pkg file fixed it, please reinstall v2.09 and see if the problem comes back with the default.pkg that gets installed.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Nov 01, 2007 2:53 pm   
 
I have reinstalled 2.09, and verified that the defaults.pkg has been created. %numparam appears to be working fine. It's very curious, because the defaults.pkg that I had deleted was in the program files directory, and I don't think I have done anything with the file in the past. But it is working, and does not appear to be a problem with the 2.09 defaults.pkg. I'm going to assume problem solved.
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