Skip to content

Instantly share code, notes, and snippets.

2017-02-03 23:49:06: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'digicompute' in callback ScriptApiPlayer::on_playerReceiveFields(): ...release\bin\..\games\great_farm\mods\digicompute/env.lua:94: attempt to index local 'code' (a nil value)
2017-02-03 23:49:06: ERROR[Main]: stack traceback:
2017-02-03 23:49:06: ERROR[Main]: ...release\bin\..\games\great_farm\mods\digicompute/env.lua:94: in function 'run_code'
2017-02-03 23:49:06: ERROR[Main]: ...release\bin\..\games\great_farm\mods\digicompute/env.lua:121: in function 'run_file'
2017-02-03 23:49:06: ERROR[Main]: ...s\great_farm\mods\digicompute/modules/computers/init.lua:528: in function 'run_file'
2017-02-03 23:49:06: ERROR[Main]: ...s\great_farm\mods\digicompute/modules/computers/init.lua:275: in function 'init'
2017-02-03 23:49:06: ERROR[Main]: ...s\great_farm\mods\digicompute/modules/computers/init.lua:113: in function 'handle'
2017-02-03 23:49:06: ERROR[Main]: ...s\great_farm\mods
bucket = {}
bucket.place = {} -- list of liquids to place
bucket.fill = {} -- list of liquids to loop over and set to air
bucket.name = {} -- list of bucket names to return after using the empty bucket
function bucket.give_filled(itemstack2, user2, ltype)
local inv = user2:get_inventory()
@Jordach
Jordach / .lua
Last active February 5, 2017 20:35
bucket = {}
bucket.place = {} -- list of liquids to place
bucket.fill = {} -- list of liquids to loop over and set to air
bucket.name = {} -- list of bucket names to return after using the empty bucket
function bucket.give_filled(itemstack2, user2, ltype)
local inv = user2:get_inventory()
List of Sellable Materials;
Logs [Oak, etc]
Stone
Mossy Cobblestone
Sand
Sandstone
Dirt
Glass
Leaves [Oak, etc]
-- setting player amour textures;
--[[
The first texture in the table is for 64x32 skins, the original Minecraft
format.
The second texture in the table is for 64x64 skins, introduced in
Minecraft's offical 1.8 update, not the Beta.
1) Give Stu the following
- https://jordach.net/Images/ProtonArt/character.blend
- https://jordach.net/Images/ProtonArt/character.x
- https://jordach.net/Images/ProtonArt/base_armour.png
- https://jordach.net/Images/ProtonArt/base_armour_straps.png
- https://raw.githubusercontent.com/Jordach/minetest_projekt/master/mods/player_textures/textures/ptextures_transparent.png
- https://github.com/Jordach/minetest_projekt/blob/master/mods/player_textures/textures/player_singleplayer.png
Request that Stu uses the new model. Ensure Stu reads the documentation with it.
function wardrobe.formspec_meta(
pos,
eye,
hair,
ushirt, ushirt2,
utrou, utrou2,
socks, socks2,
jacket, jacket2,
trous, trous2,
shoes, shoes2,
wardrobe.formspec_selections[pname] = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
minetest.show_formspec(
clicker:get_player_name(),
"wardrobe_"..minetest.pos_to_string(pos),
wardrobe.formspec_meta(wardrobe.formspec_selections[pname])
)
function wardrobe.formspec_meta(
eye,
hair,
ushirt, ushirt2,
utrou, utrou2,
socks, socks2,
jacket, jacket2,
trous, trous2,
shoes, shoes2,
acc1, acc2, acc3, acc4, acc5, acc6 )
@Jordach
Jordach / .lua
Created February 11, 2017 19:51
-- wardrobe formspec
wardrobe = {}
wardrobe.player_materials = {}
wardrobe.formspec_selections = {}
wardrobe.formspec_selections["singleplayer"] = {1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}