Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Lite-C MySQL Plugin *beta* #173963
12/20/07 11:22
12/20/07 11:22
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline OP
Serious User
D3D  Offline OP
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
The 'LCmySQL' MySQL plugin for use with A7 Lite-C 1.5 or higher has been released.


smile
Re: Lite-C MySQL Plugin *beta* [Re: D3D] #173964
12/20/07 15:18
12/20/07 15:18
Joined: Mar 2005
Posts: 969
ch
Loopix Offline
User
Loopix  Offline
User

Joined: Mar 2005
Posts: 969
ch
Thanks for working so hard on that one and keeping it up to date

Re: Lite-C MySQL Plugin *beta* [Re: Loopix] #173965
12/29/07 22:48
12/29/07 22:48
Joined: Aug 2002
Posts: 402
USA
lionclaws Offline
Senior Member
lionclaws  Offline
Senior Member

Joined: Aug 2002
Posts: 402
USA
WOW!...thanks man.great effort...this is very handy indeed.


Good lighting doesn't just happen,it's designed.
Re: Lite-C MySQL Plugin *beta* [Re: lionclaws] #173966
01/02/08 15:57
01/02/08 15:57
Joined: Dec 2007
Posts: 10
Z
Zxya Offline
Newbie
Zxya  Offline
Newbie
Z

Joined: Dec 2007
Posts: 10
i just couldnt get it work.

im using mysql 5.0.45 and a7.06 comm.
Created the a datbase and ran the sql command inluded.

as i can see from the acklog.txt it crashes when it calls a dll function.

it crased at mySQL_Connectdb function, I commented the line to see if mySQL_IsConnected function working, and it crased again.

Re: Lite-C MySQL Plugin *beta* [Re: Zxya] #173967
01/02/08 16:05
01/02/08 16:05
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline OP
Serious User
D3D  Offline OP
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
One week before the new year i've switched to a host in Canada. So I need to upload everything again. This will take some time. I will try the dll today on another system, but i'm sure it's working fine like last time. Can you show me your script? Also make sure you are using LCmySQL.dll for Lite-C.


smile
Re: Lite-C MySQL Plugin *beta* [Re: D3D] #173968
01/02/08 16:21
01/02/08 16:21
Joined: Dec 2007
Posts: 10
Z
Zxya Offline
Newbie
Zxya  Offline
Newbie
Z

Joined: Dec 2007
Posts: 10
i am using te demo.c included in this file : http://a7-files.nixip.com/gsmysql/BETA/LCmySQL.zip

just edited the mySQL_Connectdb line to macth my server info.

Re: Lite-C MySQL Plugin *beta* [Re: Zxya] #173969
01/02/08 16:28
01/02/08 16:28
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline OP
Serious User
D3D  Offline OP
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Just tried LCmySQL and it is working fine. Do you want me to make a video tutorial how to setup a database on MySQL, insert a player and then have it displayed inside GameStudio engine window?

Some things that come to mind are:

#1 Your MySQL Database server doesn't allow remote connections
#2 You have entered wrong credentials for the connection*
#3 While running from SED/VC you have blocked the application by firewall

* On my remote host (a7-files.nixip.com) a username becomes nixipcom_username

Use this Code:
mySQL_Connectdb("nixipcom_gsa7db","67.159.44.57","nixipcom_pip","SGz9QeRi5");

inside demo.c for testing remote connections with the LCmySQL.dll and when the application is loaded hit "SPACEBAR" to activate login. Enter for both username and password: demo

This will be available until someone cripple the database. I could use Cron to create anew, but its on my previous host so I not really use their services anymore and this allows you to test the LCmySQL.dll engine extension.


smile
Re: Lite-C MySQL Plugin *beta* [Re: D3D] #173970
01/02/08 18:15
01/02/08 18:15
Joined: Dec 2007
Posts: 10
Z
Zxya Offline
Newbie
Zxya  Offline
Newbie
Z

Joined: Dec 2007
Posts: 10
well,
now im sure its not about server.

used mySQL_Connectdb("nixipcom_gsa7db","67.159.44.57","nixipcom_pip","SGz9QeRi5");

as line281 at demo.c it,crashed again. It cant load dll's properly or something?

there is no firewall or antivirus software working in background.

Last edited by Zxya; 01/02/08 18:16.
Re: Lite-C MySQL Plugin *beta* [Re: Zxya] #173971
01/02/08 18:46
01/02/08 18:46
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline OP
Serious User
D3D  Offline OP
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
True I now tested on a clean XP Home SP2b system and come to notice that you will be needing to install vcredistx86 for 32bit Windows. If you don't like to install the vcredist, which is actually used by more applications than just this MySQL engine extension. I can compile a dll for you that doesn't require the vcredist at all when I get back to work next week.

If you are creating a real application/game with GameStudio and use this dll you can always distribute the vcredist with your software. If required you can also silently install it, while installing your game on the end-user system.


smile
Re: Lite-C MySQL Plugin *beta* [Re: D3D] #173972
01/02/08 20:18
01/02/08 20:18
Joined: Dec 2007
Posts: 10
Z
Zxya Offline
Newbie
Zxya  Offline
Newbie
Z

Joined: Dec 2007
Posts: 10
It will be more useful when vcredist is not need but as u said some other applications installs it too and most people wont reject installing a microsft redist. pack. so its not a problem

thank you D3D ill give it another try now.

Page 1 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1