Page 3 of 6

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

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

PostPosted: 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: https://forum.minetest.net/viewtopic.php?id=7038

Hackeridze's Watermelon: https://forum.minetest.net/viewtopic.php?id=765

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

Look what happened in debug

[spoiler]
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
7:24:14: ACTION[ServerThread]: gabriel damaged by 4 hp at (276.03,-73.5,-286.8)
17:24:19: ACTION[ServerThread]: gabriel damaged by 4 hp at (274.369,-73.5,-284.8)
17:24:20: ACTION[ServerThread]: gabriel damaged by 4 hp at (274.369,-73.5,-284.8)
17:24:20: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=139 m_static_exists=true but static data doesn't actually exist in (17,-2,-19)
WARNING: StaticObjectList::remove(): id=139 not found
17:24:20: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=140 m_static_exists=true but static data doesn't actually exist in (17,-2,-19)
WARNING: StaticObjectList::remove(): id=140 not found
17:24:24: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...o\Desktop\minemacro\minemacro\bin\..\mods\awards/api.lua:50: table index is nil
17:24:24: ERROR[main]: stack traceback:

In thread 8d8:
[/spoiler]
Overthrew the server.

Which hopefully soon.

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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
[ERROR] awards.tbv ....

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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
[ERROR] awards.tbv ....


I do not understand.
What is the procedure?

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

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

PostPosted: Tue Nov 12, 2013 19:09
by BrunoMine
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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)

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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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?

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

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

PostPosted: Wed Nov 13, 2013 15:35
by general3214

:O Will you add achievements for crafting and smelting?

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

PostPosted: 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!

PostPosted: Wed Nov 20, 2013 10:04
by hoodedice
I am in need of a system that can give an achievement on_player_location. Can you do that, rubenwardy?

PostPosted: Wed Nov 20, 2013 18:30
by rubenwardy
The easy way would be to implement support in privareas for this mod.

The longer way would to be to write a new trigger for on_player_location.

PostPosted: Wed Nov 20, 2013 19:43
by hoodedice
rubenwardy wrote:The easy way would be to implement support in privareas for this mod.

The longer way would to be to write a new trigger for on_player_location.


If only I knew how exactly to implement that...

PostPosted: Sat Dec 07, 2013 15:29
by BrunoMine
I believe that you should create a prettier interface. Something like a book of adventure, in which the player can see a description of their duties. Only acro would be a good idea.

PostPosted: Wed Feb 05, 2014 01:11
by 1704626
U SHOULD ADD CUTCENES TO THIS MOD
PS DID U HEAR ABOUT THE RE ADDED DUNGEON MASTER U SHOULD MAKE A ACHIEVEMENT FOR SLAYING IT

PostPosted: Fri Mar 07, 2014 15:57
by 4aiman
I made this while being absent.

Re: [Mod] Achievements [0.3] [awards]

PostPosted: Fri May 02, 2014 19:20
by rubenwardy

0.4 Released



Image

This is the first half of my coding sprint. Tomorrow I will release more changes.

New Features
  • Awards menu listing all awards.

New Awards
  • Join a server.
  • First Word - use the chat to talk to other players.

API Changes
  • Added on chat trigger.
  • Added on join trigger.
  • Added support for secret mods (hidden in awards list until unlocked).
  • Added support for creating triggers outside the mod.

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 01:17
by robotest
I get this error when i try to click on another achievement in the list:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
21:10:03: ERROR[main]: ServerError: ...minetest-0.4.9\bin\..\games\robotest\mods\awards/api.lua:415: attempt to call field 'explode_textlist_event' (a nil value)
21:10:03: ERROR[main]: stack traceback:
21:10:03: ERROR[main]:    ...minetest-0.4.9\bin\..\games\robotest\mods\awards/api.lua:415: in function <...minetest-0.4.9\bin\..\games\robotest\mods\awards/api.lua:406>
21:10:03: ERROR[main]:    ...st-0.4.7\minetest-0.4.9\bin\..\builtin/misc_register.lua:330: in function <...st-0.4.7\minetest-0.4.9\bin\..\builtin/misc_register.lua:318>

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 11:39
by bajanhgk
rubenwardy wrote:First mese find - dig 1 mese

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 14:41
by 4aiman
Neat :)
Any chance prerequisites would be shown?

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 16:04
by Krock
robotest wrote:I get this error when i try to click on another achievement in the list:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
21:10:03: ERROR[main]: ServerError: ...minetest-0.4.9\bin\..\games\robotest\mods\awards/api.lua:415: attempt to call field 'explode_textlist_event' (a nil value)
21:10:03: ERROR[main]: stack traceback:
21:10:03: ERROR[main]:    ...minetest-0.4.9\bin\..\games\robotest\mods\awards/api.lua:415: in function <...minetest-0.4.9\bin\..\games\robotest\mods\awards/api.lua:406>
21:10:03: ERROR[main]:    ...st-0.4.7\minetest-0.4.9\bin\..\builtin/misc_register.lua:330: in function <...st-0.4.7\minetest-0.4.9\bin\..\builtin/misc_register.lua:318>

viewtopic.php?p=140109#p140109

EDIT: I invested my 1000th post for you!

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 17:12
by rubenwardy
4aiman wrote:Neat :)
Any chance prerequisites would be shown?


A progress bar will be added in the next version, but the description should explain what to do.

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 19:53
by kaeza
Request: Use HUD instead of Formspecs.
Suppose you are struggling with a vombie, or worse, a DM, and you place your 100th torch...

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sat May 03, 2014 20:40
by webdesigner97
kaeza wrote:Request: Use HUD instead of Formspecs.
Suppose you are struggling with a vombie, or worse, a DM, and you place your 100th torch...

Achievement unlocked: "But I was reading this form!" - Die while reading a formspec :D

Re: [Mod] Achievements [0.4] [awards] - awards menu

PostPosted: Sun May 04, 2014 11:46
by rubenwardy
kaeza wrote:Request: Use HUD instead of Formspecs.
Suppose you are struggling with a vombie, or worse, a DM, and you place your 100th torch...


When I made this mod, there were no such things as HUD elements. But I will add them soon.