Register to post in forums, or Log in to your existing account
 
:
Search found 85 matches for:
Page 1 of 4 Goto page 1, 2, 3, 4  Next
Author Message
  Topic: Inserting SET values in MySql
eupher

Replies: 5
Views: 7478

PostForum: CMUD General Discussion   Posted: Thu Jun 19, 2014 6:28 pm   Subject: Inserting SET values in MySql
Ok, I finally got it. For anyone else that might be trying to do this in the future... the syntax for the SET value must have:

No quotes of any kind
No space after the comma

Example: right_ha ...
  Topic: Inserting SET values in MySql
eupher

Replies: 5
Views: 7478

PostForum: CMUD General Discussion   Posted: Thu Jun 19, 2014 6:23 pm   Subject: Inserting SET values in MySql
('right_hand,left_hand') also does not work. What am I missing here? :)
  Topic: Inserting SET values in MySql
eupher

Replies: 5
Views: 7478

PostForum: CMUD General Discussion   Posted: Thu Jun 19, 2014 6:06 pm   Subject: Inserting SET values in MySql
Scratch that... I misread your post. That's now one of the 4 versions I've tried. :)

It still leaves no value for that column in the database, though. :(
  Topic: Inserting SET values in MySql
eupher

Replies: 5
Views: 7478

PostForum: CMUD General Discussion   Posted: Thu Jun 19, 2014 6:01 pm   Subject: Inserting SET values in MySql
Yeah, that's one of the 3 versions I've tried. It yields no value for that column in the database.

Thanks
  Topic: Inserting SET values in MySql
eupher

Replies: 5
Views: 7478

PostForum: CMUD General Discussion   Posted: Thu Jun 19, 2014 2:49 pm   Subject: Inserting SET values in MySql
CMUD Pro 3.34
MySQL 5.5.36

I have a script to capture item stats into a CMUD database record. Once all of the stats are received, I use the record set returned from %sql() to either $row.Insert() ...
  Topic: Mapper: Find vnum for room in given direction
eupher

Replies: 10
Views: 14197

PostForum: CMUD General Discussion   Posted: Tue Nov 19, 2013 1:03 pm   Subject: Mapper: Find vnum for room in given direction
Even stranger... that returns a number that matches neither the objId OR the vnum. Go figure. :)
  Topic: Mapper: Find vnum for room in given direction
eupher

Replies: 10
Views: 14197

PostForum: CMUD General Discussion   Posted: Mon Nov 18, 2013 12:56 am   Subject: Mapper: Find vnum for room in given direction
This works for me:
#show %roomnum(%roomlink(, e))

I'm not sure what the difference is. I copy and paste this exactly into my session and it returns the object ID of the room to th ...
  Topic: Mapper: Find vnum for room in given direction
eupher

Replies: 10
Views: 14197

PostForum: CMUD General Discussion   Posted: Sun Nov 17, 2013 9:23 pm   Subject: Mapper: Find vnum for room in given direction
With assistance from MattLofton's hints getting me in the right direction, I have come up with a solution that seems to solve my problem. I am quite sure that it's not the prettiest way of doing it, ...
  Topic: Mapper: Find vnum for room in given direction
eupher

Replies: 10
Views: 14197

PostForum: CMUD General Discussion   Posted: Sun Nov 17, 2013 6:55 pm   Subject: Mapper: Find vnum for room in given direction
Thanks so much for the help. I'm still trying to sort out how to use the first approach, but the second approach leads to another question I have already...

%roomlink() returns a room number, not ...
  Topic: Mapper: Find vnum for room in given direction
eupher

Replies: 10
Views: 14197

PostForum: CMUD General Discussion   Posted: Sun Nov 17, 2013 4:43 pm   Subject: Mapper: Find vnum for room in given direction
Is there a way to retrieve the vnum of the room in a given direction in the mapper?

For example, my current location has an east exit... how to I pull the vnum of the destination to the east?

Th ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Mon Dec 19, 2011 3:26 pm   Subject: Help with mapper room script logic
The weirdness continues...

I have my map set to slow walking mode.

If I use the #WALK command to get to a room with a short name, then cmud sends one command at a time... slow walking like you'd ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Mon Dec 19, 2011 2:20 pm   Subject: Help with mapper room script logic
Thanks again for the clarification. I made a new configuration, used auto-configure, and things seemed to be working great and (almost) like you said they would. Regular walking with the mapper in s ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Mon Dec 19, 2011 3:57 am   Subject: Help with mapper room script logic
Thanks again for the help. I'll start over again tomorrow and go back to using auto-configure and try using normal paths (not with #SLOW) and see if I have more luck. This issue illustrates my point ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Sun Dec 18, 2011 3:13 am   Subject: Help with mapper room script logic
That's not the behavior I was seeing. With auto-config and auto step confirmation...

#slow .5e

would move me 5 rooms east, one room at a time, but without any #STEP intervention on my part.

...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Sun Dec 18, 2011 2:21 am   Subject: Help with mapper room script logic
Ok... tired and frustrated. :) I spent most of the day playing with this, and it's been like banging my head against the wall. Is there any place that documents in detail how the mapper works? Wha ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Sat Dec 17, 2011 3:54 am   Subject: Help with mapper room script logic
Just played with this briefly... will experiment more tomorrow... but here's what I've found so far:

Checking the box to pause in the room works for speedwalking (as indicated), but not for slow wa ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Sat Dec 17, 2011 2:47 am   Subject: Help with mapper room script logic
I appreciate the help, but that seems like a work-around for what would seem to be basic functionality of slow walking... enter a room... pause... do whatever you want... then resume the slow walk. T ...
  Topic: Help with mapper room script logic
eupher

Replies: 13
Views: 16678

PostForum: CMUD General Discussion   Posted: Fri Dec 16, 2011 10:06 pm   Subject: Help with mapper room script logic
Here I go again. This one may be a little more involved...

I'm trying to accomplish something that seems (in theory) pretty simple.

There is an exit in a room that opens after a delay when you ...
  Topic: Help with mapper favorites
eupher

Replies: 2
Views: 4319

PostForum: CMUD General Discussion   Posted: Fri Dec 16, 2011 8:57 pm   Subject: Help with mapper favorites
Thanks for the help. I guess my eyes are gettin' old. I never even noticed that field for short name. :)
  Topic: Help with mapper favorites
eupher

Replies: 2
Views: 4319

PostForum: CMUD General Discussion   Posted: Fri Dec 16, 2011 4:49 pm   Subject: Help with mapper favorites
I see that I can right-click on a room on my map and select "add to favorites". This pops up a dialog asking me for the favorite name. What does this do? I can't find any place to list the defined ...
  Topic: Newbie... changing vnum on existing rooms in mapper... and custom door commands
eupher

Replies: 2
Views: 4587

PostForum: CMUD General Discussion   Posted: Thu Dec 15, 2011 11:41 pm   Subject: Newbie... changing vnum on existing rooms in mapper... and custom door commands
Thanks very much. That was exactly what I needed on both counts.
  Topic: Newbie... changing vnum on existing rooms in mapper... and custom door commands
eupher

Replies: 2
Views: 4587

PostForum: CMUD General Discussion   Posted: Thu Dec 15, 2011 7:24 pm   Subject: Newbie... changing vnum on existing rooms in mapper... and custom door commands
Sorry if this is addressed elsewhere. I've spent a couple hours looking for the answers to these questions without luck.

First, is there a way to change the vnum on an existing room in your map fr ...
  Topic: Editing multi-line text in an external database record
eupher

Replies: 7
Views: 9561

PostForum: CMUD General Discussion   Posted: Fri Sep 23, 2011 8:55 pm   Subject: Editing multi-line text in an external database record
It's data in a sqlite database, which doesn't support stringlists. I guess I can put tags in the text columns of my sqlite database, but that'll be kind of ugly. It seems like cmud should be able to ...
  Topic: Editing multi-line text in an external database record
eupher

Replies: 7
Views: 9561

PostForum: CMUD General Discussion   Posted: Wed Sep 21, 2011 2:46 pm   Subject: Editing multi-line text in an external database record
Based on the lack of responses, I'm moving forward assuming that I can't do what I wanted... I'm now entering note data for items in my database using a separate sqlite client. I have now run into an ...
  Topic: Editing multi-line text in an external database record
eupher

Replies: 7
Views: 9561

PostForum: CMUD General Discussion   Posted: Mon Sep 19, 2011 4:30 pm   Subject: Editing multi-line text in an external database record
I'm willing to deal with a bit of tedious scripting on my part, but I'd like to avoid a tedious interface for the end users. I'm hoping to find some way to do something like open an editor window wit ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net