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

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

by jojoa1997 » Mon Jan 28, 2013 01:29

if you try to start a game with 2 people it crashes
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
 

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

by jojoa1997 » Mon Jan 28, 2013 01:35

if i leave in the middle of a hunger games session then it crashes
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 » Mon Jan 28, 2013 01:39

@ jojoa1997
@ 0gb.us
so no errors? just segfaults?
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 » Mon Jan 28, 2013 03:29

Right, it's the oddest thing. No helpful error messages, just segfaults.
 

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

by jojoa1997 » Mon Jan 28, 2013 03:43

could you make the server send messages to all the players that chests have refilled. aslo whenever i eat food my health stays the same
Last edited by jojoa1997 on Mon Jan 28, 2013 04:49, edited 1 time in total.
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 » Mon Jan 28, 2013 06:07

I have added a message when an empty chest is refilled you might have to lower refill rate for chests if they are not refilling. I havn't noticed food not working, it's not lag? If possible can you report bugs/features on guthub? (it makes it easier to manage/track).
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 11:06

Splizard wrote:I have added a message when an empty chest is refilled you might have to lower refill rate for chests if they are not refilling. I havn't noticed food not working, it's not lag? If possible can you report bugs/features on guthub? (it makes it easier to manage/track).

ok how do i do that? also i ate 17 apples, 2 loaves, 5 buns, and 3 bread with no health increase
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 22:49

14:47:19: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...ames/hungry_games-master/mods/random_chests/init.lua:22: attempt to call global 'get_meta' (a nil value)


An actual error, that can actually be fixed. Not a segfault this time.
 

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

by 0gb.us » Tue Jan 29, 2013 01:02

17:00:55: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...mes/hungry_games-master/mods/hungry_games/engine.lua:45: attempt to index global 'inv' (a nil value)


Another error message. Yay, no segfaults!

EDIT: Another

18:53:45: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...ames/hungry_games-master/mods/random_chests/init.lua:23: bad argument #1 to 'is_empty' (string expected, got no value)
Last edited by 0gb.us on Tue Jan 29, 2013 02:54, edited 1 time in total.
 

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 » Tue Jan 29, 2013 05:13

heh, never thought I'd be happy to see a error message XD
Both errors should be fixed now.
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
 

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

by 0gb.us » Wed Jan 30, 2013 02:53

18:52:37: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...mes/hungry_games-master/mods/hungry_games/engine.lua:54: attempt to call global 'stop_game' (a nil value)


I've got another one.
 

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

by jojoa1997 » Wed Jan 30, 2013 02:56

0gb.us wrote:
18:52:37: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...mes/hungry_games-master/mods/hungry_games/engine.lua:54: attempt to call global 'stop_game' (a nil value)


I've got another one.
sorry that was my fault. i had done /hg start with only me. also 0gb please update this on the server.
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 » Thu Jan 31, 2013 05:45

Splizard, in game you mentioned that all the segfaulting might be because you are developing this using the dev version, but we are running it on the stable version. We set up a temporary test environment using the dev version, and we segfaulted a couple more times. I have no idea how this game is causing segfaults as opposed to Lua errors, but the dev/stable thing isn't the issue.

Without error messages though, I'm not sure what to do. Other worlds on the same server never segfault, so there must be something in this game doing it. I'm going to start pulling out random plugins and waiting for another segfault. Maybe we can at least narrow down where the error is a little.
 

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 » Thu Jan 31, 2013 05:59

0gb.us wrote:Splizard, in game you mentioned that all the segfaulting might be because you are developing this using the dev version, but we are running it on the stable version. We set up a temporary test environment using the dev version, and we segfaulted a couple more times. I have no idea how this game is causing segfaults as opposed to Lua errors, but the dev/stable thing isn't the issue.

Without error messages though, I'm not sure what to do. Other worlds on the same server never segfault, so there must be something in this game doing it. I'm going to start pulling out random plugins and waiting for another segfault. Maybe we can at least narrow down where the error is a little.

Thanks for looking into it 0gb.us.
I have been looking into it myself and I think I might have fixed the segfaulting now, If so it was something to do with the minetest.auth_reload() function. If you could confirm that the segfaults no longer happen, It would be appreciated.
I will also report a bug against minetest if that is the case.
Last edited by Splizard on Thu Jan 31, 2013 06:02, 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
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000

by 0gb.us » Thu Jan 31, 2013 20:30

Wonderful! Updating now.

That would explain why it doesn't happen on other games I run, as there normally isn't a reason to reload that file.
 

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

by 0gb.us » Fri Feb 01, 2013 02:11

We haven't been running it long, but by now, it would have segfaulted a couple dozen times with the old version. I think you indeed found the problem.
 

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 » Fri Feb 01, 2013 03:21

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

Are you still having the error? If so what is it?

0gb.us wrote:We haven't been running it long, but by now, it would have segfaulted a couple dozen times with the old version. I think you indeed found the problem.

Alright thanks I will release a stable version of the game,
I am going on holiday tomorrow for a week and so hungry_games development will be put on hold till I get back.
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 » Fri Feb 01, 2013 13:31

Could you add pics to show a preview of your pure built maps
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Nunnonator98
New member
 
Posts: 2
Joined: Sat Feb 02, 2013 15:39

by Nunnonator98 » Sat Feb 02, 2013 15:40

i am having trouble using the spawn player
/hg set player_*, help please
 

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

by jojoa1997 » Sat Feb 02, 2013 15:43

use /hg set player_#
instead of actaully putting # you put a NUMBER like 1 2 3 4 5 6 7 8 9 10 11 ...
after they are set you use /register to be able to play in the games
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Nunnonator98
New member
 
Posts: 2
Joined: Sat Feb 02, 2013 15:39
 

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 Feb 09, 2013 23:20

jojoa1997 wrote:Could you add pics to show a preview of your pure built maps

Here you go
Default:
Image
Halloween:
Image
Last edited by Splizard on Sat Feb 09, 2013 23:21, 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
KingSmarty
Member
 
Posts: 85
Joined: Wed Jan 02, 2013 12:06
Location: Germany
GitHub: FsxShader2012
In-game: FsxShader2012

by KingSmarty » Tue Feb 19, 2013 20:20

Is ist normal that you can only Mine Wood?
 

PreviousNext

Return to Game Releases



Who is online

Users browsing this forum: Bing [Bot] and 0 guests