[vRP Framework]-[Psycho Edited - FX 3.5]-[23/07/17]

any way to add laundering as a separate thing besides going through business?

yes it’s work but it’s free it’s need to coding for vRP

You mean you want people to be able to pay money?

I have this error on debian 7:

Loaded mysql.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_43687594
[vRP/C#] Load MySQL app.
Instantiated instance of script vRP.MySQL.
Started resource vrp_mysql
Error loading script base.lua in resource vrp: citizen:/scripting/lua/scheduler.lua:400: No such resource vrp_mysql
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:400: in metamethod '__index'
        [string "-- begin MySQL module..."]:72: in field 'createConnection'
        base.lua:14: in main chunk
Failed to load script base.lua.
Error loading script modules/gui.lua in resource vrp: modules/gui.lua:14: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/gui.lua:14: in main chunk
Failed to load script modules/gui.lua.
Error loading script modules/group.lua in resource vrp: modules/group.lua:15: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/group.lua:15: in main chunk
Failed to load script modules/group.lua.
Error loading script modules/admin.lua in resource vrp: modules/admin.lua:291: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/admin.lua:291: in main chunk
Failed to load script modules/admin.lua.
Error loading script modules/survival.lua in resource vrp: modules/survival.lua:2: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/survival.lua:2: in main chunk
Failed to load script modules/survival.lua.
Error loading script modules/player_state.lua in resource vrp: modules/player_state.lua:2: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/player_state.lua:2: in main chunk
Failed to load script modules/player_state.lua.
Error loading script modules/map.lua in resource vrp: modules/map.lua:10: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/map.lua:10: in main chunk
Failed to load script modules/map.lua.
Error loading script modules/money.lua in resource vrp: modules/money.lua:1: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/money.lua:1: in main chunk
Failed to load script modules/money.lua.
Error loading script modules/inventory.lua in resource vrp: modules/inventory.lua:1: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/inventory.lua:1: in main chunk
Failed to load script modules/inventory.lua.
Error loading script modules/identity.lua in resource vrp: modules/identity.lua:4: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/identity.lua:4: in main chunk
Failed to load script modules/identity.lua.
Error loading script modules/business.lua in resource vrp: modules/business.lua:6: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/business.lua:6: in main chunk
Failed to load script modules/business.lua.
Error loading script modules/item_transformer.lua in resource vrp: modules/item_transformer.lua:8: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/item_transformer.lua:8: in main chunk
Failed to load script modules/item_transformer.lua.
Error loading script modules/emotes.lua in resource vrp: modules/emotes.lua:5: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/emotes.lua:5: in main chunk
Failed to load script modules/emotes.lua.
Error loading script modules/police.lua in resource vrp: modules/police.lua:3: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/police.lua:3: in main chunk
Failed to load script modules/police.lua.
Error loading script modules/home.lua in resource vrp: modules/home.lua:4: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/home.lua:4: in main chunk
Failed to load script modules/home.lua.
Error loading script modules/home_components.lua in resource vrp: modules/home_components.lua:3: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/home_components.lua:3: in main chunk
Failed to load script modules/home_components.lua.
Error loading script modules/mission.lua in resource vrp: modules/mission.lua:3: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/mission.lua:3: in main chunk
Failed to load script modules/mission.lua.
Error loading script modules/aptitude.lua in resource vrp: modules/aptitude.lua:5: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/aptitude.lua:5: in main chunk
Failed to load script modules/aptitude.lua.
Error loading script modules/basic_phone.lua in resource vrp: modules/basic_phone.lua:4: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/basic_phone.lua:4: in main chunk
Failed to load script modules/basic_phone.lua.
Error loading script modules/basic_market.lua in resource vrp: modules/basic_market.lua:3: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/basic_market.lua:3: in main chunk
Failed to load script modules/basic_market.lua.
Error loading script modules/basic_gunshop.lua in resource vrp: modules/basic_gunshop.lua:4: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/basic_gunshop.lua:4: in main chunk
Failed to load script modules/basic_gunshop.lua.
Error loading script modules/basic_garage.lua in resource vrp: citizen:/scripting/lua/scheduler.lua:400: No such resource vrp_mysql
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:400: in metamethod '__index'
        [string "-- begin MySQL module..."]:78: in field 'createCommand'
        modules/basic_garage.lua:4: in main chunk
Failed to load script modules/basic_garage.lua.
Error loading script modules/basic_items.lua in resource vrp: modules/basic_items.lua:5: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/basic_items.lua:5: in main chunk
Failed to load script modules/basic_items.lua.
Error loading script modules/basic_skinshop.lua in resource vrp: modules/basic_skinshop.lua:4: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/basic_skinshop.lua:4: in main chunk
Failed to load script modules/basic_skinshop.lua.
Error loading script modules/cloakroom.lua in resource vrp: modules/cloakroom.lua:3: attempt to index a nil value (global 'vRP')
stack traceback:
        modules/cloakroom.lua:3: in main chunk
Failed to load script modules/cloakroom.lua.
Started resource vrp
Error loading script server.lua in resource vrp_basic_mission: server.lua:19: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
        [C]: in function 'pairs'
        server.lua:19: in function 'task_mission'
        server.lua:331: in main chunk
Failed to load script server.lua.
Started resource vrp_basic_mission
Started resource banking
Error loading script server.lua in resource vrp_garages: citizen:/scripting/lua/scheduler.lua:400: No such resource vrp_mysql
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:400: in metamethod '__index'
        [string "-- begin MySQL module..."]:78: in field 'createCommand'
        server.lua:10: in main chunk
Failed to load script server.lua.
Started resource vrp_garages
Error loading script server.lua in resource vrp_showroom: citizen:/scripting/lua/scheduler.lua:400: No such resource vrp_mysql
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:400: in metamethod '__index'
        [string "-- begin MySQL module..."]:78: in field 'createCommand'
        server.lua:10: in main chunk
Failed to load script server.lua.
Started resource vrp_showroom
Error loading script server.lua in resource vrp_lscustoms: citizen:/scripting/lua/scheduler.lua:400: No such resource vrp_mysql
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:400: in metamethod '__index'
        [string "-- begin MySQL module..."]:78: in field 'createCommand'
        server.lua:9: in main chunk
Failed to load script server.lua.

I have the same error as the guy above me.

This script works perfectly fine just make sure you have the latest version of FXServer

I guess you’ve started using this script today.

However, we are a lot of providers still having issues with the losing money-part

I’ve been using this script for a good 3 weeks now. Money loss and the ID error do still occur but everything else works fine. It has a few bugs most you can fix yourself if your a developer or your developer can fix them.

Is this broken? I’ve also tried the normal vRP, but seems not working at all…

Loaded mysql.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1854848734
Exception loading assembly I18N: System.IO.FileNotFoundException: Unable to find the specified file.


Server stack trace:
  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper cominterop) CitizenFX.Core.IScriptHost:OpenHostFile (string)
  at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:OpenHostFile (string)
  at CitizenFX.Core.MonoScriptRuntime+WrapScriptHost.OpenHostFile (System.String fileName) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:254
  at (wrapper remoting-invoke-with-check) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:OpenHostFile (string)
  at (wrapper xdomain-dispatch) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:OpenHostFile (object,byte[]&,byte[]&,string)

Exception rethrown at [0]:
  at (wrapper xdomain-invoke) CitizenFX.Core.MonoScriptRuntime+WrapScriptHost:OpenHostFile (string)
  at CitizenFX.Core.InternalManager.LoadAssembly (System.String name) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\InternalManager.cs:115
[vRP/C#] Load MySQL app.
Instantiated instance of script vRP.MySQL.
Started resource vrp_mysql
Loaded MySqlConnector, Version=0.19.5.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1854848734
Loaded System.Threading.Tasks.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 into ScriptDomain_1854848734
Loaded System.Buffers, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 into ScriptDomain_1854848734
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown database 'vrpfx'
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1+ConfiguredValueTaskAwaiter[TResult].GetResult () [0x0001e] in <b44986bd875a48e39fd93643dcf62f70>:0
  at MySql.Data.Serialization.MySqlSession+<ConnectAsync>d__48.MoveNext () [0x00585] in <c9032194188746cfa5d8bb7625c7912b>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at MySql.Data.MySqlClient.ConnectionPool+<GetSessionAsync>d__0.MoveNext () [0x00476] in <c9032194188746cfa5d8bb7625c7912b>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at MySql.Data.MySqlClient.MySqlConnection+<CreateSessionAsync>d__66.MoveNext () [0x00101] in <c9032194188746cfa5d8bb7625c7912b>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at MySql.Data.MySqlClient.MySqlConnection+<OpenAsync>d__17.MoveNext () [0x00106] in <c9032194188746cfa5d8bb7625c7912b>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00012] in <c9032194188746cfa5d8bb7625c7912b>:0
  at vRP.MySQL.e_createConnection (System.String name, System.String config) [0x0000f] in <e8e2586ce2ee427ab4d939b51dcb6d8c>:0
[vRP] launch version 1498403827
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP] init base tables
[vRP/C#] connection/command path vRP/base_tables not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection/command path vRP/money_tables not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection/command path vRP/identity_tables not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection/command path vRP/business_tables not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection/command path vRP/home_tables not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection vRP not found
[vRP/C#] connection/command path vRP/vehicles_table not found
Started resource vrp
Started resource vrp_basic_mission

Seems like, either you did not put the right lines in cfg/base.lua or you’re mysql isn’t working.

1 Like


local cfg = {}

-- mysql credentials
cfg.db = {
  host = "127.0.0.1", --ip
  database = "vrpfx",   -- name of database
  user = "root",    --  name of user 
  password = ""   -- password of you database i'm use xampp and no password
}

cfg.save_interval = 60 -- seconds
cfg.whitelist = false -- enable/disable whitelist

-- delay the tunnel at loading (for weak connections)
cfg.load_duration = 30 -- seconds, player duration in loading mode at the first spawn
cfg.load_delay = 60 -- milliseconds, delay the tunnel communication when in loading mode
cfg.global_delay = 0 -- milliseconds, delay the tunnel communication when not in loading mode

cfg.ping_timeout = 5 -- number of minutes after a client should be kicked if not sending pings

cfg.lang = "en" -- en / fr / pt-br
cfg.debug = false


return cfg

I’m using Heidi and XAMPP. I did exactly like the video.
I didn’t change anything in cfg/base.lua.

I’ve tried to use the normal vRP and i’ve got the same issue. I did try already es_rp and esx and it worked fine.

EDIT: I also get “[vRP] Identification error.” after the server loads.

Oh, its working now. I did a mistake on Heidi. I’m going to check how this gamemode works :slight_smile:

Guys, all the time the server worked stably, literally two days ago there was a mistake “IDENTIFICATOR ERROR”. Was there someone else? How to fix it?

Players randomly losing money from bank is a deal breaker for this. Any ideas?

If im using a server box how would i set this up?

There’s not real fix, really… If problem occur, restart the server and you’re done for a while

This is a common issue, of which there’s no solution… :confused:

Does anyone know how i can take away thirst and hunger and still allow reanimation to happen? I don’t want the bars on the screen. If i have to keep them in order to do reanimation, how do i change the position of the bars? They are overlapping car hud and it doesn’t look so pretty…

so good and if you can make drag up with vRP I appreciate you :sweat_smile: