Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 18 19 [20] 21 22 ... 46

Author Topic: Dfterm2 0.16, server software for playing Dwarf Fortress remotely  (Read 250344 times)

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #285 on: July 11, 2010, 04:35:31 pm »

Ok, after getting 0.31.08 running beautifully on the old version, I tried to get 0.31.10 running on the version you released today. I'm getting this error:

2010-07-11 14:15:04 Note: Dwarf Fortress executable checksum calculated to DB942094 (Unknown, can't show the screen)

I looked through the code in the git, and it seems to be set to recognize the db942094 checksum, so not sure what's going on.

The package and git repository are not always in sync. I usually only update it when a significant feature or bug fix has been made. What you downloaded was not the version that was in git. I just updated the binary package that works with DF 0.31.10.

Logged
I make dead people. Dfterm3

cribolouf

  • Escaped Lunatic
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #286 on: July 11, 2010, 07:57:16 pm »

Oh thanks :D
Logged

Star Weaver

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #287 on: July 12, 2010, 01:57:01 pm »

I did the same dumb thing. Redownloading, thanks :D

(Maybe you could throw a copy of your git log or a file with the number of the current revision or something in the zip real quick so it's easier to tell where in the repo it came from? If it would be trivial :D)
Logged

Star Weaver

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #288 on: July 13, 2010, 03:16:22 pm »

New version with the not crashing on item view and the working top line display and the alt-f thing is awesome.

Only other bug i've run into is that the screen size thing dosen't seem to work. E.G. I set DF WINDOWEDX (which is the one it's using) to 81, and the slot profile to 81 width, and I get a 81 width window that shows blank or garbage in the rightmost column. :\

(81 because it's exactly how much you need to see an entire 1xfoo embark site and the command window at once :))
Logged

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #289 on: July 14, 2010, 05:03:43 am »

New version with the not crashing on item view and the working top line display and the alt-f thing is awesome.

Only other bug i've run into is that the screen size thing dosen't seem to work. E.G. I set DF WINDOWEDX (which is the one it's using) to 81, and the slot profile to 81 width, and I get a 81 width window that shows blank or garbage in the rightmost column. :\

(81 because it's exactly how much you need to see an entire 1xfoo embark site and the command window at once :))

On Windows, the settings in slot profile for width and height are completely ignored. The size comes from DF. However, if it does show garbage, there is maybe something wrong. I know the full screen feature does not work without glitches, if that's what you are using.


Oh yeah, and I'll include the git revision for each binary package from now on. The revision will be in a text file called version.txt in the binary package. Subsequent packages will be named according to their revisions, with a link from dfterm2-HIGHLY-EXPERIMENTAL.zip pointing to the latest package.


More edits:
Oops. Looks like for screen size detecting is broken (I probably broke it with at some point...). Fixety fix in next experimental release.

And even more:
Fixed that up and uploaded new package. There's a lot of new admin stuff in this experimental package.
« Last Edit: July 14, 2010, 07:41:03 am by Adeon »
Logged
I make dead people. Dfterm3

Star Weaver

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #290 on: July 14, 2010, 11:11:49 am »

Oh hey. Cygwin SSH WGET power ... or something.
Logged

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #291 on: July 15, 2010, 08:26:59 pm »

Oh hey. Cygwin SSH WGET power ... or something.

... what?

Sure bash(1) > (10)cmd.exe, but... why would you use wget and ssh in conjunction?
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

RadGH

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #292 on: July 17, 2010, 12:58:27 am »

My friend was just wanting to play dwarf fortress multiplayer, and we thought of using teamviewer so we could watch the other person but that isn't very fun. But this program is neat. I got a server running once, but we couldn't interact with it (though I could just play it and it looked fine). Tried changing some settings and it caused it to crash. Now it crashes every time I start a server, even after deleting everything and doing a fresh install of it all. Not sure what happened, it draws the first screen on the telnet client then the game crashes.

But I'll ignore that for now. It will probably be fixed when I restart or something.

As for the program, I connected to remmon's server and played around a bit. Although it's a bit laggy, it works well.

Spoiler (click to show/hide)

If anyone is doing this on Windows using PuTTY... BE SURE TO CHECK "Telnet", NOT SSH, that just gives you a green box that you can't interact with lol.

Also, the default settings make it look broken and have artifacts in the game field (On windows seven 64bit anyway, my friend confirmed this). To fix it, change PuTTY's font to Fixedsys (10pt is good). You should also change the character set to UTF-8 as mentioned on the first post.

Also, I was going to have him try and host because mine started crashing. He of course went AFK, so I wrote him a tutorial so I didn't have to walk him through it. The orange text on the first post wasn't very clear, it was enough to get me started though. Until I messed something up  :-\

This might help people who haven't used PuTTY before (I have never used PuTTY before now either).

Code: [Select]
HOW TO START A SERVER

Step 1: Download v0.31.03
[ http://www.bay12games.com/dwarves/df_31_02.zip ]

Step 2: Download PuTTY for Windows on 'Intel x86'
[ http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe ]

Step 3: Download DFTerm2 (v0.1.3c)
[ http://genodeen.net/files/dfterm2/dfterm2-HIGHLY-EXPERIMENTAL.zip ]

Step 4: Extract all files to the same folder, preferably in an easy
location such as C:\DF\. Make sure the contents of the DFTerm
folder are moved into the same folder as the Dwarf Fortress
installation (Not DF\dfterm2), so you should have C:\DF\dfterm2.exe

Step 5: Open CMD and do the following:
cd C:\df\
dfterm2_configure --adduser MYUSERNAME MYPASSWORD admin
dfterm2 --port 2440 --address 192.168.2.7

Note: Change MYUSERNAME, MYPASSWORD, and 192.168.2.7 (use your
local IP if behind a router). You may change the port if needed.
Leave command prompt running, this is now the telnet server.

Step 6: Run PuTTY. Host name/port as mentioned above. Be sure to
check "Telnet" on the main screen. I suggest saving the session.

Connect, if the screen has a blue input box everything is OK.

Proceed to log in.

Step 7: Press Alt+3 and select "Configure Slots". Add a new slot
profile, give it a name like "Rads Default Profile". Change game
executable to C:\df\dwarfort.exe and change the working directory
to C:\df\. Suggest changing maximum slots (I'll use 3). Save this

profile, return to main menu.
Step 8: Launch a new game, select your profile. Skip cinematics and
popups, then wait 20 seconds until it hooks.
You should see the game screen.


To start server easier:
Either make a shortcut to dfterm2, or a .bat file pointing to it.
Add the parameters (to target box if using a shortcut) --host
and --address as mentioned above.

To make client pretty:
On PuTTY Configuration, load your profile, do not start connection yet.
Go to Window -> Appearance, change font to Fixedsys 10pt.
Go to Window -> Translation, change character set to UTF-8
« Last Edit: July 17, 2010, 01:01:35 am by RadGH »
Logged

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #293 on: July 17, 2010, 06:31:31 am »

My friend was just wanting to play dwarf fortress multiplayer, and we thought of using teamviewer so we could watch the other person but that isn't very fun. But this program is neat. I got a server running once, but we couldn't interact with it (though I could just play it and it looked fine). Tried changing some settings and it caused it to crash. Now it crashes every time I start a server, even after deleting everything and doing a fresh install of it all. Not sure what happened, it draws the first screen on the telnet client then the game crashes.

But I'll ignore that for now. It will probably be fixed when I restart or something.

Always crashes? While the program is not mature yet I've usually tried to be careful not to make dfterm2 crash or behave in unexpected ways even when faced with buggy DF versions or other weird stuff. Is it the DF that crashes or dfterm2 itself? If dfterm2 itself crashes, I'm very interested.

Use recent DF versions, and always use the latest dfterm_injection_glue.dll. The injection part potentially crashes DF, there was an issue with it in the last experimental version but I fixed it in the most recent version I released two days ago. Or at least it doesn't crash for me. Would you mind telling me what's written inside version.txt in your package?

I think it's possible dfterm2 itself crashes on older versions of Windows, and in this case Windows XP might be too old (when I still had one, logging was broken on XP, to say the least).

Also, you seem to have confused dfterm2 and dfterm. Dfterm2 fully supports DF version 0.31.10. Dfterm2 also doesn't have version numbers yet, being unfinished software.

Dfterm is an abandoned piece of software, and it's latest version is 0.1.3c, and it only supports DF up to version 0.31.03. I'll make this a little more clear in the first post, that these are two different pieces of software.

« Last Edit: July 17, 2010, 06:37:57 am by Adeon »
Logged
I make dead people. Dfterm3

nuker w

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #294 on: July 17, 2010, 07:24:18 am »

Quote
This might help people who haven't used PuTTY before (I have never used PuTTY before now either).

Code: [Select]
HOW TO START A SERVER

Step 1: Download v0.31.03
[ http://www.bay12games.com/dwarves/df_31_02.zip ]

Step 2: Download PuTTY for Windows on 'Intel x86'
[ http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe ]

Step 3: Download DFTerm2 (v0.1.3c)
[ http://genodeen.net/files/dfterm2/dfterm2-HIGHLY-EXPERIMENTAL.zip ]

Step 4: Extract all files to the same folder, preferably in an easy
location such as C:\DF\. Make sure the contents of the DFTerm
folder are moved into the same folder as the Dwarf Fortress
installation (Not DF\dfterm2), so you should have C:\DF\dfterm2.exe

Step 5: Open CMD and do the following:
cd C:\df\
dfterm2_configure --adduser MYUSERNAME MYPASSWORD admin
dfterm2 --port 2440 --address 192.168.2.7

Note: Change MYUSERNAME, MYPASSWORD, and 192.168.2.7 (use your
local IP if behind a router). You may change the port if needed.
Leave command prompt running, this is now the telnet server.

Step 6: Run PuTTY. Host name/port as mentioned above. Be sure to
check "Telnet" on the main screen. I suggest saving the session.

Connect, if the screen has a blue input box everything is OK.

Proceed to log in.

Step 7: Press Alt+3 and select "Configure Slots". Add a new slot
profile, give it a name like "Rads Default Profile". Change game
executable to C:\df\dwarfort.exe and change the working directory
to C:\df\. Suggest changing maximum slots (I'll use 3). Save this

profile, return to main menu.
Step 8: Launch a new game, select your profile. Skip cinematics and
popups, then wait 20 seconds until it hooks.
You should see the game screen.


To start server easier:
Either make a shortcut to dfterm2, or a .bat file pointing to it.
Add the parameters (to target box if using a shortcut) --host
and --address as mentioned above.

To make client pretty:
On PuTTY Configuration, load your profile, do not start connection yet.
Go to Window -> Appearance, change font to Fixedsys 10pt.
Go to Window -> Translation, change character set to UTF-8

That helped ALOT. How ever, when I go to log on, it wont let me put my password in.
Logged

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #295 on: July 17, 2010, 07:29:30 am »

Quote
This might help people who haven't used PuTTY before (I have never used PuTTY before now either).

Code: [Select]
HOW TO START A SERVER

Step 1: Download v0.31.03
[ http://www.bay12games.com/dwarves/df_31_02.zip ]

Step 2: Download PuTTY for Windows on 'Intel x86'
[ http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe ]

Step 3: Download DFTerm2 (v0.1.3c)
[ http://genodeen.net/files/dfterm2/dfterm2-HIGHLY-EXPERIMENTAL.zip ]

Step 4: Extract all files to the same folder, preferably in an easy
location such as C:\DF\. Make sure the contents of the DFTerm
folder are moved into the same folder as the Dwarf Fortress
installation (Not DF\dfterm2), so you should have C:\DF\dfterm2.exe

Step 5: Open CMD and do the following:
cd C:\df\
dfterm2_configure --adduser MYUSERNAME MYPASSWORD admin
dfterm2 --port 2440 --address 192.168.2.7

Note: Change MYUSERNAME, MYPASSWORD, and 192.168.2.7 (use your
local IP if behind a router). You may change the port if needed.
Leave command prompt running, this is now the telnet server.

Step 6: Run PuTTY. Host name/port as mentioned above. Be sure to
check "Telnet" on the main screen. I suggest saving the session.

Connect, if the screen has a blue input box everything is OK.

Proceed to log in.

Step 7: Press Alt+3 and select "Configure Slots". Add a new slot
profile, give it a name like "Rads Default Profile". Change game
executable to C:\df\dwarfort.exe and change the working directory
to C:\df\. Suggest changing maximum slots (I'll use 3). Save this

profile, return to main menu.
Step 8: Launch a new game, select your profile. Skip cinematics and
popups, then wait 20 seconds until it hooks.
You should see the game screen.


To start server easier:
Either make a shortcut to dfterm2, or a .bat file pointing to it.
Add the parameters (to target box if using a shortcut) --host
and --address as mentioned above.

To make client pretty:
On PuTTY Configuration, load your profile, do not start connection yet.
Go to Window -> Appearance, change font to Fixedsys 10pt.
Go to Window -> Translation, change character set to UTF-8

That helped ALOT. How ever, when I go to log on, it wont let me put my password in.

Probably means you wrote your password wrong. Don't use spaces in your username or password unless you quote them.

To confirm, if you press enter after writing your password and then it just disappears without going away from password screen, you are using the wrong password.

Logged
I make dead people. Dfterm3

nuker w

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #296 on: July 17, 2010, 07:31:09 am »

No, I mean I type my user name in, press enter, then it asks for my password and it wont let me type.

IMPORTANT EDIT: I'm using .10, will that make a difference?
« Last Edit: July 17, 2010, 07:43:41 am by nuker w »
Logged

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #297 on: July 17, 2010, 07:43:48 am »

No, I mean I type my user name in, press enter, then it asks for my password and it wont let me type.

I thought hard but couldn't come up why it would do that. I downloaded the latest version and tested it.

You are
Using PuTTY [ ]
Using Telnet from it [ ]
Using UTF-8 [ ]
The password box is a blue one, that looks like this [ ]
Code: [Select]
╔Existing user - Password (Alt+1)══════════════════════════════════════════════╗
║ Password: password goes here                                                 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Logged
I make dead people. Dfterm3

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers
« Reply #298 on: July 17, 2010, 08:43:12 am »

I've managed to get somewhat playable DF on a browser using a flash program. There are screenshots linked from the first post.

There are some issues with browser DF, mainly considering input. Alt+any key combination don't work, you need to use Esc instead of alt. Also, dfterm2 doesn't support it natively, you need some external programs. I'll build a minimal HTTP and flashpolicy server inside dfterm2 so setting browser DF up should be easy for less technical users later.

I'll try to look into a demo server that would run DF in a browser for testing, I'll be posting results later.

« Last Edit: July 17, 2010, 08:51:19 am by Adeon »
Logged
I make dead people. Dfterm3

nuker w

  • Bay Watcher
    • View Profile
Re: Dfterm2, text Dwarf Fortress on remote servers (Telnet or web browser)
« Reply #299 on: July 17, 2010, 09:30:49 am »

Awsome. Also, I wasint getting the blue box, I was getting a green one. Which wasint working.
Logged
Pages: 1 ... 18 19 [20] 21 22 ... 46