Subgames for all! a Minigame Server [Back!]

Post Reply
amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Subgames for all! a Minigame Server [Back!]

by amadin » Post

Please add rules for each subgame in "Rules" menu inventory.
Last edited by amadin on Fri Jul 13, 2018 18:00, edited 1 time in total.

Sontrunks
Member
Posts: 20
Joined: Sat Jun 16, 2018 16:54
GitHub: NONE
IRC: Gravity0
In-game: sontrunks

Re: Subgames for all! a Minigame Server [Back!]

by Sontrunks » Post

Could Player Make Maps? IF yes say me list of mods i can use :D

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

Of course you can build maps!
A new hide and seek or mesewars map would be great.
You can use moreblocks, nether, hardenedclay and the default mods. :)

Host has changed again!
Its now 31.214.240.89

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: Subgames for all! a Minigame Server [Back!]

by Stix » Post

Lejo wrote:Of course you can build maps!
A new hide and seek or mesewars map would be great.
You can use moreblocks, nether, hardenedclay and the default mods. :)

Host has changed again!
Its now 31.214.240.89
Healing potions are OP in the survival-games, could you remove them?
Hey, what can i say? I'm the bad guy.

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

there are no healing potions ins survivalgames.
Do you mean apples? Yeah, thats a secret. :)

Sontrunks
Member
Posts: 20
Joined: Sat Jun 16, 2018 16:54
GitHub: NONE
IRC: Gravity0
In-game: sontrunks

Re: Subgames for all! a Minigame Server [Back!]

by Sontrunks » Post

Cool i ll make an map Even if i build really bad

Sontrunks
Member
Posts: 20
Joined: Sat Jun 16, 2018 16:54
GitHub: NONE
IRC: Gravity0
In-game: sontrunks

Re: Subgames for all! a Minigame Server [Back!]

by Sontrunks » Post

And could you make sand that getting out of bridge breakable caus some play may protect mese whit it

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

This is a known bug :(
But I don't have a solution yet, sorry

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: Subgames for all! a Minigame Server [Back!]

by Stix » Post

I found some teamers: Image

*EDIT: Then they build a house: Image
Hey, what can i say? I'm the bad guy.

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

I allways ban teamers for 1 hour.
But only if they are online beause then they see it otherwise they would't know that they got banned.

User avatar
TalkLounge
Member
Posts: 315
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: Subgames for all! a Minigame Server [Back!]

by TalkLounge » Post

Maybe you can use something like this

Code: Select all

local a = {}
local timer = 0

minetest.register_globalstep(function(dtime)
	timer = timer + dtime
	if timer <= 1 then
    return
  end
  timer = 0
  for _, name in pairs(--[[Playing Players]]) do
    for _, name2 in pairs(--[[Playing Players]]) do
      if vector.distance(--[[Pos from name]], --[[Pos from name2]]) <= 10 then
        if not a[name] then
          a[name] = {}
        end
        if a[name][name2] then
          a[name][name2] = a[name][name2] + 1
        else
          a[name][name2] = 1
        end
        if a[name][name2] > 7 then
          --Player is teaming
        end
      end
    end
  end
end)

minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch, tool_capabilities, dir, damage)
    local name = hitter:get_player_name()
    local name2 = player:get_player_name()
    if a[name] and a[name][name2] then
      a[name][name2] = nil
    end
    if a[name2] and a[name2][name] then
      a[name2][name] = nil
    end
end)
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

I will think about this.
My Problem is that my server is still laggy and I don't want to add things like anticheat, that can increase the lag.

User avatar
LMD
Member
Posts: 933
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Subgames for all! a Minigame Server [Back!]

by LMD » Post

Your code TalkLounge bans players for standing next to each other(and not punching him) for more than 7 secs. That's not how teaming is defined. IMO you can't build ANY Mod which determines whether players are teaming. There are so many cases in which it won't work properly.
On top : NEVER ever use GLOBALSTEPS. Krock can tell you why. Use recursive minetest.after. That decreases lag.


Topic switch: I suggest removing nametags and adding - maybe - player nametags(look my GitHub). They can't be seen through nodes.

You are constantly complaining about your lag, and so I would like to ask : What exactly is the problem ? MT too slow ? Connection to slow ? CPU ? HDD Speed(r/w) ?

BTW, most likely only a couple of mods are causing most of the lag. It's the 20-80 principle : 20 % of mods cause 80 % of lag.
My stuff: Projects - Mods - Website

User avatar
TalkLounge
Member
Posts: 315
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: Subgames for all! a Minigame Server [Back!]

by TalkLounge » Post

Your code TalkLounge bans players
No! This code is just a concept how it could work(written in school break in ~5 minutes)
That's not how teaming is defined
Ofc. When there are two players standing parallel then its ofc teaming. Or how you would define teaming? They should fight and not drink a beer together(applied to survivalgames)
I suggest removing nametags and adding - maybe - player nametags(look my GitHub)
These entitys above your head which you cant see from far? Bad idea xd
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

8975HA
Member
Posts: 37
Joined: Sat Jun 30, 2018 17:43
IRC: 8975HA
In-game: 8975HA

Re: Subgames for all! a Minigame Server [Back!]

by 8975HA » Post

you can make a function that if the player stays with another player above 10 mins without hitting themselves they get kicked

User avatar
LMD
Member
Posts: 933
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Subgames for all! a Minigame Server [Back!]

by LMD » Post

"No! This code is just a concept how it could work(written in school break in ~5 minutes)"
How can you write code in school ????? xD at my school not allowed :(
Also, I suggest line of sight(builtin in MT)
"Or how you would define teaming?"
If they see each other but don't start fighting... note "SEE" instead of "STAND NEXT TO".
Also, you are not thinking of other possibilities : TNT/Lava/Bow fighting. All of those would be categorized as teaming.


So, just don't make any teaming protection ! It's simple. BTW, for Magic-CTF, I made some nice health runes showing player HP, would you like them Lejo ?
My stuff: Projects - Mods - Website

User avatar
TalkLounge
Member
Posts: 315
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: Subgames for all! a Minigame Server [Back!]

by TalkLounge » Post

How can you write code in school ????? xD at my school not allowed :(
Laptop and school wlan xd
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
Krock
Developer
Posts: 4572
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Subgames for all! a Minigame Server [Back!]

by Krock » Post

LMD wrote:On top : NEVER ever use GLOBALSTEPS. Krock can tell you why. Use recursive minetest.after. That decreases lag.
I think you've confused node timers, ABMs with minetest.after and globalstep. See here and here.
TL;DR the links: globalsteps and "after" have about the same efficiency, because minetest.after relies on globalsteps internally.

PS: Please quote me the next time for those "facts" or ask the #minetest people if you're not sure. This was a lucky catch to see my nick mentioned in this topic.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Sontrunks
Member
Posts: 20
Joined: Sat Jun 16, 2018 16:54
GitHub: NONE
IRC: Gravity0
In-game: sontrunks

Re: Subgames for all! a Minigame Server [Back!]

by Sontrunks » Post

Do i need to do mesewars map in sky?

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

No, I will cut it out with mtschem.

User avatar
LMD
Member
Posts: 933
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Subgames for all! a Minigame Server [Back!]

by LMD » Post

"PS: Please quote me the next time for those "facts" or ask the #minetest people if you're not sure. This was a lucky catch to see my nick mentioned in this topic."
oh very sorry I apparently got you wrong - it was with the formspecs, you remember ? I wanted to use globalstep to reshow them but as far as I can remember you said mt.after would be better...
correct me if thats wrong...
My stuff: Projects - Mods - Website

Sontrunks
Member
Posts: 20
Joined: Sat Jun 16, 2018 16:54
GitHub: NONE
IRC: Gravity0
In-game: sontrunks

Re: Subgames for all! a Minigame Server [Back!]

by Sontrunks » Post

I want to say how cna i set Maps file?

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

Just send me your map folder.

Sontrunks
Member
Posts: 20
Joined: Sat Jun 16, 2018 16:54
GitHub: NONE
IRC: Gravity0
In-game: sontrunks

Re: Subgames for all! a Minigame Server [Back!]

by Sontrunks » Post

K

btw can i get my name on it like '''' map by sontrunks
but still how?

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Subgames for all! a Minigame Server [Back!]

by Lejo » Post

Just send me the map folder and tell me the Name of it.
I will add "by sontrunks".

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests