[Game] The Hungry Games [hungry_games] [0.4]

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

[Game] The Hungry Games [hungry_games] [0.4]

by Splizard » Sat Jan 26, 2013 01:59

I just watched the Hunger Games recently, which resulted in this...
Image

When you play a map with this game a glass wall is created which is 200x200 blocks around the center of the map,
it is an indestructable wall and players will always spawn inside the arena.
There are also chests scattered randomly around the arena which contain useful weapons and items.
When you die you drop all you items and start spectating.
After three minutes you get hungry and start starving.

Servers:
http://forum.minetest.net/viewtopic.php?id=5870

hungry_games, glass_arena, spawning, random chests and dead_drop mods:
License: GPLv2/later
Textures: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

Please see other mod pages for info on there respective license's:
(minor modifications have been made to some of these mods)
Snow Biomes (GPLv2/later)
Farming (WTFPL)
Throwing (WTFPL)
Drowning (CC-BY-SA)
Minetest Game (LGPLv2)
Minecraft like item drop/pick up (WTFPL)
Survival ModPack (BSD 2 Clause)
Item Features (WTFPL)
Inventory Plus (GPLv3)
minetest-3d_armor (GPL v3)

Feel free to add sugestions on this topic and/or create a pull request at:
https://github.com/Splizard/hungry_games/

Known Bugs:
  • Very rarely there might be a hole in the wall where players might escape

Please help report bugs as this is in beta at the moment.

Download:
http://minetest.splizard.com/minetest/games/hungry-games/hungry-games-0.4.zip (Version 0.4)
http://minetest.splizard.com/minetest/games/hungry-games/hungry-games-0.3.zip (Version 0.3)

you will probably also need a map:

Download maps:
Default (A default map for up to 11 players) image
Halloween (A Halloween themed map for up to 19 players) image

Installing: This needs to go into your minetest games folder as it is NOT a mod.
The maps go in your minetest worlds folder.

ATTENTION SERVER ADMINS
When hosting a hungry games server please edit the hungry_games mod for configuring
the game, this is the hungry_games/init.lua file. The file is meant to document itself but if you need help understanding the configuration just ask.

Chat Commands:
Code: Select all
hg_admin:
/hg restart/start --starts the match
/hg stop --stops the match
/hg set spawn --sets where players respawn on death
/hg set lobby --sets where the players spawn when they join
/hg set player_# --set where players start the match, replace # with number (must be set in order to play a match)

hg_maker: (note after getting this priv you must logout/login to the server to get creative inventory)
/build --grants interact/fly and fast privilege

anyone:
/vote --vote to start the match
/register --register to take part in the next match


Compatible Mods:
Factions (LGPL)
Last edited by Splizard on Sun Jul 05, 2015 11:14, edited 4 times in total.
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
kaeza
Moderator
 
Posts: 2158
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Jan 26, 2013 02:03

how about firearms? I'm awaiting jojoa to provide recipes for it. When he does so, I'll fix it so the guns require ammo to shoot.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

by Splizard » Sat Jan 26, 2013 02:10

kaeza wrote:how about firearms? I'm awaiting jojoa to provide recipes for it. When he does so, I'll fix it so the guns require ammo to shoot.

Sure! although I would rather that firearms is an optional mod to this game then included by default.
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sat Jan 26, 2013 02:15

kaeza wrote:how about firearms? I'm awaiting jojoa to provide recipes for it. When he does so, I'll fix it so the guns require ammo to shoot.
i will try to get the recipes sometime soon i am busy. also any suggestions on recipes cause i can only use so much space
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sat Jan 26, 2013 03:35

I suggest making the chests refill every day so if there is a server where many people join then there could still be stuff in chests. Also make a start off area block that will make a start areas like the hunger games cornucopia. I love this mod and hopes someone hosts a server for it.
Edit:also have the food items in the chest have a chance to give more food.
Last edited by jojoa1997 on Sat Jan 26, 2013 03:41, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
davidpace
Member
 
Posts: 685
Joined: Wed Oct 17, 2012 11:09
Location: United States

by davidpace » Sat Jan 26, 2013 04:44

This. Looks. Amazing. +10000000000000000000000000000000000000000000000000000000000000000000000000000
Taking a break for a while see ya guys!

In some of my posts I will be putting "Secret" White sentences.. Tell me if you see them!!! :D
 

User avatar
sfan5
Moderator
 
Posts: 3764
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Jan 26, 2013 10:26

Holy sh**, this mod is awesome!
Moved to 'Minetest Games'
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
kaeza
Moderator
 
Posts: 2158
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Jan 26, 2013 11:22

sfan5 wrote:Holy sh**, this mod is awesome!
Moved to 'Minetest Games'

Tested it and I agree. My only suggestion would be to remove fire, to reduce lag on servers (especially when you set a forest on fire).
I hope to see a server hosting this game soon :D
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sat Jan 26, 2013 12:52

kaeza wrote:
sfan5 wrote:Holy sh**, this mod is awesome!
Moved to 'Minetest Games'

Tested it and I agree. My only suggestion would be to remove fire, to reduce lag on servers (especially when you set a forest on fire).
I hope to see a server hosting this game soon :D

Dont remove fire because when me and kaeza tested it there was too much lagf to begin with. mybe put a warning in the description of what the fire arrows can do
edit: also maybe make the glass llike a dome cause then that would be really cool
re edit: also instead of giving swords in the chests give ingots and sticks because that would be more like hunger games. still keep the swords but make the more rare. make people drop every thing when they die and also use the item drop because that makes picking up items easier and it wont create lag because you cant dig anything(except papyrus and leaves)
Last edited by jojoa1997 on Sat Jan 26, 2013 14:22, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000

by 0gb.us » Sat Jan 26, 2013 21:32

13:00:47: ACTION[ServerThread]: Moving jojoa1997 to static spawnpoint at (0,5,0)
on_newplayer
giving give_initial_stuff to player
13:01:15: ACTION[ServerThread]: jojoa1997 times out. List of players:
13:01:16: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../games/hungry_games-master/mods/glass_arena/init.lua:45: attempt to index local 'pos' (a nil value)
13:01:16: ERROR[main]: stack traceback:

In thread 7ff30efde740:
/build/buildd/minetestc55-0.4.4/src/main.cpp:1760: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7ff30efde740:
#0 int main(int, char**)



Te code looks sound to me, but glass_arena crashed the game as soon as he logged in.
 

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

by Splizard » Sat Jan 26, 2013 21:43

0gb.us wrote:Te code looks sound to me, but glass_arena crashed the game as soon as he logged in.

The bug should be fixed now.
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sat Jan 26, 2013 22:19

Splizard wrote:
0gb.us wrote:Te code looks sound to me, but glass_arena crashed the game as soon as he logged in.

The bug should be fixed now.

i had to delete the teleport part because it wasnt working with my static spawn
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sun Jan 27, 2013 03:10

where can we set refill time
Last edited by jojoa1997 on Sun Jan 27, 2013 03:25, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sun Jan 27, 2013 03:30

please update the first post with what was added
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

by Splizard » Sun Jan 27, 2013 03:31

jojoa1997 wrote:where can we set refill time

In the file hungry_games/hungry_games/init.lua:
Code: Select all
--Set Chest Refill.
--The refill rate should not be set too low to reduce lag
--Uncomment one of the following...

----Can be set as an abm: [SAFE]
--random_chests.setrefill("abm", 1000)

----or as nodetimers: (refill rate is in seconds)
--random_chests.setrefill("nodetimer", 3600)
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000

by 0gb.us » Sun Jan 27, 2013 03:48

Sorry, syntax error.

19:48:25: ERROR[main]: ========== ERROR FROM LUA ===========
19:48:25: ERROR[main]: Failed to load and run script from
19:48:25: ERROR[main]: /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua:
19:48:25: ERROR[main]: /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua:16: ')' expected (to close '(' at line 6) near 'end'
19:48:25: ERROR[main]: =======END OF ERROR FROM LUA ========
19:48:25: ERROR[main]: Server: Failed to load and run /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua
19:48:25: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sun Jan 27, 2013 05:55

Please have the mod check to see if the player has other privs. I have them all and don't want to lose them. Also have a node that can spawn a start of point with a cornucopia so people can make a quick start off and add player spawn points for the pedistals around the cornucopia.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

by Splizard » Sun Jan 27, 2013 08:11

0gb.us wrote:Sorry, syntax error.

19:48:25: ERROR[main]: ========== ERROR FROM LUA ===========
19:48:25: ERROR[main]: Failed to load and run script from
19:48:25: ERROR[main]: /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua:
19:48:25: ERROR[main]: /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua:16: ')' expected (to close '(' at line 6) near 'end'
19:48:25: ERROR[main]: =======END OF ERROR FROM LUA ========
19:48:25: ERROR[main]: Server: Failed to load and run /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua
19:48:25: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/us_0gb/.minetest/games/hungry_games-master/mods/spawning/init.lua

sorry should be fixed now
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sun Jan 27, 2013 13:12

if i have other privs like admin will they go away if i die. also could you make chests either refill every 24 hours(minetest time) or every time the time reaches 0. also please add in a command to be able to restart the hunger games which means grant everyone back interact and revoking fly and fast(except for those with admin privs) and also teleporting everyone back to spawn. and if only one person has interact left then the privs go back to interact,shout for every one. also could you make a command to reset the privs like "/reset privs" and one that resets privs and respawns everyone like "/reset game". also make shure that if someone has the priv or server privs then they arent affected by the privs change.
Last edited by jojoa1997 on Sun Jan 27, 2013 20:13, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000

by 0gb.us » Mon Jan 28, 2013 01:00

A segfault occurs every time someone logs in now. I don't know what's going on, but I've never had the server segfault except while running this game ....
 

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

by Splizard » Mon Jan 28, 2013 01:05

0gb.us wrote:A segfault occurs every time someone logs in now. I don't know what's going on, but I've never had the server segfault except while running this game ....

strange... Im not sure what the problem would be, have you got the latest version of hungry_games?
Last edited by Splizard on Mon Jan 28, 2013 01:07, edited 1 time in total.
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Mon Jan 28, 2013 01:09

Splizard wrote:
0gb.us wrote:A segfault occurs every time someone logs in now. I don't know what's going on, but I've never had the server segfault except while running this game ....

strange... Im not sure what the problem would be, have you got the latest version of hungry_games?
the static spawns interfears with your spawning code
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

shortstop824
New member
 
Posts: 3
Joined: Sun Jan 27, 2013 13:57

by shortstop824 » Mon Jan 28, 2013 01:11

There is an error when I try to play. What do I do?
 

User avatar
Splizard
Member
 
Posts: 224
Joined: Wed Jan 25, 2012 07:20
Location: New Zealand
GitHub: Splizard
IRC: Splizard
In-game: Splizard

by Splizard » Mon Jan 28, 2013 01:11

@jojoa1997
ok set the static spawn in config of the latest version of hungry_games, not minetest.conf:
Code: Select all
--Set spawn point. [SAFE]
--Can be set as static:         spawning.set_spawn("static", {0,0,0})
--or dynamic (random spawn):     spawning.set_spawn("dynamic")
spawning.set_spawn("static", {0,0,0})
Last edited by Splizard on Mon Jan 28, 2013 01:13, edited 1 time in total.
Games: The Hungry Games Mods: Lifters (Simple Lifts), Snow Biomes and Gates. Also checkout my texture pack Gridtoon!
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Mon Jan 28, 2013 01:19

can you add a 1 minute grace period
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

Next

Return to Game Releases



Who is online

Users browsing this forum: No registered users and 1 guest