1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-09 13:37:02 +02:00

Cave Miner 0.15

This commit is contained in:
MewMew 2018-09-30 18:16:08 +02:00
parent d00010b133
commit c9dccf22d4
5 changed files with 314 additions and 57 deletions

View File

@ -1,5 +1,5 @@
local index = {
"blkCUwDfFaRxezkA", "PEVkYcsbVwnnKWKm", "RmApKqaHBnDdjlUf", "eovuYGvdICGhruuU", "xFbpVDlWSNPmGqQf", "lktJcRqsleypbFqW", "MYmwDgcTBIOgADTD", "ArNWzzewJtYSbxVw", "oYQcJazDfTUtymDW", "pFvIWAWWsePfBElD", "qZIGmkBOGbGUrzGQ", "ULqnxPRoVXgYMnDb", "rJALXVwjKAnMJznl", "CKYAXOTPJxgSNaeW"
"blkCUwDfFaRxezkA", "PEVkYcsbVwnnKWKm", "RmApKqaHBnDdjlUf", "eovuYGvdICGhruuU", "xFbpVDlWSNPmGqQf", "lktJcRqsleypbFqW", "MYmwDgcTBIOgADTD", "ArNWzzewJtYSbxVw", "oYQcJazDfTUtymDW", "pFvIWAWWsePfBElD", "qZIGmkBOGbGUrzGQ", "ULqnxPRoVXgYMnDb", "rJALXVwjKAnMJznl", "CKYAXOTPJxgSNaeW", "hvUbLyrnWVMFABRJ", "qAUFndIMNmCtmNIO"
}
local data = {}

View File

@ -1,36 +1,36 @@
local playsession = {
{"mewmew", {904210}},
{"mewmew", {977272}},
{"Steel_Wolf", {890846}},
{"Giatros", {651498}},
{"Achskelmos", {2731871}},
{"Catbert", {354684}},
{"Quadrum", {1405801}},
{"Quadrum", {1745350}},
{"Itai795", {414422}},
{"beggs2k", {2094238}},
{"larshp", {547557}},
{"xcube", {323192}},
{"SMikiS", {1890492}},
{"Gerkiz", {1152209}},
{"SMikiS", {2575063}},
{"Gerkiz", {1165728}},
{"Tamsay", {317135}},
{"14nickel", {127057}},
{"tokyogodfather", {9172}},
{"icraftsam", {1389744}},
{"beranabus", {291941}},
{"skudd3r", {665901}},
{"icraftsam", {1696757}},
{"beranabus", {299161}},
{"skudd3r", {1685659}},
{"HighInFiberOptics", {285218}},
{"thediscover22450", {400271}},
{"TheNilonKiller", {75204}},
{"Slayerfear", {569648}},
{"OmegaLunch", {518852}},
{"Krzys132", {190016}},
{"OmegaLunch", {543508}},
{"Krzys132", {290388}},
{"Ruslan_kc", {5589}},
{"ANV1L", {2836367}},
{"ANV1L", {4396541}},
{"KEKEreble33", {6772}},
{"yiyezhiqiu3691", {1779}},
{"Shadawawa", {54215}},
{"dimash", {42487}},
{"I_dream_of_corn", {278337}},
{"kacperion", {831898}},
{"kacperion", {836465}},
{"Omitch", {1525685}},
{"PandasUnicorn", {40608}},
{"wekkka", {613518}},
@ -43,20 +43,20 @@ local playsession = {
{"datadrian", {663614}},
{"gryph", {625516}},
{"sensimillian", {13744}},
{"grahamm", {294724}},
{"grahamm", {318653}},
{"Wizard7187", {9548}},
{"BluJester", {1105289}},
{"aszquasz", {110423}},
{"2axt2", {4745}},
{"303Mark", {66936}},
{"crayzz2", {148539}},
{"DaniaBakai", {70441}},
{"Jaazinh", {1059518}},
{"DaniaBakai", {310761}},
{"Jaazinh", {1421636}},
{"Xenoica", {72658}},
{"floxys", {2030618}},
{"floxys", {2345117}},
{"ajicurry", {2479801}},
{"AkkaNation", {9177}},
{"pilatos2003", {128436}},
{"pilatos2003", {134153}},
{"ktrc199", {2244}},
{"jufacto", {1317}},
{"Nebabon", {19171}},
@ -67,11 +67,11 @@ local playsession = {
{"jer93", {828531}},
{"Cytrox", {80302}},
{"FADAMANrus", {27460}},
{"YAMATO_Hajime", {389863}},
{"YAMATO_Hajime", {1035744}},
{"PogomanD", {1127874}},
{"Bobanaut", {1402}},
{"HydraX26", {4892}},
{"LeBalafrey", {1889075}},
{"LeBalafrey", {3744587}},
{"matrayzz", {44636}},
{"SuddenDeathMP", {24057}},
{"durilup", {1194272}},
@ -85,15 +85,15 @@ local playsession = {
{"JustBull", {1590363}},
{"Akarl", {9469}},
{"Switch9753", {20653}},
{"rafnizp", {156872}},
{"rafnizp", {238782}},
{"StarLite", {3086}},
{"Azcue", {23307}},
{"TheWickedMaster", {1809795}},
{"Danzou", {21544}},
{"_Finley_", {1018971}},
{"TheWickedMaster", {1951750}},
{"Danzou", {33723}},
{"_Finley_", {1122390}},
{"DeNummer1", {83760}},
{"djragebutt", {25737}},
{"redlabel", {3135455}},
{"redlabel", {4995713}},
{"Ice_Beer", {3308}},
{"Skitsur", {9509}},
{"Julian1109", {15934}},
@ -109,10 +109,10 @@ local playsession = {
{"ThisIsMathias", {8191}},
{"Meme_Master1233", {85702}},
{"Homeslice004", {3343}},
{"TickTack0", {2305}},
{"TickTack0", {132751}},
{"Chemino", {566650}},
{"froody", {1833613}},
{"coucounoir", {694039}},
{"froody", {2182678}},
{"coucounoir", {1424293}},
{"DOSorDIE", {7836}},
{"Dragon_0_0_0", {152017}},
{"Daultash", {20743}},
@ -122,8 +122,8 @@ local playsession = {
{"Strekozeel", {19278}},
{"williambellwisdo", {74655}},
{"hc351", {177023}},
{"lazerandy", {317668}},
{"Delqvs", {1114730}},
{"lazerandy", {319432}},
{"Delqvs", {1136561}},
{"Zorky", {278102}},
{"Markius", {1227579}},
{"Crabato", {4926}},
@ -132,7 +132,7 @@ local playsession = {
{"Cramly", {6959}},
{"Conan_Doyil", {22227}},
{"Tomlogan", {23347}},
{"mario31274", {1408966}},
{"mario31274", {1573123}},
{"killzman", {39013}},
{"fenderpuddy", {227864}},
{"nik96", {27700}},
@ -161,18 +161,18 @@ local playsession = {
{"Brandon321", {32263}},
{"jontebt", {56729}},
{"OCMan101", {3287}},
{"slikasandr", {1459989}},
{"slikasandr", {1645708}},
{"Eloras", {157424}},
{"wxwxwx", {21159}},
{"ice9000", {267647}},
{"ice9000", {558247}},
{"Cooler441", {19620}},
{"Subcinericius", {23518}},
{"GhostHigh", {3220}},
{"casmirpulaski", {3766}},
{"cuzimawsum", {18207}},
{"piajesse", {677576}},
{"ThatCrazyViking", {1512332}},
{"L75", {427346}},
{"ThatCrazyViking", {2308594}},
{"L75", {1003540}},
{"Serule", {7966}},
{"robot3331", {6668}},
{"Sholvo", {75096}},
@ -185,26 +185,26 @@ local playsession = {
{"Xonic6", {7605}},
{"jokerwm", {15585}},
{"Schnitzel666", {33879}},
{"Stayler", {1118592}},
{"Stayler", {2690290}},
{"CommanderFrog", {120590}},
{"BOTRon", {19897}},
{"zwokaros", {68753}},
{"DistortionUltra", {52082}},
{"umbrax", {76257}},
{"Terarink", {960593}},
{"Terarink", {4504003}},
{"fou_shad", {413}},
{"ireasonless1", {3871}},
{"HardTekk1987", {151103}},
{"cko6o4ku", {685867}},
{"Briarious", {39790}},
{"Panterh3art", {533347}},
{"megamega", {607229}},
{"megamega", {1139887}},
{"Criztoferlee1", {45771}},
{"Orenji", {83902}},
{"B00NWATER", {34953}},
{"Kyte", {23503}},
{"lord_kill", {96781}},
{"working.worker", {177304}},
{"working.worker", {290103}},
{"yyms", {15203}},
{"kwisso", {227591}},
{"Sumy", {4075}},
@ -216,32 +216,50 @@ local playsession = {
{"dede2415", {5244}},
{"cage4313", {18772}},
{"NekoPhilia", {8501}},
{"Shashlik", {463347}},
{"Shashlik", {1920451}},
{"Shisn0", {60048}},
{"ydb2018", {8631}},
{"Skilldevader", {33863}},
{"Rouden", {207116}},
{"mgbparrot", {28295}},
{"pyrotecnix", {389939}},
{"pyrotecnix", {626161}},
{"snoetje", {10242}},
{"vedolv", {376114}},
{"vedolv", {781318}},
{"christ010", {10498}},
{"Davsan", {5806}},
{"Kostored", {4458}},
{"lantotol", {165888}},
{"lantotol", {386970}},
{"gummiship1", {34674}},
{"JinNJuice", {277756}},
{"JinNJuice", {1045300}},
{"Plopsy", {1071}},
{"userguide", {6948}},
{"Headscrew", {171977}},
{"Namelesshunter", {158887}},
{"Headscrew", {1339056}},
{"Namelesshunter", {232379}},
{"TZsec", {84391}},
{"Amker", {35340}},
{"Amker", {45173}},
{"Farglon", {5180}},
{"ABomb12", {2679}},
{"gereleth", {56920}},
{"gereleth", {82959}},
{"AkonDR", {16751}},
{"Thediabloman", {2132}},
{"Breindahl", {319}}
{"Breindahl", {1767}},
{"captnemo", {4165}},
{"soni", {583309}},
{"bongbbil", {75298}},
{"fuzzytonic", {47490}},
{"kepler212", {8730}},
{"Finguh3232", {252682}},
{"lion535556460", {15326}},
{"Kovax", {8462}},
{"ndbassman", {2748}},
{"EnvyS", {6762}},
{"lq375335784", {11680}},
{"galletto", {107303}},
{"Popzi", {19268}},
{"Bartell", {24269}},
{"LaszloK", {2393}},
{"WalrusLeader", {35657}},
{"mac637", {8723}},
{"untamedx2", {3748}}
}
return playsession

View File

@ -0,0 +1,135 @@
local playsession = {
{"L75", {938417}},
{"Urakan", {388382}},
{"ANV1L", {339690}},
{"srbrian", {1279394}},
{"vanios", {1353193}},
{"COOL-ITEM", {1297385}},
{"Catbert", {158861}},
{"Jaskarox", {289455}},
{"RikSTAR3OOO", {1217344}},
{"___Ohr___", {1213339}},
{"Sokyra", {1210420}},
{"Sjetil", {1101171}},
{"Mkirby9674", {749766}},
{"floxys", {3421}},
{"AbsoluteZeroIs0K", {136110}},
{"nankinanki", {2755}},
{"brfbrf", {424888}},
{"beranabus", {6397}},
{"Idefix88", {238966}},
{"lantotol", {394739}},
{"terror123pl", {105}},
{"tylerdourlain", {93160}},
{"Kyte", {555468}},
{"Flomme", {7192}},
{"Namelesshunter", {9344}},
{"lnm_2000", {6194}},
{"SMikiS", {358506}},
{"mewmew", {83575}},
{"NobleTom", {68087}},
{"Bemm", {846650}},
{"Zabka_222", {152468}},
{"DanVega", {813534}},
{"TCtopCAT", {222913}},
{"bob3", {377464}},
{"CommanderFrog", {769485}},
{"Mikeymouse1", {41466}},
{"lyman", {18205}},
{"YAMATO_Hajime", {73118}},
{"1234tv", {117053}},
{"Julian1109", {184363}},
{"CounterfeitThe", {670876}},
{"megamega", {57459}},
{"bl72", {406420}},
{"rachet303", {663231}},
{"rubafix", {653898}},
{"lejnel", {628119}},
{"Finguh3232", {519817}},
{"BadSpeiling", {388141}},
{"Jaazinh", {644302}},
{"Wadiyatalkinbeet", {6190}},
{"StarPirate", {166896}},
{"MagicRetard", {6647}},
{"warriordragon25", {227853}},
{"dima.tischenko", {472064}},
{"jamiebally", {44775}},
{"The_FireNuke_PL", {52099}},
{"skarpiz", {600631}},
{"Aleqxz", {60258}},
{"judi100", {247387}},
{"jf3000", {68835}},
{"larshp", {99038}},
{"N355A", {558385}},
{"Boop-Beep", {28709}},
{"piratesman", {35268}},
{"28vinnie28", {6786}},
{"Xonic6", {29733}},
{"vvictor", {85778}},
{"sdsadasd", {5609}},
{"cocoilove", {510741}},
{"Dirty_Shirt", {15509}},
{"ragegear", {35663}},
{"jufacto", {199481}},
{"gereleth", {261090}},
{"tokb", {6276}},
{"WayRunner", {443738}},
{"Gerkiz", {16162}},
{"kenoko", {16171}},
{"taa001", {9535}},
{"Uthanak", {4926}},
{"SirNiggaAlot", {28206}},
{"Monki", {395165}},
{"badbeachboy", {219215}},
{"izolight", {12234}},
{"supra80rx124", {11813}},
{"Amker", {365825}},
{"Lomms", {145625}},
{"Mishahaha12", {18560}},
{"seirjgkemn", {26255}},
{"hhlovemirror", {3125}},
{"Nivek3k", {43092}},
{"helmetti", {2591}},
{"collin350", {135866}},
{"wengPC", {14344}},
{"NoDz550", {39005}},
{"ArcLiox", {67844}},
{"Unrealrules", {24528}},
{"Akhrem", {15571}},
{"thebettersimon", {13331}},
{"Vadatajs", {252782}},
{"ailishi19", {147435}},
{"Farglon", {10700}},
{"JinNJuice", {4242}},
{"Morhadov", {17192}},
{"3061867813", {161752}},
{"Conor0709", {12144}},
{"niko27111__", {207813}},
{"OmegaLunch", {200859}},
{"Tobbz", {22893}},
{"Nemek", {6991}},
{"doublestuffed", {4810}},
{"xiaohuo", {7360}},
{"Zippy", {11675}},
{"Idifix", {105232}},
{"Terarink", {135718}},
{"npo6ka", {22272}},
{"skudd3r", {8744}},
{"StarLite", {7469}},
{"Giatros", {115295}},
{"plukona", {99680}},
{"Stayler", {1887}},
{"yamaidare_w", {6249}},
{"ajicurry", {27822}},
{"ronaldoklais", {7804}},
{"HardTekk1987", {8484}},
{"nizzy", {2403}},
{"cko6o4ku", {10547}},
{"holywu", {31479}},
{"AQuarkG", {10906}},
{"Markius", {38309}},
{"Turtle-T", {1103}},
{"fisic", {7700}},
{"ZABBA_THE_HUT", {13120}}
}
return playsession

View File

@ -0,0 +1,98 @@
local playsession = {
{"mewmew", {96825}},
{"Giatros", {43068}},
{"Terarink", {3750560}},
{"Vancleave", {1110671}},
{"dpoba", {64673}},
{"Natty", {317369}},
{"Catbert", {97556}},
{"Delqvs", {1444474}},
{"LaszloK", {11380}},
{"casbie", {7029}},
{"Cowlord", {106187}},
{"Jaazinh", {1510472}},
{"hellohallo", {4434}},
{"Jaskarox", {222772}},
{"coucounoir", {539206}},
{"Amker", {416286}},
{"bl72", {3204}},
{"Graav", {626419}},
{"Hummerback", {437368}},
{"303Mark", {497213}},
{"Hempy", {366822}},
{"Fantagma", {799635}},
{"ANV1L", {352443}},
{"CrazyBot33", {88975}},
{"joe32", {5905}},
{"tickterd", {6638}},
{"StarLite", {382358}},
{"Chemino", {173475}},
{"N473", {20446}},
{"HardTekk1987", {14516}},
{"WalrusLeader", {5811}},
{"gagianni", {48851}},
{"lantotol", {405617}},
{"Fido0501", {6406}},
{"LymBAOBEI", {1209955}},
{"Vadatajs", {866280}},
{"Oradominus", {741203}},
{"Felix61391", {10074}},
{"warriordragon25", {633210}},
{"Finguh3232", {345530}},
{"vanyaep", {2220}},
{"GuidoCram", {84638}},
{"YagaoDirac", {32846}},
{"Xonic6", {27010}},
{"Nr2117", {3047}},
{"Patton1918", {1115}},
{"CommanderFrog", {938061}},
{"kacperion", {514888}},
{"raudorn", {8659}},
{"Danzou", {59453}},
{"grilledham", {9701}},
{"manowscar1990", {29865}},
{"NumptyToucan", {1743}},
{"Zorky", {646301}},
{"TickTack0", {70520}},
{"mahmoud19999", {216640}},
{"Quark_81", {51984}},
{"froody", {1268076}},
{"fenderpuddy", {73515}},
{"ZergSquad", {223040}},
{"Purgen", {2284}},
{"crusher_sut", {698705}},
{"yamaidare_w", {2882}},
{"Drezik99", {5106}},
{"homestar440", {2456}},
{"JaJaBings", {744803}},
{"Thuro", {504774}},
{"adieclay", {429161}},
{"skarpiz", {873059}},
{"AzPure", {12079}},
{"saneman", {394484}},
{"mario31274", {671}},
{"LastCallAgain", {200371}},
{"hawx07", {16519}},
{"yngvaarr", {9614}},
{"I_dream_of_corn", {12006}},
{"ZTX", {803}},
{"ottoX4", {4205}},
{"snoetje", {76417}},
{"Fudqw", {170671}},
{"NerZurg", {23876}},
{"walkerthegr8", {6479}},
{"Spoongar", {1999}},
{"YAMATO_Hajime", {52501}},
{"coconunu", {27473}},
{"redlabel", {41076}},
{"slowcrazy54", {11883}},
{"xjvsur", {5856}},
{"scifitoga", {2593}},
{"OmegaLunch", {315017}},
{"willzcn", {5980}},
{"Sokyra", {4950}},
{"Nibilonies", {5233}},
{"beranabus", {21641}},
{"untamedx2", {16257}}
}
return playsession

View File

@ -7,6 +7,20 @@
local Event = require 'utils.event'
local play_sessions = require 'session_data'
function write_session_file()
if global.file_name_found then
game.remove_path(global.file_name)
game.write_file(global.file_name, "local playsession = {\n" , true)
for x = 1, #game.players, 1 do
local p = game.players[x]
local str = ""
if game.players[x+1] then str = "," end
game.write_file(global.file_name, '\t{"' .. p.name .. '", {' .. p.online_time .. '}}' .. str .. '\n' , true)
end
game.write_file(global.file_name, "}\nreturn playsession" , true)
end
end
local function on_player_changed_position(event)
if not global.file_name_found then
if global.movement_done < global.movement_amount_required then
@ -52,15 +66,7 @@ end
local function on_tick()
if global.file_name_found then
if game.tick % 36000 == 0 then
game.remove_path(global.file_name)
game.write_file(global.file_name, "local playsession = {\n" , true)
for x = 1, #game.players, 1 do
local p = game.players[x]
local str = ""
if game.players[x+1] then str = "," end
game.write_file(global.file_name, '\t{"' .. p.name .. '", {' .. p.online_time .. '}}' .. str .. '\n' , true)
end
game.write_file(global.file_name, "}\nreturn playsession" , true)
write_session_file()
end
end
end