[Mod] Achievements [2.3] [awards] – UI support, more awards

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Nov 07, 2013 08:58

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

commit
 

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

by general3214 » Fri Nov 08, 2013 00:32

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.
March 6, 2014, 8:37 PM PST: I will no longer continue my mods.
Mods | GitHub | MCF
Avatar made by Annahstas
 

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

by Topywo » Fri Nov 08, 2013 09:19

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
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Mon Nov 11, 2013 21:14

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

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Nov 12, 2013 08:52

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 ....
Last edited by rubenwardy on Tue Nov 12, 2013 08:52, edited 1 time in total.
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Tue Nov 12, 2013 14:46

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

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Nov 12, 2013 14:53

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

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Tue Nov 12, 2013 17:51

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: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Tue Nov 12, 2013 19:09

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

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Nov 12, 2013 19:32

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?
 

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

by neron » Tue Nov 12, 2013 22:27

Can you post a screenshot?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Nov 13, 2013 08:47

Image
Last edited by rubenwardy on Wed Nov 13, 2013 08:47, edited 1 time in total.
 

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

by general3214 » Wed Nov 13, 2013 15:35


:O Will you add achievements for crafting and smelting?
March 6, 2014, 8:37 PM PST: I will no longer continue my mods.
Mods | GitHub | MCF
Avatar made by Annahstas
 

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

by niicolastomaz » Wed Nov 13, 2013 22:52

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

by niicolastomaz » Wed Nov 13, 2013 23:14

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
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Wed Nov 20, 2013 10:04

I am in need of a system that can give an achievement on_player_location. Can you do that, rubenwardy?
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Nov 20, 2013 18:30

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.
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Wed Nov 20, 2013 19:43

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...
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Sat Dec 07, 2013 15:29

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

1704626
Member
 
Posts: 87
Joined: Thu Jan 02, 2014 22:52

by 1704626 » Wed Feb 05, 2014 01:11

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
Just Call Me Numbers
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Fri Mar 07, 2014 15:57

I made this while being absent.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Fri May 02, 2014 19:20

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.
 

robotest
Member
 
Posts: 10
Joined: Tue Jul 23, 2013 00:12

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

by robotest » Sat May 03, 2014 01:17

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>
 

bajanhgk
Member
 
Posts: 75
Joined: Sun Apr 06, 2014 16:31
In-game: bajanhgk

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

by bajanhgk » Sat May 03, 2014 11:39

rubenwardy wrote:First mese find - dig 1 mese
Just a Loner In the Winds which Blow Endlessly towards Death
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

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

by 4aiman » Sat May 03, 2014 14:41

Neat :)
Any chance prerequisites would be shown?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

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

by Krock » Sat May 03, 2014 16:04

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!
Last edited by Krock on Sat May 03, 2014 17:46, edited 1 time in total.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Sat May 03, 2014 17:12

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.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

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

by kaeza » Sat May 03, 2014 19:53

Request: Use HUD instead of Formspecs.
Suppose you are struggling with a vombie, or worse, a DM, and you place your 100th torch...
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

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

by webdesigner97 » Sat May 03, 2014 20:40

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
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Sun May 04, 2014 11:46

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.
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 10 guests

cron