Giter Site home page Giter Site logo

Comments (11)

ApocalypsjeNL avatar ApocalypsjeNL commented on May 23, 2024 1

It should work just fine with your configuration. Do you get any console errors in your browser console?

from openaudiomc.

ApocalypsjeNL avatar ApocalypsjeNL commented on May 23, 2024 1

The change of the socket server broke it. It's made to work with the provided socket server

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

Do i have to change something in jar files in my webclient files ?

function oa_socket_startup(name, server, token) {
oaio = io.connect("https://craftmendserver.eu:6969", {
secure: false
});

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

Here is the log.
https://pastebin.com/QA0EcyRs

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

I'm still have the problem.

Loading...

And nothing happened.

Browser Console :
[socket] starting...

Server Logs :
[06:01:53] [Server thread/INFO]: [OpenAudioMc] Enabling OpenAudioMc v4.0
[06:01:53] [Server thread/INFO]: [OpenAudioMc] starting socketio
[06:01:53] [Server thread/INFO]: [OpenAudioMc] socketio started!
[06:01:53] [Server thread/INFO]: [OpenAudioMc] Reflection has found MC v1_12_R1 which is supported
[06:01:53] [Server thread/INFO]: [OpenAudioMc] Found worldguard! lets enable regions!
[10:33:29] [Server thread/INFO]: Rouchesta issued server command: /audio
[10:33:29] [Server thread/INFO]: [OpenAudioMc] starting socketio
[10:33:29] [Server thread/INFO]: [OpenAudioMc] socketio started!
When i click to open the WebClient it works and then stuck on Loading...

from openaudiomc.

ApocalypsjeNL avatar ApocalypsjeNL commented on May 23, 2024

Which browser are you using

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

Mozilla Firefox.
I just checked if my firewall has port 3000 and 6969 opened. It's ok TCP and UDP.

I changed socket.io like this :

function oa_socket_startup(name, server, token) {
oaio = io.connect("http://MYDOMAIN:6969", {
secure: false
});

I think it bugs when trying to retrieve skull, maybe the JSON ? :

console.log("[socket] starting...");
oaio.on('connect', function() {
    console.log("[socket] connected! sending identity");
    var packet = {};
    packet.name = name;
    packet.key = token;
    packet.server = server;
    **oa_ui_setskull("Loading...", "606e2ff0-ed77-4842-9d6c-e1d3321c7838");
    oaio.emit("imaplayer", JSON.stringify(packet));**
});

Does my server need JSON Api v3.0.2 to works ?

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

Either if i want to use a Webclient hosted on my dedicated server ? How to setup the link ?

I'm now stuck here :
[socket] starting...
socket.js:12:5
[socket] connected! sending identity
socket.js:15:9
Firefox can not connect to the server at wss: //craftmendserver.eu: 6969 / socket.io /? EIO = 3 & transport = websocket & sid = y0eXfJ3py6WXbYMYABmP.
websocket.js: 112
The connection with wss: //craftmendserver.eu: 6969 / socket.io /? EIO = 3 & transport = websocket & sid = y0eXfJ3py6WXbYMYABmP was interrupted while the page was loading.
websocket.js: 112

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

It's now working ... idk why. I'll try to add sounds this evening :-)
I'll close this issue if it works tonight.

Thank you.

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

It worked for 3-4 minutes but now i've a message saying it can't connect to Minecraft server.
I removed the JSON API plugin, is it required ? Or the OpenAudioMC servers are offline again ?

[socket] starting...
socket.js:12:5
[socket] connected! sending identity
socket.js:15:9

from openaudiomc.

Rouchesta avatar Rouchesta commented on May 23, 2024

Working again ... just restarted my Minecraft.

from openaudiomc.

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.