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.

Dark GDK / DarkNet packet problem

Author
Message
Hatzl
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 28th Jul 2010 17:55
Hello,

I have a problem.
I will send 4 Packets.
2 are from the CubeWorld example, and 2, I have created yourself.

My problem is, that the float not the sendet float from the client include, but coordinates from my Player.

My codes are the follow:

Server:


Client:

Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 29th Jul 2010 06:51
Can I ask what that variable called "tt" in the client code is for? Because I don't see it being used for in the server.

http://ref.darkgdk.us/ <- Online DarkGDK Refernece. More content coming soon.
Hatzl
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 30th Jul 2010 10:02
tt is the int, that i send to the server, if i press "3" (keyState(4)). in the server i call it "test" .

also the client send tt, and the server recive it as test, abnd print it.
Hatzl
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 2nd Aug 2010 11:15
No one?

Please Help mee..

Login to post a reply

Server time is: 2024-11-19 20:44:15
Your offset time is: 2024-11-19 20:44:15