3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: MySQL dll
[Re: ISG]
#41747
08/11/06 16:17
08/11/06 16:17
|
Joined: Aug 2006
Posts: 2
Albysan
Banned
|
Banned
Joined: Aug 2006
Posts: 2
|
Thank you for the code correction i'm a bit sluggish when i write code at midnight trying to get it to work, but even so i tried again i all i get is this once the engine starts: This seems to work fine but the dlls dont load here. (Are they supposed to?) note: i added the debug.dll and 1 object because i couldn't make the screen after that (A6 engine pops up) but in the fraction of a second thats what is written Then the engine starts with a black backround and popups say this: *Malfunction W1522(libmysql.dll-no valid acknex dll) *Malfunction W1522(A6mysql.dll-no valid acknex dll) *Malfunction w1523(mySQL_Connectdb() not found in dll) Note: the last one loops One problem is solved: dll non existant Another one to go: acknex error ----------------- Thank you for your help!
Last edited by Albysan; 08/11/06 16:26.
|
|
|
Re: MySQL dll
[Re: ISG]
#41748
08/11/06 16:17
08/11/06 16:17
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,439
Red Dwarf
|
Quote:
@Michael
I think what Excessus is trying to say is allow any player to sign onto any account - however - each account save files are on YOUR computer so if you log onto someone else's account they can't do anything because they don't have YOUR save information. Make the login part just for that, really nothing, but if you sign on to that account on your computer then it loads YOUR save file(s).
Maybe I'm the one that has it wrong now hehe, but that's what I thought when I first read it.
well, you could then just edit your whole character on your PC and make it ubar then...
Last edited by Michael_Schwarz; 08/11/06 16:18.
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
Re: oh sorry didn't know
[Re: Sorry]
#41755
10/04/06 22:00
10/04/06 22:00
|
Joined: Apr 2002
Posts: 4,801 Richmond B.C., Canada
Captain_Kiyaku
Dichotomic
|
Dichotomic
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
|
Hmpf i own the pro, i have the latest update, i closed my firewall and i used the same Login Informations from my websites, and i still can't login to my database on my webserver :< here is the code: Code:
//declaration of all mysql DLL functions dllfunction mySQL_Connectdb(w,x,y,z); dllfunction mySQL_Closedb(); dllfunction mySQL_ExecQuery(string); dllfunction mySQL_GetVal(x,y); dllfunction mySQL_GetStr(string,x,y); dllfunction mySQL_RowNumber(); dllfunction mySQL_IsConnected();
string output_text = [255]; //max 255 chars
//just a textfield for testing text combatskills_txt { pos_x = 20; pos_y = 20; string = output_text; flags = visible; }
function main() { if(!mySQL_IsConnected()&&!mySQL_Connectdb("database","host","user","passwort")) { beep; exit; } str_cpy(output_text, "Connected!"); while(1) { wait(1); } }
of course i replaced host, user, database, etc. but when i run it, i always get '0' returned ;< The mysql and lib dll are in the acknex folder AND in the game folder. whats wrong there? :/
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]
#41756
10/05/06 05:09
10/05/06 05:09
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,439
Red Dwarf
|
try:
function main() { mySQL_Connectdb("database","host","user","passwort"); if(!mySQL_IsConnected()) { beep; exit; } str_cpy(output_text, "Connected!"); while(1) { wait(1); } }
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
|