HiraaCaan Posted June 25 Share Posted June 25 idk what is wrong i checked other mods all of them working good in them but when i do its not working problem is not about recepies and actualy i can see it on game BUT i cant craft it + its not in my survivor craft tab. if i craft it by using freecraft() game crashes i have been working on this mod since 2022 summer and its summer again so why not working on it again pls help me :< Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted June 25 Share Posted June 25 2 hours ago, HiraaCaan said: idk what is wrong i checked other mods all of them working good in them but when i do its not working problem is not about recepies and actualy i can see it on game BUT i cant craft it + its not in my survivor craft tab. if i craft it by using freecraft() game crashes i have been working on this mod since 2022 summer and its summer again so why not working on it again pls help me :< First, try using c_give or c_spawn and see if there are any issues with the item. If not, then recreate the recipe according to this post. Link to comment Share on other sites More sharing options...
HiraaCaan Posted June 27 Author Share Posted June 27 On 6/25/2023 at 4:44 PM, Haruhi Kawaii said: First, try using c_give or c_spawn and see if there are any issues with the item. If not, then recreate the recipe according to this post. using c_give and spawn commands are working there is no issue with size or anything else with item even when using it and also tanks for this post you send i will check it and see if its works :3 Link to comment Share on other sites More sharing options...
HiraaCaan Posted June 27 Author Share Posted June 27 On 6/25/2023 at 4:44 PM, Haruhi Kawaii said: First, try using c_give or c_spawn and see if there are any issues with the item. If not, then recreate the recipe according to this post. uhhh... they not working i cant even enter the game even if i did i cant spawn it game crashes? i tried all of the recipe codes even looked the other mods :< why isnt working maybe there is something wrong with other codes? idk Link to comment Share on other sites More sharing options...
HiraaCaan Posted June 27 Author Share Posted June 27 this is the client_log btw (...) [00:02:22]: [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> self = inst = 101642 - (valid:true) _ = table: 0000000087498FF0 owner = nil scripts/class.lua:43 in () ? (Lua) <36-45> t = table: 0000000087498690 k = owner v = nil p = table: 0000000087499180 old = nil scripts/components/inventoryitem.lua:45 in (field) _ctor (Lua) <42-72> self = inst = 101642 - (valid:true) _ = table: 0000000087498FF0 inst = 101642 - (valid:true) scripts/class.lua:191 in (local) cmp (Lua) <181-194> class_tbl = table: 0000000087498140 arg = nil obj = table: 0000000087498690 scripts/entityscript.lua:604 in (method) AddComponent (Lua) <591-617> self (valid:true) = GUID = 101642 Transform = Transform (000000008741B0E0) inlimbo = false actionreplica = table: 0000000087496CF0 event_listening = table: 0000000087495CB0 actioncomponents = table: 0000000087496480 lower_components_shadow = table: 0000000087495D00 entity = Entity (000000006220F520) AnimState = AnimState (000000008741B290) Network = Network (000000008741B320) persists = true SoundEmitter = SoundEmitter (000000008741BCE0) spawntime = 0.16666667535901 replica = table: 0000000087496C00 Physics = Physics (000000008741BE00) components = table: 0000000087495DF0 event_listeners = table: 0000000087496110 name = inventoryitem lower_name = inventoryitem cmp = table: 0000000087498140 ../mods/Westby/scripts/prefabs/bleach.lua:27 in (field) fn (Lua) <13-44> Sim = Sim (0000000014D2B950) inst = 101642 - (valid:true) scripts/mainfunctions.lua:336 in () ? (Lua) <325-371> name = bleach prefab = Prefab bleach - [00:02:22]: [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> scripts/class.lua:43 in () ? (Lua) <36-45> scripts/components/inventoryitem.lua:45 in (field) _ctor (Lua) <42-72> scripts/class.lua:191 in (local) cmp (Lua) <181-194> scripts/entityscript.lua:604 in (method) AddComponent (Lua) <591-617> ../mods/Westby/scripts/prefabs/bleach.lua:27 in (field) fn (Lua) <13-44> scripts/mainfunctions.lua:336 in () ? (Lua) <325-371> [00:02:22]: RakNet detected a missing replica (32118) [00:02:22]: RakNet detected a missing replica (66149) [00:02:22]: RakNet detected a missing replica (247050) [00:02:22]: RakNet detected a missing replica (11596000) [00:02:22]: RakNet detected a missing replica (8056579) [00:02:22]: RakNet detected a missing replica (12603657) [00:02:22]: RakNet detected a missing replica (11286529) [00:02:22]: RakNet detected a missing replica (6505316) [00:02:22]: RakNet detected a missing replica (681722) [00:02:22]: RakNet detected a missing replica (24590) [00:02:22]: RakNet detected a missing replica (6302468) [00:02:22]: RakNet detected a missing replica (12849664) [00:02:22]: RakNet detected a missing replica (3766306) [00:02:22]: RakNet detected a missing replica (961628) [00:02:22]: RakNet detected a missing replica (29980) [00:02:22]: RakNet detected a missing replica (525058) [00:02:22]: RakNet detected a missing replica (569344) [00:02:22]: RakNet detected a missing replica (1594884) [00:02:22]: RakNet detected a missing replica (1298169) [00:02:22]: RakNet detected a missing replica (8591477) [00:02:22]: RakNet detected a missing replica (15877297) [00:02:22]: RakNet detected a missing replica (4496626) [00:02:22]: RakNet detected a missing replica (4358214) [00:02:22]: RakNet detected a missing replica (65718) [00:02:22]: RakNet detected a missing replica (16428) [00:02:22]: RakNet detected a missing replica (15638176) [00:02:22]: RakNet detected a missing replica (7531186) [00:02:22]: RakNet detected a missing replica (23938) [00:02:22]: RakNet detected a missing replica (8588329) [00:02:22]: RakNet detected a missing replica (10696184) [00:02:22]: RakNet detected a missing replica (16253956) [00:02:22]: RakNet detected a missing replica (12080604) Just now, HiraaCaan said: this is the client_log btw (...) [00:02:22]: [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> self = inst = 101642 - (valid:true) _ = table: 0000000087498FF0 owner = nil scripts/class.lua:43 in () ? (Lua) <36-45> t = table: 0000000087498690 k = owner v = nil p = table: 0000000087499180 old = nil scripts/components/inventoryitem.lua:45 in (field) _ctor (Lua) <42-72> self = inst = 101642 - (valid:true) _ = table: 0000000087498FF0 inst = 101642 - (valid:true) scripts/class.lua:191 in (local) cmp (Lua) <181-194> class_tbl = table: 0000000087498140 arg = nil obj = table: 0000000087498690 scripts/entityscript.lua:604 in (method) AddComponent (Lua) <591-617> self (valid:true) = GUID = 101642 Transform = Transform (000000008741B0E0) inlimbo = false actionreplica = table: 0000000087496CF0 event_listening = table: 0000000087495CB0 actioncomponents = table: 0000000087496480 lower_components_shadow = table: 0000000087495D00 entity = Entity (000000006220F520) AnimState = AnimState (000000008741B290) Network = Network (000000008741B320) persists = true SoundEmitter = SoundEmitter (000000008741BCE0) spawntime = 0.16666667535901 replica = table: 0000000087496C00 Physics = Physics (000000008741BE00) components = table: 0000000087495DF0 event_listeners = table: 0000000087496110 name = inventoryitem lower_name = inventoryitem cmp = table: 0000000087498140 ../mods/Westby/scripts/prefabs/bleach.lua:27 in (field) fn (Lua) <13-44> Sim = Sim (0000000014D2B950) inst = 101642 - (valid:true) scripts/mainfunctions.lua:336 in () ? (Lua) <325-371> name = bleach prefab = Prefab bleach - [00:02:22]: [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> scripts/class.lua:43 in () ? (Lua) <36-45> scripts/components/inventoryitem.lua:45 in (field) _ctor (Lua) <42-72> scripts/class.lua:191 in (local) cmp (Lua) <181-194> scripts/entityscript.lua:604 in (method) AddComponent (Lua) <591-617> ../mods/Westby/scripts/prefabs/bleach.lua:27 in (field) fn (Lua) <13-44> scripts/mainfunctions.lua:336 in () ? (Lua) <325-371> [00:02:22]: RakNet detected a missing replica (32118) [00:02:22]: RakNet detected a missing replica (66149) [00:02:22]: RakNet detected a missing replica (247050) [00:02:22]: RakNet detected a missing replica (11596000) [00:02:22]: RakNet detected a missing replica (8056579) [00:02:22]: RakNet detected a missing replica (12603657) [00:02:22]: RakNet detected a missing replica (11286529) [00:02:22]: RakNet detected a missing replica (6505316) [00:02:22]: RakNet detected a missing replica (681722) [00:02:22]: RakNet detected a missing replica (24590) [00:02:22]: RakNet detected a missing replica (6302468) [00:02:22]: RakNet detected a missing replica (12849664) [00:02:22]: RakNet detected a missing replica (3766306) [00:02:22]: RakNet detected a missing replica (961628) [00:02:22]: RakNet detected a missing replica (29980) [00:02:22]: RakNet detected a missing replica (525058) [00:02:22]: RakNet detected a missing replica (569344) [00:02:22]: RakNet detected a missing replica (1594884) [00:02:22]: RakNet detected a missing replica (1298169) [00:02:22]: RakNet detected a missing replica (8591477) [00:02:22]: RakNet detected a missing replica (15877297) [00:02:22]: RakNet detected a missing replica (4496626) [00:02:22]: RakNet detected a missing replica (4358214) [00:02:22]: RakNet detected a missing replica (65718) [00:02:22]: RakNet detected a missing replica (16428) [00:02:22]: RakNet detected a missing replica (15638176) [00:02:22]: RakNet detected a missing replica (7531186) [00:02:22]: RakNet detected a missing replica (23938) [00:02:22]: RakNet detected a missing replica (8588329) [00:02:22]: RakNet detected a missing replica (10696184) [00:02:22]: RakNet detected a missing replica (16253956) [00:02:22]: RakNet detected a missing replica (12080604) my custom item name is "bleach" Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted June 27 Share Posted June 27 2 hours ago, HiraaCaan said: this is the client_log btw (...) [00:02:22]: [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> self = inst = 101642 - (valid:true) _ = table: 0000000087498FF0 owner = nil scripts/class.lua:43 in () ? (Lua) <36-45> t = table: 0000000087498690 k = owner v = nil p = table: 0000000087499180 old = nil scripts/components/inventoryitem.lua:45 in (field) _ctor (Lua) <42-72> self = inst = 101642 - (valid:true) _ = table: 0000000087498FF0 inst = 101642 - (valid:true) scripts/class.lua:191 in (local) cmp (Lua) <181-194> class_tbl = table: 0000000087498140 arg = nil obj = table: 0000000087498690 scripts/entityscript.lua:604 in (method) AddComponent (Lua) <591-617> self (valid:true) = GUID = 101642 Transform = Transform (000000008741B0E0) inlimbo = false actionreplica = table: 0000000087496CF0 event_listening = table: 0000000087495CB0 actioncomponents = table: 0000000087496480 lower_components_shadow = table: 0000000087495D00 entity = Entity (000000006220F520) AnimState = AnimState (000000008741B290) Network = Network (000000008741B320) persists = true SoundEmitter = SoundEmitter (000000008741BCE0) spawntime = 0.16666667535901 replica = table: 0000000087496C00 Physics = Physics (000000008741BE00) components = table: 0000000087495DF0 event_listeners = table: 0000000087496110 name = inventoryitem lower_name = inventoryitem cmp = table: 0000000087498140 ../mods/Westby/scripts/prefabs/bleach.lua:27 in (field) fn (Lua) <13-44> Sim = Sim (0000000014D2B950) inst = 101642 - (valid:true) scripts/mainfunctions.lua:336 in () ? (Lua) <325-371> name = bleach prefab = Prefab bleach - [00:02:22]: [string "scripts/components/inventoryitem.lua"]:10: attempt to index field 'inventoryitem' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem.lua:10 in (field) ? (Lua) <9-11> scripts/class.lua:43 in () ? (Lua) <36-45> scripts/components/inventoryitem.lua:45 in (field) _ctor (Lua) <42-72> scripts/class.lua:191 in (local) cmp (Lua) <181-194> scripts/entityscript.lua:604 in (method) AddComponent (Lua) <591-617> ../mods/Westby/scripts/prefabs/bleach.lua:27 in (field) fn (Lua) <13-44> scripts/mainfunctions.lua:336 in () ? (Lua) <325-371> [00:02:22]: RakNet detected a missing replica (32118) [00:02:22]: RakNet detected a missing replica (66149) [00:02:22]: RakNet detected a missing replica (247050) [00:02:22]: RakNet detected a missing replica (11596000) [00:02:22]: RakNet detected a missing replica (8056579) [00:02:22]: RakNet detected a missing replica (12603657) [00:02:22]: RakNet detected a missing replica (11286529) [00:02:22]: RakNet detected a missing replica (6505316) [00:02:22]: RakNet detected a missing replica (681722) [00:02:22]: RakNet detected a missing replica (24590) [00:02:22]: RakNet detected a missing replica (6302468) [00:02:22]: RakNet detected a missing replica (12849664) [00:02:22]: RakNet detected a missing replica (3766306) [00:02:22]: RakNet detected a missing replica (961628) [00:02:22]: RakNet detected a missing replica (29980) [00:02:22]: RakNet detected a missing replica (525058) [00:02:22]: RakNet detected a missing replica (569344) [00:02:22]: RakNet detected a missing replica (1594884) [00:02:22]: RakNet detected a missing replica (1298169) [00:02:22]: RakNet detected a missing replica (8591477) [00:02:22]: RakNet detected a missing replica (15877297) [00:02:22]: RakNet detected a missing replica (4496626) [00:02:22]: RakNet detected a missing replica (4358214) [00:02:22]: RakNet detected a missing replica (65718) [00:02:22]: RakNet detected a missing replica (16428) [00:02:22]: RakNet detected a missing replica (15638176) [00:02:22]: RakNet detected a missing replica (7531186) [00:02:22]: RakNet detected a missing replica (23938) [00:02:22]: RakNet detected a missing replica (8588329) [00:02:22]: RakNet detected a missing replica (10696184) [00:02:22]: RakNet detected a missing replica (16253956) [00:02:22]: RakNet detected a missing replica (12080604) my custom item name is "bleach" Attach your mod here, I'll try to fix it Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 1 Author Share Posted July 1 (edited) On 6/27/2023 at 5:38 PM, Haruhi Kawaii said: Attach your mod here, I'll try to fix it (sorry for late respond) Edited July 1 by HiraaCaan Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 1 Author Share Posted July 1 48 minutes ago, HiraaCaan said: (sorry for late respond) modinfo.lua 961 B · 0 downloads modmain.lua 3.4 kB · 0 downloads do you need another .lua? Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 1 Share Posted July 1 2 hours ago, HiraaCaan said: do you need another .lua? Yes, need bleach.lua Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 1 Author Share Posted July 1 48 minutes ago, Haruhi Kawaii said: Yes, need bleach.lua bleach.lua Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 1 Share Posted July 1 42 minutes ago, HiraaCaan said: bleach.lua 1.21 kB · 1 download I haven't tested it yet but as rezecib said in the post bleach.lua Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 1 Author Share Posted July 1 (edited) 2 hours ago, Haruhi Kawaii said: I haven't tested it yet but as rezecib said in the post bleach.lua 1.22 kB · 0 downloads now all i need is the put this item into survival craft tab (this problem is the entire thing why the mod havent finished yet since 2022) once i do that im done with the half of my mod i just need to put the carol song and the other items and ready to play (well actualy in 1 year a lot of things added to game i need the add new custom talks things to mod augh... ) Edited July 1 by HiraaCaan Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 1 Author Share Posted July 1 wait how to put the item in the survival craft tab? Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 2 Share Posted July 2 8 hours ago, HiraaCaan said: wait how to put the item in the survival craft tab? Spoiler local Ingredient = GLOBAL.Ingredient AddCharacterRecipe("bleach", {Ingredient("petals_evil", 4), Ingredient("messagebottleempty", 1), Ingredient("wetgoop", 2),}, GLOBAL.TECH.NONE, {atlas = "images/inventoryimages/bleach.xml", builder_tag = "westby"}) 1 Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 6 Author Share Posted July 6 (edited) On 7/2/2023 at 5:40 AM, Haruhi Kawaii said: Reveal hidden contents local Ingredient = GLOBAL.Ingredient AddCharacterRecipe("bleach", {Ingredient("petals_evil", 4), Ingredient("messagebottleempty", 1), Ingredient("wetgoop", 2),}, GLOBAL.TECH.NONE, {atlas = "images/inventoryimages/bleach.xml", builder_tag = "westby"}) ahh... now its says "another survivor knows how to craft" ???? why it says this i tried to look up on internet couldnt find anything fixed Edited July 6 by HiraaCaan 1 Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 6 Author Share Posted July 6 On 7/2/2023 at 5:40 AM, Haruhi Kawaii said: Reveal hidden contents local Ingredient = GLOBAL.Ingredient AddCharacterRecipe("bleach", {Ingredient("petals_evil", 4), Ingredient("messagebottleempty", 1), Ingredient("wetgoop", 2),}, GLOBAL.TECH.NONE, {atlas = "images/inventoryimages/bleach.xml", builder_tag = "westby"}) btw pal, do you know how to make custom edible item that gives you buffs? i couldnt find anything for like uhhh 3 hours? Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 7 Share Posted July 7 12 hours ago, HiraaCaan said: btw pal, do you know how to make custom edible item that gives you buffs? i couldnt find anything for like uhhh 3 hours? Spoiler local function oneaten(inst, eater) eater:AddDebuff("sweettea_buff", "sweettea_buff") end ------fn ------ inst.components.edible:SetOnEatenFn(oneaten) You can check out the buffs here or make your own Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 7 Author Share Posted July 7 11 hours ago, Haruhi Kawaii said: Reveal hidden contents local function oneaten(inst, eater) eater:AddDebuff("sweettea_buff", "sweettea_buff") end ------fn ------ inst.components.edible:SetOnEatenFn(oneaten) You can check out the buffs here or make your own ig it will help thank you again for evrything!!! Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 9 Author Share Posted July 9 (edited) well i cant spawn it or craft it when i add the code you send :< Edited July 9 by HiraaCaan blehhh Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 10 Share Posted July 10 9 hours ago, HiraaCaan said: well i cant spawn it or craft it when i add the code you send :< Please zip and attach the entire code here, I will check it, no need for exported folder Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 10 Author Share Posted July 10 13 hours ago, Haruhi Kawaii said: Please zip and attach the entire code here, I will check it, no need for exported folder you mean with entire how much entire pill_marble.lua Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 10 Share Posted July 10 1 hour ago, HiraaCaan said: you mean with entire how much entire pill_marble.lua 1.53 kB · 0 downloads pill_marble.lua Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 10 Author Share Posted July 10 9 minutes ago, Haruhi Kawaii said: pill_marble.lua 1.45 kB · 0 downloads :3 thanks i will check it later and let you know Link to comment Share on other sites More sharing options...
HiraaCaan Posted July 10 Author Share Posted July 10 (edited) 5 hours ago, Haruhi Kawaii said: pill_marble.lua 1.45 kB · 0 downloads No... sorry it not working. i mean idk if its works but i cant craft it and both server logs things doesnt realy say anything helpfully... Edited July 10 by HiraaCaan You dont need to rush for me i can wait for entire summer so have your days Link to comment Share on other sites More sharing options...
Haruhi Kawaii Posted July 11 Share Posted July 11 5 hours ago, HiraaCaan said: No... sorry it not working. i mean idk if its works but i cant craft it and both server logs things doesnt realy say anything helpfully... Hm...have you tried spawn pill_marble?, i don't seem to see any problem from pill_marble.lua if still not working please upload modmain here Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now