RealMCoded / LunarRec

A RecNet server replacement for old Rec Room builds that multiple people can connect to
GNU Affero General Public License v3.0
7 stars 6 forks source link

Failed To Load Profile #14

Open RitzDx opened 2 weeks ago

RitzDx commented 2 weeks ago

Describe the bug Rec room load up but fails to load profiles

To Reproduce modify build, start server and build, fail to load profiles

Expected behavior To work

Screenshots im too lazy too put a screen shot so here is what it says in the console C:\Users\jonny\Desktop\LunarRec-master\src\routes\players.js:38 if (allow2016AndEarly2017) { ^

ReferenceError: allow2016AndEarly2017 is not defined at C:\Users\jonny\Desktop\LunarRec-master\src\routes\players.js:38:5 at Layer.handle [as handle_request] (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\layer.js:95:5) at next (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\route.js:149:13) at Route.dispatch (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\route.js:119:3) at Layer.handle [as handle_request] (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\layer.js:95:5) at C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\index.js:284:15 at Function.process_params (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\index.js:346:12) at next (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\index.js:280:10) at Function.handle (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\index.js:175:3) at router (C:\Users\jonny\Desktop\LunarRec-master\node_modules\express\lib\router\index.js:47:12)

Node.js v20.15.1

System Information:

Additional context N/A

CrypticBren commented 2 weeks ago

the dev seems to have forgotten to import it from the config you will most likely have to wait for a fix(i made a pull request so you will have to wait for now until the dev accepts the pull request)

RitzDx commented 2 weeks ago

Alright