[nodebb-plugin-openfantasy] Full-fledged RPG system for NodeBB



  • Just installed openfantasy after upgrading to nodebb 0.7.0-dev, i noticed that images were not working.
    I saw that it was trying to load images from localhost:4567/plugins/nodebb-plugin-openfantasy/static/images/.

    This was caused by the following line in node_modules/nodebb-plugin-openfantasy/openfantasy.js:

    var constants = Object.freeze({
    "image_path": nconf.get('url') + "/plugins/nodebb-plugin-openfantasy/static/images/"
    });

    Because I'm running nginx as a proxy to force ssl it couldn't get the correct url, I simply hacked the url into it as such, of course fill in your own url:
    var constants = Object.freeze({
    "image_path": "https://community.aeterna.nl" + "/plugins/nodebb-plugin-openfantasy/static/images/"
    });

    I'll see if I can find a better fix for this in the meanwhile.



  • @Aeterna said:

    nconf.get('url')

    Should just be the output of URL inside config.json, which, should really be your domain name if you have one.



  • @a_5mith
    This would make sense, but it then results in images not loading and a persistent "connecting...".
    There are then calls being made on the url (which in my case would be https://community.aeterna.nl:4567). I see the tcp connections; but there is no response from nodebb.

    It simply times out.
    I also tried rebinding nginx to also listen on the outside ip port 4567 to proxy connections through to 127.0.0.1 where nodebb would reside; however this changed nothing.


  • Admin

    I think that line should read nconf.get('relative_path') instead


  • Anime Lovers

    @psychobunny said:

    It's definitely a bit of an undertaking, but if anybody's interested I can go ahead and create one sample page (ex. Elements ACP - creating/editing) and then you could go from there by copying how I did it?

    Sorry, it's been a while since I actually have used NodeBB and I cannot remember how to properly quote. 😛 I thought it was a matter of highlighting the text and hitting reply, but that didn't work. I'm putting NodeBB back up on my vps tonight.

    Anyway, I've decided to finally sit down and learn NodeJS. As part of my training I thought I'd take you up on this offer if your still willing to create the sample page.


  • Swedes

    @psychobunny Are you still working on this? It would be cool to have it in my game community 🙂 Any live demos with user data out there ?



  • It's really sad that we can't use this plugin 😞


  • GNU/Linux

    This is a huge undertaking, especially considering the updates it requires to stay in line with the fast-paced development of nodebb. I'm surprised @psychobunny was able to keep up at all considering they maintain dozens of plugins already.


  • Admin

    This works on latest master. I just tried it! It is of course incomplete, but monster battles, inventory, shop, some locations like the temple etc. do work.

    EDIT: This is not on NPM though. There's no point in publishing it until it's actually worth playing


  • Swedes

    I am looking forward to install this plugin when its more playable. Would be cool to have a game on out community site.

    Keep up the good work! @psychobunny 😉



  • @Jenkler said in [nodebb-plugin-openfantasy] Full-fledged RPG system for NodeBB:

    I am looking forward to install this plugin when its more playable. Would be cool to have a game on out community site.

    Keep up the good work! @psychobunny 😉

    I second that!


  • Admin

    Haha I wish I had more time to work on this!



  • Hello Psychobunny and all the adr community.

    I really enjoy the first adr version and i always playing it (on http://dark-dungeon.net/forum/index.php ) with a lot of new features.

    Good luck for the dev!



  • bro Hey Mr Phsyco Bunny. I am an avid user or was an avid user of your forum mods. I always only edited them a little to fit my template. Well it does appear that i am a whole lot more advanced on my programming and IT skills being 26 nearly 27 rather than 16 nearly 17!

    I do hope this is still a project and if it is not i would love to congratulate you on your advances.

    I have recently decided to hit the Gaia bandwagon and want to create something similar. I am working on joomla instead of phpbb as it is a more "modern" thing. I would love to get your most upto date ADR and on which platform it runs so i may carry on its glory with you.

    I litruly just registered to here for you you may know me as jamieneil or TheDemon but i was young and dumb. I know have experience is many "languages"I would love to hear from you. So please email me.

    I definitely love and appreciate your work

    Jamie


  • GNU/Linux Admin

    @thedemon I have no clue if ADR is still around, but Mr. Psycho Bunny (or @psychobunny as he prefers to be known) was interested in converting it into Node.js instead of PHP... quite a change though, I must admit 😄

    It's a bit of a lifelong goal for him I think.



  • Hello @julian it's nice to meet you 🙂 Yeah it would be nice to get back in touch with @psychobunny as his work was like non other. I'm currently thinking of porting it over to Joomla somehow along with the shop mod. But will use the cash mod available on there already. It would be nice to get his files off of him and help him with his endeavours aswell. I really like NodeBB it's very smooth.


  • Admin

    Hi @thedemon 🙂 Although I have no interest in continuing the PHP version of this, it would definitely be a lot easier for you to convert it to Joomla than what I'm trying to do by porting it to node.js

    If you're ever thinking about learning JS though, try installing this on NodeBB and give it a shot 🙂



  • @psychobunny I will install it later on tonight and have a play with it, I'll let you know any changes i make on it, I will possibly join in the callabiration on github 🙂



  • @thedemon said in [nodebb-plugin-openfantasy] Full-fledged RPG system for NodeBB:

    Hello @julian it's nice to meet you 🙂 Yeah it would be nice to get back in touch with @psychobunny as his work was like non other. I'm currently thinking of porting it over to Joomla somehow along with the shop mod. But will use the cash mod available on there already. It would be nice to get his files off of him and help him with his endeavours aswell. I really like NodeBB it's very smooth.

    If you're really interested, maybe we c/should discuss this. I maintain github.com/vendethiel/ezarena – even to this day :).

    I'm still around, looking at this thread every few months, and I also watch the github repo.



  • What is the url to access the rpg from forums. @psychobunny


Log in to reply
 

Suggested Topics

| |