Author |
Message |
Topic: old friend: the mysql server has gone away error |
zogalogran
Replies: 2
Views: 5208
|
Forum: CMUD General Discussion Posted: Fri Jan 17, 2014 3:14 pm Subject: old friend: the mysql server has gone away error |
Thanks Matt. Think I can use the tick timer to ping the db every 5 minutes or so? |
Topic: old friend: the mysql server has gone away error |
zogalogran
Replies: 2
Views: 5208
|
Forum: CMUD General Discussion Posted: Thu Jan 16, 2014 2:59 pm Subject: old friend: the mysql server has gone away error |
I have struggled with this one for a long time, and have not found a satisfactory answer.
I have a some of fairly simple scripts accessing a mysql db. The open a connection, perform select/insert/ ... |
Topic: ignore - deleted post |
zogalogran
Replies: 2
Views: 4843
|
Forum: CMUD General Discussion Posted: Sun Mar 25, 2012 4:01 pm Subject: ignore - deleted post |
yeah, I was crazy. was using the wrong alias to test! thanks for the reply, and sorry for wasting time! |
Topic: ignore - deleted post |
zogalogran
Replies: 2
Views: 4843
|
Forum: CMUD General Discussion Posted: Sun Mar 25, 2012 3:49 pm Subject: ignore - deleted post |
sorry, couldn't figure out how to delete it |
Topic: #math problems |
zogalogran
Replies: 3
Views: 5800
|
Forum: CMUD General Discussion Posted: Sun Mar 11, 2012 12:11 am Subject: #math problems |
Thanks. I figured it was something arcane - and I was right! |
Topic: #math problems |
zogalogran
Replies: 3
Views: 5800
|
Forum: CMUD General Discussion Posted: Sat Mar 10, 2012 10:56 pm Subject: #math problems |
I've tried numerous permutations of %float and %format to get this right, but it's still not working - so I come begging once again for help!
#MATH weight %format(2,((%float(@weightlb) + %format(2, ... |
Topic: basic variable capture in #TR |
zogalogran
Replies: 6
Views: 12147
|
Forum: CMUD General Discussion Posted: Sun Mar 04, 2012 4:42 pm Subject: basic variable capture in #TR |
Thanks Rahab. I just saw this response and it solves a number of problems for me. |
Topic: trigger text capture and class membership |
zogalogran
Replies: 4
Views: 6517
|
Forum: CMUD General Discussion Posted: Sun Mar 04, 2012 4:38 pm Subject: trigger text capture and class membership |
An addendum to this post - I used your recommended syntax to create the variables in the desired class, and they are subsequently stored in that class. Now when I use #DELC to remove the class (which ... |
Topic: another noob question on #IF |
zogalogran
Replies: 2
Views: 7411
|
Forum: CMUD General Discussion Posted: Sun Mar 04, 2012 3:21 pm Subject: another noob question on #IF |
Thanks for the super-swift reply. This worked, and allowed me to debug the sql problems I was having very quickly. Thanks! |
Topic: another noob question on #IF |
zogalogran
Replies: 2
Views: 7411
|
Forum: CMUD General Discussion Posted: Sun Mar 04, 2012 3:09 pm Subject: another noob question on #IF |
I couldn't find a previous post on this, though I saw plenty of similar:
#IF row.RecordCount=0 {
#ECHO boo
#ECHO boo
$update=%concat("INSERT INTO `blah`.`blah` ... |
Topic: %sql and mysql |
zogalogran
Replies: 2
Views: 4978
|
Forum: CMUD General Discussion Posted: Sat Mar 03, 2012 10:21 pm Subject: %sql and mysql |
Well,
#SQLDB MySQLInstance items mysql localhost 3306 root password
works. I can then return data via a select statement from the database. It's just the %sqldb part that seems to fail - and ... |
Topic: %sql and mysql |
zogalogran
Replies: 2
Views: 4978
|
Forum: CMUD General Discussion Posted: Sat Mar 03, 2012 8:49 pm Subject: %sql and mysql |
OK, so I've read through numerous forum threads and read the docs - but this is still kill me:
db = %sqldb(MySQLInstance, items, mysql, localhost, 3306, root, password)
The above gives me a "da ... |
Topic: trigger text capture and class membership |
zogalogran
Replies: 4
Views: 6517
|
Forum: CMUD General Discussion Posted: Sat Mar 03, 2012 7:51 pm Subject: trigger text capture and class membership |
Gotcha - thank you. |
Topic: trigger text capture and class membership |
zogalogran
Replies: 4
Views: 6517
|
Forum: CMUD General Discussion Posted: Sat Mar 03, 2012 6:58 pm Subject: trigger text capture and class membership |
I am currently capturing text as follows:
#TR line1 {&{name} can be referred to as '&{tags}'} {} idtemp
No problems there, I would just like @name and @tags to be members of the idtemp c ... |
Topic: basic variable capture in #TR |
zogalogran
Replies: 6
Views: 12147
|
Forum: CMUD General Discussion Posted: Mon Feb 20, 2012 9:03 pm Subject: basic variable capture in #TR |
Wow, my newbness knows no bounds. Thank you. It works now, but I don't see any echo output. What other idiocy have I committed?
Can I add a bit more complexity here too?
So I have an alias (i ... |
Topic: basic variable capture in #TR |
zogalogran
Replies: 6
Views: 12147
|
Forum: CMUD General Discussion Posted: Mon Feb 20, 2012 8:35 pm Subject: basic variable capture in #TR |
I've been reading the docs, and scouring examples - but I still get an illegal token error on this:
#TR nameline {^&{name} can be referred to as &{tags}}{#EC @name @tags} idscripts
I'm j ... |
Topic: quick inventory parsing |
zogalogran
Replies: 7
Views: 9233
|
Forum: zMUD General Discussion Posted: Fri Jun 23, 2006 6:59 pm Subject: quick inventory parsing |
Very sweet - thanks to Kent and edb6377. I'm sure I can find a solution somewhere between these two answers and the help files. |
Topic: quick inventory parsing |
zogalogran
Replies: 7
Views: 9233
|
Forum: zMUD General Discussion Posted: Fri Jun 23, 2006 4:01 pm Subject: quick inventory parsing |
Oh, and to further addend -
I'm less concerned about parsing the names/functions into a dataset than I am with spitting them back out. The items I'm interested in doing this with I'd have no prob ... |
Topic: quick inventory parsing |
zogalogran
Replies: 7
Views: 9233
|
Forum: zMUD General Discussion Posted: Fri Jun 23, 2006 3:59 pm Subject: quick inventory parsing |
Vitae is correct.
My objective is to have a data set consisting of key value pairs.
Key = item name
Value = item function
Triggers would presumably be used to parse MUD output for the item k ... |
Topic: quick inventory parsing |
zogalogran
Replies: 7
Views: 9233
|
Forum: zMUD General Discussion Posted: Fri Jun 23, 2006 12:11 pm Subject: quick inventory parsing |
So I apologize if this question has been hashed and rehashed on these forums, but I couldn't find anything relevant under the search. Feel free to point me to a post that already answers this questio ... |
|