Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 4 5 [6] 7 8 ... 15

Author Topic: Dfterm3 v0.3.1 (2014-04-23)  (Read 91717 times)

lethosor

  • Bay Watcher
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #75 on: September 20, 2013, 05:43:00 pm »

dfterm3 uses a browser interface to play DF, which is theoretically possible to access on Android with a web browser by navigating to the playing server (usually localhost:8080; you can't actually run DF on a mobile device, but you can connect to it). The web interface hasn't been tested at all on a mobile device, however, so it's unlikely that it'll work - if you'd like to test it, that would be useful, and we can try to make the interface more accessible to mobile devices.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

flabort

  • Bay Watcher
  • Still a demilich, despite the 4e and 5e nerfs
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #76 on: September 20, 2013, 07:27:17 pm »

Wow... if you could get a live-speed keyboard (not a go-to-a-seperate-page-for-a-sec-and-can't-see-what-you're-doing keyboard) on a mobile browser, then you could actually play DF on a phone.
Wow...
That is intense.
Logged
The Cyan Menace

Went away for a while, came back, went away for a while, and back for now.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #77 on: September 21, 2013, 09:10:36 am »

I've had dfterm show up perfectly on the stable android chrome - I didn't try inputs though, and there were small display issues (small screen, and slight misalignment). I believe it would work on a tablet with a good keyboard app.

Oh, and PTW.
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #78 on: September 22, 2013, 10:20:31 am »

Would anyone be interested in creating an icon for Dfterm3? I need this to implement a tray icon and of course, all the cool applications have an icon. I need at least a 16x16 and a 32x32 image.

I could of course draw a lame icon myself. I very much doubt I can make a good-looking one.
Logged
I make dead people. Dfterm3

flabort

  • Bay Watcher
  • Still a demilich, despite the 4e and 5e nerfs
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #79 on: September 22, 2013, 10:24:46 am »

Mine'd be lame as well, but I could give my hand a try, at least.

Edit: How's this?
« Last Edit: September 22, 2013, 10:36:07 am by flabort »
Logged
The Cyan Menace

Went away for a while, came back, went away for a while, and back for now.

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #80 on: September 23, 2013, 12:20:04 am »

I skimmed the thread and haven't seen anyone else with this problem.  I've installed everything as instructed and run start-dfterm3 inside DFHack.  However, when I try to access the web interface it always says that there are no games currently running.  The admin interface doesn't list anything once I log in, just the change password and logout buttons.  I tried this in IE 10 and Chrome (maybe an older version).

Windows asked me to open the firewall ports when I started it up, and I'm doing this on localhost so external firewalls shouldn't be a concern.

Any ideas?
Logged
Through pain, I find wisdom.

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #81 on: September 23, 2013, 12:30:24 am »

Mine'd be lame as well, but I could give my hand a try, at least.

Edit: How's this?


Good enough for now.

I skimmed the thread and haven't seen anyone else with this problem.  I've installed everything as instructed and run start-dfterm3 inside DFHack.  However, when I try to access the web interface it always says that there are no games currently running.  The admin interface doesn't list anything once I log in, just the change password and logout buttons.  I tried this in IE 10 and Chrome (maybe an older version).

Windows asked me to open the firewall ports when I started it up, and I'm doing this on localhost so external firewalls shouldn't be a concern.

Any ideas?

No.

It takes up to 20 seconds for Dfterm3 to notice Dwarf Fortress and the place where it first appers is the administrator panel. The connection is also logged on the Dfterm3 console. However, if this never happens, all I can say is that for some reason, Dfterm3 cannot connect to the Dfhack plugin running in Dwarf Fortress.

Dfterm3 tries to connect to all ports in localhost between 48000 and 48100 every 20 seconds (at worst; the average is about 12.5 seconds for one particular port). The Dfhack plugin listens on localhost on one of these ports. I don't know how to solve your particular problem but maybe this information can help you. Future Dfterm3 versions may use a different mechanism such as (named) pipes.

Logged
I make dead people. Dfterm3

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #82 on: September 23, 2013, 12:36:28 am »

Hmm.  I definitely gave it more than 20 seconds to connect.  I never saw any messages in the DFHack or dfterm consoles about it connecting to DF, but I do get messages about the web interface in dfterm's console.

I'll check the 48000-48100 IP range on Windows Firewall.  I guess it could be related to that, it might have only opened 8080.

Edit: Firewall ports were opened, so that wasn't it.  To be sure I downloaded the copy of DFHack linked from the first post and it works now.  I'm not entirely sure what went wrong there, the original DFHack I used was packaged together with DF and some other mods so it might have been a different version of DFHack or something.
« Last Edit: September 23, 2013, 12:56:16 am by Telgin »
Logged
Through pain, I find wisdom.

Jostino

  • Bay Watcher
  • dig dig dig in the deepy shadows
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #83 on: September 23, 2013, 05:25:42 pm »

For dos dummies  (like me)

Change Volume

example: C:/ --> D:/

open cmd.exe

type cd /D D:/

now you are in D:/

If you have directory with spaces you must to include the name of the directory in the quotes " "

example:  cd D:/"Dwarf fortress"/dfterm3

---

anyway, you are my hero, I LOVE this! Really.



bb

-J
« Last Edit: September 23, 2013, 05:59:17 pm by Jostino »
Logged

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #84 on: September 23, 2013, 06:56:18 pm »

Yeah, this is pretty neat once you get it running.  Lag isn't bad either from what I can tell, though I'm sure it's highly network dependent.

It even works in IE 10, but the display is pretty garbled.  It's apparently not using a monospace font in IE for whatever reason.  I haven't checked the styling to diagnose it myself, and I'm sure it's an almost non-issue since presumably very few users of this will be using IE.  Works flawlessly in Chrome as far as I can see.
Logged
Through pain, I find wisdom.

Jostino

  • Bay Watcher
  • dig dig dig in the deepy shadows
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #85 on: September 24, 2013, 04:02:07 pm »

it works with hamachi?
my friend say that he seen "web page is not available" with and without hamachi..

I opened the ports 8000 and 8080 in the NAT

----

when my friend try to connect to me, I seen this:




* he have windows xp
« Last Edit: September 24, 2013, 04:22:21 pm by Jostino »
Logged

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #86 on: September 26, 2013, 02:25:28 am »

it works with hamachi?
my friend say that he seen "web page is not available" with and without hamachi..

I opened the ports 8000 and 8080 in the NAT

----

when my friend try to connect to me, I seen this:




* he have windows xp

It should work with hamachi; however I think I have heard you sometimes have to specifically configure your network settings in a way that applications will listen on the hamachi interface and not on the main network interface. I can't help much with that.

The part of the log you put there is about the connection between Dwarf Fortress and Dfterm3 and not about anyone trying to go and play on your server. The part that says
Code: [Select]
dfterm3: Connection lost. means either that you close Dwarf Fortress, cutting the connection between Dfterm3 and Dwarf Fortress or that you hit the worst issue in Dfterm3 right now; spuriously losing connection to Dwarf Fortress.
Logged
I make dead people. Dfterm3

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #87 on: September 26, 2013, 02:41:27 am »

Here's a quick status update what I have done so far for 0.3:

  • Player listings have been implemented. (that is, you can see who is watching a game)
  • You have to give your name right away before you can even watch games. I think I may cut this feature away as I believe it may be convenient for users to not have to give their name unless necessary.
  • Dfterm3 is more eager to (forcibly) close down Dwarf Fortresses and the plugin has been modified so as to not lose connection so easily. However, I have not once succeeded in getting the old plugin to lose connection randomly so my "fix" is just me making a guess what caused the disconnections and fixing that part.
  • You can now see when a player joins or leaves a game.
  • You can now manually set Dwarf Fortress paths in the administrator interface if you want to.
  • The Linux version works better now (you can actually launch Dwarf Fortresses and it works) but currently, the Dfhack console will go crazy and gobble up all your processor time.

Those are the major, user-visible changes. There are also some small things changed such as the server now remembering who last played the game instead of tracking the last player in the browser.

Below are some features that I think are important but I'm not sure. I'd like to put these ones in.

  • An installer and a simple GUI that lets you turn on and off the server without going to the command line.
  • A canvas-based interface for increased performance. (lethosor has worked on this part a bit)

I think I should do a release shortly because, well, why not? I wanted to have the installers and GUIs for 0.3 to make the software more newbie friendly but I might have to push those for 0.4.

I'd also like to rehaul the web interface part because at the moment, it's kind of a mess from inside. However, I think right now there are more important things to work on so the interface isn't that important as long as it works and is not a pain to use.
« Last Edit: September 26, 2013, 02:52:25 am by Adeon »
Logged
I make dead people. Dfterm3

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #88 on: September 26, 2013, 10:43:53 am »

Good to see that you are making progress, especially the GUI and the installer. :) If my modupdate takes longer then your 0.3/0.4 update here (which I assume it will), I'd be happy to include it, now that it is easier to install/handle.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

molkemon

  • Bay Watcher
    • View Profile
Re: Dfterm3 v0.2 (2013-08-31)
« Reply #89 on: September 27, 2013, 05:24:50 pm »

Ok so from what I understand is that you only need to enter the IP+port of an open server in the browser to watch/participate in a game. I actually only would like to watch for a while, so how can I find open games? Is there a compiled list online somewhere, or would it be possible to set up a little homepage that automatically lists all currently open games?
Logged
Pages: 1 ... 4 5 [6] 7 8 ... 15