Page 3 of 9

Posted: Thu Oct 24, 2013 15:07
by kizeren
I posted a new issues on the git hub about this mod.
I hope it is my inability to follow directions as to why this little problem is occuring. Really like to get this mod working!!

https://github.com/rubenwardy/awards/issues/2

Posted: Thu Oct 24, 2013 17:29
by BrunoMine
how can I view a mission?
view full description.
How to see all available quests?
What are all the available commands? (Only one?)

Posted: Thu Oct 24, 2013 21:40
by general3214

Minecraft Achievements 0.1

Links
Download
Gist
+ Spoiler

Posted: Fri Oct 25, 2013 00:46
by BrunoMine
this mod is fascinating. We must invest in it.

Posted: Fri Oct 25, 2013 01:00
by BrunoMine

Code: Select all

22:59:03: ACTION[ServerThread]: coronelbs places node default:leaves at (97,31,-270)
22:59:03: ACTION[ServerThread]: coronelbs leaves game. List of players: 
22:59:03: ERROR[main]: ServerError: LuaError: error: ...ktop\minemacro\minemacro\bin\..\mods\awards/triggers.lua:106: attempt to index field 'place' (a string value)
22:59:03: ERROR[main]: stack traceback:


-------------
  Separator  
-------------


Posted: Fri Oct 25, 2013 04:22
by kizeren
brunob.santos wrote:

Code: Select all

22:59:03: ACTION[ServerThread]: coronelbs places node default:leaves at (97,31,-270)
22:59:03: ACTION[ServerThread]: coronelbs leaves game. List of players: 
22:59:03: ERROR[main]: ServerError: LuaError: error: ...ktop\minemacro\minemacro\bin\..\mods\awards/triggers.lua:106: attempt to index field 'place' (a string value)
22:59:03: ERROR[main]: stack traceback:


-------------
  Separator  
-------------


Same error I was getting. I posted on thier github page under issues.

Posted: Sat Oct 26, 2013 17:32
by rubenwardy
The problem is how the players are saved.

I will update this mod soon so all critical table values are checked, and created if they do not exist.

I will also look into how to see if something has been make with the furnace, or another craft interface. (I might have to override a handling function)

Posted: Wed Nov 06, 2013 18:40
by rubenwardy

Achievements 0.3!

I have fixed all of the reported bugs by doing what I said in the above post, and I have also fixed some unreported bugs.

It is recommended that everyone with this mod updates.

Posted: Thu Nov 07, 2013 02:07
by general3214
Great! Now I can test out the other achievements I made!

Posted: Thu Nov 07, 2013 02:47
by general3214
It seems that /list_awards errors if a player has not gotten any achievements.

Immediately after enabling the mod and entering a world, I used the command /list_awards and received this error:

Code: Select all

18:39:55: ERROR[main]: ServerError: LuaError: error: ...\minetest-0.4.7\bin\..\mods\awards/api.lua:194: attempt to index a nil value
18:39:55: ERROR[main]: stack traceback:
After re-entering the world and getting an achievement, I typed /list_awards and it gave no error.

Posted: Thu Nov 07, 2013 08:58
by rubenwardy
Yeah, it appears that I have not bullet proofed that. Thanks for the bug report! Have a melon!

commit

Posted: Fri Nov 08, 2013 00:32
by general3214
rubenwardy wrote:Yeah, it appears that I have not bullet proofed that. Thanks for the bug report! Have a melon!

commit
I thought Minetest didn't have melons... :D

Posted: Fri Nov 08, 2013 09:19
by Topywo
general3214 wrote:
rubenwardy wrote:Yeah, it appears that I have not bullet proofed that. Thanks for the bug report! Have a melon!

commit
I thought Minetest didn't have melons... :D
There are melons in at least two mods:

JKMurray's JKMod: viewtopic.php?id=7038

Hackeridze's Watermelon: viewtopic.php?id=765

Posted: Mon Nov 11, 2013 21:14
by BrunoMine
BUG

Look what happened in debug
+ Spoiler
Overthrew the server.

Which hopefully soon.

Posted: Tue Nov 12, 2013 08:52
by rubenwardy
Update your copy, and try it now, and post pack any messages like this:

Code: Select all

[ERROR] awards.tbv ....

Posted: Tue Nov 12, 2013 14:46
by BrunoMine
rubenwardy wrote:Update your copy, and try it now, and post pack any messages like this:

Code: Select all

[ERROR] awards.tbv ....
I do not understand.
What is the procedure?

Posted: Tue Nov 12, 2013 14:53
by rubenwardy
  • Download the mod and install it again from github
  • Run minetest, and test the mod again
  • Paste any errors in the console onto this topic, that look like [ERROR] awards.tbv...

Posted: Tue Nov 12, 2013 17:51
by BrunoMine
ideas
Carpenter - Transform 300 trees in 1200 (wooden planks).
Tractor human - Dig 300 (dirt)
Passport Arabic - Dig 300 (sand)
The sky is the limit - Doing anything in cloud height.
Millionaire - Digging 100 crystals mese.
Where is the end? - 200 days lived.

Posted: Tue Nov 12, 2013 19:09
by BrunoMine

Code: Select all

17:06:03: ACTION[ServerThread]: Monerk digs air at (195,31,-282)
air is in wrong format!
17:06:52: ACTION[ServerThread]: Monerk places node default:cobble at (201,30,-267)
 - default:cobble 's count is now 1
1 is a table
17:06:55: ACTION[ServerThread]: Monerk places node default:cobble at (201,31,-266)
 - default:cobble 's count is now 2
1 is a table
17:07:22: ACTION[ServerThread]: Monerk damaged by 19 hp at (200.992,8.142,-262.928)
[ERROR] awards.tbv was not used correctly!
Value: 'nil'
Dump:{minetestbr = {count = {default = {stone = 10}}, name = "minetestbr", unlocked = {awards_Catador_de_Pedras = "awards_Catador_de_Pedras"}}, Monerk = {place = {default = {cobble = 2, dirt = 1}}, count = {default = {dirt_with_grass = 1}}, name = "Monerk"}}
[ERROR] awards.tbv - table 'name' is null, or not a table! Dump: nil
[ERROR] awards.tbv - table 'deaths' is null, or not a table! Dump: nil
[ERROR] awards.tbv was not used correctly!
Value: 'nil'
Dump:{minetestbr = {count = {default = {stone = 10}}, name = "minetestbr", unlocked = {awards_Catador_de_Pedras = "awards_Catador_de_Pedras"}}, Monerk = {place = {default = {cobble = 2, dirt = 1}}, count = {default = {dirt_with_grass = 1}}, name = "Monerk"}}
[ERROR] awards.tbv - table 'name' is null, or not a table! Dump: nil
[ERROR] awards.tbv - table 'deaths' is null, or not a table! Dump: nil
[ERROR] awards.tbv was not used correctly!
Value: 'nil'
Dump:{minetestbr = {count = {default = {stone = 10}}, name = "minetestbr", unlocked = {awards_Catador_de_Pedras = "awards_Catador_de_Pedras"}}, Monerk = {place = {default = {cobble = 2, dirt = 1}}, count = {default = {dirt_with_grass = 1}}, name = "Monerk"}}
[ERROR] awards.tbv - table 'name' is null, or not a table! Dump: nil
[ERROR] awards.tbv - table 'deaths' is null, or not a table! Dump: nil
17:07:24: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...ktop\minemacro\minemacro\bin\..\mods\awards/triggers.lua:148: attempt to perform arithmetic on field 'deaths' (a nil value)
17:07:24: ERROR[main]: stack traceback:

In thread b4c:
..\..\src\minetest\src\main.cpp:2181: main: Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b4c:
#0  main
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  ServerMap::save)
(Leftover data: #3  ServerMap::saveBlock)
(Leftover data: #4  ItemStack::serialize)

Posted: Tue Nov 12, 2013 19:32
by rubenwardy
Bug fixed.

Code: Select all

It was quite a stupid bug, I used a variable called "playern", which contains the player name, before it was assigned, so it was null.
Can you try this mod again?

Posted: Tue Nov 12, 2013 22:27
by neron
Can you post a screenshot?

Posted: Wed Nov 13, 2013 08:47
by rubenwardy
Image

Posted: Wed Nov 13, 2013 15:35
by general3214
:O Will you add achievements for crafting and smelting?

Posted: Wed Nov 13, 2013 22:52
by niicolastomaz
Very Nice! this mod is awesome

Posted: Wed Nov 13, 2013 23:14
by niicolastomaz
Ideas!
Making a workbench (mod a support for the inventory equal to the Minecraft!)
mine obsidian
make a stone pickaxe
take the first timber
make a hoe
make a planting
and make a bed (with support for the mod of the bed!)

Thank you, hope you like these ideas and great mod, I already downloaded
and is very good!