Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 744 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 14 of 24 1 2 12 13 14 15 16 23 24
Re: MySQL dll [Re: ISG] #41747
08/11/06 16:17
08/11/06 16:17
Joined: Aug 2006
Posts: 2
Albysan Offline
Banned
Albysan  Offline
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 Offline
Senior Expert
Michael_Schwarz  Offline
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: MySQL dll [Re: Albysan] #41749
08/11/06 16:19
08/11/06 16:19
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:


http://img45.imageshack.us/img45/192/setupzb7.jpg




Maybe you should consider BUYING 3DGS LEGALLY

...


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: MySQL dll [Re: Albysan] #41750
08/11/06 16:20
08/11/06 16:20
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Why should a game client allow access to other data than just the player?

Apart from that:
Ask someone you trust and owns pro to build a resource for you which includes the password.

I owuldn't let the clients connect to the database directly anyway. If it does not produce too much load I'd let the server handle such things.

And if this won't work out due to stress on the server, then create a login system and when the user logs in with HIS account (not the mysql account), send back the sql server login data in an encoded way. This way only the decoding routines will be visible for anyone who is looking at the scripts.

While this is not 100% safe either (packet sniffer and all those nice toolies), it's better than having the password and login written clearly anywhere in the client code.

Re: MySQL dll [Re: FBL] #41751
08/11/06 16:23
08/11/06 16:23
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:


Ask someone you trust and owns pro to build a resource for you which includes the password.




wouldnt a DLL be easier, faster and cheaper?


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: MySQL dll [Re: Michael_Schwarz] #41752
08/11/06 16:28
08/11/06 16:28
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Of course it can be done with a dll, but it's quite some effort to set it up for just the login data. And it looks and feels... dirty... but that's up to the user to decide. I'm only giving some ideas.

btw: cheaper is not possible. Letting some script resource is afaik legal and costs you nothing. It can't get any cheaper than that.

Re: MySQL dll [Re: Michael_Schwarz] #41753
08/11/06 16:28
08/11/06 16:28
Joined: Aug 2004
Posts: 2,215
I
ISG Offline

Expert
ISG  Offline

Expert
I

Joined: Aug 2004
Posts: 2,215
@Albysan

Please contact Conitec with proof of your version of 3DGS, you currently have a Warez version and thus the reason you've been banned.

Thanks,

-ISG


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE
oh sorry didn't know [Re: ISG] #41754
08/11/06 16:49
08/11/06 16:49
Joined: Aug 2006
Posts: 1
S
Sorry Offline
Guest
Sorry  Offline
Guest
S

Joined: Aug 2006
Posts: 1
When i used the program i didn't know it was not valid (i am at a friends house)
not that i am going to explain my life but hey at least i'm thinking about buying it for myself i'll contact you when i do then thanx,

note : i know this is not the place to write this just delete it after its read.

i apologize for any inconvinence.

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 Offline

Dichotomic
Captain_Kiyaku  Offline

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 Offline
Senior Expert
Michael_Schwarz  Offline
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
Page 14 of 24 1 2 12 13 14 15 16 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