[Server] Capture the Flag Server

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

I've set sqlite_synchronous = 0 and increased the map size / barrier size. It should remove the lag now.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Minetestforfun » Post

Happy to see the CTF server improvements & code updates !

The CTF game type is a great idea but, the code/server was so unplayable/bugged...
Last edited by Minetestforfun on Tue Nov 24, 2015 18:00, edited 1 time in total.

User avatar
prof-turbo
Member
Posts: 516
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by prof-turbo » Post

Also, as we talk about the server : Maybe could we choose a new map ? The actual map was generated with one of the old boring Minetest mapgens, but maybe we could try to find a good seed with mgv7 or valley_mapgen ? ( https://github.com/duane-r/valleys_c ).

P.S : try to use letters for your seeds (e.g : seed : capturetheflag )

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

I'd like a map with trees and small lakes but no sea. I'd like cover and valleys for ambush. I'd prefer a C++ mapgen.
Issue tracker: https://github.com/rubenwardy/capturetheflag/issues/9

Most of the bugginess IMO is from the guns (and the occasional mis-spawning, which is a Minetest bug). If you can list what you found buggy, that would help.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

The server now uses a preprocessor to cache all the settings. It basically replaces things like ctf.setting("name") with a constant.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by stu » Post

rubenwardy wrote:Most of the bugginess IMO is from the guns (and the occasional mis-spawning, which is a Minetest bug). If you can list what you found buggy, that would help.
If you can point out something specific then I will do my best to fix it. If you just mean the occasional false positive/negative or delayed reaction then i'm afraid that is partly because of how the mod works but mostly because minetest is not particularly well designed for this type of game, there will always be a trade-off between accuracy and performance.
You could experiment with different update and reload times (see config) and I wouldn't worry too much about lowering them even. The only time this mod does any 'real work' is when bullets are actually 'flying' which should be a relatively small proportion of the time.

To my mind, the best way to speed up your game is to completely strip out all that is not contributing to the game-play. With the game I was working on I took out pretty much everything and started from scratch using only a single pixel texture for all the map generated nodes, removed all the ABMs and special effects. I even took out the ability to mine (though you could dig) and gave each player a block wallet instead, very similar to openspades really. I actually wrote a simple mapgen to emulate that style too [screenshot] Overall performance was significantly improved with this stripped out version vs the stock mt_game or minimal, even with the Lua mapgen stuff.

I was also wondering why you don't consider using shooter's crossbow as a replacement for throwing? I guess it would require some adaptation but it was working rather well last time I played with it.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

I think I was talking about firearms.
Shooter works perfectly.

Edit: throwing is too.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by stu » Post

rubenwardy wrote:I think I was talking about firearms.
Shooter works perfectly.

Edit: throwing is too.
Ah, sorry, I was referring to this https://github.com/rubenwardy/capturetheflag/issues/6 I guess you've fixed it then :-)

User avatar
Alienant1
Member
Posts: 69
Joined: Mon Jul 20, 2015 10:33
In-game: alienant1 or alienant2

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Alienant1 » Post

Is there a user limit? I just got barred because "too many users"! don't you just add one to each side?

Edit: ok, 14 player limit.
Merry Christmas Everyone!!!

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

It's to stop lag getting too bad - just try again later. Sorry :(
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

I've deployed the nobuild zone around the flag, and also added a server introduction to advertise the /vote_next and the server rules. People complained within the first few minutes about both :'(
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Minetestforfun » Post

[deleted] Bad topic, sorry

User avatar
prof-turbo
Member
Posts: 516
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by prof-turbo » Post

rubenwardy, don't mind, people don't like changes. Don't ask me to argue, I have tons of examples :D
Last edited by prof-turbo on Fri Nov 27, 2015 21:24, edited 1 time in total.

User avatar
Kpenguin
Member
Posts: 217
Joined: Fri Jul 24, 2015 16:19
IRC: Kpenguin
In-game: Kpenguin
Location: The Birthplace of Aviation

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Kpenguin » Post

The no build zone and the intro message are a good idea. People complain no matter what you do.

BTW, the chests are multiplying around the edges of the map.
All things are possible except skiing through a revolving door.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

I saw that, KPenguin, it's a Minetest engine bug somewhere. Maybe because I'm using sqlite_synchronous = 0
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Diamond knight » Post

i love how this is low lag, the hdx 512 pixel tp works good with this server

User avatar
prof-turbo
Member
Posts: 516
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by prof-turbo » Post

Maybe big updates coming soon, so stay tuned ;)

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

Added prematch build time, 60s.

Image
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Dragonop » Post

rubenwardy, today when I logged in somehow a player started a fire in the forest at blue base, when the map restarted, the fire didn't disappeared and the fire continued for some time. Maybe you should make trees, and leaves immune to fire.

User avatar
Kpenguin
Member
Posts: 217
Joined: Fri Jul 24, 2015 16:19
IRC: Kpenguin
In-game: Kpenguin
Location: The Birthplace of Aviation

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by Kpenguin » Post

Dragonop wrote:rubenwardy, today when I logged in somehow a player started a fire in the forest at blue base, when the map restarted, the fire didn't disappeared and the fire continued for some time. Maybe you should make trees, and leaves immune to fire.
Ya, someone got lava somehow and poured over the back of the map. I was on when it happened.

The vote_kick is a bad idea. Players are abusing it. Players that have done nothing are getting kicked, and players that are swearing aren't. The vote_next is good but not the kick. I've seen a mod that kicks you if you swear in the chat; that would be good to install.

I like the building time before combat begins! :)
All things are possible except skiing through a revolving door.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by rubenwardy » Post

I've disabled kick vote again, it's obviously not working.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

PlasmaHam
Member
Posts: 54
Joined: Tue Sep 30, 2014 16:42
In-game: PlasmaHam
Location: USA

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by PlasmaHam » Post

Heres a suggestion, how about adding TNT into the game? I know what you are thinking, Griefers will come and bomb and the whole server will become a fiery crater. What I think, is to make it a rare drop, and remove fire from it. That's means that TNT can be used, but not to the extent of annihilation.
It'll make it more fun, as TNT can now be used to destroy enemy forts or as landmines.
Live long and Prosper

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [0.4.13-dev] Capture the Flag (quick matches) - Guns

by kaadmy » Post

PlasmaHam wrote:Heres a suggestion, how about adding TNT into the game? I know what you are thinking, Griefers will come and bomb and the whole server will become a fiery crater. What I think, is to make it a rare drop, and remove fire from it. That's means that TNT can be used, but not to the extent of annihilation.
It'll make it more fun, as TNT can now be used to destroy enemy forts or as landmines.
I have a better idea; make gunpowder triggered when stepped on ;)
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [0.4.13-dev] Capture the Flag Server (Guns!)

by rubenwardy » Post

I've removed fire and lava for now. I've added a statistic collecting mod to the subgame which will be used to make league tables.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
stormchaser3000
Member
Posts: 422
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

Re: [0.4.13-dev] Capture the Flag Server (Guns!)

by stormchaser3000 » Post

rubenwardy wrote:I've removed fire and lava for now. I've added a statistic collecting mod to the subgame which will be used to make league tables.
please remove the blood gushing effect from the simple shooter mod. (i get somewhat disturbed by it and i think others might as well)

Post Reply

Who is online

Users browsing this forum: Feros, Google [Bot] and 23 guests