Author Topic: Star Trek... new feature ideas and setup  (Read 11745 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Star Trek... new feature ideas and setup
« Reply #30 on: October 12, 2013, 03:12:22 am »
So Sorunome, did you understand what Kerm was saying? I think I did, but im not sure.
[...]
Yeah, it is kinda de-zentrilizing what the server does.
But we'd some kind of hash algorythm for the calc then to hash all the positions etc ;)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #31 on: October 12, 2013, 09:48:53 am »
But what would the hash do? is it some sort of encoded numerical containing a relative position update to all objects?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Star Trek... new feature ideas and setup
« Reply #32 on: October 12, 2013, 09:50:50 am »
all calcs calculate their hashes and send them to the server (resulting in less data been transmitted).
The server also calcs the position and hashes 'em the same way, it compares all the hashes of the calcs with it own hash.
If they vary the calc either miss-calculated or somebody cheated, so that way the server can send the real positions to the calc etc
« Last Edit: October 12, 2013, 09:53:39 am by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #33 on: October 12, 2013, 10:33:24 am »
im so confused. lol. what exactly would this hash be, with relation to the position of that unit?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Star Trek... new feature ideas and setup
« Reply #34 on: October 12, 2013, 10:34:06 am »
you'll just create a string with like "x,y,type,next unit" etc and you'll hash that string.

You know what a hash is?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #35 on: October 12, 2013, 10:36:11 am »
The only type of hash I'm familiar with is an md5. Which is generally used for encryption of passwords on sites.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Star Trek... new feature ideas and setup
« Reply #36 on: October 12, 2013, 10:37:44 am »
yes, it can also be used for verification if two large pieces of data are the same - you send 'em through the hash algorythm (if they are the same the hashes will look the same, otherwise VERY likley different). That hash is far shorter than the actual data and thus reduces, let's say, bandwidth

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #37 on: October 12, 2013, 10:42:02 am »
ok. let's do that then. But still make the server maintain the hashes of all units. each calc only keeps its own up to date.
« Last Edit: October 12, 2013, 10:42:33 am by ACagliano »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Star Trek... new feature ideas and setup
« Reply #38 on: October 12, 2013, 10:42:48 am »
just keep in mind that if the hashes aren't verified correctly the server will still have to send the calc all the positions

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #39 on: October 12, 2013, 12:55:18 pm »
Well, how would the hash benefit us? Isn't the hash just basically being used to compress the data? And won't the calc have to undo the hash?

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Star Trek... new feature ideas and setup
« Reply #40 on: October 12, 2013, 12:57:34 pm »
Nope the hash is just for integrity check.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #41 on: October 12, 2013, 12:59:16 pm »
Oh, so then we're now sending data and a hash??? lol

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Star Trek... new feature ideas and setup
« Reply #42 on: October 12, 2013, 01:00:13 pm »
-Calc sends hash to server
-Server checks hash
-Hash correct, do nothing
-Hash invalid resend all data to the calc

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Star Trek... new feature ideas and setup
« Reply #43 on: October 12, 2013, 03:32:48 pm »
But dont we need all data to be sent anyway?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Star Trek... new feature ideas and setup
« Reply #44 on: October 12, 2013, 03:34:48 pm »
the thing about the hash is that it is often smaller than the data you originally wanted to send

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!