Register to post in forums, or Log in to your existing account
 
:
Search found 86 matches for:
Page 1 of 4 Goto page 1, 2, 3, 4  Next
Author Message
  Topic: Fastest route around several locations
hatespyware

Replies: 8
Views: 11454

PostForum: zMUD General Discussion   Posted: Wed Dec 03, 2003 11:01 pm   Subject: Fastest route around several locations
I’m not sure if anyone else would find this interesting, but it is pertinent. Here is a very evil Perl regular expression which finds Hamiltonian Circuits. Certainly lends credence to the belief tha ...
  Topic: Fastest route around several locations
hatespyware

Replies: 8
Views: 11454

PostForum: zMUD General Discussion   Posted: Wed Dec 03, 2003 9:22 pm   Subject: Fastest route around several locations
quote:Originally posted by Tarn
He's showing us the most obvious way to solve his problemThere is no obvious way to solve his problem.

quote:For many graphs, the cheapest path to visit all nodes m ...
  Topic: Fastest route around several locations
hatespyware

Replies: 8
Views: 11454

PostForum: zMUD General Discussion   Posted: Wed Dec 03, 2003 5:40 pm   Subject: Fastest route around several locations
Since shortest path algorithms come up all the time in comp. sci., I'm sure that there are many people here who could help you. However, I can not tell from your post what exactly you are asking. Yo ...
  Topic: spell trigger
hatespyware

Replies: 4
Views: 6582

PostForum: zMUD General Discussion   Posted: Sun Nov 30, 2003 4:17 am   Subject: spell trigger
quote:Originally posted by zeroangel
I'm sure there's a simple answer to this, I just don't know it.
Wrong! If you play around with it long enough, you'll probably end up with a priority queue, tho ...
  Topic: Possible %String() bug?
hatespyware

Replies: 9
Views: 6778

PostForum: zMUD General Discussion   Posted: Thu Nov 27, 2003 10:10 pm   Subject: Possible %String() bug?
quote:Originally posted by Oracle
#VARIABLE VTemp %word( %concat( %string( %1), ","), 1, ",")

uh-huh
  Topic: RegExpr
hatespyware

Replies: 5
Views: 4932

PostForum: zMUD General Discussion   Posted: Thu Nov 27, 2003 10:06 am   Subject: RegExpr
quote:Originally posted by Talahaski
Does anybody have some good web site links about RegExpressions?

perlretutperlre or any book on Perl.
  Topic: Possible %String() bug?
hatespyware

Replies: 9
Views: 6778

PostForum: zMUD General Discussion   Posted: Thu Nov 27, 2003 9:58 am   Subject: Possible %String() bug?
Try encasing your string constant in quotes. Why you would need to use %string for constant strings is beyond me, though. For variables, no quoting is necessary.
  Topic: Root and power
hatespyware

Replies: 4
Views: 7725

PostForum: zMUD General Discussion   Posted: Wed Nov 26, 2003 1:40 pm   Subject: Root and power
p.s.s. Glad you got to see my reply before being deleted for sheer stupidity.
  Topic: Root and power
hatespyware

Replies: 4
Views: 7725

PostForum: zMUD General Discussion   Posted: Wed Nov 26, 2003 1:38 pm   Subject: Root and power
Interesting. Thanks for sharing. I hope you post whatever you're working on when you're done, since it looks pretty nifty.

p.s. I went and had a look at the URL that you registered to this forum ...
  Topic: Root and power
hatespyware

Replies: 4
Views: 7725

PostForum: zMUD General Discussion   Posted: Wed Nov 26, 2003 1:25 pm   Subject: Root and power
You can use sqrt to find square roots. For exponentiation, I guess you'd have to roll your own. Something like this:

would probably meet your needs.

I am most interested as to why you would ev ...
  Topic: Problems using ADO
hatespyware

Replies: 13
Views: 15901

PostForum: zMUD General Discussion   Posted: Wed Nov 26, 2003 7:00 am   Subject: Problems using ADO
Thank you for being more clear. I'm afraid, however, that I am unable to duplicate your problem.
  Topic: Problems using ADO
hatespyware

Replies: 13
Views: 15901

PostForum: zMUD General Discussion   Posted: Wed Nov 26, 2003 3:51 am   Subject: Problems using ADO
Please stop censoring your scripts. Why would you execute a different query in the vbs and consider it to be doing the same thing? Also, mask your password/username if you need to do so, but we need ...
  Topic: Problems using ADO
hatespyware

Replies: 13
Views: 15901

PostForum: zMUD General Discussion   Posted: Wed Nov 26, 2003 2:12 am   Subject: Problems using ADO
It works fine for me. Prints count(*).
  Topic: Problems using ADO
hatespyware

Replies: 13
Views: 15901

PostForum: zMUD General Discussion   Posted: Tue Nov 25, 2003 4:23 pm   Subject: Problems using ADO
I think the problem is probably related to your if/else chain. The following works for me.
[code]
#VAR ConnStr "DSN=eq"
#VAR rsquery %comcreate( "ADODB.Recordset")
#VAR csql "select id,name from ...
  Topic: A little question about say/tell/gt/whisper/etc.
hatespyware

Replies: 2
Views: 4349

PostForum: zMUD General Discussion   Posted: Thu Nov 06, 2003 8:29 pm   Subject: A little question about say/tell/gt/whisper/etc.
I'd probably make an alias that just repeatadly calls %replace. As a possible alternative, you could look into my translation routines

drawl "Hello there, could I interest you in some learning?"
...
  Topic: vbscript use help
hatespyware

Replies: 3
Views: 4885

PostForum: zMUD General Discussion   Posted: Thu Nov 06, 2003 12:47 pm   Subject: vbscript use help

#VAR X 2
#MSS {x=@X}
#SHOW %mss(x)
works, too
  Topic: vbscript use help
hatespyware

Replies: 3
Views: 4885

PostForum: zMUD General Discussion   Posted: Wed Nov 05, 2003 4:14 pm   Subject: vbscript use help
Try looking under the #mss and #script help headings for examples of creating subs and passing vars to and from them.
  Topic: counting items
hatespyware

Replies: 4
Views: 3989

PostForum: zMUD General Discussion   Posted: Wed Nov 05, 2003 12:21 am   Subject: counting items
I'd just count commas. I'm sure using some apriori info to come up with a solution that uses the language patterns would work.
  Topic: 1 trigger for multiple messages
hatespyware

Replies: 4
Views: 5765

PostForum: zMUD General Discussion   Posted: Wed Nov 05, 2003 12:10 am   Subject: 1 trigger for multiple messages
a) make a multi-line trigger that matches the first line and, optionally, additional related attack lines.
or
b) set some state variable upon seeing the first attack, then clearing it and firing aga ...
  Topic: Greeting Trigger and More!
hatespyware

Replies: 16
Views: 14401

PostForum: zMUD General Discussion   Posted: Mon Nov 03, 2003 9:30 pm   Subject: Greeting Trigger and More!
Try storing a list of people you have already greeted. When a person enters, check to see if their name is in the list. Greet them appropriately, then add their name to the list if it is not already ...
  Topic: convert between various foreign languages
hatespyware

Replies: 3
Views: 12933

PostForum: Finished MUD Scripts   Posted: Sun Nov 02, 2003 6:46 pm   Subject: convert between various foreign languages
It seems that xMethod's Babelfish SOAP service has been discontinued. I've altered my scripts to try to snag the translations directly via the webpage. This method is nowhere near as elegant as the ...
  Topic: Suggestion: color picker
hatespyware

Replies: 10
Views: 6894

PostForum: zMUD General Discussion   Posted: Sun Nov 02, 2003 6:38 pm   Subject: Suggestion: color picker
quote:Originally posted by MattLofton
I'd say whip up that plugin, round it out a bit and make doubly sure to cross all your T's and dot all your I's, and ask Zugg to host it on the website where eve ...
  Topic: Suggestion for new program
hatespyware

Replies: 2
Views: 4708

PostForum: zMUD General Discussion   Posted: Sat Nov 01, 2003 3:21 am   Subject: Suggestion for new program
If you studied the included docs, you should be able to very advanced triggers and aliases. You should be able to capture just about any data that strikes your fancy and make aliases to compliment yo ...
  Topic: nested ifs?
hatespyware

Replies: 6
Views: 7307

PostForum: zMUD General Discussion   Posted: Fri Oct 31, 2003 5:57 pm   Subject: nested ifs?
Cool... you're very correct. Just verified (6.62) that nested loops work just like you said. Thank you. Would probably be worth mentioning somewhere in the docs.
  Topic: nested ifs?
hatespyware

Replies: 6
Views: 7307

PostForum: zMUD General Discussion   Posted: Fri Oct 31, 2003 8:14 am   Subject: nested ifs?
Of course, I guess we could just use zMud's vbscript/jscript caps :)
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net