0 registered members (),
677
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
Serious User
|
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: Captain_Kiyaku]
#41729
05/28/06 22:22
05/28/06 22:22
|
Joined: Sep 2005
Posts: 514 USA
Gho5tFac3K1llah
Developer
|
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
Expert
|
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
Senior Expert
|
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: pipiak]
#41733
06/02/06 22:44
06/02/06 22:44
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
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
|
|
|
|