Subgames for all! a Minigame Server [Back!]

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23

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

by amadin » Tue Jul 03, 2018 04:37

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 » Tue Jul 03, 2018 18:33

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

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

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

by Lejo » Wed Jul 04, 2018 12:47

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: 1216
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix + Stix_
In-game: Stix

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

by Stix » Wed Jul 04, 2018 12:56

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?
Ignore this.
Need to know something? "Google it" --GreenDimond
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

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

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

by Lejo » Wed Jul 04, 2018 13:06

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
 

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 » Wed Jul 04, 2018 15:28

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

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

User avatar
Stix
Member
 
Posts: 1216
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix + Stix_
In-game: Stix

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

by Stix » Thu Jul 05, 2018 04:40

I found some teamers: Image

*EDIT: Then they build a house: Image
Ignore this.
Need to know something? "Google it" --GreenDimond
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

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

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

by Lejo » Thu Jul 05, 2018 05:10

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: 207
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
IRC: TalkLounge
In-game: TalkLounge

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

by TalkLounge » Thu Jul 05, 2018 09:24

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: 424
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

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

by Lejo » Thu Jul 05, 2018 11:57

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: 589
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

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

by LMD » Thu Jul 05, 2018 14:33

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.
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

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

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

by TalkLounge » Thu Jul 05, 2018 16:49

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: 16
Joined: Sat Jun 30, 2018 17:43
IRC: 8975HA
In-game: 8975HA

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

by 8975HA » Thu Jul 05, 2018 17:11

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: 589
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

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

by LMD » Thu Jul 05, 2018 18:09

"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 ?
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

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

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

by TalkLounge » Thu Jul 05, 2018 18:28

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: 4093
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

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

by Krock » Thu Jul 05, 2018 19:46

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.
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
 

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

User avatar
LMD
Member
 
Posts: 589
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

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

by LMD » Fri Jul 06, 2018 11:14

"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...
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

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

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

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 » Wed Jul 11, 2018 19:18

K

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

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

PreviousNext

Return to Servers



Who is online

Users browsing this forum: No registered users and 5 guests