Jump to content

I get a bunch of debug warnings and errors in my race map...


Recommended Posts

I get a bunch of warnings when I load the map in the editor (before I even test it)

[14:11:13] WARNING: edf\edf.lua:1374: Attribute 'nextid' has an invalid type in element 'checkpoint': should be 'element'.
[14:11:13] WARNING: edf\edf.lua:830: Bad argument @ 'getElementType' [Expected element at argument 1, got string 'false']
[14:11:13] WARNING: edf\edf.lua:776: Bad argument @ 'getElementData' [Expected element at argument 1, got string 'false']
[14:11:13] WARNING: edf\edf.lua:837: Bad argument @ 'getElementData' [Expected element at argument 1, got string 'false']
[14:11:13] WARNING: edf\edf.lua:838: Bad argument @ 'getElementData' [Expected element at argument 1, got string 'false']
[14:11:13] WARNING: edf\edf.lua:839: Bad argument @ 'getElementData' [Expected element at argument 1, got string 'false']
user_name opened map [R]-Darts. (opening took 75 ms)

Then, when I test the map, AFTER I hit the last checkpoint I get this:

Notice: Collisions are turned off for this map
Notice: Vehicle weapons are turned off for this map
Notice: Collisions are turned off for this map
Notice: Vehicle weapons are turned off for this map
Notice: Collisions are turned off for this map
Notice: Vehicle weapons are turned off for this map
Notice: Collisions are turned off for this map
Notice: Vehicle weapons are turned off for this map
Notice: Collisions are turned off for this map
Notice: Vehicle weapons are turned off for this map
Notice: Collisions are turned off for this map
Notice: Vehicle weapons are turned off for this map
etc...

and then these errors when the editor loads back in:

ERROR: killmessages'scripts'client\c.ui.lua:69 attempt to index local 'victim' (a nil value)
INFO: Resource stopping
ERROR: killmessages'scripts'client\c.ui.lua:69 attempt to index local 'victim' (a nil value) [DUP x385]
ERROR: Server triggered clientside event onClientCall_race, but event is not added clientside

Also, sometimes (not always) when I select to test the race I get this warning and the map doesn't load, editor just kinda hangs there and I have to press F5 again to actually load the map

WARNING: editor_main\serverloadtest_server.lua834: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean]

I've tried reinstalling MTA but it hasn't fixed it. Any ideas?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...