Oksas Posted April 24, 2020 Share Posted April 24, 2020 I'm doing my first mod and it's not working very well. I get this message when I try to host a server with my mod on. I'm not sure what's wrong since I checked is everything okay with the modmain.lua and I didn't find anything...please help Link to comment Share on other sites More sharing options...
Ultroman Posted April 24, 2020 Share Posted April 24, 2020 We can't really help you if you don't share the code. The error hints at what's wrong. On line 44 it was expecting an equals-sign near the text "dragonsoul". It's probably a syntax error in your code. Link to comment Share on other sites More sharing options...
Oksas Posted April 25, 2020 Author Share Posted April 25, 2020 thanks for answering Ultroman I tred to double check the line 44, but I can't see any mistakes. If I send you this file would you check it for me? or do you need another file to help me? modmain.lua Link to comment Share on other sites More sharing options...
Thalkas Posted April 25, 2020 Share Posted April 25, 2020 I'm pretty sure space between ichi dragonsoul is problem. Fixed version bottom. STRINGS.CHARACTER_TITLES.ichi_dragonsoul = "ichi dragonsoul" STRINGS.CHARACTER_NAMES.ichi_dragonsoul = "ichi dragonsoul" STRINGS.CHARACTER_DESCRIPTIONS.ichi_dragonsoul = "*perk 1\n*Perk 2\n*Perk 3" STRINGS.CHARACTER_QUOTES.ichi_dragonsoul = "\"Yet another adventure begins.\"" -- Custom speech strings STRINGS.CHARACTERS.ICHI_DRAGONSOUL = require "speech_ichi dragonsoul" -- The character's name as appears in-game STRINGS.NAMES.ICHI_DRAGONSOUL = "Ichi" STRINGS.SKIN_NAMES.ichi_dragonsoul_none = "Ichi" Link to comment Share on other sites More sharing options...
Oksas Posted April 25, 2020 Author Share Posted April 25, 2020 ThalkasThanks for answering! I fixed the names, but now it chrashes the game. Here's the log. what do I need to do? client_log.txt Link to comment Share on other sites More sharing options...
Thalkas Posted April 25, 2020 Share Posted April 25, 2020 (edited) [00:01:34]: MOD ERROR: workshop-2066854861 (ichi_dragonsoul): Mod: workshop-2066854861 (ichi_dragonsoul) [00:01:34]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs [00:01:34]: [string "../mods/workshop-2066854861/modmain.lua"]:50: module 'speech_ichi_dragonsoul' not found: no field package.preload['speech_ichi_dragonsoul'] [00:01:34]: [string "scripts/mainfunctions.lua"]:1105: variable 'global_error_widget' is not declared LUA ERROR stack traceback: Edited April 25, 2020 by Thalkas Link to comment Share on other sites More sharing options...
Oksas Posted April 25, 2020 Author Share Posted April 25, 2020 Thalkas Thanks for the help. It works now : ) Link to comment Share on other sites More sharing options...
Oksas Posted April 25, 2020 Author Share Posted April 25, 2020 (edited) @Thalkas nwm sorry for bothering again, but it stopped working again after I changed speech. client_log.txt Edited April 25, 2020 by Oksas Link to comment Share on other sites More sharing options...
Ultroman Posted April 26, 2020 Share Posted April 26, 2020 (edited) [00:01:34]: error loading module 'speech_ichi_dragonsoul' from file '../mods/workshop-2066854861\scripts\speech_ichi_dragonsoul.lua': [string "cannot OLDFILEACCESSMETHOD @../mods/workshop-2066854861\scripts..."]:1330: unexpected symbol near 'Â' Yes. Your speech file now has a syntax error. You've probably deleted or added a curly bracket that you shouldn't have, or used a character/letter that isn't supported Go to where you were editing, and make sure the curly brackets match. Notepad++ helps a lot with this, if you set the Language to Lua. See? It shows with a red line where the currently highlighted bracket start/ends. Here I have highlighted the top bracket. Edited April 26, 2020 by Ultroman Link to comment Share on other sites More sharing options...
Oksas Posted April 26, 2020 Author Share Posted April 26, 2020 (edited) Ultromanthanks for the help. I got it to work again, but the character is invisible and I don't know what to do again :'D Edited April 26, 2020 by Oksas Link to comment Share on other sites More sharing options...
Ultroman Posted April 26, 2020 Share Posted April 26, 2020 Make a new thread. That's a totally different problem. I'm not good with texture stuff, but other people are. That problem with invisible characters has been solved before, but it could be one of several things that's wrong, so it requires some investigation into how your animation files are set up. They need precise naming and referencing in the character's Lua file. Make a new thread describing the problem, and include a zip of your mod, including the folder where your original animation files are (the ones which get converted into anim-zips by the game). 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