Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Mikfi's Web Fortress Plugin Revival Project  (Read 1856 times)

AdeptAdventurer

  • Bay Watcher
    • View Profile
Mikfi's Web Fortress Plugin Revival Project
« on: October 27, 2014, 01:48:31 pm »

Recently a few members of 4chan's /g/ started helping an individual with a fork of the Web Fortress plugin for Dwarf Fortress 34.11, so far these amazing people have added a working spectator mode and a functional webchat.

We are in urgent need of coders on the Github however, most of the work right now is being done by Alloyed but as someone stated on the Webfortress IRC is that it's like a single dwarf trying to dig out the Quickfort Mines of Moria script, even if he's a Legendary +5 miner it's going to take him forever to get it done.

Link to the Github:
https://github.com/Ankoku/df-webfort

Please help us revive Web Fortress so eventually everyone can easily and reliably host their own instance of Dwarf Fortress. It would be a great thing for community fortresses, nothing beats watching it live after all.

Join the chaos, gen worlds, discuss strategies in the chat and most importantly, have fun! Create your own server and share it with your friends and the Bay12 forums and also, join the Github project at https://github.com/Ankoku/df-webfort the more people the merrier.

I myself am hosting a small time adventure / fort mode server and another person nicknamed Ankoku runs a fortress mode server. The servers are:

Webfortress Fort Mode - Hosted by Ankoku
http://68.103.234.45:8080/webfort.html

Webfortress Fort / Adventure Mode - Up from 10AM UTC to 1AM UTC - Hosted by AdventureHost
http://95.96.39.104:8080/webventure.html

Note that these servers are not dedicated, anyone is welcome to put up a dedicated server to make this a permanent thing where anyone seeing the topic can join in and play.

You can also host your own server, the instructions are as follows:

1. Acquire Dwarf Fortress 34.11 SDL, extract anywhere.
2. Install DFHack R5 as usual.
3. Acquire webfort-1.10-win.zip from https://mega.co.nz/#!wEMz2ZpZ!xnCU0TwhSnJQDauGAgncvH2j1wCmBftLDJgVE_GlTpY
4. Extract contents of dfhack-r5 folder inside of webfort-1.10-win.zip to DF/hack/plugins
5. Extract web folder inside of webfort-1.10-win.zip to the DF folder.
6. Extract the .sdl files, .h files and ShizzleClean.png to the DF folder.
7. Copy ShizzleClean.png or any other text font to the data/art folder.
8. Open the web folder.
9. Run mongoose-free-5.3.5.exe, add exclusion to firewall if necessary. This is the application that allows people to access the folder where the webfort.html is located, if it's not running people won't be able to gain access.
10. Make sure port 1234 and 8080 are forwarded, they are required by Mongoose and the Web Fortress plugin.
11. Make sure that PRINT_MODE is set to STANDARD in the init.txt and set FONT to ShizzleClean.png.
12. Open webfort.html and voila. The address for others to connect is your IP:8080/webfort.html

If that doesn't work out for some reason even after following it to the letter, try my installation instead.
https://mega.co.nz/#!cRtTGDwI!SZWWO66KVB_BHsDtsAn4GR3litRopWTH0KV02HyzvOI (Windows only)

All you'd have to do is run Mongoose in the web folder and run Dwarf Fortress, then navigate to the .html.

Current known problems:
- Function keys (F1, F2, etc) presently do not work.
- Certain people connecting causes the Webfort plugin to freeze requiring a manual restart of Dwarf Fortress. This is most likely related to specific ISPs messing up the handshake and libnopoll which is a blocking library sits there not knowing what to do with it.
« Last Edit: October 29, 2014, 05:39:51 pm by AdeptAdventurer »
Logged

AdeptAdventurer

  • Bay Watcher
    • View Profile
Re: Mikfi's Web Fortress Plugin Revival Project
« Reply #1 on: October 29, 2014, 05:48:12 pm »

Nobody? We have one major bug that is preventing this from becoming the next big thing. It's already so close to functional but the development has come to a standstill. Dwarf Fortress MULTIPLAYER. Sure, it isn't multiple inputs at the same time.. but it's as close as you're going to get for now.
Logged

Espuma

  • Bay Watcher
    • View Profile
Re: Mikfi's Web Fortress Plugin Revival Project
« Reply #2 on: October 30, 2014, 12:49:31 am »

Have you tried popularizing this with the succession fort people? I always get the feeling that the people who come to the modding subforum are a small minority compared to the main forum.
Logged

Redzephyr01

  • Bay Watcher
  • Ferrum Cor
    • View Profile
Re: Mikfi's Web Fortress Plugin Revival Project
« Reply #3 on: October 30, 2014, 07:15:09 pm »

PTW
Logged

Dragoon209

  • Bay Watcher
    • View Profile
Re: Mikfi's Web Fortress Plugin Revival Project
« Reply #4 on: November 04, 2014, 03:46:42 pm »

Hello,

I'm also hosting a fort at urist.is-a-geek.com:8080

It's running a slightly modded server:
  • Mithril metal can be found in certain places.  It is in small clusters, and is a little stronger than steel.
  • Leather can be upgraded to 5 different tiers.  Details can be found in the Leather Mod linked in my signature.

Have fun!
Logged
Check out my mini-mods:
Upgradable Leather Tiers
Block Crafting Workshop

Have you played Webfort yet?  It's a way to play Dwarf Fortress in a web browser with your friends!  Come check it out at:
Community Web Fortress