Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Tue Jan 29, 2008 12:05 pm   

CMud, MySql Connector, COM, And Vista
 
Anyone had any success connection to mysql in cmud yet? I know i used to be able to connect in zmud in winxp, but i havent had any success with cmud and vista yet. Any com changes or bugs i should know about?
_________________
The Drake Forestseer
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Jan 29, 2008 12:58 pm   
 
There aren't any outstanding COM bugs that I remember; make sure the SQL COM server you're trying to access is installed and working in Vista.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Tue Jan 29, 2008 4:23 pm   
 
You can also try connecting to MySQL in lua using the LuaSQL library.
I've found it pretty easy to use for MySQL and for Sqlite3
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Jan 29, 2008 10:10 pm   
 
COM can be a little picky in CMud. It is a small change, but one to be aware of. Basically be as versose as possible and COM will work perfectly.

For example zMud was happy with you doing something like this, "var=%zmud;var2=@var.Session(1).AliasNum(3)", but CMud won't be happy with that. Also it won't complain about it just won't work. I also tend to avoid using local variables for COM, as they didn't work at one point. I just find using a verbose #VAR syntax to be solid, and that is what I am going for in my published scripts.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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