Play
Multi-Player
Coins
Community
Settings
Help
Community   Maps   Forum   Mail   Ladders   Clans   Recent Games
Sign In | Sign Up
<< Back to Programming Forum   

Posts 1 - 9 of 9   
Error loading .lua files: 4/18/2017 21:23:19


ViralGoat 
Level 58
Report
When I load lua files from https://github.com/FizzerWL/ExampleMods/tree/master/RandomizedWastelandsMod

I get this error:

Lua code failed verification check. Please fix the issues below and try again by pressing Reload Code

Server_StartDistribution.lua:(7,0-1): unexpected symbol near '<'
Error loading .lua files: 4/18/2017 21:32:11


ViralGoat 
Level 58
Report
Same thing happens when I load from https://github.com/FizzerWL/ExampleMods/tree/master/SafeStartMod

I have 3.18.3.8
- downvoted post by Altruistic Person
Error loading .lua files: 4/18/2017 22:12:51


TBest 
Level 59
Report
@ViralGoat, that is odd. I have the same version and no problem with either of the mods.

The way you phrased things, are you downloading the source code? Like, to later modify them?
(What do you mean by "when I load from")

Edited 4/18/2017 22:14:21
Error loading .lua files: 4/18/2017 22:21:21

Fizzer 
Level 57

WarLight Creator
Report
Can you be more specific about exactly what you're doing? Are you downloading those files onto your PC and giving that folder name when creating a new mod? Or are you pasting the Github url into the Unity app?
Error loading .lua files: 4/18/2017 22:24:28

Fizzer 
Level 57

WarLight Creator
Report
I don't see the character '<' anywhere in the file Server_StartDistribution.lua, so it's not clear where the error is coming from. If you're pointing at a directory on your hard drive, can you zip up that directory and email it to me so I can reproduce the issue?
Error loading .lua files: 4/18/2017 22:32:21


ViralGoat 
Level 58
Report
I am following step 2 from https://www.warlight.net/wiki/Mod_Developers_Guide

I was right-clicking on each individual .lua file from github and selecting save target as...

But I see this creates an html file completely different. Never mind, noob mistake.

Edited 4/18/2017 22:32:44
Error loading .lua files: 4/18/2017 22:58:37


TBest 
Level 59
Report
^Yeah. Go to https://github.com/FizzerWL/ExampleMods and then you have a Clone or download Zip. Gives you all mods too :D

GitHub has a UI that is confusing until you get used to it.
Error loading .lua files: 4/19/2017 00:08:08


ps 
Level 60
Report
yeah, if you want to copy paste directly from github you have to click the raw button on the file to see the raw code. cloning or downloading the project zip might be easier.
Posts 1 - 9 of 9   

Contact | About WarLight | Play Risk Online | Multiplayer Strategy Game | Challenge Friends, Win Money | Skill Game | Terms of Service