Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by 7th_zorro. 04/16/24 13:19
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (7th_zorro, Aku_Aku, VoroneTZ, 11honza11, ricky_k, Nymphodora), 427 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 5 of 24 1 2 3 4 5 6 7 23 24
Re: MySQL dll [Re: Wiz] #41657
05/01/05 18:13
05/01/05 18:13
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Yep cool thank you very much, whilst waitign for a reply i spent an hour wopkring it all out and throwing some togather it runs but it doesnt work :P ill use yours as a guide lines lol thanks man.


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: Wiz] #41658
05/02/05 16:27
05/02/05 16:27
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
if(!mySQL_IsConnected()&&!mySQL_Connectdb("******","localhost","root","****"))

it doesnt do ntohign i mean it beeps and exits liek it shoujdl if theres no conectionb ut there is a ocnection ebcaue there son in teh main


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: KyiasShadow] #41659
05/02/05 16:42
05/02/05 16:42
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Stupid Kyias. dont wory blond monmey i didnt change teh sql.

ok no nvm i just trid it with eveyrthing correct it still exits and does not wotk.


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: KyiasShadow] #41660
05/04/05 09:48
05/04/05 09:48
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Ok.

Sorted everything out and now. its saying. Not a valid dll. hmm ive tried all the dll's that are suplied and all of the DL's on the MYSQL Server i have and still nothin. i alsp updated patch and still no luck? can anyone help?


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: KyiasShadow] #41661
05/05/05 07:49
05/05/05 07:49
Joined: Dec 2004
Posts: 306
Planet Earth
Wiz Offline
Senior Member
Wiz  Offline
Senior Member

Joined: Dec 2004
Posts: 306
Planet Earth
Do you have both:
libmysql.dll AND A6mysql.dll
in the acknex plug-in folder?

Re: MySQL dll [Re: Wiz] #41662
05/06/05 00:24
05/06/05 00:24
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
No. i dont.
Ther ein my work folder. i need them there? my work folder is not in the actual GStudio folder in Program folder


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: KyiasShadow] #41663
05/06/05 06:05
05/06/05 06:05
Joined: Dec 2004
Posts: 306
Planet Earth
Wiz Offline
Senior Member
Wiz  Offline
Senior Member

Joined: Dec 2004
Posts: 306
Planet Earth
If they are in your work folder you need to be sure that you have opened the dll-file from inside the script before you try to use it.

Re: MySQL dll [Re: Wiz] #41664
05/06/05 14:29
05/06/05 14:29
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Ok.

Im abotut o try both of these files are now in the plug folder. im only using Libmysql.dll

Its also in my publised folder.

Lets see the result. ill update in a bit later.

Do i need to open Libmysql and A6Mysql. because it still does not understand some of teh comands. but no more A6 error.


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: KyiasShadow] #41665
05/07/05 23:12
05/07/05 23:12
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Done and dusted thanks. it works all good now.



5* topic here.


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: MySQL dll [Re: KyiasShadow] #41666
05/07/05 23:52
05/07/05 23:52
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline
Member
KyiasShadow  Offline
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Well im back for more..


God damn.

All compiled to check what its like compiled run the EXE and it just doesnt like it. when it gets to checking to see weather or not the it is connected to the database it replies with a no. lol. and my game ends. but when i runt he game from C Script it works fine. wich i find strangley odd.


Any ideas? its not my fire wall i turned it off.

Oh another thing. i have LibMySQL.dll and A6MySQL.dll in the plugins folder and my compiled game folder. for some reason when i am running it through the C edditor it compiles the A6MySql.dll instead of the one that am telling it to use in my script wich is the LibMySql.dll


Heres the cutouts of my script wich im using.
Code:


string libmysqldll = <libmysql.dll>;
var_nsave mysql_handle;

..


Then in the main
Code:

mysql_handle = dll_open(libmysqldll);
mySQL_Connectdb("Database","localhost","root","yeah");


Finally teh actual script wich uses this.
Code:

if(!mySQL_IsConnected()&&!mySQL_Connectdb("Database","localhost","root","yeah"))
{
beep;
exit; //If no conection to that database then give error
}

txtName.visible = on;
inkey(username);
txtName.visible = off;
txtPassword.visible = on;
inkey(password);
txtPassword.visible = off;

str_cat(Login_Query, "select * from Accounts WHERE Account_Name='");
str_cat(Login_Query, username);
str_cat(Login_Query, "' AND Password='");
str_cat(Login_Query, password);
str_cat(Login_Query, "';");
mySQL_ExecQuery(Login_Query);

if(mySQL_ExecQuery(Login_Query)&&mySQL_RowNumber()==1)
{
Join_Lan();
}
else
{
beep;
exit;//Wrong exit

}




I cant see what it is doing wrong. when compiled it doesnt work. when runt hrough C Script edditor it all works Ace. even tho its trying to use the A6 Dll.

Thanks.


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Page 5 of 24 1 2 3 4 5 6 7 23 24

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | 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