Jump to content

Dolo

Contributors
  • Content count

    116
  • Donations

    $110.00 
  • Joined

  • Last visited

  • Days Won

    13

Dolo last won the day on May 12

Dolo had the most liked content!

3 Followers

Profile Information

  • Gender
    Male
  • Location
    Marshmellowland

Recent Profile Visitors

5,443 profile views
  1. http://www.intowindows.com/icon-replacer-replace-application-icons-with-a-click/
  2. Dolo

    UDP questions

    You are only sending 1 object. However, that object contains 2 objects. The identifier and the real object. Does godot support that? Also have you read: http://docs.godotengine.org/en/3.0/tutorials/networking/high_level_multiplayer.html ?
  3. Dolo

    UDP questions

    That is basically how its done. The only thing I would say is that you should send it all in 1 packet. Simplifies things if a packet gets lost or takes longer or arrives out of order. This is not as big of an issue as it used to be, but UDP does not guarantee order like TCP. Also its just more effective to send 1 packet. I dont know what language you use, but normally I create a enum (number) like JC said. So my code looks a bit like this. int PLAYER_MOVE = 1; int PLAYER_CONNECT = 2; PlayerMoveData { int x; int y; } ConnectData { } Packet { type = PLAYER_MOVE; PlayerMoveData data; } So when I get the packet, I read the first value and then decide what to do with the rest of the information based on what type of packet it is. I am not sure this will translate to the language your using. But if you can try to only read the first bit of the packet to find out the type, then do something with the rest.I do not know java so I cant say how to do it. But here is some mockup code in a c++ ish language. The hardest part of the above is probably reading a partial packet before you know the rest of the information. It is fairly trivial in c++ if that's what you are using. If you have a packet like: void* packetData; you could do: const int* identifier = packetData; if(*identifier == PLAYER_MOVE) { PlayerMoveData* moveData= static_cast<char*>(packetData) + sizeof(int); }
  4. You think your so tough? Ive raped guys in prison bigger then you. 

  5. Dolo

    In need of "Data Inputers"

    Is there any way some kind of automated tool could do this?
  6. Your beauty cannot be spanned by a finite basis of vectors.

  7.  

    1. Misanthropic AI

      Misanthropic AI

      THis has been my fave video of all time, I'm so glad someone else shared this. I'M OLD GREEEEEEEEEGGG!!!!!!

      Ya ever drunk bailey's from a shoe?

  8. If JavaScript is garbage collected, why does it still exist?

    1. Show previous comments  5 more
    2. Misanthropic AI

      Misanthropic AI

      STOP YELLING YOU'RE STARTLING ME!

    3. GalacticGlum

      GalacticGlum

      AHHHHH

    4. Misanthropic AI

      Misanthropic AI

      AaaaaaaaaaaaaaaaaaaaaaaaaHHHHHHHHHHHHHHH!!!!!!!!!!!!

  9. Dolo

    Stack Overflow Developer Survey

    I think C/C++ can be a bit scary if you do not know them well. What also surprised me is game developers have the least amount of experience.
  10. Dolo

    Stack Overflow Developer Survey

    Gender,Race and sexual orientation are getting better with students this is great! Visual Basic 6 wins again as most hated language!
  11. https://insights.stackoverflow.com/survey/2018/ These are always fun to read! Any thoughts?
    1. IAskQuestionsTooMuchButHey

      IAskQuestionsTooMuchButHey

      Is this the one with the levels? If so I'm grabbing that. 

    2. Dolo

      Dolo

      You mean achievements? If so I think thats another one. 

    3. Misanthropic AI

      Misanthropic AI

      I used to use the atom version of this all the time

  12. Dolo

    Real life photos

    Own confirmed dog. Get that human outta your picture.
×