Search found 35 matches

by steven777
Tue Jul 19, 2016 7:54 am
Forum: Support and Development
Topic: writing a line into a file..?
Replies: 9
Views: 4188

Re: writing a line into a file..?

i can edit the table values easy. i,m just not sure on the syntax for updating said line. one sec ill pull up somthing i think may work idk yet

edit:

i really wish

love.filesystem.write( name, data, size ) had a line number for insertion
by steven777
Tue Jul 19, 2016 7:46 am
Forum: Support and Development
Topic: writing a line into a file..?
Replies: 9
Views: 4188

Re: writing a line into a file..?

so how do i insert it at the line? i cant find examples of it. i understand how it works.just not the function to delet a line and replace it lol. in my server all of the players that have an account possible are loaded into a table at the start of the server so it can be handled fast. no need to ke...
by steven777
Tue Jul 19, 2016 7:12 am
Forum: Games and Creations
Topic: Light system test
Replies: 2
Views: 1782

Re: Light system test

i got 30 fps solid with it... thats decent.
by steven777
Tue Jul 19, 2016 6:53 am
Forum: Support and Development
Topic: writing a line into a file..?
Replies: 9
Views: 4188

writing a line into a file..?

so im trying to write a line into a file. i know what like i want to delete and replace but for some reason i just cant get the line to be removed and replaced... the reason for this is user information updating on the server so the line contains serveral bits or data but im just going to re write t...
by steven777
Tue Jul 19, 2016 4:49 am
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13813

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

nah i had clients and users connected in a few small matches on the old system. code was thrown together to show that i could have multi matches simulated on 1 server. the players weren't coded either man i mean it was just player names running around after logging in and going to a match making lob...
by steven777
Mon Jul 18, 2016 6:59 pm
Forum: Support and Development
Topic: Support and Development
Replies: 1
Views: 997

Re: Support and Development

Hit my inbox
by steven777
Mon Jul 18, 2016 6:42 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13813

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

So is the following ok for me to start on right now. I'm working on getting the arcitecture to a good point before moving to the game elements. Because ot could fundimentaly change the game lay put of I built the game and then added security or had to take out some things to make it faster. ------<<...
by steven777
Mon Jul 18, 2016 6:29 am
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13813

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

So from your perspective, I should set up some hack blocks but dint focus on it. Right now I have no encryption in the strings and you are right even if I write an encoder you could just look at the encoder and reverse engineer it. I could re create the ignigma machine but what's the point. I think ...
by steven777
Sun Jul 17, 2016 10:17 pm
Forum: Support and Development
Topic: Time
Replies: 4
Views: 3005

Re: Time

this is basic and probably a really poor example but yea it works lol function keeptime() tick = tick +1 if tick > 9 and tick < 10 -- call a function end if tick > 10 then tick = 0 end end remember that this is based on revolutions ( how many times the script is called ) change tick = tick +1 to tic...
by steven777
Sun Jul 17, 2016 10:15 pm
Forum: Support and Development
Topic: Time
Replies: 4
Views: 3005

Re: Time

update variable every revolution

tick = tick +1 -- updated every 1 cycle. 1/100 apx a second

adds time to tick..

tick = tick+dt -- updated every second