[nodebb-plugin-openfantasy] Full-fledged RPG system for NodeBB
-
@KingCat I'll write up a roadmap / todo on the weekend. Thanks for offering to help
-
@psychobunny I've always wanted to make a browser based rpg but never had the wherewithal to create something useable, I think this way I can scratch my itch without having to create all the underlying plumbing haha.
Also, I'm in the nodebb IRC on freenode if you ever want to come by and chat about it.
-
I will be installing the latest version in the next few days and testing it out. Sounds like the changes you did are pretty sweet.
-
I'll make a roadmap soon but I think the most immediate need is an admin interface to modify data. Right now everything is hardcoded to the default install, you can see the data here:
nodebb-plugin-openfantasy/data/data.js at master ยท psychobunny/nodebb-plugin-openfantasy
A fully featured RPG (Role Playing Game) plugin for NodeBB forums. - nodebb-plugin-openfantasy/data/data.js at master ยท psychobunny/nodebb-plugin-openfantasy
GitHub (github.com)
Basically this is what you get when you install for the first time, so monster/item/class/element definitions, etc. The original ADR had a pretty in-depth admin interface that allowed you to create or modify the above.
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?
-
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.
-
@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. -
I think that line should read
nconf.get('relative_path')
instead -
@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.
-
@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 ?
-
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.
-
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
-
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!
-
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