[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 » Post

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
Contact:

by 0gb.us » Post

Updated again, more segfaults.

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

by jojoa1997 » Post

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: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

by Splizard » Post

@ jojoa1997
@ 0gb.us
so no errors? just segfaults?
Games: Builda City, The Hungry Games Mods: Lifters, 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
Contact:

by 0gb.us » Post

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 » Post

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: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

by Splizard » Post

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: Builda City, The Hungry Games Mods: Lifters, 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 » Post

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
Contact:

by 0gb.us » Post

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
Contact:

by 0gb.us » Post

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: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

by Splizard » Post

heh, never thought I'd be happy to see a error message XD
Both errors should be fixed now.
Games: Builda City, The Hungry Games Mods: Lifters, 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
Contact:

by 0gb.us » Post

Thank you so much!

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

by 0gb.us » Post

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 » Post

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
Contact:

by 0gb.us » Post

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: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

by Splizard » Post

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: Builda City, The Hungry Games Mods: Lifters, 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
Contact:

by 0gb.us » Post

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
Contact:

by 0gb.us » Post

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: 227
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard
Location: New Zealand
Contact:

by Splizard » Post

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: Builda City, The Hungry Games Mods: Lifters, 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 » Post

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 » Post

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 » Post

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

by Nunnonator98 » Post

ok thanks

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

by Splizard » Post

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: Builda City, The Hungry Games Mods: Lifters, Snow Biomes and Gates. Also checkout my texture pack Gridtoon!

User avatar
KingSmarty
Member
Posts: 85
Joined: Wed Jan 02, 2013 12:06
GitHub: FsxShader2012
In-game: FsxShader2012
Location: Germany

by KingSmarty » Post

Is ist normal that you can only Mine Wood?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests