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

User avatar
Linxx
Member
 
Posts: 401
Joined: Wed May 16, 2012 00:37

by Linxx » Sun Feb 24, 2013 03:02

that brings us back to this
Linxx wrote: completionists might like it but the rest...
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Sun Feb 24, 2013 06:15

Some acheivment ideas:
----------------------------------
Blacksmith- Craft 4 Tools
Builder- Build a house
Miner- Mine 10 ores
Yummy In My Tummy- Eat apples or another food.
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Sun Feb 24, 2013 13:21

[h]Portaltest Achievements[/h]

  • The Cube! - Pick up/mine the cube.
  • What how that happen? - Mined the unmined Cube.
  • The... - Find yours first cake.
  • The Cake... - Found 2 cakes.
  • The Cake is a... - Find 25 Cakes.
  • The Cake is a Lie - Beat the game and get the, last cake.
  • No Swiming - Swim in the goo and, die.
  • What there be Fire! - Place Portal Fire.
  • THIS IS PORTA! - Kill a Turret using Portal Rare Sword.
  • Useless Place - Place down useless block.

Yeah What you think the Portaltest is color as, the game should be :)

More to come soon as, I get it to beta and have alot of maps.
Last edited by Likwid H-Craft on Sun Feb 24, 2013 13:25, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Sun Feb 24, 2013 14:12

I've designed a formspec system that may be useful here.
Check likwids achievement ideas topic.
Last edited by Traxie21 on Sun Feb 24, 2013 15:45, edited 1 time in total.
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Sun Feb 24, 2013 14:31

Traxie21 wrote:I've designed a formspec system that may be useful here.
Check likwids achievement ideas topic.


It Likwid not Liqwid.
Last edited by Likwid H-Craft on Sun Feb 24, 2013 14:32, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Sun Feb 24, 2013 15:46

my mistake.
 

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

by rubenwardy » Mon Feb 25, 2013 11:08

Traxie21 wrote:I've designed a formspec system that may be useful here.
Check likwids achievement ideas topic.


It would be possible to add it.

The place to insert it would be here: https://github.com/rubenwardy/awards/blob/master/api.lua#L104

You would need to read the achievement details from

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
awards['def'][award]


and get the image variable (if defined)
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Mon Feb 25, 2013 13:01

I will see what I can do. It would probably be best to have a config option to disable formspec and use plain text.

EDIT: Doing some testing, I found that placing, then mining default:stone_with_mese and nyancat will crash the game, sometimes just placing them... Any idea why?

EDIT: Also, leaving the game crashes with "attempt to call gloabl save_player_ID (a nil value)"

God, your code is hard to understand...
Mabye you could consider using something like:

data_table.background

instead of:

data_table['background']

Still trying to find how to get the background and icon values through the register and run systems and into the actual formspec......



EDIT AGAIN:
If you set default values for awards['title/desc'] and now the formspec im adding, why do you need to check the seperately? I'm combining them.


EDIT 3000:
It now no longer crashes the game completely, but gives a meaningful error message when I break a block... Progress I suppose

EDIT 3.019452:
Done. Pull request submitted, testing needed.
Last edited by Traxie21 on Mon Feb 25, 2013 19:16, edited 1 time in total.
 

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

by jojoa1997 » Tue Feb 26, 2013 03:09

i get this error when my player loads into the world. it is a new world and everything.
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
22:06:54: ERROR[main]: Some exception: "LuaError: error: ...op\minetest\bin\..\mods\minetest\awards/triggers.lua:203: attempt to call global 'save_playerD' (a nil value)
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Tue Feb 26, 2013 07:39

I had that as well, I think it is fixed in my branch, but no promises.

https://github.com/Traxie21/awards/
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Fri Apr 26, 2013 19:35

I think that there should be easy and hard achievements (not too hard though) because having only, like, 5 achievements that are nearly impossible to get is not as good as having 500 that are mostly easy.
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

thedestroyer
New member
 
Posts: 7
Joined: Sat Feb 16, 2013 13:43

by thedestroyer » Thu May 30, 2013 14:35

-----------------------------------
My Ideas for achievements
-----------------------------------

1) When you make glass in a furnace= crystal clear
2) When you die the first time= Reincarnation
3) When gathered/crafted all wooden tools= novice crafter
4) When gathered/crafted all stone tools= stone maison
5) When gathered/crafted all iron tool= heavy armed
6) When obtained 99 of every block= 99 for all
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Thu May 30, 2013 15:30

thedestroyer wrote:-----------------------------------
My Ideas for achievements
-----------------------------------

1) When you make glass in a furnace= crystal clear
2) When you die the first time= Reincarnation
3) When gathered/crafted all wooden tools= novice crafter
4) When gathered/crafted all stone tools= stone maison
5) When gathered/crafted all iron tool= heavy armed
6) When obtained 99 of every block= 99 for all
Find 99 Nyan Cats I dare you.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Thu May 30, 2013 16:04

Ninety-nine nyancats on the wall...
... take one down and pass it around!
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Tue Jul 23, 2013 14:59

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
16:51:04: ACTION[ServerThread]: singleplayer places node default:desert_sand at (-578,-24,129)
16:51:04: ACTION[ServerThread]: singleplayer leaves game. List of players:
16:51:04: ERROR[main]: ServerError: LuaError: error: ...s/minetest/bin/../games/OCD/mods/awards/triggers.lua:101: attempt to index field 'place' (a nil value)
16:51:04: ERROR[main]: stack traceback:
AL lib: FreeContext: (0x430c9d0) Deleting 1 Source(s)


I have a purpose for this mod and now it crashes. I can't seem to fix it.

EDIT
I found the issue, somehow a function returns this to the awards.txt

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
return { ["singleplayer"] = { ["count"] = { ["default"] = { ["stone"] = 9 } }, ["name"] = "singleplayer" } }


notice "return". Once i removed that all worked just fine

EDIT

for a while it worked but when restarting game it doesn't anymore. Plus i get an eeror on line 33 in triggers.lua when placing node

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:09:38: ERROR[main]: ServerError: LuaError: error: ...s/minetest/bin/../games/OCD/mods/awards/triggers.lua:101: attempt to index field 'place' (a nil value)
Last edited by Bas080 on Tue Jul 23, 2013 15:11, edited 1 time in total.
 

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

by rubenwardy » Fri Sep 27, 2013 08:05

Sorry for the late reply, I missed this.

I will work on adding suggestions and improving code.
Last edited by rubenwardy on Fri Sep 27, 2013 08:10, edited 1 time in total.
 

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

by rubenwardy » Mon Oct 07, 2013 17:28

 

User avatar
NakedFury
Member
 
Posts: 151
Joined: Thu Dec 08, 2011 03:55

by NakedFury » Wed Oct 09, 2013 17:14

You can't call something easy to do an achievement.

It's plain and simple.

Graduate college is an achievement.
Buying a house or apartment is an achievement.
Paying mortgage or student loan is an achievement.

Going to the corner store to buy food is not an achievement.


Also guys stop recommending a Build a house achievement.

Gambit is right in that achievement must be hard to accomplish. Achievements aren't things you can do in 1 hour or a day.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Wed Oct 09, 2013 18:26

NakedFury wrote:Also guys stop recommending a Build a house achievement.

It may be an achievement. Weather it is one or not just can't be judged by any algorithm.

It's true that real achievements are not something you do on a regular basis without any conscious effort. A game is a bit diffrent. I'd say a mixture of very easy, normal and hard achievements might be best.
A list of my mods can be found here.
 

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

by jojoa1997 » Wed Oct 09, 2013 18:29

Dont forget that if someone has just joined minetest and didn't ever have any exposure to any game like this moveing foreward or jumping is an achivement. In a game anything from jumping to reach 10000,0,10000 to place 5,000,000 blocks can be an achievement.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

kizeren
Member
 
Posts: 17
Joined: Thu Oct 24, 2013 15:06

by kizeren » Thu Oct 24, 2013 15:07

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

by BrunoMine » Thu Oct 24, 2013 17:29

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: 118
Joined: Fri Oct 04, 2013 03:15

by general3214 » Thu Oct 24, 2013 21:40

[h]Minecraft Achievements 0.1[/h]

Links
Download
Gist

[spoiler=Achievements]
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"
[/spoiler]
Last edited by general3214 on Tue Nov 05, 2013 02:50, 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
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Fri Oct 25, 2013 00:46

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

by BrunoMine » Fri Oct 25, 2013 01:00

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
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: 17
Joined: Thu Oct 24, 2013 15:06

by kizeren » Fri Oct 25, 2013 04:22

brunob.santos wrote:
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
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
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Oct 26, 2013 17:32

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)
 

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

by rubenwardy » Wed Nov 06, 2013 18:40

[h]Achievements 0.3![/h]

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.
 

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

by general3214 » Thu Nov 07, 2013 02:07

Great! Now I can test out the other achievements I made!
March 6, 2014, 8:37 PM PST: I will no longer continue my mods.
Mods | GitHub | MCF
Avatar made by Annahstas
 

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

by general3214 » Thu Nov 07, 2013 02:47

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

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 11 guests

cron