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

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
xnd
Archmage
Posts: 307
Joined: Sat Mar 21, 2015 7:33 pm

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

#1 Post 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?

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

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

#2 Post by HousePet »

I'm pretty sure the hyphen is the problem.
My feedback meter decays into coding. Give me feedback and I make mods.

Trea
Higher
Posts: 65
Joined: Sun Dec 21, 2014 9:31 am

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

#3 Post 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.
Creator of Half-Orcs [Forum] And Xorn [Forum]

xnd
Archmage
Posts: 307
Joined: Sat Mar 21, 2015 7:33 pm

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

#4 Post 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.

Post Reply