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
Atreides_096
Wanderer


Joined: 21 Jan 2005
Posts: 99
Location: Solvang, CA

PostPosted: Sat Dec 03, 2005 10:57 am   

Alias and Database Question - Multipart
 
Hi, this is a multi-part question. I searched for prior database strings, and learned of the 31 item entry limit, so it may be moot, but I think I can work around that.. anyway, here's my questions:

1) I currently have a little over 6500 aliases. My settings file is monstrous, and I get severaly lagged when I try to open the editor or zmud. etc etc etc, I am just wondering if having that many aliases (and adding more every day) could be causing me to have problems with zMUD. I can occasional crashes (access violation errors) in addition to the lag.. and when I open a mud window, or the editor, if I touch any key for the 15 seconds or so it takes to load, zMUD crashes...

So question #1: Would I benefit by reducing the number of aliases I have? Or would it not really matter if the same total amount of text was stored in settings (in databases)?

2) I tested out a system for calling aliases from databases to see if there would be a gain in reducing the # of aliases I had. The system I came up with was thus:
[/code]#ONINPUT {#va variable { %db( @Database, {%1})}
#al alias {<@variable>}
alias}
Code:
This worked decently, although I did have to format my aliases some to remove certain out symbols (such as the @ symbol). But there was a slight hesitation as it  wrote the alias.. not major, but noticeable. Throw on top of that the maximum entry limitation (31?) and it was a less than enticing system. On top of that, with that many aliases, I often forget the names of them, and I use an alias to search through them all (though it's a slow search, it's often needed)... I am unsure if there's a method to search through databases similarly?

So question #2(+) is: Did I come up with the most efficient way to extract items from the database into an alias that will send multi-line commands? Is there a faster/better method? A method that would allow me to send @ symbols? And is there any way to search through databases (all databases, for specific text)?

Thanks a lot for your help on this.. also if the answer to #1 is no, then #2 is relatively moot (and I suspect that even if the answer to #1 is yes, the database system is not the best way to go -- perhaps a way to read text files through aliases? Though that doesn't reduce the number of aliases.. hrmmm.. I dunno :P ) but I'd still be curious to see the answer to #2 :P
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