One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#2 Re: Main Forum » Help! Haven't been playing for a while » 2018-04-11 14:19:01

Keep in mind that on next update, carrot seeds will no longer respawn

#3 Re: Main Forum » How to find a Camp? » 2018-04-11 14:18:00

They haven't been turned off - you just constantly respawn far as an eve (2000 titles minimum) - prior to the change you would at most spawn 500 tiles away

#4 Re: Main Forum » Powershell Script to track your coordinates - Updated » 2018-04-08 16:46:37

netnei wrote:

Is this broken now?

No, I updated the script on the main post to show your true coordinates, rather than the relative ones.

If people are interested, I can have it include both.

#5 Re: Main Forum » ADD-ON: OnePirateOneNavigator - Inofficial statistic and compass AddOn » 2018-04-08 16:41:21

netnei wrote:

How about making a program that graphically records the the map grid in the player's area at a given time so we could make maps?

Like a minimap? As far as I can tell, this can't be done until Jason allows mods to interface directly with the executable as most of the map is in memory (not actually logged in the console)

Servers can allow map pulling but it's not enabled on the public server.

#6 Re: Main Forum » Now that towns are back, griefers are too. » 2018-04-08 16:34:16

yeah saw quite a few players already grieving this morning, it's very easy to do and very effective once tools are out

#7 Re: Main Forum » ADD-ON: OnePirateOneNavigator - Inofficial statistic and compass AddOn » 2018-04-08 10:59:10

This isn't a hack as it's reading available data - hacking is if he is injecting unintended code in the game.

Coordinates are still placed in the log, but I've had to use the "Sending message to server: MOVE 56611 109507 -1 0 -2 0 -3 0 -4 1#" line now to view the exact coordinates.

Great work on the interface, it looks amazing!

#8 Re: Main Forum » Powershell Script to track your coordinates - Updated » 2018-04-08 10:54:53

Updated the script to now parse "Sending message to server: MOVE" commands, as the click command seemed relative. Tested it on Server 1 and 3 and is working as intended.

#11 Re: Bug Discussion » Can't use backpack due to hair. » 2018-04-05 13:30:45

TBH had not noticed this issue before, always was able to right click my back pack to grab things

#12 Re: Main Forum » Apocalypses?????? :O » 2018-04-05 00:30:48

It's a total map and database wipe as it calls the wipeMapFiles function:

+void wipeMapFiles() { 

+    deleteFileByName( "biome.db" ); 
+    deleteFileByName( "eve.db" ); 
+    deleteFileByName( "floor.db" ); 
+    deleteFileByName( "floorTime.db" ); 
+    deleteFileByName( "lookTime.db" ); 
+    deleteFileByName( "map.db" ); 
+    deleteFileByName( "mapTime.db" ); 
+    deleteFileByName( "playerStats.db" ); 
+    } 

We just don't know what will trigger it, as it seems to be only triggered via the server console at the moment - but it will be most likely triggered in game as was mentioned in the trailer (honestly didn't think it would come soo soon)

#13 Re: Main Forum » The ultimate project! » 2018-04-02 14:48:07

You just have to pick up the bellows from a forge and its turns back into a kiln - so yes, still breakable.

Good luck building wells around a settlement though.

#14 Re: Main Forum » The ultimate project! » 2018-04-02 13:42:00

this would never work, as you can just build up an oven base to an oven and destroy it with a pick axe and water, or simply fill up the trash pits

#15 Re: Main Forum » Map culling too extreme? » 2018-03-31 18:07:40

trstovall wrote:

Could it be a different server?  Unless you hardcoded the custom server setting, you may have been load balanced to a different server.

OT, but how are you logging coordinates to the console?

Yes, it's server one (I set it up via the settings)

As for the coordinates, I use a powershell script that was shared here: https://onehouronelife.com/forums/viewtopic.php?id=745

#16 Main Forum » Map culling too extreme? » 2018-03-31 17:47:18

Mugatu86
Replies: 10

So I am not sure if this was intentional or not, but we know that if a portion of the map has not been seen within 24 hours of a system reboot, it gets regenerated - however it seems to still delete newly created areas reguardless.

Example:

Last night, on server 1 - I was starting to build a town around the coordinates (x: -4, y: -25) as shown in the picture below.

bnxYed1r.jpg

Started mapping out the roads and stuff with an excel file that I was working on:

vR8aqjJ.jpg

The next day however, it seemed as if the map was regenerated at this location:

VDjxkUR.jpg

So any kind of city planning / building / mapping is really not advisable, particularly when it feels that your settlement can go at any moment.

Just wanted to issue players a word of warning on the subject.

#18 Re: Main Forum » Can I name myself? » 2018-03-30 05:56:34

You can only give your self a last name if spawned as an eve. Your first name will be eve.

#19 Re: Bug Discussion » v69 Crashing » 2018-03-30 05:37:56

Jason released v70 to correct this issue just about 30 mins ago

#20 Re: Main Forum » Powershell Script to track your coordinates - Updated » 2018-03-27 11:31:37

You can install PowerShell on a Mac or Linux OS as it is opened source - just follow the steps here: https://dmitrysotnikov.wordpress.com/20 … -mac-os-x/

Installation files are here: https://github.com/PowerShell/PowerShell

#21 Re: Main Forum » Powershell Script to track your coordinates - Updated » 2018-03-27 02:34:44

I forgot windows blocks powershell scripts by default, you simply have to run Powershell as an Admin and type set-executionpolicy unrestricted. More details are here: https://www.mssqltips.com/sqlservertip/ … on-policy/

You can also try to run the script through the powershell ISE (Right click the ps1 script and click Edit, then in the ISE click the Green Play button)

Otherwise, I also updated the original post to include ways of converting the ps1 script to an exe online if that helps.

Reason why I went for PowerShell and not something like auto hotkey is that Powershell is really fast at reading large text files - I can develop a C# application but I am really hesitant to start passing out exe's around, however I may start a GitHub for it if people are interested.

#22 Re: Main Forum » To many Bones ... » 2018-03-26 11:35:02

They already disappear, however it takes exactly 120 minutes (real time) for a bone pile to de-spawn

#23 Re: Main Forum » Powershell Script to track your coordinates - Updated » 2018-03-26 02:20:30

That's exactly why I wanted a way to track where I was on the map - every time I run into a town on my server (Server 1), I jot the coordinates down. Once I have a few I'll map them out on a grid and share it.

#24 Main Forum » Powershell Script to track your coordinates - Updated » 2018-03-25 20:30:02

Mugatu86
Replies: 37
Updates

- April 4th: There was a change in the way the click X,Y log was being sent (relative coordinates), and some changes to current lines in the stdout file, so I am now parsing the line that says "Sending message to server: MOVE". Updated the script in the code block so feel free to use it and overwrite the old one.

Introduction

Hey all, I created a simple powershell script that scans your stdout.txt file for your current map coordinates. It will by default add a timestamp to the coordinate message and keep a running scroll of your position as you run around the world map.

This was designed as a proof of concept of auxiliary information that we can parse using the stdout.txt, and wanted to provide it to the community for feedback. If there's an appetite for this kind of information, it can be incorporated into a windows application that could save favorite coordinates and expose other information such as current hunger, what server your connected on, player nearby alert, and all the other goodies in the stdout.txt log.

Feel free to use and distribute this as you like.

Requirements

- You will need to run this script on a Windows 7 or higher PC with PowerShell
- If you are using MacOS or Linux, you can install PowerShell here: https://github.com/PowerShell/PowerShell

How to Install

- Save the PowerShell script below as a .ps1 file in your OneLife directory.
- Right click on the ps1 file that you created and select "Run with PowerShell"
- The console will wait until you start moving around in game and then it should update

Troubleshooting

- The most common problem seems to be that windows is blocking script execution, to change your policy, run Powershell as an Administrator and enter the command: set-executionpolicy unrestricted (https://www.mssqltips.com/sqlservertip/ … on-policy/)
- If you cannot run the ps1 file, or if you would rather an exe file instead, you can convert the script online using an online converter: http://www.f2ko.de/en/op2e.php.
- Make sure that the exe or script is located in your One life directory
- You can also directly download the converted exe here: https://drive.google.com/file/d/1zeg6mk … sp=sharing
- If you find that it takes a while to read lines, feel free to clear out or delete the stdout.txt file in your onelife directory, as it tends to get big very fast

Om90Lw9.jpg


       
# Settings
    # Set File Location
    $LogLocation = "stdout.txt"

    # Set Loop Delay
	$loopDelayMilliseconds = 500

    #Print with Timestamp
    $timestamp = $true


	while($true){

    #we will be parsing the lines which are similar to: "Sending message to server: MOVE 56611 109507 -1 0 -2 0 -3 0 -4 1#"
    try{ 

    $lastLine = Get-Content -Path $LogLocation | Where-Object {$_ -like "*Sending message to server: MOVE*"} | Select-Object -Last 1
    
    #if the last line has not been processed
    if ($lastLine -ne $lastLineNew ){
        
        #get the coordinates directly after the "Move" text in the last line we retrieved


        $pos = $lastLine.IndexOf("MOVE")
        $coordinates = $lastLine.Substring($pos+5)
        $pos = $coordinates.IndexOf(" ")
        $x = $coordinates.Substring(0, $pos)
        $y = $coordinates.Substring($pos+1)
        $pos = $coordinates.IndexOf(" ")
        $pos = $y.IndexOf(" ")
        $y = $y.Substring(0,$pos+0)
        $coordinates = "X: $x`t Y: $y"

        #check if settings have timestamp enabled
        if ($timestamp = $true){
        
        #get the time
        $time= Get-Date -Format g 

        #add the time to the coordinates
        $coordinates =  "$time `t $coordinates"

        }
       
       #print out the coordinate line to the console
       Write-Host $coordinates 
   

    #update lastline in memory
    $lastLineNew = $lastLine 
    }
    }Catch{
    $lastLineNew = ""

    }Finally{

    #loop through log file
	Start-Sleep -Milliseconds $loopDelayMilliseconds 
    }
}

#25 Re: Main Forum » which download link is for widows » 2018-03-23 16:26:01

The link: OneLife_v65_Windows.exe (in the email you received, you open the link to download the game and it should be listed there)

It will automatically extract a folder in the directory that you downloaded it to, then open the folder and there should be a onelife.exe that you run.

Board footer

Powered by FluxBB