[Mod] Awards / Achievements [3.2.0] [awards]

kizeren
Member
Posts: 18
Joined: Thu Oct 24, 2013 15:06
Location: Missouri, USA

by kizeren » Post

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

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

how can I view a mission?
view full description.
How to see all available quests?
What are all the available commands? (Only one?)
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
general3214
Member
Posts: 122
Joined: Fri Oct 04, 2013 03:15

by general3214 » Post

Minecraft Achievements 0.1

Links
Download
Gist
Spoiler
Added:
  • "Getting Wood" - Cut a tree block.
  • "Time to Mine!" - Mine 1 stone.
  • "Hot Topic" - Place a Furnace.
  • "Acquire Hardware" - Mine an iron ore.
  • "On A Rail" - Place 1000 rails.
  • "DIAMONDS!" - Mine a diamond ore.
  • "Librarian" - Place a bookshelf.
To Do:
  • "Time to Farm!" - Place a seed.
  • "The Lie" - Place a cake.
  • "Getting an Upgrade" - Mine a mese ore.
  • "Enchanter" - ???
  • "MOAR Tools" - ???
Not Possible:
  • "Taking Inventory"
  • "Benchmarking"
  • "Bake Bread"
  • "Delicious Fish"
  • "Time to Strike!"
  • "Monster Hunter"
  • "Cow Tipper"
  • "When Pigs Fly"
  • "Sniper Duel"
  • "We Need to Go Deeper"/"Into The Nether"
  • "Return to Sender"
  • "Into Fire"
  • "Local Brewery"
  • "The End?"
  • "The End."
  • "Overkill"
  • "Adventuring Time"
  • "The Beginning?"
  • "The Beginning."
  • "Beaconator"
  • "Repopulation"
  • "Diamonds to you!"
  • "Dispense With This"
  • "Leader Of The Pack"
Last edited by general3214 on Tue Nov 05, 2013 02:50, edited 1 time in total.
Avatar made by Annahstas

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

this mod is fascinating. We must invest in it.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

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

My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

kizeren
Member
Posts: 18
Joined: Thu Oct 24, 2013 15:06
Location: Missouri, USA

by kizeren » Post

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.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

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)
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

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.
Last edited by rubenwardy on Wed Nov 06, 2013 18:43, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
general3214
Member
Posts: 122
Joined: Fri Oct 04, 2013 03:15

by general3214 » Post

Great! Now I can test out the other achievements I made!
Avatar made by Annahstas

User avatar
general3214
Member
Posts: 122
Joined: Fri Oct 04, 2013 03:15

by general3214 » Post

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.
Avatar made by Annahstas

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Yeah, it appears that I have not bullet proofed that. Thanks for the bug report! Have a melon!

commit
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
general3214
Member
Posts: 122
Joined: Fri Oct 04, 2013 03:15

by general3214 » Post

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
Last edited by general3214 on Fri Nov 08, 2013 00:33, edited 1 time in total.
Avatar made by Annahstas

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

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

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

BUG

Look what happened in debug
Spoiler

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:
Overthrew the server.

Which hopefully soon.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Update your copy, and try it now, and post pack any messages like this:

Code: Select all

[ERROR] awards.tbv ....
Last edited by rubenwardy on Tue Nov 12, 2013 08:52, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

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?
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

  • 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...
Last edited by rubenwardy on Tue Nov 12, 2013 14:53, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

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.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

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)
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

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?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

neron
Member
Posts: 82
Joined: Sat Dec 22, 2012 20:22

by neron » Post

Can you post a screenshot?

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Image
Last edited by rubenwardy on Wed Nov 13, 2013 08:47, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
general3214
Member
Posts: 122
Joined: Fri Oct 04, 2013 03:15

by general3214 » Post

:O Will you add achievements for crafting and smelting?
Avatar made by Annahstas

User avatar
niicolastomaz
New member
Posts: 5
Joined: Wed Jul 31, 2013 20:36
Location: Fortaleza CE

by niicolastomaz » Post

Very Nice! this mod is awesome
Eae!
Tudo bem? espero que sim,faço mapa para minetest,e outras coisas! :)
Meu skype: nicolas.tomaz7

User avatar
niicolastomaz
New member
Posts: 5
Joined: Wed Jul 31, 2013 20:36
Location: Fortaleza CE

by niicolastomaz » Post

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!
Eae!
Tudo bem? espero que sim,faço mapa para minetest,e outras coisas! :)
Meu skype: nicolas.tomaz7

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 28 guests