Game Development Community

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
Page «Previous 1 2 3 4 Last »
#1
11/25/2001 (11:35 am)
Were can I get a hold of the code? Did I miss it from an earlier post?
#2
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
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
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
#6
12/10/2001 (8:29 am)
whoo hoo!

Thanks very much.
#7
12/10/2001 (11:04 am)
Me too. Thanks very much.
#8
02/12/2002 (12:52 pm)
Fixed broken Torque Game Engine downloads

For 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
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.
#13
03/25/2002 (12:12 pm)
Hi :)

Does this work with the latest head version?
#14
03/25/2002 (12:52 pm)
And to repeat what Pat Wilson asked, is this code limited to Windows?
#15
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
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
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 =)
Page «Previous 1 2 3 4 Last »