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.

Newcomers DBPro Corner / A few network questions

Author
Message
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 9th Mar 2005 10:52
Say for example, I shoot and kill someone in an FPS. How would the person that I fragged "know" who they were killed by? Seems like a paradox. Spazuhs?

RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 9th Mar 2005 13:55
Quote: "Seems like a paradox."


When a pc registers a kill (host or client), you just send the 'who killed who' data in a packet across the net just like any other data. Since you only 'killed' the avatar, not the player or the pc, they get the data and can read it. Where is the paradox?

"Droids don't rip your arms off when they lose." -H. Solo

REALITY II
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 10th Mar 2005 04:49
Yes, but where does the 'who killed who' data come from. That's my trouble.

The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 10th Mar 2005 15:06 Edited at: 11th Mar 2005 12:22
If you cant understand that then you cant do any network coding.

[href]www.vapourhost.com/~flyer[/href]
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 11th Mar 2005 07:11
Well at least I'm not asking you for MMORPG code, or code for that matter.

The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 11th Mar 2005 12:23
Yea but its not even a mutliplayer problem its using basic programming principles....variables,flags etc

[href]www.vapourhost.com/~flyer[/href]
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 12th Mar 2005 06:24
It's not the variables that get me. It's more of who sends what, when.

The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 12th Mar 2005 07:47
Simple command of net message from()

[href]www.vapourhost.com/~flyer[/href]
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 14th Mar 2005 08:31
Thank you, spazuh. I guess that command was on the page that got ripped out of my book.

The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 14th Mar 2005 12:58
Heh its sorry if I sounded harsh before by the way. Its just you know it can get annoying when new people try and code stuff like this withought the faintest clue what their doing.

[href]www.vapourhost.com/~flyer[/href]
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 15th Mar 2005 05:41 Edited at: 15th Mar 2005 05:42
Quote: "Its just you know it can get annoying when new people try and code stuff like this withought the faintest clue what their doing.
"

That sounded harsh.
I'm not that new; I've been programming for about four years now, DB for about eight months. Just haven't touched DB in forever.

Login to post a reply

Server time is: 2024-11-13 19:51:31
Your offset time is: 2024-11-13 19:51:31