Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (EternallyCurious, Quad, vicknick), 700 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 12 of 24 1 2 10 11 12 13 14 23 24
Re: MySQL dll [Re: Michael_Schwarz] #41727
05/26/06 18:38
05/26/06 18:38
Joined: Aug 2005
Posts: 1,012
germany, dresden
ulf Offline
Serious User
ulf  Offline
Serious User

Joined: Aug 2005
Posts: 1,012
germany, dresden
Quote:

Give me just ONE reasonable reason why I should do that.

It's this take and give thing, and i didn't take anything, so why should I give?




i really hope this mickey-mouse-reaction is not starting to become common behaviour here... 3dgs community lives by people helping each other even if they dont get an answer during 24h...

Re: MySQL dll [Re: ulf] #41728
05/26/06 21:10
05/26/06 21:10
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
why you should do that? do you think people didnt help you cause they dont like you or whatever? How can people help you when they dont know the answer either?
Imagine someone else allready know the answer of a question you will ask oneday. If he post it allready in the Forum, you wouldnt need to ask anymore. So it's easier for other people to get knowledge.
Why should someone share his/her knowledge with you, when you are not able to share YOUR knowledge with other people either?


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: MySQL dll [Re: Captain_Kiyaku] #41729
05/28/06 22:22
05/28/06 22:22
Joined: Sep 2005
Posts: 514
USA
Gho5tFac3K1llah Offline
Developer
Gho5tFac3K1llah  Offline
Developer

Joined: Sep 2005
Posts: 514
USA
To clarify:

Field x is the field number to use to retrieve a value, starting at 0.
Line y is the row number to use to retrieve a value, starting at 0.

So in the case of:
1 Test1 123 887
2 test2 456 998

To get 998, x = 1 and y = 1. Test1 is row 0 and test2 is row 1. The numbers 123 and 456 are in field 0, which makes x equal 0. The numbers 887 and 998 are in field 1, which makes x equal 1. The numbers 123 and 887 are in row 0, which makes y equal 0. The numbers 456 and 998 are in row 1, which makes x equal 1. Hope this helps.

Last edited by Gho5tFac3K1llah; 05/28/06 22:25.
Re: MySQL dll [Re: Gho5tFac3K1llah] #41730
05/28/06 23:28
05/28/06 23:28
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
@Gho5tFac3K1llah:
That doesn't make any sense to me, sorry.
But what about the fields 1 and Test 1 (and the row under it 2 and test2) ?
Wouldn i by like:
Code:

y/x | 0 | 1 | 2 | 3
0 | 1 | Test1 | 123 | 887
1 | 2 | Test2 | 456 | 998


Well I didn't write that .dll and I think its great there is something like that.
Haven't touched it yet though.
But from a programming point of view this would be -for me- the most logical way.
Or is the first column an index column with a self-incrementing index and the second column the name for the fields which then follow in other columns while x increases?
Like:
Code:

Index | Name |
1 | Test1 | x=0/y=0 | x=1/y=0
2 | Test2 | x=0/y=1 | x=1/y=1



Re: MySQL dll [Re: Xarthor] #41731
05/29/06 00:34
05/29/06 00:34
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
Either way, its no difference if the first column is a self incrementing index.

Thunder is right.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: MySQL dll [Re: Leonardo] #41732
06/02/06 16:46
06/02/06 16:46
Joined: Aug 2005
Posts: 11
P
pipiak Offline
Idiot
pipiak  Offline
Idiot
P

Joined: Aug 2005
Posts: 11
PLS i cant handle these dlls . it tell me that is wrong acnex dll. can someone write some generaly use code.

Re: MySQL dll [Re: pipiak] #41733
06/02/06 22:44
06/02/06 22:44
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
actually you should NOT load the DLL manually, let it being loaded automatically instead, that happens automatically with standart settings if you have the DLL located in the gamestudio/ackenx_plugins folder, or you can set your plugin directory manually by adding:

plugindir = "pluginfoldername";

at the top of your script (NOT inside a function).

just copy the DLL into that folder and it should work.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: MySQL dll [Re: Michael_Schwarz] #41734
06/03/06 05:56
06/03/06 05:56
Joined: Aug 2005
Posts: 11
P
pipiak Offline
Idiot
pipiak  Offline
Idiot
P

Joined: Aug 2005
Posts: 11
i have in plugin folder both dlls -> a6myslq.dll and libmysql.dll ,but when i dont set it manualy (dll_open) ,engine tell me that mySQL_Connectdb not found in dll!!!

i thinkin about other way to store many variables (files and array ),but why i can store only 500items in array and why array is not multidimensional. (exist some way to connect access database ->mdb files???)

Re: MySQL dll [Re: pipiak] #41735
06/07/06 02:03
06/07/06 02:03
Joined: Sep 2005
Posts: 514
USA
Gho5tFac3K1llah Offline
Developer
Gho5tFac3K1llah  Offline
Developer

Joined: Sep 2005
Posts: 514
USA
Well if you haven't already, place a6mysql.dll and libmysql.dll in the acknex_plugins folder. Next, on the white dialogue that pops up before the game starts, if it does not say A6mysql.dll loaded, something is not right. Either the dll you are using requires files that your system does not have or something else. Btw what version of Windows do you use?

Re: MySQL dll [Re: Gho5tFac3K1llah] #41736
06/07/06 05:34
06/07/06 05:34
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
Quote:

if it does not say A6mysql.dll loaded, something is not right.




It doesn't say that on my System ( allthough I know its supposed to say that ) but it works fine for me.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Page 12 of 24 1 2 10 11 12 13 14 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