Lynnden Posted June 7, 2015 Share Posted June 7, 2015 ok so i want my character to at a certain sanity level (say 20%) kill everything within a certain range around it and regen at normal rate to 50.i know you can use sanity levels as a trigger. however i'm not sure how one would do this. or even if you can. Link to comment Share on other sites More sharing options...
Lynnden Posted June 7, 2015 Author Share Posted June 7, 2015 so what i think i need to do is at my triggered level i need to create a sanity aura around myself where i'm the source that extends to said distance and anything in that distance is dealt an insane amount of damage (unless i can call a specific command that kills npcs) Link to comment Share on other sites More sharing options...
Blueberrys Posted June 7, 2015 Share Posted June 7, 2015 @Lynnden Sanity trigger:inst:ListenForEvent("sanitydelta", function(inst, data) if data.newpercent <= 20 then -- ... endend)- Finding entities:local x,y,z = inst.Transform:GetWorldPosition()local ents = TheSim:FindEntities(x,y,z, radius, musttags, canttags, mustoneoftags)for k, v in pairs(ents) do -- ...end - Killing:inst:components.health:Kill() Link to comment Share on other sites More sharing options...
Lynnden Posted June 7, 2015 Author Share Posted June 7, 2015 @Blueberrys, how do i plug this into the program?inst:ListenForEvent("sanitydelta", function(inst, data) if data.newpercent <= 20 then local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, radius, musttags, canttags, mustoneoftags) for k, v in pairs(ents) do inst:components.health:Kill() end endendlike this? Link to comment Share on other sites More sharing options...
Blueberrys Posted June 7, 2015 Share Posted June 7, 2015 @Lynnden Yup. Make sure your variables are defined, though. (radius, musttags, canttags, mustoneoftags) Link to comment Share on other sites More sharing options...
Lynnden Posted June 7, 2015 Author Share Posted June 7, 2015 @Blueberrys, i know radius but what are musttags, canttags, and mustoneoftags? Link to comment Share on other sites More sharing options...
Mobbstar Posted June 7, 2015 Share Posted June 7, 2015 @Blueberrys, i know radius but what are musttags, canttags, and mustoneoftags? That's optional tables, lists of tags a thing must, must not or ... you know. You don't need any of those things. eDIT: you should add a test for health though if v.components.health then --killend Link to comment Share on other sites More sharing options...
Lynnden Posted June 7, 2015 Author Share Posted June 7, 2015 That's optional tables, lists of tags a thing must, must not or ... you know. You don't need any of those things. eDIT: you should add a test for health though if v.components.health then --killendhow do i do? and where? also so what do i plug in for the stuff i don't need?also how do i put this in? i'm rather confused on how to call segments of code because every time i try to do so i wind up crashing the bloody thing. Link to comment Share on other sites More sharing options...
Lynnden Posted June 7, 2015 Author Share Posted June 7, 2015 @Mobbstar, inst:ListenForEvent("sanitydelta", function(inst, data) if data.newpercent <= 20 then local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, 25) for k, v in pairs(ents) do inst:components.health:Kill() end endendreturn MakePlayerCharacter("ellen", prefabs, assets, fn, start_inv)here's the code i have minus the prefab start_inv, assets, and fn which is a function which i think (im not entirely sure) just sets up everything for my character. Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 upon tweaking for several hours with no result i've concluded that this just isn't the way to do this. i've been trying to call it in the prefab script and later decided to put it in modmain script. when in the prefab script, upon compiling, loading up the game, and trying to access the mod, Don't Starve would simply crash with no explination of why and how it could be fixed. when in the modmain script it would execute but fail and provide some sort of troubleshooting tip to say what was wrong. however upon fiddling with that for a few hours and bouncing back and forth between several of the same errors (all involving this piece of script) i now have no idea of what to do. Perhaps i need to do something with state trees? i don't know. however all i know is i want to kill every creature on screen when my sanity gets to 20. that's specifically what i need to happen and i'm not sure how to do it. I'm lost, and unfortunately there is no readily accessable way of figuring things out aside from posting something here and hoping someone knows what's wrong and can help me. Link to comment Share on other sites More sharing options...
Blueberrys Posted June 8, 2015 Share Posted June 8, 2015 @Lynnden Good to see you're actually trying to put in effort. Here are some links to help you out.About the log file - Used for debugging, contains all sorts of information about crashes.Lua functions - After reading this, try to figure out where your "fn" function is in your character's prefab file. All that code goes in that function, because "inst" refers to the player's instance there.DS API site - Lots of useful information about DS coding. You might find something you wanna try in there. If you are unable to figure out a problem, please post your log file here. (preferably in spoiler tags so it's easy to scroll) Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, my errors thusfar have been something to the effect of "expected (something) near "." (or in some cases ":") i think i have them sorted out sort of i'm currently running the game using my new character. but it's not killing every creature on the screen which was my intended effect so i'll post the code here of my entire modmain.lua file and maybe you can figure it out.PrefabFiles = { "ellen",}Assets = { Asset( "IMAGE", "images/saveslot_portraits/ellen.tex" ), Asset( "ATLAS", "images/saveslot_portraits/ellen.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/ellen.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/ellen.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/ellen_silho.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/ellen_silho.xml" ), Asset( "IMAGE", "bigportraits/ellen.tex" ), Asset( "ATLAS", "bigportraits/ellen.xml" ), Asset( "IMAGE", "images/map_icons/ellen.tex" ), Asset( "ATLAS", "images/map_icons/ellen.xml" ),}local require = GLOBAL.require-- no overheatingTUNING.OVERHEAT_TEMP = 101 -- no freezingTUNING.FREEZING_KILL_TIME = -1local function Sanitycheck(self, inst) print(inst, self) local CurrentSanity = self.components.sanity.current if CurrentSanity <= 20 then self.components.sanity:DoDelta(30) local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, 25) for k, v in pairs(ents) do inst.components.health:Kill() end endend-- The character select screen linesGLOBAL.STRINGS.CHARACTER_TITLES.ellen = "The Tortured Freak"GLOBAL.STRINGS.CHARACTER_NAMES.ellen = "Ellen"GLOBAL.STRINGS.CHARACTER_DESCRIPTIONS.ellen = "*Immune to temperature changes\n*Frail\n*Never hungry"GLOBAL.STRINGS.CHARACTER_QUOTES.ellen = "\"Everything can be explained.\""-- Custom speech stringsGLOBAL.STRINGS.CHARACTERS.ELLEN = require "speech_ellen"-- Let the game know character is male, female, or robottable.insert(GLOBAL.CHARACTER_GENDERS.FEMALE, "ellen")AddMinimapAtlas("images/map_icons/ellen.xml")AddModCharacter("ellen") Link to comment Share on other sites More sharing options...
Blueberrys Posted June 8, 2015 Share Posted June 8, 2015 @Lynnden Hmm. You don't have a function associated with the character prefab.See how the sample character here has a function named "fn" being sent to . You need a function like that and associate your sanity check with your character somehow. Right now, SanityCheck is an unused function.(Also, I don't think that code is creating a character at all) Edit: Copied here for reference.local MakePlayerCharacter = require "prefabs/player_common"local assets = { Asset( "ANIM", "anim/player_basic.zip" ), Asset( "ANIM", "anim/player_idles_shiver.zip" ), Asset( "ANIM", "anim/player_actions.zip" ), Asset( "ANIM", "anim/player_actions_axe.zip" ), Asset( "ANIM", "anim/player_actions_pickaxe.zip" ), Asset( "ANIM", "anim/player_actions_shovel.zip" ), Asset( "ANIM", "anim/player_actions_blowdart.zip" ), Asset( "ANIM", "anim/player_actions_eat.zip" ), Asset( "ANIM", "anim/player_actions_item.zip" ), Asset( "ANIM", "anim/player_actions_uniqueitem.zip" ), Asset( "ANIM", "anim/player_actions_bugnet.zip" ), Asset( "ANIM", "anim/player_actions_fishing.zip" ), Asset( "ANIM", "anim/player_actions_boomerang.zip" ), Asset( "ANIM", "anim/player_bush_hat.zip" ), Asset( "ANIM", "anim/player_attacks.zip" ), Asset( "ANIM", "anim/player_idles.zip" ), Asset( "ANIM", "anim/player_rebirth.zip" ), Asset( "ANIM", "anim/player_jump.zip" ), Asset( "ANIM", "anim/player_amulet_resurrect.zip" ), Asset( "ANIM", "anim/player_teleport.zip" ), Asset( "ANIM", "anim/wilson_fx.zip" ), Asset( "ANIM", "anim/player_one_man_band.zip" ), Asset( "ANIM", "anim/shadow_hands.zip" ), Asset( "SOUND", "sound/sfx.fsb" ), Asset( "SOUND", "sound/wilson.fsb" ), Asset( "ANIM", "anim/beard.zip" ), -- Don't forget to include your character's custom assets! Asset( "ANIM", "anim/wod.zip" ),}local prefabs = {}local fn = function(inst) -- choose which sounds this character will play inst.soundsname = "wolfgang" -- a minimap icon must be specified inst.MiniMapEntity:SetIcon( "wilson.png" ) -- todo: Add an example special power here.endreturn MakePlayerCharacter("wod", prefabs, assets, fn) Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, the file i posted is just the modmain.lua file and (from what i gather) is the brains of my character. and i've tried to put this snippet of code into my prefab file however when i try to run the mod my game crashes with no way of troubleshooting the problem. my second question is how do i call it? would i simply say after i make the function Sanitycheck() ? and if so would i do that in the MakePlayerCharacter() function as one of it's parameters or would that fall on its own line? Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, alright. here's how we're gonna do this. i'm going to attach the modmain.lua file and ellen.lua in the prefab file. in addition to the error screenshot i get when i try the current version of the file and i'll let you to figure it out seeing as how i simply can't figure it out because of the fact that it seems like nobody can or will figure out the syntax and god forbid if someone a group of people (like Klei itself perhaps) compile everything to make picking up how to program mods for your game better and easier. I personally think there should be a website saying "oh if you want "effect a" on your character well slap "segment of code b" into "specific file c" and boom you have your desired "effect a"modmain.luaellen.luahave fun Link to comment Share on other sites More sharing options...
Blueberrys Posted June 8, 2015 Share Posted June 8, 2015 @LynndenThing is, we can't possibly have all sort of ideas already programmed waiting for people when they want to use them. If we did, why wouldn't we just post them as our own mods? The fact that you can do an infinite number of things with programming makes it completely impossible for us to have it all ready for people who can't make it themselves. I mean this in the kindest way possible, please try to be more respectful of the assistance you're being provided. No one is getting paid to help you, and a negative attitude won't provide any incentive for people to continue to do so. Personally, I think Klei has done a great job of making mods easy to make/use. They have also provided lots of resources to help people start out (Note that a bunch of those are made by Klei). Technically, we do have a site that provides information on how to add certain prebuilt things to your mods. It's just that you need more of an understanding of how programming works to be able to make any sense of it. It would be rather counterintuitive if it was simplified for non-programmers, considering it is programming. Considering that you didn't provide your log, I'm assuming you did not read even the first part of the first link I provided earlier. Hacking away at the code isn't going to be more productive than trying to learn how it works. You can either spend hours messing with things with no results, or spend maybe 10-20 minutes reading into something and actually figure it out. For the code you provided, I assumed it was supposed to be your character's prefab, since we were discussing it previously. That was a misunderstanding on my part though, sorry about that.All the code I provided in the beginning is meant to be used in a place where the inst variable refers to the player's instance. Generally, that's in the "fn" function of your character prefab. Edit: no way of troubleshooting the problem About the log file - Used for debugging, contains all sorts of information about crashes. Use your log file. Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, i want to apologize for my attitude, and in hindsight and your pointing out, i was out of line. again i apologize. Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, alright after fiddling about a little more. i still can't figure it out. i'll post the log and modmain.lua below in spoilers because this is driving me nuts log.txtStarting upDon't Starve: 134052 WIN32_STEAMBuild Date: 2015-04-17_17-26-46THREAD - started 'GAClient' (8136)HttpClient::ClientThread::Main()cGame::InitializeOnMainThreadWindowManager::InitializeWindowManager::SetFullscreen(1, 1920, 1080, 60)GLInfo~~~~~~GL_VENDOR: Google Inc.GL_RENDERER: ANGLE (AMD Radeon HD 7450)GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)THREAD - started 'WindowsInputManager' (14916)OpenGL extensions (19, 19):GL_ANGLE_depth_textureGL_ANGLE_framebuffer_blitGL_ANGLE_framebuffer_multisampleGL_ANGLE_instanced_arraysGL_ANGLE_pack_reverse_row_orderGL_ANGLE_texture_compression_dxt3GL_ANGLE_texture_compression_dxt5GL_ANGLE_texture_usageGL_ANGLE_translated_shader_sourceGL_EXT_read_format_bgraGL_EXT_robustnessGL_EXT_texture_compression_dxt1GL_EXT_texture_format_BGRA8888GL_EXT_texture_storageGL_OES_get_program_binaryGL_OES_packed_depth_stencilGL_OES_rgb8_rgba8GL_OES_standard_derivativesGL_OES_texture_npotGL_MAX_TEXTURE_SIZE = 16384GL_MAX_TEXTURE_IMAGE_UNITS = 16GL_MAX_RENDERBUFFER_SIZE = 16384GL_MAX_VIEWPORT_DIMS = 16384, 16384GL_MAX_VARYING_VECTORS = 10GL_MAX_VERTEX_ATTRIBS = 16GL_MAX_VERTEX_UNIFORM_VECTORS = 254GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4GL_MAX_FRAGMENT_UNIFORM_VECTORS = 2214 compressed texture formatstexture format 0x83f0texture format 0x83f1texture format 0x83f2texture format 0x83f3cDontStarveGame::DoGameSpecificInitialize()cGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(320,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with Reign of Giants. It may not work properly. LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 2851 scripts/playerprofile.lua(480,1) loaded profile scripts/playerprofile.lua(544,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1172,1) OnFilesLoaded() scripts/gamelogic.lua(1161,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(117,1) Unload BE Could not unload undefined prefab 0x4374c56c (yellowstaff)Could not unload undefined prefab 0x303bfdce (axe)Could not unload undefined prefab 0x378bda50 (wall_wood_item)Could not unload undefined prefab 0x8cc766ef (pumpkin_lantern)Could not unload undefined prefab 0xfdcabd86 (earmuffshat)Could not unload undefined prefab 0x7f46d7c0 (batbat)Could not unload undefined prefab 0xcceee6c3 (cutstone)Could not unload undefined prefab 0xaf34ecc0 (trunkvest_winter)Could not unload undefined prefab 0x875750ea (turf_road)Could not unload undefined prefab 0x4aeb6641 (armordragonfly)Could not unload undefined prefab 0xcd7669e5 (nightsword)Could not unload undefined prefab 0x1daa5ab7 (turf_carpetfloor)Could not unload undefined prefab 0xefa57cea (bandage)Could not unload undefined prefab 0xde4bc7e7 (wall_hay_item)Could not unload undefined prefab 0xe51acd32 (lightning_rod)Could not unload undefined prefab 0x947bfcb8 (lightning_rod_placer)Could not unload undefined prefab 0x68ba7100 (researchlab2)Could not unload undefined prefab 0x3386a16a (researchlab2_placer)Could not unload undefined prefab 0x3f5176c5 (firepit)Could not unload undefined prefab 0x8a462465 (firepit_placer)Could not unload undefined prefab 0x75370b6 (papyrus)Could not unload undefined prefab 0xbea16a01 (hambat)Could not unload undefined prefab 0xeb646050 (icehat)Could not unload undefined prefab 0x10473739 (spear)Could not unload undefined prefab 0x8d44bbad (cookpot)Could not unload undefined prefab 0x30d2f57d (cookpot_placer)Could not unload undefined prefab 0x89c20b1b (telebase)Could not unload undefined prefab 0x868a468f (telebase_placer)Could not unload undefined prefab 0x9d92cce (purpleamulet)Could not unload undefined prefab 0xcf1626 (rabbithouse)Could not unload undefined prefab 0x1aa31ec4 (rabbithouse_placer)Could not unload undefined prefab 0xe474f23c (armormarble)Could not unload undefined prefab 0x3ccdbe75 (icestaff)Could not unload undefined prefab 0x68ba7101 (researchlab3)Could not unload undefined prefab 0xd6985329 (researchlab3_placer)Could not unload undefined prefab 0x21bf03b1 (thulecite)Could not unload undefined prefab 0x539e9e8a (trunkvest_summer)Could not unload undefined prefab 0xf4eb0943 (shovel)Could not unload undefined prefab 0x761a1799 (gunpowder)Could not unload undefined prefab 0x9a99c7b7 (armorgrass)Could not unload undefined prefab 0xda17c8e8 (armorslurper)Could not unload undefined prefab 0x47611d71 (sweatervest)Could not unload undefined prefab 0x85181f7c (minerhat)Could not unload undefined prefab 0xe8f381a1 (turf_checkerfloor)Could not unload undefined prefab 0xd3671c87 (rainhat)Could not unload undefined prefab 0x2e264dbc (blowdart_pipe)Could not unload undefined prefab 0x2f0f89cb (reflectivevest)Could not unload undefined prefab 0xc4101586 (hammer)Could not unload undefined prefab 0x41ba89b5 (nightmarefuel)Could not unload undefined prefab 0xfbaefa0e (rainometer)Could not unload undefined prefab 0xeea990dc (rainometer_placer)Could not unload undefined prefab 0x7fcb037d (greenstaff)Could not unload undefined prefab 0x7fceff10 (featherfan)Could not unload undefined prefab 0x3c935451 (eyeturret_item)Could not unload undefined prefab 0xcba65752 (amulet)Could not unload undefined prefab 0xe16c07d0 (ruinshat)Could not unload undefined prefab 0xd2c60301 (dragonflychest)Could not unload undefined prefab 0xa72c4129 (dragonflychest_placer)Could not unload undefined prefab 0xb1591875 (greenamulet)Could not unload undefined prefab 0xdac7fbf5 (birdcage)Could not unload undefined prefab 0xe1f9b335 (birdcage_placer)Could not unload undefined prefab 0x68ba7102 (researchlab4)Could not unload undefined prefab 0x79aa04e8 (researchlab4_placer)Could not unload undefined prefab 0x2c158f7c (torch)Could not unload undefined prefab 0x265d1455 (turf_woodfloor)Could not unload undefined prefab 0x9a0ed246 (yellowamulet)Could not unload undefined prefab 0xb4e674c6 (hawaiianshirt)Could not unload undefined prefab 0xc78d9876 (siestahut)Could not unload undefined prefab 0xb22fa874 (siestahut_placer)Could not unload undefined prefab 0xce5a342e (firesuppressor)Could not unload undefined prefab 0xbbba0ebc (firesuppressor_placer)Could not unload undefined prefab 0x9a6718eb (resurrectionstatue)Could not unload undefined prefab 0x6b0c64bf (resurrectionstatue_placer)Could not unload undefined prefab 0xdfb37276 (telestaff)Could not unload undefined prefab 0x3f6c9ebb (diviningrod)Could not unload undefined prefab 0xa6b98890 (beargervest)Could not unload undefined prefab 0xe5936c6a (firestaff)Could not unload undefined prefab 0x34fb4f82 (pitchfork)Could not unload undefined prefab 0x3d4d1dc6 (bedroll_straw)Could not unload undefined prefab 0xadfdb7ae (armor_sanity)Could not unload undefined prefab 0x76d26529 (bugnet)Could not unload undefined prefab 0x5ce426c4 (blowdart_fire)Could not unload undefined prefab 0x4740cff7 (tent)Could not unload undefined prefab 0xb4d742b3 (tent_placer)Could not unload undefined prefab 0x8a2d55ba (catcoonhat)Could not unload undefined prefab 0x4116c653 (raincoat)Could not unload undefined prefab 0x62a5e7fe (nightlight)Could not unload undefined prefab 0x185806ec (nightlight_placer)Could not unload undefined prefab 0xa1e54a85 (goldenaxe)Could not unload undefined prefab 0xe6af29d2 (compass)Could not unload undefined prefab 0x19c004b2 (pighouse)Could not unload undefined prefab 0x469fe538 (pighouse_placer)Could not unload undefined prefab 0xca16846d (boards)Could not unload undefined prefab 0xfa14dec6 (birdtrap)Could not unload undefined prefab 0x7c11af2 (treasurechest)Could not unload undefined prefab 0xd411bef8 (treasurechest_placer)Could not unload undefined prefab 0xef21c9f2 (rope)Could not unload undefined prefab 0xb981ecda (fast_farmplot)Could not unload undefined prefab 0x6c77c310 (fast_farmplot_placer)Could not unload undefined prefab 0xbcfca634 (strawhat)Could not unload undefined prefab 0x111db7ae (footballhat)Could not unload undefined prefab 0x1eee0485 (transistor)Could not unload undefined prefab 0x1cd9e60e (razor)Could not unload undefined prefab 0x1541c9cc (armorruins)Could not unload undefined prefab 0xe87e06c0 (icebox)Could not unload undefined prefab 0xf2bd1baa (icebox_placer)Could not unload undefined prefab 0x36768a92 (orangestaff)Could not unload undefined prefab 0x2ca456a0 (orangeamulet)Could not unload undefined prefab 0xff7a976 (staff_tornado)Could not unload undefined prefab 0xd8067599 (beehat)Could not unload undefined prefab 0xc22935e4 (icepack)Could not unload undefined prefab 0x739fbe3c (homesign)Could not unload undefined prefab 0x33fdbd2e (homesign_placer)Could not unload undefined prefab 0x1c42203 (bell)Could not unload undefined prefab 0x15220700 (backpack)Could not unload undefined prefab 0xa8b25abc (wall_ruins_item)Could not unload undefined prefab 0x3ede96f8 (nightstick)Could not unload undefined prefab 0xd5201c09 (beebox)Could not unload undefined prefab 0x753b7621 (beebox_placer)Could not unload undefined prefab 0xb918c5fd (fishingrod)Could not unload undefined prefab 0x651e3e9e (eyebrellahat)Could not unload undefined prefab 0x92ccc001 (coldfirepit)Could not unload undefined prefab 0x21e04429 (coldfirepit_placer)Could not unload undefined prefab 0x5a59f5cc (goldenshovel)Could not unload undefined prefab 0x2e54b535 (cane)Could not unload undefined prefab 0xb6201ac9 (onemanband)Could not unload undefined prefab 0x4685284 (umbrella)Could not unload undefined prefab 0xda1f7edf (winterometer)Could not unload undefined prefab 0x955229cb (winterometer_placer)Could not unload undefined prefab 0xe2bfa46 (tophat)Could not unload undefined prefab 0xacbea762 (fertilizer)Could not unload undefined prefab 0x3949a42 (meatrack)Could not unload undefined prefab 0x56340ba8 (meatrack_placer)Could not unload undefined prefab 0x6dda899f (watermelonhat)Could not unload undefined prefab 0x94cf6c04 (goldenpickaxe)Could not unload undefined prefab 0x86860bc2 (boomerang)Could not unload undefined prefab 0xb1fa364d (pickaxe)Could not unload undefined prefab 0x3cb06493 (healingsalve)Could not unload undefined prefab 0x39311b4d (grass_umbrella)Could not unload undefined prefab 0x37c31aa6 (lantern)Could not unload undefined prefab 0xbc429ef3 (bushhat)Could not unload undefined prefab 0x80cb1e18 (featherhat)Could not unload undefined prefab 0x3edae42e (multitool_axe_pickaxe)Could not unload undefined prefab 0x7f2d088c (armorwood)Could not unload undefined prefab 0x46094f1b (beefalohat)Could not unload undefined prefab 0xf8e41fa9 (bedroll_furry)Could not unload undefined prefab 0xcda99af6 (winterhat)Could not unload undefined prefab 0x1c48b877 (campfire)Could not unload undefined prefab 0xdfe3a33 (campfire_placer)Could not unload undefined prefab 0x4d9a964d (trap)Could not unload undefined prefab 0x68370bd6 (trap_teeth)Could not unload undefined prefab 0x4058bc0 (molehat)Could not unload undefined prefab 0xcad92460 (flowerhat)Could not unload undefined prefab 0xec43b9f4 (sewing_kit)Could not unload undefined prefab 0xfb180669 (blowdart_sleep)Could not unload undefined prefab 0x38967bb2 (researchlab)Could not unload undefined prefab 0x77e9ae38 (researchlab_placer)Could not unload undefined prefab 0x8bbc7f55 (beemine)Could not unload undefined prefab 0xdf13a0c1 (ruins_bat)Could not unload undefined prefab 0x22ec3802 (wall_stone_item)Could not unload undefined prefab 0x8d60ee3a (coldfire)Could not unload undefined prefab 0xe72d29b0 (coldfire_placer)Could not unload undefined prefab 0x263bc4d5 (slow_farmplot)Could not unload undefined prefab 0x321f7255 (slow_farmplot_placer)Could not unload undefined prefab 0xe5071541 (nightmare_timepiece)Could not unload undefined prefab 0xc3bf310c (blueamulet)Could not unload undefined prefab 0x2ae7e3b3 (purplegem)Could not unload undefined prefab 0x6f21e747 (piggyback)Could not unload undefined prefab 0xf0330963 (panflute)Could not unload undefined prefab 0xdb20fa95 (heatrock)Could not unload undefined prefab 0x1153dbb9 (pottedfern)Could not unload undefined prefab 0xf2102a71 (pottedfern_placer)Could not unload undefined prefab 0x33ab6997 (hud)Could not unload undefined prefab 0x3364203d (forest)Could not unload undefined prefab 0x2e5cb72d (cave)Could not unload undefined prefab 0x40b82ff2 (maxwell)Could not unload undefined prefab 0xbddda476 (fire)Could not unload undefined prefab 0x1078732c (character_fire)Could not unload undefined prefab 0x427b5b39 (shatter)scripts/gamelogic.lua(120,1) Unload BE done scripts/dlcsupport.lua(24,1) Load scripts/DLC001_prefab_files scripts/gamelogic.lua(132,1) Load FE scripts/gamelogic.lua(136,1) Load FE: done scripts/screens/mainscreen.lua(576,1) platform_motd table: 1737A1C8 SimLuaProxy::QueryServer()scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returningQueryServerComplete no callbackHttpClientWriteCallback (0x00EA4C8C, 1, 1350, 0x0749F9BC)HttpClientWriteCallback READ 1350 (1350 total)scripts/screens/mainscreen.lua(576,1) platform_motd table: 1636AA18 scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with Reign of Giants. It may not work properly. GetCachedUGCCount 0EnumerateUserSubscribedFiles(0)OnEnumerateUserSubscribedFilesResult EResult 1, results 36/36Enum complete. Found 36 mods.DeleteUnsubscribedFiles [../mods]FindDirectoriesMatching [../mods/workshop-*]GetPublishedFileDetails(0)Getting mod details...OnPublishedFileDetailsResult EResult 1, 246161031 245850, 219740, [Markiplier and Friends v2.0.03 Friendship is Survival], 534016903778722506, 534015537647316153, 76561197971903310, 1396735614, 1429570675, 0, 0, [character,version:2.0.03], 7, [mod_publish_data_file.zip], 47016674, 6613067, [], 0scripts/mods.lua(10,1) mod_name workshop-246161031 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(1)Getting mod details...OnPublishedFileDetailsResult EResult 1, 249713554 245850, 219740, [BackPackPlus], 3262042471837696793, 3278927438273575900, 76561198005761360, 1397633462, 1400900127, 0, 0, [Interface,tweak], 7, [mod_publish_data_file.zip], 33843, 20553, [], 0scripts/mods.lua(10,1) mod_name workshop-249713554 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(2)Getting mod details...OnPublishedFileDetailsResult EResult 1, 343233944 245850, 219740, [Dr. Gordon Freeman (+Combine Invasion)], 541886693714537266, 539633534929167154, 76561198157385446, 1416246989, 1418230072, 0, 0, [character,Creature,version:1.241], 7, [mod_publish_data_file.zip], 17825203, 47479, [], 0scripts/mods.lua(10,1) mod_name workshop-343233944 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(3)Getting mod details...OnPublishedFileDetailsResult EResult 1, 351034530 245850, 219740, [Alyx Vance & Dog], 541887327661504927, 539634357860852966, 76561198157385446, 1417710230, 1418923373, 0, 0, [pet,character,Creature,version:Beta], 7, [mod_publish_data_file.zip], 2312309, 365174, [], 0scripts/mods.lua(10,1) mod_name workshop-351034530 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(4)Getting mod details...OnPublishedFileDetailsResult EResult 1, 331488139 245850, 219740, [The Grim Reaper (wip)], 28472145950795873, 28472145950796948, 76561198012610363, 1414237068, 1414237068, 0, 0, [character,item,Reign of Giants Compatible], 7, [mod_publish_data_file.zip], 344587, 23743, [], 0scripts/mods.lua(10,1) mod_name workshop-331488139 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(5)Getting mod details...OnPublishedFileDetailsResult EResult 15, 340844935Failed getting mod details.GetPublishedFileDetails(6)Getting mod details...OnPublishedFileDetailsResult EResult 1, 350201788 245850, 219740, [[WIP] Professor Layton (THT gift) 1.0], 538507635115947838, 538507635115949605, 76561198156700488, 1417547319, 1417547319, 0, 0, [character,Reign of Giants Compatible], 7, [mod_publish_data_file.zip], 1169466, 141430, [], 0scripts/mods.lua(10,1) mod_name workshop-350201788 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(7)Getting mod details...OnPublishedFileDetailsResult EResult 1, 331200951 245850, 219740, [Wrath the Lost Soul], 37484511587680522, 34102039779527972, 76561198141872006, 1414183842, 1419211240, 0, 0, [character,item,Creature,worldgen,Reign of Giants Compatible,version:1.0], 7, [mod_publish_data_file.zip], 4532008, 272456, [], 0scripts/mods.lua(10,1) mod_name workshop-331200951 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(8)Getting mod details...OnPublishedFileDetailsResult EResult 1, 296413710 245850, 219740, [Not quite Pyro], 28475900426642303, 28464888182893006, 76561198055851807, 1407270263, 1418160439, 0, 0, [character,item,Other,version:1.3.1], 7, [mod_publish_data_file.zip], 3461234, 101581, [], 0scripts/mods.lua(10,1) mod_name workshop-296413710 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(9)Getting mod details...OnPublishedFileDetailsResult EResult 1, 236633488 245850, 219740, [UberCharged!], 3260917931923059107, 3280049996968932534, 76561197988230937, 1394381757, 1402385046, 0, 0, [item,Other,Reign of Giants Compatible], 7, [mod_publish_data_file.zip], 128291, 451237, [], 0scripts/mods.lua(10,1) mod_name workshop-236633488 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(10)Getting mod details...OnPublishedFileDetailsResult EResult 1, 195686526 245850, 219740, [Jane Doe the Soldier (Reign of Giants)], 532894792280613620, 612795552324464007, 76561198041663348, 1384653618, 1432775856, 0, 0, [character,version:2.2], 7, [mod_publish_data_file.zip], 606326, 337682, [], 0scripts/mods.lua(10,1) mod_name workshop-195686526 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(11)Getting mod details...OnPublishedFileDetailsResult EResult 1, 219777801 245850, 219740, [Zim], 3336341088232508244, 3336341088092161020, 76561198047035267, 1390455731, 1390967302, 0, 0, [character], 7, [mod_publish_data_file.zip], 748031, 445543, [], 0scripts/mods.lua(10,1) mod_name workshop-219777801 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(12)Getting mod details...OnPublishedFileDetailsResult EResult 1, 265953776 245850, 219740, [Ika Musume], 22842647032295023, 432656641475494635, 76561198047850095, 1401591372, 1414450785, 0, 0, [character], 7, [mod_publish_data_file.zip], 2386944, 703422, [], 0scripts/mods.lua(10,1) mod_name workshop-265953776 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(13)Getting mod details...OnPublishedFileDetailsResult EResult 1, 330778384 245850, 219740, [The Residents], 22842390403694023, 22842390403697238, 76561198047850095, 1414099634, 1414099634, 0, 0, [character,Reign of Giants Compatible], 7, [mod_publish_data_file.zip], 1295012, 619246, [], 0scripts/mods.lua(10,1) mod_name workshop-330778384 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(14)Getting mod details...OnPublishedFileDetailsResult EResult 1, 377073296 245850, 219740, [The Medic], 534009565825448919, 534009200483069382, 76561198129896255, 1421563753, 1422317325, 0, 0, [character,Art,Reign of Giants Compatible,version:2], 7, [mod_publish_data_file.zip], 781212, 694678, [], 0scripts/mods.lua(10,1) mod_name workshop-377073296 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(15)Getting mod details...OnPublishedFileDetailsResult EResult 1, 381659834 245850, 219740, [Gaben the PC Master Race Lord], 31859743145506308, 31858565837951277, 76561198002615676, 1422250028, 1424027356, 0, 0, [character,Art,Reign of Giants Compatible,version:3.3], 7, [mod_publish_data_file.zip], 6178550, 95293, [], 0scripts/mods.lua(10,1) mod_name workshop-381659834 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(16)Getting mod details...OnPublishedFileDetailsResult EResult 1, 402297536 245850, 219740, [Feats of the World (Achievements)], 32987878442434142, 32987454210289947, 76561198004849051, 1425437646, 1426017004, 0, 0, [item,Interface,tweak,Reign of Giants Compatible,version:1.3], 7, [mod_publish_data_file.zip], 44602, 22985, [], 0scripts/mods.lua(10,1) mod_name workshop-402297536 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(17)Getting mod details...OnPublishedFileDetailsResult EResult 1, 401059288 245850, 219740, [Strom the tree], 713030714087974393, 713030714088058109, 76561198054800128, 1425226019, 1425226019, 0, 0, [character,Art,version:1.0], 7, [mod_publish_data_file.zip], 810276, 43344, [], 0scripts/mods.lua(10,1) mod_name workshop-401059288 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(18)Getting mod details...OnPublishedFileDetailsResult EResult 1, 395250680 245850, 219740, [Wilburn], 714160316287664147, 707401214545272111, 76561198008386262, 1424356052, 1428700655, 0, 0, [character,item,Art,Reign of Giants Compatible,version:0.9.8], 7, [mod_publish_data_file.zip], 3099648, 498469, [], 0scripts/mods.lua(10,1) mod_name workshop-395250680 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(19)Getting mod details...OnPublishedFileDetailsResult EResult 1, 398579731 245850, 219740, [Heather, The Mutant-- Organ Failure Edition], 29609215869635435, 29609215869490157, 76561198061334972, 1424843789, 1424847193, 0, 0, [character,Art,Reign of Giants Compatible,version:1.1], 7, [mod_publish_data_file.zip], 656477, 127474, [], 0scripts/mods.lua(10,1) mod_name workshop-398579731 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(20)Getting mod details...OnPublishedFileDetailsResult EResult 1, 366290054 245850, 219740, [Imperius - The Lord of Blood], 543020112013483284, 543019828144959421, 76561198062961767, 1420023124, 1425590712, 0, 0, [character,Reign of Giants Compatible,version:5.1], 7, [mod_publish_data_file.zip], 1728224, 279551, [], 0scripts/mods.lua(10,1) mod_name workshop-366290054 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(21)Getting mod details...OnPublishedFileDetailsResult EResult 1, 356464571 245850, 219740, [Warfarin - Super Sneaks Update], 530636567544386811, 47616634745934033, 76561198025944866, 1418614092, 1427165058, 0, 0, [character,Reign of Giants Compatible,version:2], 7, [mod_publish_data_file.zip], 8541685, 328997, [], 0scripts/mods.lua(10,1) mod_name workshop-356464571 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(22)Getting mod details...OnPublishedFileDetailsResult EResult 1, 392192141 245850, 219740, [Command an Army - Kyle, the Symbiont], 29610656589911722, 29607943319937587, 76561198061334972, 1423900323, 1426387571, 0, 0, [pet,character,Creature,Art,Reign of Giants Compatible,version:1.5.1], 7, [mod_publish_data_file.zip], 4565531, 1334946, [], 0scripts/mods.lua(10,1) mod_name workshop-392192141 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(23)Getting mod details...OnPublishedFileDetailsResult EResult 1, 393480743 245850, 219740, [Willrick, The Plague Doctor], 528385841671671881, 528381602058227878, 76561197997394368, 1424059668, 1427825421, 0, 0, [character,version:1.3.9], 7, [mod_publish_data_file.zip], 2338509, 217833, [], 0scripts/mods.lua(10,1) mod_name workshop-393480743 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(24)Getting mod details...OnPublishedFileDetailsResult EResult 1, 282897110 245850, 219740, [Beatrice], 540776644816764648, 540776644816764751, 76561197988230937, 1404800628, 1433475286, 0, 0, [character,item,Other,pet,Reign of Giants Compatible,tweak,version:1.9353], 7, [mod_publish_data_file.zip], 607427, 77517, [], 0scripts/mods.lua(10,1) mod_name workshop-282897110 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(25)Getting mod details...OnPublishedFileDetailsResult EResult 1, 375523651 245850, 219740, [The Prophet], 41990999410471380, 41990395360259012, 76561198045304110, 1421349130, 1421904738, 0, 0, [character,item,Reign of Giants Compatible,version:1.1.3], 7, [mod_publish_data_file.zip], 590102, 10980, [], 0scripts/mods.lua(10,1) mod_name workshop-375523651 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(26)Getting mod details...OnPublishedFileDetailsResult EResult 1, 179124884 245850, 219740, [Link, The Hero], 45367895097036495, 902133459551787517, 76561198077724306, 1379355893, 1421125030, 0, 0, [character,version:1.91], 7, [mod_publish_data_file.zip], 3258904, 200924, [], 0scripts/mods.lua(10,1) mod_name workshop-179124884 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(27)Getting mod details...OnPublishedFileDetailsResult EResult 1, 191888919 245850, 219740, [The Heavy], 530632049644071301, 687096419990149199, 76561198031951613, 1383517430, 1422386411, 0, 0, [character,version:1.0], 7, [mod_publish_data_file.zip], 256834, 362106, [], 0scripts/mods.lua(10,1) mod_name workshop-191888919 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(28)Getting mod details...OnPublishedFileDetailsResult EResult 1, 412698227 245850, 219740, [Wicked the Thief], 35246954629193749, 35240698138128379, 76561198024986274, 1427116739, 1432742091, 0, 0, [character,version:1.2.1], 7, [mod_publish_data_file.zip], 2709090, 223010, [], 0scripts/mods.lua(10,1) mod_name workshop-412698227 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(29)Getting mod details...OnPublishedFileDetailsResult EResult 1, 440962224 245850, 219740, [Fester], 531768342552403217, 531767189890977139, 76561198008171084, 1431316306, 1432446807, 0, 0, [character,version:1.0.4], 7, [mod_publish_data_file.zip], 5087923, 145886, [], 0scripts/mods.lua(10,1) mod_name workshop-440962224 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(30)Getting mod details...OnPublishedFileDetailsResult EResult 1, 445539525 245850, 219740, [Toph], 717542930185117617, 719793371825965428, 76561198113813562, 1432056437, 1433344753, 0, 0, [character,Reign of Giants Compatible,version:1.0.1], 7, [mod_publish_data_file.zip], 590706, 17502, [], 0scripts/mods.lua(10,1) mod_name workshop-445539525 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(31)Getting mod details...OnPublishedFileDetailsResult EResult 1, 171009699 245850, 219740, [Max Stacks], 543022535951498515, 594760752950286706, 76561197970655201, 1376951487, 1427766656, 0, 0, [utility,version:All's Well...], 7, [mod_publish_data_file.zip], 33346, 23489, [], 0scripts/mods.lua(10,1) mod_name workshop-171009699 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(32)Getting mod details...OnPublishedFileDetailsResult EResult 1, 297443906 245850, 219740, [Crazy La Paint (Disc)], 70123212730422097, 70123212730453363, 76561197971903310, 1407473485, 1407473485, 0, 0, [item,Other], 7, [mod_publish_data_file.zip], 12142435, 20383, [], 0scripts/mods.lua(10,1) mod_name workshop-297443906 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(33)Getting mod details...OnPublishedFileDetailsResult EResult 1, 259689995 245850, 219740, [Nightmares Tab], 792943430040470367, 795195148422916494, 76561197971903310, 1400051083, 1400305749, 0, 0, [item,Creature,Art], 7, [mod_publish_data_file.zip], 1256575, 16433, [], 0scripts/mods.lua(10,1) mod_name workshop-259689995 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(34)Getting mod details...OnPublishedFileDetailsResult EResult 1, 176069654 245850, 219740, [Octodad], 594762290705990023, 594762290705992357, 76561198050809902, 1378432908, 1378432908, 0, 0, [character], 7, [mod_publish_data_file.zip], 1337194, 670300, [], 0scripts/mods.lua(10,1) mod_name workshop-176069654 scripts/mods.lua(12,1) table: 117D37C0 GetPublishedFileDetails(35)Getting mod details...OnPublishedFileDetailsResult EResult 1, 361213674 245850, 219740, [Extended Sample Character], 534020142367728634, 53247136952638513, 76561198067527994, 1419367686, 1432460153, 0, 0, [character,Tutorial,Reign of Giants Compatible,version:1.0.4], 7, [mod_publish_data_file.zip], 1579595, 519043, [], 0scripts/mods.lua(10,1) mod_name workshop-361213674 scripts/mods.lua(12,1) table: 117D37C0 Mod listing complete.DownloadPublishedFile(0)SteamWorkshop::OnError: DownloadPublishedFile attempted to download non-existent mod.SteamWorkshop::CompleteCallback (failure, DownloadPublishedFile attempted to download non-existent mod.) setSimLuaProxy::OnUpdateWorkshopModsComplete(failed, DownloadPublishedFile attempted to download non-existent mod.)scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/screens/modsscreen.lua(886,1) Reloading Mod Info Prefabs scripts/screens/modsscreen.lua(866,1) WARNING: icon paths for mod workshop-375523651 (The Prophet-ROG) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.tex".Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua. scripts/screens/modsscreen.lua(873,1) Loading Mod Info Prefabs scripts/screens/modsscreen.lua(878,1) Unloading Mod Info Prefabs QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}../mods/workshop-265953776/ika.tex is 120x104 but compressed textures must have power of 2 dimensions.../mods/workshop-330778384/residents.tex is 120x104 but compressed textures must have power of 2 dimensions.HttpClientWriteCallback (0x00EA4D31, 1, 2404, 0x0749F9BC)HttpClientWriteCallback READ 2404 (2404 total)scripts/screens/modsscreen.lua(878,1) Unloading Mod Info Prefabs Collecting garbage...lua_gc took 0.03 seconds~SimLuaProxy()lua_close took 0.14 secondsReleaseAllReleaseAll FinishedcGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(161,1) running main.lua scripts/modindex.lua(320,1) loaded modindex scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-171009699 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-191888919 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-236633488 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(248,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with the base game. It may not work properly. scripts/modindex.lua(251,1) WARNING loading modinfo.lua: workshop-401059288 does not specify if it is compatible with Reign of Giants. It may not work properly. scripts/modindex.lua(395,1) Could not load mod_config_data/modconfiguration_Ellen scripts/mods.lua(170,1) Loading mod: Ellen (Ellen the Tortured Freak) scripts/mods.lua(197,1) Mod: Ellen (Ellen the Tortured Freak) Loading modworldgenmain.lua scripts/mods.lua(205,1) Mod: Ellen (Ellen the Tortured Freak) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(197,1) Mod: Ellen (Ellen the Tortured Freak) Loading modmain.lua scripts/mods.lua(201,1) Mod: Ellen (Ellen the Tortured Freak) Error loading mod!... (x86)/Steam/steamapps/common/dont_starve/data/../mods/Ellen/modmain.lua:33: function arguments expected near '.' LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 2851 scripts/playerprofile.lua(480,1) loaded profile scripts/playerprofile.lua(544,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1172,1) OnFilesLoaded() scripts/gamelogic.lua(1161,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(111,1) FE assets already loaded scripts/mods.lua(287,1) Mod: Ellen (Ellen the Tortured Freak) Registering prefabs scripts/mods.lua(310,1) Mod: Ellen (Ellen the Tortured Freak) Registering default mod prefab scripts/screens/mainscreen.lua(576,1) platform_motd table: 10B33480 SimLuaProxy::QueryServer()scripts/mods.lua(244,1) Disabling Ellen (Ellen the Tortured Freak) because it had an error. scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returningHttpClientWriteCallback (0x00EA4C8C, 1, 1350, 0x0749F9BC)HttpClientWriteCallback READ 1350 (1350 total)scripts/screens/mainscreen.lua(576,1) platform_motd table: 128A34A8 Stale Component Reference: GUID 100038, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:55Stale Component Reference: GUID 100039, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:55Stale Component Reference: GUID 100041, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:55Stale Component Reference: GUID 100041, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:25 i acknowlege that my error is as follows but i think it'd be better for me to simply post the entire thing.... (x86)/Steam/steamapps/common/dont_starve/data/../mods/Ellen/modmain.lua:33: function arguments expected near '.' modmain.luaPrefabFiles = { "ellen",}Assets = { Asset( "IMAGE", "images/saveslot_portraits/ellen.tex" ), Asset( "ATLAS", "images/saveslot_portraits/ellen.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/ellen.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/ellen.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/ellen_silho.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/ellen_silho.xml" ), Asset( "IMAGE", "bigportraits/ellen.tex" ), Asset( "ATLAS", "bigportraits/ellen.xml" ), Asset( "IMAGE", "images/map_icons/ellen.tex" ), Asset( "ATLAS", "images/map_icons/ellen.xml" ),}local require = GLOBAL.require-- no overheatingTUNING.OVERHEAT_TEMP = 101 -- no freezingTUNING.FREEZING_KILL_TIME = -1local function Sanitycheck(inst) print(inst) error("here's where we look at sanity and store it in the veriable CurrentSanity", 1) CurrentSanity = inst:components.sanity:current:GetPercent() print(CurrentSanity) if CurrentSanity <= 20 then error("i bleed black you know", 2) inst.components.sanity:DoDelta(30) local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, 25) for k, v in pairs(ents) do error("42 dammit", 3) inst.components.health:Kill() end endend-- The character select screen linesGLOBAL.STRINGS.CHARACTER_TITLES.ellen = "The Tortured Freak"GLOBAL.STRINGS.CHARACTER_NAMES.ellen = "Ellen"GLOBAL.STRINGS.CHARACTER_DESCRIPTIONS.ellen = "*Immune to temperature changes\n*Frail\n*Never hungry"GLOBAL.STRINGS.CHARACTER_QUOTES.ellen = "\"Everything can be explained.\""-- Custom speech stringsGLOBAL.STRINGS.CHARACTERS.ELLEN = require "speech_ellen"-- Let the game know character is male, female, or robottable.insert(GLOBAL.CHARACTER_GENDERS.FEMALE, "ellen")Sanitycheck()AddMinimapAtlas("images/map_icons/ellen.xml")AddModCharacter("ellen") i know the error is to do with the line CurrentSanity = inst:components.sanity:current:GetPercent()however i'm not entirely certain. i should also point out that the reason why there are colons after sanity is to weed out any troubleshooting with there being several "."'s. i do not, however, understand what function argument is being expected here. if anyone can tell me what it's wanting i would appreciate it highly. Link to comment Share on other sites More sharing options...
Blueberrys Posted June 8, 2015 Share Posted June 8, 2015 @Lynnden Changeinst:components.sanity:current:GetPercent()toinst.components.sanity:GetPercent()For more information, read about how dots and colons work in lua. Edit: Removed "current" Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, ok. did that. ran it, it gave me an error for trying to use error(), took them out, and is now giving me the error in my log...ps/common/dont_starve/data/../mods/Ellen/modmain.lua:32: attempt to index local 'inst' (a nil value)LUA ERROR stack traceback: C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/Ellen/modmain.lua(32,1) in function 'Sanitycheck' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/Ellen/modmain.lua(56,1) in main chunk =[C] in function 'xpcall' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/util.lua(439,1) in function 'RunInEnvironment' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(208,1) in function 'InitializeModMain' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(189,1) in function 'LoadMods' scripts/main.lua(229,1) in function 'ModSafeStartup' scripts/main.lua(274,1) =[C] in function 'SetPersistentString'where the function in modmain.lua is nowlocal function Sanitycheck(inst) print(inst) CurrentSanity = inst.components.sanity:GetPercent() print(CurrentSanity) if CurrentSanity <= 20 then inst.components.sanity:DoDelta(30) local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, 25) for k, v in pairs(ents) do inst.components.health:Kill() end endendnow the issue at hand is...? Link to comment Share on other sites More sharing options...
Blueberrys Posted June 8, 2015 Share Posted June 8, 2015 @Lynnden Again, this code should be used where "inst" refers to the player's instance.Generally, that's in the "fn" function of your character prefab. Also, read this, Corrosive explains instances very well and in beginner terms. Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Lynnden Again, this code should be used where "inst" refers to the player's instance. Also, read this, Corrosive explains instances very well and in beginner terms.so just copy and paste this function in fn? Link to comment Share on other sites More sharing options...
Blueberrys Posted June 8, 2015 Share Posted June 8, 2015 @Lynnden Copy the function anywhere in your character script, then call it from the fn function and pass the player's instance.-- SanityCheck function...-- ...-- in fn function -- inst is the player's instance SanityCheck(inst) Link to comment Share on other sites More sharing options...
Lynnden Posted June 8, 2015 Author Share Posted June 8, 2015 @Blueberrys, so i did all that, and it still doesn't work. i set it to print certain things at certain points at the code as you can see here;local function sanityCheck(inst) print(inst) local CurrentSanity = inst.components.sanity:GetPercent() print("spooks skeletons", CurrentSanity) if CurrentSanity <= .20 then print("well you're insane") inst.components.sanity:DoDelta(30) local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, 25) for k, v in pairs(ents) do print("here's johnny") inst.components.health:Kill() end endendand it only printed "spooks skeletons 1" when the world generated and i spawned in. so the question is now "how do i get this to do its thing all the time. Link to comment Share on other sites More sharing options...
Blueberrys Posted June 9, 2015 Share Posted June 9, 2015 @Lynnden Event listener. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.