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.

DLL Talk / Not Sure What's Wrong With My Tempest Code....

Author
Message
Willie Mundermuffin
19
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 3rd Apr 2006 10:53
Hello,

I'm not sure what I'm doing wrong here with my Tempest code. I can host and then connect to the host, but when moving around, I can't see the other player moving around when it's moved... Here's the code:



Thank you!
,Jared C. Matthews

"I would rather attempt something big and fail than to never attempt anything at all." -Pastor Michael Youseff
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Apr 2006 11:28 Edited at: 3rd Apr 2006 11:28
You aren't declaring myID as global, that could be your problem.

Tempest - P2P UDP Multiplayer Plugin - 70%
Download the free version
Willie Mundermuffin
19
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 3rd Apr 2006 11:33
Tried it and that's not it...

"I would rather attempt something big and fail than to never attempt anything at all." -Pastor Michael Youseff
Willie Mundermuffin
19
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 3rd Apr 2006 14:27
I guess what would really help is an example with all the lines commented fully. That should clear everything up! I think I'm going to leave my connection code and start the send/recieve code over, only adding a simple send a message when a certain key is pressed and then printing the recieved message when the message is recieved... I just don't know what I'm doing wrong. Oh well... Trial and error Thanks again for the help!

,jared c matthews

"I would rather attempt something big and fail than to never attempt anything at all." -Pastor Michael Youseff
Willie Mundermuffin
19
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 4th Apr 2006 02:27
Nevermind... I figured out the problem. It was a careless error on my part. When I was sending position of the main object, i was sending the number 1001 (myID + 1000), but I forgot that my code isn't set up like the tempest example file. I actually needed to make the sending object 2. I changed it and now everything works perfect! Thanks again Ben!

,Jared C. Matthews

"I would rather attempt something big and fail than to never attempt anything at all." -Pastor Michael Youseff

Login to post a reply

Server time is: 2025-08-08 17:27:32
Your offset time is: 2025-08-08 17:27:32