Git Product home page Git Product logo

Comments (20)

MaximohFoxy avatar MaximohFoxy commented on September 15, 2024

The disableDistance feature doesn't work.
I cant create/login in computer unless i go to the cardealer with no login.
This is some errors that was on my console: http://prntscr.com/p7gl73

I have the same problem, when i try to log in with admin admin, doesnt load, shows at the console the route of init,js:645 Error "Failed to fetch"

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

disableDistance has been fixed, you'll now have to include a location in the command /command location

I can't seem to recreate the issue that you have to visit the cardealer to be able to login on another computer

The first error is just a warning and you should only get it once. The failed to fetch error seems to happen randomly and I'm not sure why. I'll have to do some more digging

Thanks for helping me testing it out!

from jsfour-computer.

MaximohFoxy avatar MaximohFoxy commented on September 15, 2024

I get this error too when i try to log in with the default account admin admin
image

from jsfour-computer.

TheBritishBrotherhood avatar TheBritishBrotherhood commented on September 15, 2024

It seems we all get this error, Atleast from what i can see anyway

from jsfour-computer.

BlackZon77 avatar BlackZon77 commented on September 15, 2024

@jonassvensson4 i still cant login and create an account, and the command is working now
ERROR: http://prntscr.com/p7vmop

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

"The first error is just a warning and you should only get it once. The failed to fetch error seems to happen randomly and I'm not sure why. I'll have to do some more digging"

I never said I fixed that issue.

from jsfour-computer.

MaximohFoxy avatar MaximohFoxy commented on September 15, 2024

image
// # if set to false the player can open the computer everywhere. If set to true the player needs to be standing next to one of the positions above ^ its reverted, if it to false u can open it when you are standing near at the marker :P and when is true u can open it everywhere

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

Yeah you're right, the comment is wrong

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

Alright so after some testing it seems like it was the nuimessage that sometimes didn't pass on the sessiontoken to the javascript.

I've updated the resource. Not sure if that's what caused the issue or not but feel free to try it out and then get back to me

from jsfour-computer.

TheBritishBrotherhood avatar TheBritishBrotherhood commented on September 15, 2024

I'll give it a try now and get back to you, I'll try admin and a made account.

Thanks for the quick update js :)

from jsfour-computer.

TheBritishBrotherhood avatar TheBritishBrotherhood commented on September 15, 2024

@jonassvensson4 Unfortunatly the error seems to persist.

With both admin and made accounts.

This is how my config.js looks in the core resource

module.exports = { endpoint: 'MACHINEIP:3306', gamemaster: { enabled: false, token: 'tprp' },

Starting of resource the core is before the computer.

It could be that where maybe doing something incorrect?

Thanks

https://gyazo.com/676fed0aeb9c01a894cb3bd0e8f37af8

EDIT:

Tried with the actual server's port and it cant fond the IP that way, So i assume using the SQL port was correct.

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

You're supposed to use the same IP and port as your server is using, aka the ip that shows up in the server list.

When you're in the game, try to login on the computer and have a look in the debugger to see what error you're getting. You can open the debugger by visiting this page http://localhost:13172

from jsfour-computer.

TheBritishBrotherhood avatar TheBritishBrotherhood commented on September 15, 2024

Yeah i use my machines IP (Thats where my server is) If i use the port 30120 it cant find the IP?

Ill try use localhost instead of the machines IP, And okay give me a moment.

Im on the ESX discord if you would like to debug with me.

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

No you can't use localhost since others have to connect to it. localhost is your own machine, not the server. You have to use the same ip and port as the server is using. And what do you mean by "it cant find the IP"? Please provide some screenshot of that error

from jsfour-computer.

MaximohFoxy avatar MaximohFoxy commented on September 15, 2024

Now when i try to log in i receive this error and the computer goes
https://streamable.com/bcaip

from jsfour-computer.

BlackZon77 avatar BlackZon77 commented on September 15, 2024

I managed to login and create account, but some programs are not working properly, like medicalrecords, i cant really do anything, bossactions i cant deposit or withdraw.

from jsfour-computer.

MaximohFoxy avatar MaximohFoxy commented on September 15, 2024

I managed to login and create account, but some programs are not working properly, like medicalrecords, i cant really do anything, bossactions i cant deposit or withdraw.

How did u do it? Help me please! Discord: Maximohs#4788
Thanks

from jsfour-computer.

BlackZon77 avatar BlackZon77 commented on September 15, 2024

After this last update of core and computer, i just put the ip of machine, not 127.0.0.1 or 0.0.0.0, in config.js on jsfour-core, and i was able to login and do most of the things. @MaximohFoxy

from jsfour-computer.

MaximohFoxy avatar MaximohFoxy commented on September 15, 2024

After this last update of core and computer, i just put the ip of machine, not 127.0.0.1 or 0.0.0.0, in config.js on jsfour-core, and i was able to login and do most of the things. @MaximohFoxy

Now the problem is this
image i tried now log in with admin admin but still loading, what could i do?
image

EDIT:
Now i can log in with admin admin, i will see if i can do accounts and more things!

from jsfour-computer.

jonassvensson4 avatar jonassvensson4 commented on September 15, 2024

I've updated some programs and the jsfour-core resource that should've fixed the issues with the programs not working correctly. Feel free to try them out and create new issues if it doesn't work. I'm closing this issue since it's getting a bit messy with a lot of different problems

from jsfour-computer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.