Skip to content

Instantly share code, notes, and snippets.

View tancop's full-sized avatar

Teodor Potancok tancop

View GitHub Profile
#0 0x00007ffff7acc0c4 in pthread_mutex_lock () from /lib64/libc.so.6
#1 0x000000000420c62a in ?? ()
#2 0x00007fffe978ba21 in godot::internal::_call_native_mb_ret_obj<godot::Material, long*> (mb=<optimized out>, instance=<optimized out>) at include/godot_cpp/core/engine_ptrcall.hpp:51
#3 0x00007fffe978affb in godot::Mesh::surface_get_material (this=0xa7d6000, surf_idx=surf_idx@entry=0) at gen/src/classes/mesh.cpp:98
#4 0x00007fffe975a6fe in ExampleRef::test (this=<optimized out>, mesh=...) at src/example.cpp:52
#5 0x00007fffe97648dc in godot::call_with_variant_args_helper<godot::___UnexistingClass, godot::Ref<godot::ArrayMesh>, 0ul> (p_instance=p_instance@entry=0xa7d5fd0, p_method=<optimized out>, p_args=p_args@entry=0x7fffffffc888,
r_error=...) at /home/tpotancok/Godot/godot-cpp/include/godot_cpp/core/binder_common.hpp:195
#6 0x00007fffe9764a62 in godot::call_with_variant_args_dv<godot::___UnexistingClass, godot::Ref<godot::ArrayMesh> > (p_instance=0xa7d5fd0, p_method=<optimized out>, p_args=0x7ff
@tancop
tancop / godot.out
Created June 27, 2022 12:01
Crash in official alpha10
❯ ../../../bin/Godot_v4.0-alpha10_linux.64
ERROR: Index p_type_b = 1752697600 is out of bounds (Variant::VARIANT_MAX = 35).
at: get_ptr_operator_evaluator (core/variant/variant_op.cpp:919)
ERROR: Index p_type_b = 81704528 is out of bounds (Variant::VARIANT_MAX = 35).
at: get_ptr_operator_evaluator (core/variant/variant_op.cpp:919)
ERROR: Index p_type_b = 81704528 is out of bounds (Variant::VARIANT_MAX = 35).
at: get_ptr_operator_evaluator (core/variant/variant_op.cpp:919)
ERROR: Index p_type_b = 81704528 is out of bounds (Variant::VARIANT_MAX = 35).
at: get_ptr_operator_evaluator (core/variant/variant_op.cpp:919)
ERROR: Condition "!method" is true. Returning: 0
var stone_pedestal = VanillaFactory.createBlock("stone_pedestal", <blockmaterial:rock>);
stone_pedestal.fullBlock = false;
stone_pedestal.blockResistance = 30 as float;
stone_pedestal.blockSoundType = <soundtype:stone>;
stone_pedestal.axisAlignedBB = AxisAlignedBB.create(0.125d, 0.0d, 0.125d, 0.875d, 1.0d, 0.875d);
stone_pedestal.register();
{
"forge_marker": 1,
"defaults": {
"textures": {
"texture": "contenttweaker:blocks/stone_pedestal",
"particle": "contenttweaker:blocks/stone_pedestal"
},
"model": "contenttweaker:stone_pedestal",
"uvlock": true,
"transform": "forge:default-block"
@tancop
tancop / 0items.zs
Created July 18, 2019 09:15
Script
#loader contenttweaker
import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Item;
import mods.contenttweaker.IItemGetContainerItem;
var brokenGrindstone = VanillaFactory.createItem("broken_grindstone");
brokenGrindstone.setMaxStackSize(1);
brokenGrindstone.register();
@tancop
tancop / crafttweaker.log
Created July 18, 2019 08:53
Without ";"
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [preinit]
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: 0items.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: 1blocks.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: 2crafting.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 4ms
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [contenttweaker]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [contenttweaker]
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Loading Script: {[0:contenttweaker]: 0items.zs}
[PREINITIALIZATION][CLIENT]
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [preinit]
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: 0items.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: 1blocks.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: 2crafting.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 2ms
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [contenttweaker]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [contenttweaker]
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Loading Script: {[0:contenttweaker]: 0items.zs}
[PREINITIALIZATION][CLIENT]
@tancop
tancop / 0items.zs
Created July 16, 2019 10:40
Items script for kindlich
#loader contenttweaker
import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Item;
import mods.contenttweaker.IItemGetContainerItem;
var brokenGrindstone = VanillaFactory.createItem("broken_grindstone");
brokenGrindstone.setMaxStackSize(1);
brokenGrindstone.register();
@tancop
tancop / crafttweaker.log
Created July 15, 2019 11:53
NullPointerException
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [preinit]
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: 0items.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:contenttweaker]: 1blocks.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: 2crafting.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 4ms
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [contenttweaker]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [contenttweaker]
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Loading Script: {[0:contenttweaker]: 0items.zs}
[PREINITIALIZATION][CLIENT]
@tancop
tancop / 0items.zs
Created July 12, 2019 10:41
items zenscript
#loader contenttweaker
import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Item;
import mods.contenttweaker.IItemGetContainerItem;
var brokenGrindstone = VanillaFactory.createItem("broken_grindstone");
brokenGrindstone.setMaxStackSize(1);
brokenGrindstone.register();