Search found 35 matches

by steven777
Sun Jul 17, 2016 4:16 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

And is it OK to send normal data over string ?? X,y, player cash, region, faction,current weapon, ip, data-index. Etc --------------------- i also would advise most common users to use ENET over the udep sockets. ENET functions are built in so you dont have to hard code all of the functions. (like c...
by steven777
Sun Jul 17, 2016 4:11 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

Should I encrypt all transitions from the client to the server or just player information strings... Can strings be captured by an outside party ? Right now I'm just sending plane text in a string. I could write some basic encryption for the characters in the string.... but I think this might hurt p...
by steven777
Sun Jul 17, 2016 4:27 am
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

right now i'm sending strings that sever knows if it doesn't fit the parameters it drops it as invalid and that user may be cheating so it flags it. right now i have 30 users connected to a server running on my desktop. it runs over udp but i have tcp elements codded on top of it. I coded a master s...
by steven777
Thu Jul 14, 2016 8:14 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

so should i send all of the data like this or split it up and use string tags ??
by steven777
Thu Jul 14, 2016 3:22 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

ok so now I have new questions here, you guys are really good ^^. never had to f** with this but I'm glad you guys are here for people like me and I'm sure others have probably the same kind of questions. my new question is how much data can be sent over the udp network layer. I am building on top o...
by steven777
Thu Jul 14, 2016 2:58 am
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

-------------------------- question 1 -------------------------- ok i have questions regarding your code at the moment. ^ start here in the string(beginning) %. means all cearacters 17 ?? specifies the amount of cheraters g doesnt seem to be on the list of classes? so did you mean d ? () is the sect...
by steven777
Thu Jul 14, 2016 1:17 am
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

currently reading the lua 5.4.: http://www.lua.org/manual/5.1/manual.html#5.4.1


doesnt go into much detail about the patterns. or its over my head to an extent..

anyone got any like help for this.
by steven777
Thu Jul 14, 2016 12:40 am
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

i checked out his Lib an while i must say it isnt crap, but i have no idea how it actually works or serializes a table into a string... if someone could describe how to serialize data. I would like to write my own lib for the game. My game is not open scource but the foundation of it will be. in the...
by steven777
Wed Jul 13, 2016 10:26 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

i am trying to learn how to build this system on my own with the addition of someones crap library that gets me a little closer to the goal bt not quite there.. all i need to know is how to pass strings, or tables threw a udp or tcp network. i know i have to pack the table and send it. im trying to ...
by steven777
Wed Jul 13, 2016 9:10 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13812

Re: Best way of serializing data for transmission over network interface

so really what i need is an example of some ways to pack and unpack tables correctly. I am not trying to send functions calls over the net. just data and strings for player checking and such.

Does anyone here know how to pack and unpack strings or tables properly ?