Skip to content

Instantly share code, notes, and snippets.

View GUIMainMenuNews.lua
-- ======= Copyright (c) 2003-2013, Unknown Worlds Entertainment, Inc. All rights reserved. =====
--
-- lua\menu\GUIMainMenuNews.lua
--
-- Created by: Brian Cronin (brianc@unknownworlds.com)
--
-- ========= For more information, visit us at http://www.unknownworlds.com =====================
local widthFraction = 0.4
local newsAspect = 1.2/1
@GhoulofGSG9
GhoulofGSG9 / mixedmodeauth.java
Created Apr 11, 2012
mixedmodeauth.java for MC 1.2.5
View mixedmodeauth.java
/**
* MixedModeAuth: MixedModeAuth.java
*/
package thulinma.mixedmodeauth;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
View Output1
NS2Stats.org: ( Array
(
[map] => ns2_docking
[key] => bbddce3cc3be81b988a984bf078df1af
[last_part] => 1
[part_number] => 38
[roundlog] => { "time": "2013-08-07 13:44:38", "team": 0, "gametime": 52.062564849854, "action": "player_join_team", "name": "[BOT] SteveRock", "score": 0 }
{ "time": "2013-08-07 13:44:40", "team": 0, "gametime": 53.766555786133, "action": "player_join_team", "name": "Bot (4)", "score": 0 }
{ "time": "2013-08-07 13:44:40", "team": 0, "gametime": 53.917079925537, "action": "player_join_team", "name": "[BOT] CoolCookieCook", "score": 0 }
{ "time": "2013-08-07 13:44:40", "team": 0, "gametime": 53.952152252197, "action": "player_join_team", "name": "[BOT] Numerik", "score": 0 }
View Log2NS2Stats
NS2Stats.org: ( Array
(
[map] => ns2_docking
[key] => bbddce3cc3be81b988a984bf078df1af
[last_part] => 1
[part_number] => 43
[roundlog] => { "time": "2013-08-07 16:42:02", "team": 0, "gametime": 68.527076721191, "action": "player_join_team", "name": "Bot", "score": 0 }
{ "time": "2013-08-07 16:42:05", "team": 0, "gametime": 71.521759033203, "action": "player_join_team", "name": "[BOT] Joev (2)", "score": 0 }
{ "time": "2013-08-07 16:42:05", "team": 0, "gametime": 71.723770141602, "action": "player_join_team", "name": "[BOT] MonsieurEvil", "score": 0 }
{ "time": "2013-08-07 16:42:05", "team": 0, "gametime": 71.997734069824, "action": "player_join_team", "name": "[BOT] MonsieurEvil (2)", "score": 0 }
View log5
[21:23:26]Ghoul[49071975] ran command sh_votesurrender with no arguments.
Log is send
Ghoul[49071975] ran command sh_votesurrender with no arguments.
NS2Stats.org: ( Array
(
[map] => ns2_docking
[key] => bbddce3cc3be81b988a984bf078df1af
[last_part] => 1
[part_number] => 1
[roundlog] => { "time": "2013-08-07 19:22:48", "team": 0, "gametime": 25.091495513916, "action": "player_join_team", "name": "Bot (2)", "score": 0 }
View NS2Log3
NS2Stats.org: ( Array
(
[map] => ns2_docking
[key] => bbddce3cc3be81b988a984bf078df1af
[last_part] => 1
[part_number] => 1
[roundlog] => { "time": "2013-08-07 18:59:11", "team": 0, "gametime": 45.040676116943, "action": "player_join_team", "name": "Bot (4)", "score": 0 }
{ "time": "2013-08-07 18:59:14", "team": 0, "gametime": 48.14928817749, "action": "player_join_team", "name": "Bot (3)", "score": 0 }
{ "time": "2013-08-07 18:59:14", "team": 0, "gametime": 48.278617858887, "action": "player_join_team", "name": "[BOT] Crispix", "score": 0 }
{ "time": "2013-08-07 18:59:14", "team": 0, "gametime": 48.344875335693, "action": "player_join_team", "name": "[BOT] m4x0r", "score": 0 }
View NS2Log4
Log is send
Ghoul[49071975] ran command sh_votesurrender with no arguments.
NS2Stats.org: ( Array
(
[map] => ns2_docking
[key] => bbddce3cc3be81b988a984bf078df1af
[last_part] => 1
[part_number] => 1
[roundlog] => { "time": "2013-08-07 19:09:24", "team": 0, "gametime": 32.608516693115, "action": "player_join_team", "name": "Bot (2)", "score": 0 }
{ "time": "2013-08-07 19:09:27", "team": 0, "gametime": 35.339736938477, "action": "player_join_team", "name": "Bot", "score": 0 }
View LastPartLog56
NS2Stats.org: ( Array
(
[map] => ns2_docking
[key] => bbddce3cc3be81b988a984bf078df1af
[last_part] => 1
[part_number] => 5
[roundlog] => { "damageType": 1, "attackerz": 0, "gametime": 264.34664916992, "attacker_hp": 100, "attacker_weapon": "rifle", "structure_x": "117.9068", "structure_name": "harvester", "action": "hit_structure", "attacker_armor": 30, "attacker_team": 1, "attackerx": 0, "attacker_lifeform": "marine", "attackery": 0, "attacker_steamId": 3357151555, "time": "2013-08-11 20:09:47", "damage": 10, "structure_y": "-2.0320", "structure_id": 996, "structure_z": "76.4794" }
{ "damageType": 1, "attackerz": 0, "gametime": 264.39987182617, "attacker_hp": 100, "attacker_weapon": "rifle", "structure_x": "117.9068", "structure_name": "harvester", "action": "hit_structure", "attacker_armor": 30, "attacker_team": 1, "attackerx": 0, "attacker_lifeform": "marine", "attackery": 0, "attacker_steamId": 3357151555, "time": "2013-08-11 20:09:47", "damage": 10, "structure_y": "-2.0320", "structur
View gist:6400345
Logpart: 1
Log: { "structure_cost": 10, "id": 2542, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "0.5588", "team": 1, "structure_x": "-43.3324", "structure_name": "Extractor", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 15, "id": 1736, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-0.7620", "team": 1, "structure_x": "-29.2862", "structure_name": "CommandStation", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 20, "id": 2584, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-0.7774", "team": 1, "structure_x": "-35.4581", "structure_name": "InfantryPortal", "action": "structure_built", "steamId": -1, "structure_z": "-5.8999" }
{ "structure_cost": 8, "id": 2149, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-3.2512", "te
View gist:6517299
This file has been truncated, but you can view the full file.
{ "gametime": 0.14454218745232, "time": "2013-09-10 20:47:05", "action": "game_reset" }
{ "steamId": 32400759, "action": "connect", "gametime": 11.859944343567, "time": "2013-09-10 20:47:17" }
{ "lifeform": "ready_room_player", "gametime": 11.868465423584, "steamId": 32400759, "action": "lifeform_change", "name": "NSPlayer", "time": "2013-09-10 20:47:17" }
{ "steamId": 34558701, "action": "connect", "gametime": 16.726135253906, "time": "2013-09-10 20:47:21" }
{ "lifeform": "ready_room_player", "gametime": 16.726135253906, "steamId": 34558701, "action": "lifeform_change", "name": "NSPlayer", "time": "2013-09-10 20:47:21" }
{ "steamId": 59625772, "action": "connect", "gametime": 17.724306106567, "time": "2013-09-10 20:47:22" }
{ "lifeform": "ready_room_player", "gametime": 17.724306106567, "steamId": 59625772, "action": "lifeform_change", "name": "NSPlayer", "time": "2013-09-10 20:47:22" }
{ "steamId": 53394917, "action": "connect", "gametime": 22.248888015747, "time": "2013-09-10 20:47:27" }