Jump to content

Recommended Posts

Well uploading the modinfo.lua file would help a bit more than trying to guess the problem but ill guess. From the error it sounds like the string for a line was broken in syntax at the first or next line (that isn't a note) after the first line. So the error would look like this:

icon_atlas = "modicon.xml
icon = "modicon.tex"

instead of:

icon_atlas = "modicon.xml" --the right way
icon = "modicon.tex"

but that just the example. 

Here is the modinfo.lua file

 

name = "Benim Mod"
description = "Mod"
author = "NAVY"
version = "1.103"
api_version = 10
dont_starve_compatible = false
reign_of_giants_compatible = false
dst_compatible = true
restart_required = false
icon = "modiconicebox.tex"
icon_atlas = "modiconicebox.xml"
forumthread = ""

I just use the icebox mod icon for placeholder as I'm the only one using the tweaks I made. Other than that idk what's wrong.

Edited by Car4057

I'm not seeing any syntax errors from what you posted (besides that idk what restart_required line), and according to the api version that's don't starve together. Are you trying to convert it to don't starve? Or are you posting in the wrong forums section?

K, well the next step is to upload your mod to zip file and maybe I (or another modder) can see what the real problem is, otherwise I'm stabbing in the dark. If I can't solve it then its advised to ask in the link that bravechicken posted, as the single player coding is different (even some cases a huge difference) from multiplayer.

Here it is. Should I make another thread on DST section. I didn't realize I made this thread on single player section. It was supposed to be a very simple tweak for me but oh well.

client_log.txt

modmain.lua

Edited by Car4057

Yeah...its probably good to make a thread on the DST section, as for what you gave me the game is mainly complaining that a lot of variables are undeclared or arithmetic errors but nothing about this 'ï' error. This modmain is missing a lot of basic referencing and "starting code" for a lack of better words like "local TUNING = GLOBAL.TUNING" or "local multiplayer_armor_durability_modifier = 1" and such. While you make a thread on the DST forums read this link (https://forums.kleientertainment.com/forums/topic/73967-how-to-ask-help-for-modding-include-tutorials/) as modders don't like to keep guessing what your trying to do (and neither do computer science majors). So be as detailed as you possible can, as for me I can't see what your doing as the modmain has multiple references and will require a lot of different starting code, as it is it wont run at all.

 

Edited by K1NGT1GER609

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...