PiturcaClaudiuStef Posted April 13, 2016 Share Posted April 13, 2016 PrefabFiles = { "s", "uniquebook" } Assets = { Asset("IMAGE", "images/saveslot_portraits/s.tex"), Asset("ATLAS", "images/saveslot_portraits/s.xml"), Asset("IMAGE", "images/selectscreen_portraits/s.tex"), Asset("ATLAS", "images/selectscreen_portraits/s.xml"), Asset("IMAGE", "images/selectscreen_portraits/s_silho.tex"), Asset("ATLAS", "images/selectscreen_portraits/s_silho.xml"), Asset("IMAGE", "bigportraits/s.tex"), Asset("ATLAS", "bigportraits/s.xml"), Asset("IMAGE", "images/map_icons/s.tex"), Asset("ATLAS", "images/map_icons/s.xml") } local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS STRINGS.CHARACTER_TITLES.s = "The Awesome Fighter" STRINGS.CHARACTER_NAMES.s = "S Claudiu" STRINGS.CHARACTER_DESCRIPTIONS.s =“*has an necklace that provides light\n*Does not eat meat\n*Brings his favourite book" STRINGS.CHARACTER_QUOTES.s = "\"I'm so awesome!\"" STRINGS.CHARACTERS.S = require "speech_maxwell" table.insert(GLOBAL.CHARACTER_GENDERS.MALE, "s") AddMinimapAtlas("images/map_icons/s.xml") AddModCharacter("s") STRINGS.NAMES.UNIQUEBOOK = "The White Path" STRINGS.CHARACTERS.GENERIC.DESCRIBE.UNIQUEBOOK = "I love this book. It brings my trustworthy companion." RemapSoundEvent("dontstarve/characters/s/death_voice", "s/characters/s/death_voice") RemapSoundEvent("dontstarve/characters/s/hurt", "s/characters/s/hurt") RemapSoundEvent("dontstarve/characters/s/talk_LP", "s/characters/s/talk_LP") it has to do with some of those lines? cause i don't know what to do to make the mod work?,so far it works only with SW Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/ Share on other sites More sharing options...
Arkathorn Posted April 13, 2016 Share Posted April 13, 2016 4 hours ago, PiturcaClaudiuStef said: STRINGS.CHARACTER_DESCRIPTIONS.s =“*has an necklace that provides light\n*Does not eat meat\n*Brings his favourite book" This line has an invalid character at position 35. The character is Unicode U+201C (Left Double Quotation Mark), but should be U+0022 (Quotation Mark). This was likely created by the text editor you used. I suggest using Sublime Text, the editor used by the developers (It's as free as WinRAR). Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-749584 Share on other sites More sharing options...
PiturcaClaudiuStef Posted April 13, 2016 Author Share Posted April 13, 2016 yeah i used simple text editor not that program,you mean the invalid character is /n? Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-749617 Share on other sites More sharing options...
PiturcaClaudiuStef Posted April 13, 2016 Author Share Posted April 13, 2016 (edited) PrefabFiles = { "s", "uniquebook" } Assets = { Asset("IMAGE", "images/saveslot_portraits/s.tex"), Asset("ATLAS", "images/saveslot_portraits/s.xml"), Asset("IMAGE", "images/selectscreen_portraits/s.tex"), Asset("ATLAS", "images/selectscreen_portraits/s.xml"), Asset("IMAGE", "images/selectscreen_portraits/s_silho.tex"), Asset("ATLAS", "images/selectscreen_portraits/s_silho.xml"), Asset("IMAGE", "bigportraits/s.tex"), Asset("ATLAS", "bigportraits/s.xml"), Asset("IMAGE", "images/map_icons/s.tex"), Asset("ATLAS", "images/map_icons/s.xml") } local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS STRINGS.CHARACTER_TITLES.S = "The Awesome Fighter" STRINGS.CHARACTER_NAMES.S = "S Claudiu" STRINGS.CHARACTER_DESCRIPTIONS.S =“*has an necklace that provides light*Does not eat meat*Brings his favourite book" STRINGS.CHARACTER_QUOTES.s = "\"I'm so awesome!\"" STRINGS.CHARACTERS.S = require "speech_maxwell" table.insert(GLOBAL.CHARACTER_GENDERS.MALE, "S") AddMinimapAtlas("images/map_icons/S.xml") AddModCharacter("S") STRINGS.NAMES.UNIQUEBOOK = "The White Path" STRINGS.CHARACTERS.GENERIC.DESCRIBE.UNIQUEBOOK = "I love this book. It brings my trustworthy companion." RemapSoundEvent("dontstarve/characters/s/death_voice", "s/characters/s/death_voice") RemapSoundEvent("dontstarve/characters/s/hurt", "s/characters/s/hurt") RemapSoundEvent("dontstarve/characters/s/talk_LP", "s/characters/s/talk_LP") new crash: Edited April 13, 2016 by PiturcaClaudiuStef Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-749624 Share on other sites More sharing options...
Mobbstar Posted April 13, 2016 Share Posted April 13, 2016 This crash comes from a prefab file. Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-749683 Share on other sites More sharing options...
PiturcaClaudiuStef Posted April 13, 2016 Author Share Posted April 13, 2016 ocal 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" ), Asset("ANIM", "anim/s.zip"), Asset("SOUNDPACKAGE", "sound/s.fev"), Asset("SOUND", "sound/s.fsb") } local Prefabs = { "uniquebook" } local start_inv = { "uniquebook" } local fn = function(inst) inst.soundsname = "s" inst.MiniMapEntity:SetIcon("s.tex") inst.components.health:SetMaxHealth(200) inst.components.hunger:SetMax(150) inst.components.sanity:SetMax(175) inst.components.locomotor.walkspeed = 4.5 inst.components.locomotor.runspeed = 6.5 end return MakePlayerCharacter("s", Prefabs, Assets, fn, start_inv) yeah from here but what line though Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-749686 Share on other sites More sharing options...
Arkathorn Posted April 13, 2016 Share Posted April 13, 2016 Judging by the presence of the same character as the other error message, I'd guess it's caused by the same issue. Lines 40-42 are the 'start_inv' table. Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-749826 Share on other sites More sharing options...
PiturcaClaudiuStef Posted April 14, 2016 Author Share Posted April 14, 2016 yeah but i see nothing wrong with it Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-750008 Share on other sites More sharing options...
PiturcaClaudiuStef Posted April 20, 2016 Author Share Posted April 20, 2016 @LadyD can you lock this thread please Link to comment https://forums.kleientertainment.com/forums/topic/66309-can-you-identify-this-crash/#findComment-753273 Share on other sites More sharing options...
Recommended Posts