Vrp framework with gameserver zap help!

vrp

#1

im using a gameserver with a site called zap-hosting.com, i swapped over from ■■■■■■■■■ because they only allowed you to upload 3 files at a time when it came to .dll and .exe so on, and you needed permission it was just a ball ache so i swapped over to zap where you just upload it all straight through a ftp (filezilla) i can start up the game fine, but when i get in all of my resources start up fine other than vrp, they are all working like crouch and indicators, fuel and my toxic trainer, they all work, just not vrp, so job system police ems clothes ect, nothing loads up, im using windows 10 if that helps and i have my console log from zap hosting from when i last started the server just here.
Initializing Mono
Initializing Mono completed
Hello!
Stacktrace:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Failed to get instance for guid a7242855-0350-4cb5-a0fe-61021e7eafaa and iid 567634c6-3bdd-4d0e-af39-7472aed479b7: System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x00011] in <48501e5f32e8491e924f8b8beae3e4f6>:0
at CitizenFX.Core.RuntimeManager.CreateObjectInstance (System.Guid guid, System.Guid iid) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\RuntimeManager.cs:39
Found new resource crouch in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//crouch
Found new resource fivem in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//fivem
Found new resource fivem-awesome1501 in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//fivem-awesome1501
Found new resource fivem-loading-sleek in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//fivem-loading-sleek
Found new resource fivem-map-hipster in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//fivem-map-hipster
Found new resource fivem-map-skater in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//fivem-map-skater
Found new resource FMODT in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//FMODT
Found new resource frfuel in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//frfuel
Found new resource Hospital in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//Hospital
Found new resource pv-indicators in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//pv-indicators
Found new resource RPDeath in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//RPDeath
Found new resource vrp in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//vrp
Found new resource vrp_basic_mission in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//vrp_basic_mission
Found new resource vrp_mysql in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//vrp_mysql
Found new resource race in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[gamemodes]/race
Found new resource race-test in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[gamemodes]/race-test
Found new resource channelfeed in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[gameplay]/channelfeed
Found new resource irc in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[gameplay]/irc
Found new resource obituary in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[gameplay]/obituary
Found new resource obituary-deaths in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[gameplay]/obituary-deaths
Found new resource mapmanager in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[managers]/mapmanager
Found new resource baseevents in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/baseevents
Found new resource chat in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/chat
Found new resource hardcap in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/hardcap
Found new resource rconlog in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/rconlog
Found new resource scoreboard in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/scoreboard
Found new resource sessionmanager in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/sessionmanager
Found new resource spawnmanager in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[system]/spawnmanager
Found new resource betaguns in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[test]/betaguns
Found new resource gameInit in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[test]/gameInit
Found new resource keks in C:/cygwin\home\zap332941\g13424\gta5-fivem\server-data/resources//[test]/keks
Started resource sessionmanager
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started resource fivem
Started gametype Freeroam
Started resource hardcap
Started resource rconlog
Started resource scoreboard
Loaded mysql.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_199067535
[vRP/C#] Load MySQL app.
Instantiated instance of script vRP.MySQL.
Started resource vrp_mysql
Error parsing script base.lua in resource vrp: base.lua:132: unexpected symbol near '-'
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_atm.lua in resource vrp: modules/basic_atm.lua:4: attempt to index a nil value (global ‘vRP’)
stack traceback:
modules/basic_atm.lua:4: in main chunk
Failed to load script modules/basic_atm.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: modules/basic_garage.lua:4: attempt to index a nil value (global ‘MySQL’)
stack traceback:
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:282: in main chunk
Failed to load script server.lua.
Started resource vrp_basic_mission
Started resource frfuel
Started resource pv-indicators
Started resource FMODT
Started resource fivem-loading-sleek
Started resource crouch
Started resource Hospital
Started resource RPDeath
Resolved live-internal.fivem.net:30110 to 151.80.44.223:30110
Sending heartbeat to live-internal.fivem.net:30110
Started resource fivem-map-skater
Started map fivem-map-skater
Sending heartbeat to live-internal.fivem.net:30110
Connecting: Mickie Finn
Sending heartbeat to live-internal.fivem.net:30110
3. Admin (MICKIE FINN) spawned. Access to CHEM!CAL T0Ж!N granted!

any help is much appreciated and thanks in advance if i have forgotten anything or you need any more information then please let me know and ill get back to you as soon as i can:slight_smile:


#2

First of all: Could you paste the log into a https://pastebin.com/ and not in the topic?

Second of all; if you actually read the first error you can see you have a syntax error at base.lua:132
Error parsing script base.lua in resource vrp: base.lua:132: unexpected symbol near '-'

Could you share this piece of code (not all of it, just 10 lines surrounding base.lua at line 132), so we can look into it.

The syntax error has a cascading effect causing everything vRP related to break.