Page 1 of 1

i'm staring at bracket it says is not there?

Posted: Sat Apr 25, 2015 1:40 am
by xnd
subrace =
{
__ALL__ = "disallow",
Chrono-Xorn = "allow",
},

isnt it right there?! I even mouse click on one bracket and it makes the other bracket and connecting line red in Notepad++! but this says it is not there:

Lua Error: /engine/utils.lua:1782: /data-Chrono-Xorn/birth/races/Chrono-Xorn.lua:14: '}' expected (to close '{' at line 12) near '='
At [C]:-1
At [C]:-1 error
At /engine/utils.lua:1782 loadfilemods
At /engine/Birther.lua:36 loadDefinition
At /hooks/Chrono-Xorn/load.lua:11
At [string "return function(l, self, data) local ok=false..."]:1
At /mod/load.lua:271
At [C]:-1 require
At /engine/Module.lua:160 load
At /engine/Module.lua:955 instanciate
At /engine/utils.lua:2197 showMainMenu
At /engine/init.lua:162
At [C]:-1 dofile
At /loader/init.lua:204

and ive also had errors that say "no error" and I search and find some dumb error yet it said "no error" in the error.

I even tried changing the name to not have a hyphen in case that was a problem, changed to _ and yet it wont show up in the race list even though I finally got the list page to load somehow after two days of not being able to.

I tried going through and simply changing the race name and the names of the files everywhere just to see if I could even change the name and I am not managing to get it to work. what am I missing? do I need to somehow sign up and register to be able to get it in the race list? but i didnt want to do that while I still had much to do on it. if that is the issue, i'll have to go change the name back while still working on it, but if not, then what could the problem be?

also, i saw somewhere that new races cant do some dungeons or something? what should I do then?

Re: i'm staring at bracket it says is not there?

Posted: Sat Apr 25, 2015 1:50 am
by HousePet
I'm pretty sure the hyphen is the problem.

Re: i'm staring at bracket it says is not there?

Posted: Sun Apr 26, 2015 6:14 am
by Trea
HousePet wrote:I'm pretty sure the hyphen is the problem.
Yep, Hyphens are the problem which is why my half orcs were halforcs instead of half-orcs. The problem you're facing is you'll need to change EVERYTHING to indicate the new name, not just one line.

Re: i'm staring at bracket it says is not there?

Posted: Sun Apr 26, 2015 7:30 am
by xnd
yeah, ive tripped on exclamation pts, hyphens capitals, etc.

i did change everything and got it to work but took a bit.

the race name and a single class allowed to go with it are functioning, although its not loading all the talents yet.