chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 6 minutes ago, chazcat124 said: [00:00:05]: WARNING: icon paths for mod dot (Dot, The Deep Chef) 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. uh oh... i just saw this... is this a problem i should be worrying about? 25 minutes ago, Omaremad74 said: Quote local common_postinit = function(inst) inst:WatchWorldState( "isday", function() SetNightVision(inst) end) inst:WatchWorldState( "isdusk", function() SetNightVision(inst) end) inst:WatchWorldState( "isnight", function() SetNightVision(inst) end) inst:WatchWorldState( "iscaveday", function() SetNightVision(inst) end) inst:WatchWorldState( "iscavedusk", function() SetNightVision(inst) end) inst:WatchWorldState( "iscavenight", SetNightVision) SetNightVision(inst) end You forgot the word function() for iscavenight Quote inst:WatchWorldState( "iscavenight", function() SetNightVision end) You also seemed to have forgotten your end command... This might fix it? Not sure oh man, i totally didn't see this till' now. um... uh um Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Oh ignore that first part, you can do your icon **** later. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 oh, ok. it looks like this now. is that good? Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Uh no thats not good, haha. See on the left how the gray/red line extends all the way down? That means the common postinit hasn't been ended properly. Here let me see Uh you have 2 "local common_postinit = function(inst)" haha, delete one. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 + | W | E | E | E | E | e | e | e end end the line doesn't stop going so it's saying 'weeeeeee'...- it was a dumb joke :/ i deleted one of the things, this looks better i think. i think i should test it again. Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 yep thats good now Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 uh oh Just now, chazcat124 said: uh oh Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Just now, chazcat124 said: uh oh U H O H You forgot an inst! Haha Quote inst:WatchWorldstate("iscavenight", function() SetNightVision(inst) end) Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 this forge BG really sets the whole 'mods breaking' mood, huh? i may, or may not have deleted the wrong thinggy earlier. ... i'm guessing i did. i'll CTRL Z it and then delete the top one this time. *crosses fingers* the game... error messaged me... then forced-closed a moment later... Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Well I've gotta go I will see you tommorow. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 ok. man, i hope DST isn't mad at me now... if anyone's interested, here's the current(as of now) error. i'm off to bed now, see this screen tomorrow! oh, one more thing: to those who are curious, i highlighted the line it doesn't seem to like in that error message(line 63). Link to comment Share on other sites More sharing options...
Ultroman Posted April 8, 2019 Share Posted April 8, 2019 Look at that line and compare it to the ones above. There's something missing. Try fixing the indentation first. Might make it easier to see Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Oh my gosh, I keep telling you this haha, You need a (inst) after "SetNightVision" in line 63 Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 oops, I'm a dumb i'll try that I added it, and it doesn't crash anymore. but it still doesn't work. Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 You have 2 local common_postinits, combine them together and delete one. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 these lines at the side here? Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 No, Look carefully you have local common_postinit and another one right below. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 it's a master and local one unless i'm looking in the wrong place... Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 See where you have the listenforevents? That's also a local common_postinit and theres one right below Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 i don't see it... Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 oh. Sorry! so... Like this...? it worked well, now to make them count as a monster. this probably won't be nearly as hard, will it? Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 Quote inst:AddTag("playermonster") inst:AddTag("monster") you just add those tags. Link to comment Share on other sites More sharing options...
chazcat124 Posted April 8, 2019 Author Share Posted April 8, 2019 just, anywhere or in a specific location? wait, nm it says you can add them there uh oh. Link to comment Share on other sites More sharing options...
Hornete Posted April 8, 2019 Share Posted April 8, 2019 What did you do. 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