Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Net put float() not putting float. Using Multisync

Author
Message
Qqite
16
Years of Service
User Offline
Joined: 28th Feb 2010
Location: Florida, U.S.
Posted: 14th Jan 2011 03:14 Edited at: 14th Jan 2011 18:36
[EDIT] Non-compilable. This code is after user inputs user$ and pass$. [/edit]

On the server side I have:
Where on the client side I have


This is the point where the client sends the login name and password. The client gets the username, checks if the password is right and moves on. After this I have a bunch of put followed by the Net send. THIS WORKS, but only for the byte that is sent. The client takes the byte (which is needed to get out of the while) and moves on WITHOUT THE OTHER SENDS. When this is compiles I get, on the server side, 0 for zonenum and really small (7.22 e-62) values for the float.

Is this is read file error or a net send error?

Btw heres what the account files look like:
Name of the file = username
-username
-password
-x
-y
-z
-zone number ( not really used yet.)


Ventures of the worlds around us are only limited by imagination.
Qqite
16
Years of Service
User Offline
Joined: 28th Feb 2010
Location: Florida, U.S.
Posted: 14th Jan 2011 18:35
Figured it out. Seems like "read float" is a completely useless command. I had to load as string and then use "val(x)" to get the float out of it.

Ventures of the worlds around us are only limited by imagination.

Login to post a reply

Server time is: 2026-07-21 15:13:55
Your offset time is: 2026-07-21 15:13:55