[Idea] Singleplayer version

Ideas for cool stuff in the future.
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: [Idea] Singleplayer version

Post by tokariew »

not nice solution for this moment but using batch/bat file on windows…

Code: Select all

@echo off
start /B tomenet.server.exe
TomeNET.exe -lUser Password 127.0.0.1
TIMEOUT 2
taskkill /F /IM tomenet.server.exe
Problems:
Using bat file to run it…
Killing server in brutal way after all, not sure how often it is saving state…
No time is passed between playing…
The server window is still visible. So it possible to accidently kill server during playing
For windows there is no official tomenet.server.exe file…

It is possible to distribute it with premade admin account and validated user.
probably not neccesery test/proof version: https://www.dropbox.com/s/3tjangxmgvvde ... er.7z?dl=0
Run using Single_player_experience.bat :)
img {
max-width: 100%;
}
https://tokariew.xyz
User avatar
tangar
Posts: 1652
Joined: Tue Mar 03, 2015 3:49 pm
Contact:

Re: [Idea] Singleplayer version

Post by tangar »

tokariew wrote: Sat Dec 29, 2018 12:11 pm It is possible to distribute it with premade admin account and validated user.
good idea :) but I didn't understand - what your bat file do? what the idea.. please could you explain it 'on fingers'
Tangar's tileset, addon, guides & maps: English TomeNET page ||||||| Russian TomeNet page
http://youtube.com/GameGlaz — streams in English // http://youtube.com/StreamGuild — streams in Russian
My chars @ angband.oook.cz
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: [Idea] Singleplayer version

Post by tokariew »

download the file and run the bat ;) i think that bat code that i added show what it do… It already have admin account, and the 'User' is validated

Start the server, if it's first run on the machine it generate world.
run tomenet and skip server and login screen, straight to character creation/choosing page
if the tomenet.exe is close it wait 2 second and kill the server.


So it very basic…
probably with some trickery is possible to hide tomenet.server window, but someone is lazy… (me)
img {
max-width: 100%;
}
https://tokariew.xyz
Post Reply