NetWars - beta

Show off your games, demos and other (playable) creations.
User avatar
Borg
Prole
Posts: 21
Joined: Fri Mar 02, 2012 10:59 am

Re: NetWars - beta

Post 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)
Last edited by Borg on Fri Apr 06, 2012 2:37 pm, edited 1 time in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: NetWars - beta

Post by Nixola »

Can you add a chat or something like that?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
trubblegum
Party member
Posts: 192
Joined: Wed Feb 22, 2012 10:40 pm

Re: NetWars - beta

Post 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
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: NetWars - beta

Post by Nixola »

I'd like to have my opponents of different colors...
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: NetWars - beta

Post by Nixola »

What license are you releasing this (both client and server) under?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Borg
Prole
Posts: 21
Joined: Fri Mar 02, 2012 10:59 am

Re: NetWars - beta

Post by Borg »

Nixola: well, BSD. It is already in GIT repo.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: NetWars - beta

Post by josefnpat »

qp9Yr.png
qp9Yr.png (135.22 KiB) Viewed 763 times
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: NetWars - beta

Post by Nixola »

How can I open git links? ^^'
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Borg
Prole
Posts: 21
Joined: Fri Mar 02, 2012 10:59 am

Re: NetWars - beta

Post 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.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: NetWars - beta

Post 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
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests