Page 2 of 5

Re: NetWars - beta

Posted: Sun Mar 18, 2012 9:25 am
by Borg
I updated the home page of NetWars adding GIT repo: git://borg.uu3.net/~borg/love/netwars.git

Unfortunetly, im currently busy with other things, so I will slow down for a while with netwars.
There are few things I want to add later:
- collision likes, so you can place devices too close of each other
- indicators where networks are
- hud messages when enemy connection is detected

About laggy, It can be improved several ways:
- sending larger packets, current max size is roughty 512 bytes (500+seq)
- increasing wmem of socket
- adding more sockets to spread load.

CPU usage is reasonable well, never saw more that 5%.

Also, honestly I didnt noticed any lagness ever.. If you have large packet loss then it can be felt as lag.
(retransmision occurs every 500ms)

Re: NetWars - beta

Posted: Sun Mar 18, 2012 12:55 pm
by Nixola
Can you add a chat or something like that?

Re: NetWars - beta

Posted: Sun Mar 18, 2012 1:02 pm
by trubblegum
Nixola wrote:Can you add a chat or something like that?
Desperate need!
But I think an improvement on it could be a console, which allows you to type in simple commands (including, of course, "say", "wsp", etc)
Would be neat to have a commandline interface with your nodes, so you can online/offline, query, group, set macros, etc

Re: NetWars - beta

Posted: Sun Mar 18, 2012 2:19 pm
by Nixola
I'd like to have my opponents of different colors...

Re: NetWars - beta

Posted: Mon Mar 19, 2012 8:15 pm
by Nixola
What license are you releasing this (both client and server) under?

Re: NetWars - beta

Posted: Mon Mar 19, 2012 9:06 pm
by Borg
Nixola: well, BSD. It is already in GIT repo.

Re: NetWars - beta

Posted: Mon Mar 19, 2012 9:23 pm
by josefnpat
qp9Yr.png
qp9Yr.png (135.22 KiB) Viewed 663 times

Re: NetWars - beta

Posted: Mon Mar 19, 2012 9:25 pm
by Nixola
How can I open git links? ^^'

Re: NetWars - beta

Posted: Mon Mar 19, 2012 9:34 pm
by Borg
btw, there is now #netwars on irc.oftc.net (same network where #love is hosted),
So ppl can talk to each other or even set own servers and invite ppl.
Today (or tomorrow morning) I will update server and client as well.
I improved slighty network code, so syncing is done from different queue not affecting gameplay.

Re: NetWars - beta

Posted: Mon Mar 19, 2012 10:24 pm
by Nixola
trubblegum wrote:Connecting ...
And quits.
And quits.
And quits.

Code: Select all

while true do
print 'And quits.'
end
I opened 51 times Netwars, I put in different nicks (~20) and the host 'borg.uu3.net', and it quits.
I wanna play T_T