Skip to content

DarkVAR not registred #113

@Haraca

Description

@Haraca

Hello,

I am using the github version and not the workshop version.
However I am still recieving the error which states, that the DarkRPVars "xp" and "level" have not been registered. If it helps, this is the code for the sv_data.lua however it's exactly the same as here on github.

`[ERROR] A runtime error has occurred in "lua/darkrp_modules/levels/sv_data.lua" on line 14.
The best help I can give you is this:

Warning! DarkRPVar 'xp' wasn't registered!
Please contact the author of the DarkRP Addon to fix this.
Until this is fixed you don't need to worry about anything. Everything will keep working.
It's just that registering DarkRPVars would make DarkRP faster.

Hints:

  • No hints, sorry.

The responsibility for the error above lies with (the authors of) one (or more) of these files:

  1. lua/darkrp_modules/levels/sv_data.lua on line 14
  2. gamemodes/starwarsrp/gamemode/libraries/mysqlite/mysqlite.lua on line 305
  3. lua/darkrp_modules/levels/sv_data.lua on line 14
  4. lua/darkrp_modules/levels/sv_data.lua on line 23
  5. lua/darkrp_modules/levels/sh_core.lua on line 200
  6. lua/ulib/shared/hook.lua on line 109
    ------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "lua/darkrp_modules/levels/sv_data.lua" on line 14.
The best help I can give you is this:

Warning! DarkRPVar 'level' wasn't registered!
Please contact the author of the DarkRP Addon to fix this.
Until this is fixed you don't need to worry about anything. Everything will keep working.
It's just that registering DarkRPVars would make DarkRP faster.

Hints:

  • No hints, sorry.

The responsibility for the error above lies with (the authors of) one (or more) of these files:

  1. lua/darkrp_modules/levels/sv_data.lua on line 14
  2. gamemodes/starwarsrp/gamemode/libraries/mysqlite/mysqlite.lua on line 305
  3. lua/darkrp_modules/levels/sv_data.lua on line 14
  4. lua/darkrp_modules/levels/sv_data.lua on line 23
  5. lua/darkrp_modules/levels/sh_core.lua on line 200
  6. lua/ulib/shared/hook.lua on line 109
    ------- End of Simplerr error -------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions