Giter Club home page Giter Club logo

Comments (4)

xinye83 avatar xinye83 commented on May 20, 2024 1

I tried your changes and I did get some logs at WTF/Account/{my_account_number}/SavedVariables/VenturePlanSoDMissions.lua. Here is the file VenturePlanSoDMissions.txt.

Great work!

from ventureplansodmissions.

zealvurte avatar zealvurte commented on May 20, 2024

Made a minor correction to the code, because it wasn't setting the missionName.

from ventureplansodmissions.

LostTemple1990 avatar LostTemple1990 commented on May 20, 2024

Is there an easy way to analyze these logs?
To check out these logs output by your changes above in https://orangeworks.se/ventureviz/
I've written a parser below to change the logs to json to analyze them
(a single lua file ,not in addon)

local report = require("Log")
local s = ""
for _,v in pairs(VenturePlanSoDMissions_Logs) do
	if s ~= "" then
		s = s .. "\n"
	end
	v.missionName = "..."
	v.meta = {dv = 1,lc = "zhCN",ts = 18846,cb = 39653}
	v.predictionCorrect = true
	v.differentOutcome = true
	s = s .. lib:JSONEncode(v)
end

local file = io.open("output.txt","w+")
file:write(s)
file:close()

from ventureplansodmissions.

zealvurte avatar zealvurte commented on May 20, 2024

Yeah, I've also been parsing them to JSON and adding the 2 missing fields that the visualiser expects.

Unfortunately I can't provide the code I use for comparing a sim to the the log as it uses a lot of modifications to VP. I'll add some info to LostTemple1990/Issues-of-self-debugged-VenturePlan#8 that will hopefully help you out in writing something similar.

from ventureplansodmissions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.