Tockra Posted July 20, 2010 Share Posted July 20, 2010 hi i need help. When i start the race script and join the server i get a error in the console : "ERROR: race\modes\base.lua:89: attempt to index global 'g_GameOptions' (a nil value) " Here is the line: local text = g_GameOptions.randommaps and 'Next map starts in:' or 'Vote for next map starts in:' Link to comment
Dark Dragon Posted July 20, 2010 Share Posted July 20, 2010 I'm not quite sure what you mean. did you edit the race resource or set up an own resource? what are you trying to do? the table obviously doesn't exist at that time / location Link to comment
Tockra Posted July 20, 2010 Author Share Posted July 20, 2010 I want test a map, which i made for the race resource... If i start the race resource and when i connect on the server nothing happenz. By Mapname is : Map: None and it wont change... In the Console is then this error : "ERROR: race\modes\base.lua:89: attempt to index global 'g_GameOptions' (a nil value) " €: I not edited the resource. I have the newest version Link to comment
MaddDogg Posted July 20, 2010 Share Posted July 20, 2010 I don't have much experience with the race resource, but I guess that you made a mistake in your map or meta.xml and the script can't read it correctly, so errors come up. Perhaps post the content of your meta.xml. Link to comment
Dark Dragon Posted July 20, 2010 Share Posted July 20, 2010 it's the g_GameOptions.randommaps. you simply cannot just access tables in other resources. Link to comment
Tockra Posted July 21, 2010 Author Share Posted July 21, 2010 ? What shall i do? I didnt do anything. Its the original race resource Link to comment
TheRealCow Posted July 21, 2010 Share Posted July 21, 2010 Race will be okey, but if u have only one map, then it will show error, and votemap window wont show up. so, u need 10 maps for showing it up, but, u can start map whit admin panel. And if in map tab are the map file in "Race" category, then just start it, but if it isnt, then u have make mistake in map meta.xml or the map will be bad Link to comment
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