Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Answered Car Boosting Script NPBASE help

Ballzzee

Gold Elite
Joined
Jul 30, 2021
Messages
38
Reaction score
6,605
Points
306
hope some one can help me with my error

error loading script server/sv_main.lua in resource boosting: @boosting/server/sv_main.lua:78: attempt to index a nil value (global 'RPC' )
stack traceback:
@boosting/server/sv_main.lua:78: in main chunk
failed to load script server/sv_main.lua.

The code in the Specific line is as follows
77 elseif Config['General']["Core"] == "NPBASE" then
78 RPC.register("boosting:GetExpireTime", function()
79 local shit = (os.time() + 6 * 3600)

I do have a RPC started in my Resource.cfg
i do have a RPC Script
i attached my config
Any help would be appreciated
 

Sandi805517

Member
Joined
Nov 2, 2022
Messages
5
Reaction score
1
Points
146
Location
India
hope some one can help me with my error

error loading script server/sv_main.lua in resource boosting: @boosting/server/sv_main.lua:78: attempt to index a nil value (global 'RPC' )
stack traceback:
@boosting/server/sv_main.lua:78: in main chunk
failed to load script server/sv_main.lua.

The code in the Specific line is as follows
77 elseif Config['General']["Core"] == "NPBASE" then
78 RPC.register("boosting:GetExpireTime", function()
79 local shit = (os.time() + 6 * 3600)

I do have a RPC started in my Resource.cfg
i do have a RPC Script
i attached my config
Any help would be appreciate
 

wolkenklar372

Member
Joined
Mar 12, 2023
Messages
5
Reaction score
0
Points
146
Location
Austria
I have the same problem I run NPBASE and added the unwind-rpc resource.
I started unwind-rpc first and then boosting (bropixel-boosting).
I added the client and server script to the fxmanifest.lua but I still get this error:
[ script:boosting] Error loading script server/sv_main.lua in resource boosting: @boosting/server/sv_main.lua:78: attempt to index a nil value (global 'RPC')
[ script:boosting] stack traceback:
[ script:boosting] @boosting/server/sv_main.lua:78: in main chunk
[ c-scripting-core] Failed to load script server/sv_main.lua.

Do I have to change something here?:
["NPBASE"] = {
["Name"] = "unwind-fw", -- this will be used in server side to call player module
["ProgressBarScriptName"] = "unwind-taskbar", -- progress bar script name link in np_readme.md
["HasItem"] = "unwind-inventory", -- Imporant [ Your normal export for checking has item, default is yourservername:inventory ]
["HandlerScriptName"] = "unwind_handler",
}

Would be great if someone could help me
 
Last edited:
Top