plamzi / MUDPortal-Web-App

Web UI for playing MUD / MUSH / MOO games
http://www.mudportal.com
GNU General Public License v2.0
45 stars 22 forks source link

Installation notes appear to be lacking? #3

Open ktiedt opened 9 years ago

ktiedt commented 9 years ago

If I load the index.html file, all I get is a black background?

hluaces commented 9 years ago

Hey!, that's completey normal. By default the application doesn't seem to start by itself.

Try instantiating a new "ScrollView" class immediately after the declaration of the javascript files, you can even create it in your browser to debug.

To do so, just add the following snippet right before the last javascript reference in the index.html file:

<script type="text/javascript">
    var scroll = new ScrollView();
</script>

That will load up the default Window.

For the rest, just dive into the code and customize it as you like; I'd suggest to start by checking the Config.js file under "js/modules".

Good luck and kind regards, Héctor

ktiedt commented 9 years ago

@hluaces I already havea ScrollView popping up, managed to solve that the next day or so, but still cant get the login info from the mud I am trying to connect to, though the connection shows up on the MUD side as a Logon attempt :/

hluaces commented 9 years ago

Is there any error showing up on your JS console? If there are, try to follow them to search for hints.

The config.js file had an option to enable debugging, which can show more verbose errors on the console.

If nothing seems to be working, feel free to let me know the host/port of the mud you are trying to connect to so I can take a look at it and see if I can reproduce the error.

Kind regards, Héctor

ktiedt commented 9 years ago

No errors that I could see even with debug mode, was trying to connect to dartmud.com 2525

Thanks! On Aug 23, 2015 5:10 AM, "hluaces" notifications@github.com wrote:

Is there any error showing up on your JS console? If there are, try to follow them to search for hints.

The config.js file had an option to enable debugging, which can show more verbose errors on the console.

If nothing seems to be working, feel free to let me know the host/port of the mud you are trying to connect to so I can take a look at it and see if I can reproduce the error.

Kind regards, Héctor

— Reply to this email directly or view it on GitHub https://github.com/plamzi/MUDPortal-Web-App/issues/3#issuecomment-133822637 .

hluaces commented 9 years ago

Hey there,

I cloned the git repository, created the scrollView instance in the javascript code and accesed the webpage where the script is hosted like this:

http://domain.com/play/?host=?host=dartmud.com&port=2525

I can't see any trouble, as you can see in this image I can see the Login screen as usual: sin titulo

Unfortunately, I have no idea of what can be the cause of your issue.

Kind regards, Héctor

ktiedt commented 9 years ago

What the hell... I'll give it another try today, thanks for that, at least I know it can work. Now to figure out what caused it to not work for me I guess.

-Karl Tiedt

On Sun, Aug 23, 2015 at 10:26 AM, hluaces notifications@github.com wrote:

Hey there,

I cloned the git repository, created the scrollView instance in the javascript code and accesed the webpage where the script is hosted like this:

http://domain.com/play/?host=?host=dartmud.com&port=2525

I can't see any trouble, as you can see in this image I can see the Login screen as usual: [image: sin titulo] https://cloud.githubusercontent.com/assets/3204332/9429341/b920a6aa-49cc-11e5-896a-49ef8fb99ffd.png

Unfortunately, I have no idea of what can be the cause of your issue.

Kind regards, Héctor

— Reply to this email directly or view it on GitHub https://github.com/plamzi/MUDPortal-Web-App/issues/3#issuecomment-133880646 .

ktiedt commented 9 years ago

Ahh, I figured out the difference, I was trying to run it through a local WS proxy. If I let the default WS proxy go it works, just not quite what I am going for on this.

[Edit: and yes, I was running the proxy js file on localhost]