Register to post in forums, or Log in to your existing account
 
:
Search found 50 matches for:
Page 1 of 2 Goto page 1, 2  Next
Author Message
  Topic: Variable Issue
cosine_omerta

Replies: 8
Views: 10245

PostForum: CMUD Beta Forum   Posted: Tue Sep 21, 2010 11:37 am   Subject: Variable Issue
Thanks for all the help! It's awesome that you guys take the time to help crazy people like me.
The %concat usage works perfectly!
Just for reference, the monster@{trynumber}.GOBLIN didn't work eith ...
  Topic: Variable Issue
cosine_omerta

Replies: 8
Views: 10245

PostForum: CMUD Beta Forum   Posted: Mon Sep 20, 2010 3:44 am   Subject: Variable Issue
Not sure what you mean. I'm referencing the monster database variable, as monster2.GOBLIN, or the next variable monster3.GOBLIN, or whatever count trynumber is at. I'm sorry if I'm not saying it prope ...
  Topic: Variable Issue
cosine_omerta

Replies: 8
Views: 10245

PostForum: CMUD Beta Forum   Posted: Mon Sep 20, 2010 2:15 am   Subject: Variable Issue
It still doesn't save it to the monster db variable. This is what I tried:

{#add monster@{trynumber.GOBLIN} 1}
  Topic: Variable Issue
cosine_omerta

Replies: 8
Views: 10245

PostForum: CMUD Beta Forum   Posted: Sun Sep 19, 2010 10:46 pm   Subject: Variable Issue
I had some aliases and variables set up so that I could easy tally up some numbers. This worked fine up until about 5 beta versions ago, and suddenly it doesn't work. I kept hoping the next beta would ...
  Topic: SQL Error: library routine called out of sequence
cosine_omerta

Replies: 4
Views: 8620

PostForum: CMUD Beta Forum   Posted: Wed Jun 09, 2010 12:19 am   Subject: SQL Error: library routine called out of sequence
Sorry about the wrong forum. I exported and imported and it works fine now. The layout was all wrong, so I stole the .xly file from the working package, and it make the sql error happen again. So I gu ...
  Topic: SQL Error: library routine called out of sequence
cosine_omerta

Replies: 4
Views: 8620

PostForum: CMUD Beta Forum   Posted: Sun Jun 06, 2010 7:18 pm   Subject: SQL Error: library routine called out of sequence
Let me be a little more specific. I can upgrade from 314 to 318 and cmud works just fine, with all but one set of mud files, which gives me the above error. These files work just fine on 314, and if I ...
  Topic: SQL Error: library routine called out of sequence
cosine_omerta

Replies: 4
Views: 8620

PostForum: CMUD Beta Forum   Posted: Sun Jun 06, 2010 6:52 pm   Subject: SQL Error: library routine called out of sequence
I get this message when I try to upgrade from 314. When I am using 314, i get error messages but it still runs. When I use a different set of mud files it'll work fine. If I take the mud files to ano ...
  Topic: [3.16b] Intgeresting new problem concerning keypad
cosine_omerta

Replies: 32
Views: 37683

PostForum: CMUD Beta Forum   Posted: Thu Apr 01, 2010 10:59 pm   Subject: [3.16b] Intgeresting new problem concerning keypad
I'm having the same issue. I can't get it to resolve with a re-install.
  Topic: [3.12] Hyperlinks causing cMud to freeze
cosine_omerta

Replies: 24
Views: 27698

PostForum: CMUD Beta Forum   Posted: Sun Dec 06, 2009 5:38 am   Subject: [3.12] Hyperlinks causing cMud to freeze
I've searched for a similar problem but I don't see it. So if I've missed it sorry for the duplicate post.
Anytime I read a link thats on a mud message board, or if I say, or if someone else says a l ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sun May 31, 2009 9:55 am   Subject: Numeric sorting and output with gag
Ok I got it working. I want to thank Fang for all of his time and effort helping me solve what I thought would be an easy alteration on the original code post :p Here is the finished code in case some ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sun May 31, 2009 4:05 am   Subject: Numeric sorting and output with gag
Still get the same error: attempt to index field 'names' (a nil value) line 15. Line 15 is the string.gsub line.
local newstring = ""
for i,v in ipairs(keys) do
if tbl[v] ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sat May 30, 2009 11:24 pm   Subject: Numeric sorting and output with gag
I did but put it back because I thought I did something wrong. I made a new variable newstring, initiated it, and tried it both setting the newstring to the old one and leaving. This is what I have ri ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sat May 30, 2009 9:39 pm   Subject: Numeric sorting and output with gag
I get the same error.
string.gsub(string, "RED", zs.var.names.RED)
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sat May 30, 2009 8:58 pm   Subject: Numeric sorting and output with gag
When I try to use any of those I get errors: Error parsing command: attempt to index global 'names' (a nil value) (line 15), and then Stack trace: string.gsub(string, RED, names.RED)
Names i ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sat May 30, 2009 8:32 am   Subject: Numeric sorting and output with gag
Beautiful! Works great. Now the only thing left is getting it to substitute. I have been playing with zs.sub, but can't seem to figure out how to get it to substitute with values from a CMud database ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Fri May 29, 2009 11:37 pm   Subject: Numeric sorting and output with gag
This gives me an error : Error parsing command: attempt to call field '?' (a number value) (line 11), then Stack trace:if zs.numparam < 1 then return "" end
local tbl = zs.param(1 ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Thu May 28, 2009 3:20 pm   Subject: Numeric sorting and output with gag
How bout just sending it to the mud in one line? Like in a say?
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Fri May 22, 2009 11:39 pm   Subject: Numeric sorting and output with gag
Thank you very much! Now my last question is how do I get it to output it to the mud on a single line?
This was the old alias code, and I was able to use %replace on the string which was awesome:
$r ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Fri May 22, 2009 2:12 am   Subject: Numeric sorting and output with gag
I'm sorry but I don't seem to get it. I've tried every variation I can come up with but I just don't see it. I have a database variable called COLORS, that consists of colors and numbers, ie RED = 1, ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Tue May 19, 2009 11:03 am   Subject: Numeric sorting and output with gag
Ok I threw all of that into an alias? Two questions though. How do I make it sort my database, and can I have it not show the entries with zero values? Thank you for your time. I'm so close :p
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sat May 16, 2009 8:38 am   Subject: Numeric sorting and output with gag
Ok. So I believe the issue is the '#ADDKEY' command in my alias. The help file says it replaces the object. Is there a way to make it not replace but instead create a second entry?

LOCAL $temp
#L ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Tue May 12, 2009 10:31 pm   Subject: Numeric sorting and output with gag
Any ideas? I can't seem to figure out how to make it list them if they have the same value.
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sun May 10, 2009 9:42 pm   Subject: Numeric sorting and output with gag
Thanks. I've run into a problem though. It seems if two entries in the database have the same numeric value, it will only show one of them? Is there a way to have it show two with the same value?
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sun May 10, 2009 8:56 am   Subject: Numeric sorting and output with gag
Thank you for your time and effort! You have answered my questions b and c perfectly, but unfortunately changing the < to an > in the function didn't change the sort order.

And while I'm bot ...
  Topic: Numeric sorting and output with gag
cosine_omerta

Replies: 31
Views: 34731

PostForum: CMUD General Discussion   Posted: Sat May 09, 2009 6:27 am   Subject: Numeric sorting and output with gag
Hello. I'm am trying to make something that will sort a variable in numerical order. I have used the code from here :f zs.numparam < 1 then return "" end
local tbl = zs.param(1) ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net