m-byte918 / MultiOgarII

A continued version of the original MultiOgar, an open source Ogar server implementation written with Node.js.
Apache License 2.0
128 stars 131 forks source link

how do you use console-plus(ive looked at all the issues) #1503

Closed OoDone closed 5 years ago

OoDone commented 5 years ago

ive been trying to use console-plus on heroku and i can´t figure it out. i know how to run it and stuff

agario server URL(NOT the client): https://agarioserv2.herokuapp.com the client: https://agarioserv.herokuapp.com/www/index.html part of the HTML file(console-plus.html):

<script>
      var Host='agarserv2.herokuapp.com';
      var idx=0;
      buffer =[];
      var el = document.getElementById('input');
      el.focus();
      el.onblur = function () { setTimeout(function () { el.focus(); });};

the console-plus.json file:

{
  "username":"CENSORED",
  "password":"CENSORED",
  "ip":"agarioserv2.herokuapp.com",
  "port":8080
}

the console-plus.html client URL: http://agarioserv.herokuapp.com/run/console-plus.html when it was trying to connect with ws:// it couldnt because it isn't supported so i changed it to wss:// in the html file and it connects and sends the data but the console doesnt recieve anything back and i want to know if i set the host and/or the ip wrong for the console

image

BorysDev commented 5 years ago

Im not sure if this is an issue with the server, or heroku. I'll need to investigate when the entire server is rewritten.