Results 1 to 3 of 3

Thread: questions about netgame event value

  1. #1

    Default questions about netgame event value

    I have looked event_value.cpp, I found that event values are transformed into readable strings.
    Thats great, the data pass through network can be directly readed...
    So my first question is.. as numbers goes to decimal strings, would float value lose it's accuracy?
    And second question.. would some compress be possible? as readable strings would be longer, so much space to compress.

    Thanks!

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

  3. #3

    Default

    about compression, I think may be simply use some data compress like zlib to compress the event string right before sending and decompress it into string format right after recieving would be a lazy way to cut some bandwidth though...
    I don't know zlib very much forgive me if I was wrong..

Similar Threads

  1. problem of raw data parameter passing netgame engine
    By ppheathead in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 07-06-2009, 12:11 PM
  2. NetGame channeling?
    By catch22 in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 05-29-2009, 06:43 AM
  3. Interesting E-Mail and Event
    By pricedonald in forum Funeral Quest
    Replies: 7
    Last Post: 12-11-2007, 03:05 AM
  4. Keyhearse Script Event Improvements
    By redink1 in forum Funeral Quest
    Replies: 5
    Last Post: 04-15-2003, 04:32 AM
  5. Auto delete this event
    By in forum Other RTsoft Games
    Replies: 0
    Last Post: 02-16-2003, 08:50 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •