MySQL support for Torque Engine
by AIDan · in Torque Game Engine · 11/25/2001 (11:18 am) · 62 replies
Hi,
this is the first version of the MySQL support for the Torque Engine. It's a simple news script base on MySQL 1.7.1 database server.
We want to implement it directly in the SDK... may we?
Here are the screenshots and the script:
www.futureint.de/
cu
Felix
this is the first version of the MySQL support for the Torque Engine. It's a simple news script base on MySQL 1.7.1 database server.
We want to implement it directly in the SDK... may we?
Here are the screenshots and the script:
www.futureint.de/
cu
Felix
About the author
#2
because of it's very early state I didn't post the source code because it hasn't been very tested, yet.
If you want, I'll mail you the code to take a look at it.
bye
Felix
11/25/2001 (12:11 pm)
Hi,because of it's very early state I didn't post the source code because it hasn't been very tested, yet.
If you want, I'll mail you the code to take a look at it.
bye
Felix
#3
11/29/2001 (4:25 pm)
Looks very cool. Can't wait to get my hands on it.
#4
I hope to use it once you release it.
12/10/2001 (4:09 am)
Very cool. My website uses MySQL, so this could be a very nice MOTD function, or internal news system for the game.I hope to use it once you release it.
#5
okay, it's online.
It's a very basic version, but should be enough for nearly every mysql basic stuff.
Download @ fi
cu
Felix
12/10/2001 (7:49 am)
Hi,okay, it's online.
It's a very basic version, but should be enough for nearly every mysql basic stuff.
Download @ fi
cu
Felix
#7
12/10/2001 (11:04 am)
Me too. Thanks very much.
#8
For all those who tried to download files from our homepage, we have fixed all broken downloads.
greetings
Daniel
www.futureint.de
02/12/2002 (12:52 pm)
Fixed broken Torque Game Engine downloadsFor all those who tried to download files from our homepage, we have fixed all broken downloads.
greetings
Daniel
www.futureint.de
#9
02/12/2002 (1:49 pm)
This is using winsock, doesn't that restrict it to Windows only?
#10
02/12/2002 (5:59 pm)
fi, what's required to do the install of your module ? Do we need to d/l & install mySQL ? or just your lib, sources & scripts ?
#11
What you need to do, is d/l the c++ files they created at fi, and integrate them into whatever development environment you are using.
You also need to d/l the library header files for the mysql library (as well as d/ling the library) and these can be found at fi's site. Make sure to register the directory with your mysql header files in your INCLUDE environment variable for vc++.
You must also edit the makefile, or project file, in order to provided the location to the mysql library that you d/l...
Lastly ;)...
You must make sure that the "libmysql.dll" file that comes with the library and header files is in the same directory as the torque executable.
i hope thats everything...
cheers
02/12/2002 (9:13 pm)
I can answer the last post.What you need to do, is d/l the c++ files they created at fi, and integrate them into whatever development environment you are using.
You also need to d/l the library header files for the mysql library (as well as d/ling the library) and these can be found at fi's site. Make sure to register the directory with your mysql header files in your INCLUDE environment variable for vc++.
You must also edit the makefile, or project file, in order to provided the location to the mysql library that you d/l...
Lastly ;)...
You must make sure that the "libmysql.dll" file that comes with the library and header files is in the same directory as the torque executable.
i hope thats everything...
cheers
#12
03/04/2002 (6:47 am)
A bug in the mySQL system that causes errors on startup was fixed.
#14
03/25/2002 (12:52 pm)
And to repeat what Pat Wilson asked, is this code limited to Windows?
#15
it works independent of the Torque Engine-version you're using.
It should work on MAC and Linux (of course), too.
bye
Felix
03/26/2002 (3:23 am)
Hi,it works independent of the Torque Engine-version you're using.
It should work on MAC and Linux (of course), too.
bye
Felix
#16
03/26/2002 (7:28 am)
Excellent, excellent, excellent :)
#17
Thanks for the opportunity to add MySQL support to torque projects btw =)..
Unfortunately im not a wizard with the C/C++ or the environments used to develop in (MSVC++6). Ive followed all of the instructions but i have no idea what the following three instructions mean:
add ../lib/mysql to your include path
add ../lib/mysql/lib to your lib search path
add libmysql.lib to additional libraries
Sorry to be a complete pain in the arse but after many attempts at getting the damn thing to go in ive given up and resorted to a plea for help =)..
Thanks
-Stuart
08/11/2002 (10:07 am)
Heya,Thanks for the opportunity to add MySQL support to torque projects btw =)..
Unfortunately im not a wizard with the C/C++ or the environments used to develop in (MSVC++6). Ive followed all of the instructions but i have no idea what the following three instructions mean:
add ../lib/mysql to your include path
add ../lib/mysql/lib to your lib search path
add libmysql.lib to additional libraries
Sorry to be a complete pain in the arse but after many attempts at getting the damn thing to go in ive given up and resorted to a plea for help =)..
Thanks
-Stuart
#18
08/11/2002 (11:00 am)
I don't get the point of adding mysql support directly into torque. Its not as if _everyone_ wants a database =)
#19
08/11/2002 (1:05 pm)
No, but they can act as a client to a central server ;)
#20
Oh well, as long as you can turn the mysql off =)
08/11/2002 (1:09 pm)
Yes, but what if its an offline singleplayer game?Oh well, as long as you can turn the mysql off =)
Torque Owner Tim Gift