Skip to content

Instantly share code, notes, and snippets.

View Scrivener07's full-sized avatar

Scrivener07

  • Florida, United States
View GitHub Profile
@Scrivener07
Scrivener07 / gist:141110250fd03b7dc226984f7dcad5bd
Created October 22, 2016 00:35
Papyrus Log - Errors 10.21.2016
This file has been truncated, but you can view the full file.
[10/21/2016 - 04:55:23PM] Papyrus log opened (PC-64)
[10/21/2016 - 04:55:23PM] Update budget: 1.200000ms (Extra tasklet budget: 1.200000ms, Load screen budget: 500.000000ms)
[10/21/2016 - 04:55:23PM] Memory page: 128 (min) 512 (max) 153600 (max total)
[10/21/2016 - 04:55:23PM] Maximum stack depth: 100
[10/21/2016 - 04:55:23PM] This is a script log only and does not contain information on any other part of the game, including crashes.
[10/21/2016 - 04:55:26PM] Cannot open store for class "TrueStorms:TrueStorms_SpawnCleanup", missing file?
[10/21/2016 - 04:55:26PM] Cannot open store for class "GasMask_ScalingRads_Normal", missing file?
[10/21/2016 - 04:55:27PM] Cannot open store for class "DLC04:DLC04OperatorsRifleAnimationScript", missing file?
[10/21/2016 - 04:55:27PM] error: Unable to bind script DLC04:DLC04OperatorsRifleAnimationScript to (06051235) because their base types do not match
[10/24/2016 - 01:08:48AM] Gas Masks of the Wasteland log opened (PC-64)
[10/24/2016 - 01:08:48AM] [GasMask_Start <GasMask_Quest (08006381)>] OnQuestInit
[10/24/2016 - 01:08:48AM] [GasMask_CloakQuestScript <alias playerRef on quest GasMask_Quest (08006381)>] OnAliasInIt()
[10/24/2016 - 01:08:48AM] [GasMask_Start <GasMask_Quest (08006381)>] The Gas Masks of the Wasteland is starting..
[10/24/2016 - 01:08:48AM] [GasMask_Start <GasMask_Quest (08006381)>] Added the settings holotape to the player.
[10/24/2016 - 01:08:54AM] [GasMask_CloakQuestScript <alias playerRef on quest GasMask_Quest (08006381)>] Adding the spell GasMask_CloakAbility to player.
[10/24/2016 - 01:08:55AM] [GasMask_CloakQuestScript <alias playerRef on quest GasMask_Quest (08006381)>] Removing the spell GasMask_CloakAbility to player.
[10/24/2016 - 01:08:59AM] [GasMask_CloakQuestScript <alias playerRef on quest GasMask_Quest (08006381)>] Adding the spell GasMask_CloakAbility to player.
[10/24/2016 - 01:09:01AM] [GasMask_CloakQuestScript <alias pla
[11/26/2016 - 12:45:55PM] Gas Masks of the Wasteland log opened (PC-64)
[11/26/2016 - 12:45:55PM] [fo2287:gasmask:context <GasMask_Context (08006381)>] OnQuestInit
[11/26/2016 - 12:45:55PM] [fo2287:gasmask:context <GasMask_Context (08006381)>] Gas Masks of the Wasteland is starting..
[11/26/2016 - 12:45:55PM] [fo2287:gasmask:items:gear:database <GasMask_Items (0800F3FE)>] Added the entry 'Fallout4.esm:[Armor < (001184C1)>]'' to Collection.
[11/26/2016 - 12:45:55PM] [fo2287:gasmask:items:gear:database <GasMask_Items (0800F3FE)>] Added the entry 'Fallout4.esm:[Armor < (000787D8)>]'' to Collection.
[11/26/2016 - 12:45:55PM] [fo2287:gasmask:items:gear:database <GasMask_Items (0800F3FE)>] Added the entry 'Fallout4.esm:[Armor < (0007239E)>]'' to Collection.
[11/26/2016 - 12:45:55PM] [fo2287:gasmask:items:gear:database <GasMask_Items (0800F3FE)>] Added the entry 'Fallout4.esm:[Armor < (00042565)>]'' to Collection.
[11/26/2016 - 12:45:55PM] [FO2287:GasMask:ContextSetup <alias Context on quest GasMask_Context (0800638
@Scrivener07
Scrivener07 / ContextWidget.as
Created December 21, 2016 05:41
[FO4] MyWidget for HUD Framework
package
{
import flash.display.MovieClip;
import flash.text.TextField;
import hudframework.IHUDWidget;
public class ContextWidget extends MovieClip implements IHUDWidget
{
public var title_tf:TextField;
public var version_tf:TextField;
@Scrivener07
Scrivener07 / Dictionary.psc
Last active April 29, 2017 21:50
Papyrus Object Factory
Scriptname Papyrus:Collections:Dictionary extends Papyrus:Collections:Collection Default
{Represents a collection of keys and values.}
; https://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx
import Papyrus
import Papyrus:Objects:Factory
var[] Keys
var[] Values
@Scrivener07
Scrivener07 / Blackjack_protype.c
Created May 2, 2017 01:03
A papyrus port of a simple blackjack game written in C. Original C code written by TheWhiteCollarPlayers.
/*
============================================================================
Name : HW.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
@Scrivener07
Scrivener07 / CKF4_EULA_v2.txt
Last active August 3, 2017 08:21
Creation Kit EULA
Creation Kit™ Editor
End User License Agreement ("EULA")
YOU SHOULD CAREFULLY READ THE ENTIRE FOLLOWING END USER LICENSE AGREEMENT BEFORE DOWNLOADING, INSTALLING OR USING THIS CREATION KIT™ SOFTWARE EDITOR TOOL. THIS END USER LICENSE AGREEMENT CONTAINS IMPORTANT TERMS THAT AFFECT YOUR LEGAL RIGHTS. BY DOWNLOADING, INSTALLING OR USING THE EDITOR, YOU AGREE TO BE BOUND BY THE TERMS OF THIS END USER LICENSE AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF THIS END USER LICENSE AGREEMENT, PLEASE DO NOT DOWNLOAD, INSTALL OR USE THE EDITOR.
ZeniMax Media Inc., on behalf of itself and its current and future subsidiaries and affiliates (collectively, "ZeniMax") provides the Editor on a USE AT YOUR OWN RISK basis.
IMPORTANT. THIS CREATION KIT™ SOFTWARE EDITOR TOOL AND RELATED DOCUMENTATION (THE "EDITOR") ARE LICENSED, NOT SOLD TO YOU. BY DOWNLOADING, INSTALLING, COPYING, OR USING THE EDITOR, YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS AND CO
#include "f4se/GameAPI.h"
#include "f4se/GameData.h"
#include "f4se/PapyrusNativeFunctions.h"
#include "f4se/PapyrusVM.h"
#include "f4se/PluginAPI.h"
#include "f4se_common/f4se_version.h"
#include "main.h"
#include <shlobj.h>
#include <string>
@Scrivener07
Scrivener07 / LVoiceLines.md
Created October 6, 2017 03:16
These are the voice lines a dealer may say when some occurings during a blackjack game.

Phases

Starting

  • Welcome, blackjack pays 3 to 2.

Wagering

  • #SEAT# wagers a bet of #AMOUNT#.

Dealing

  • #CARDNAME#..

Playing

  • Standing with 21.
  • Score of #SCORE# is a bust.
@Scrivener07
Scrivener07 / GameForms.cpp
Created October 9, 2017 07:20
AVI decoded for F4SE plugin. (reg2k)
RelocAddr<uintptr_t> s_AVFunctorVtbl(0x02C98598);
bool ActorValueInfo::AddDependentAV(ActorValueInfo* avif)
{
if (numDependentAVs < sizeof(dependentAVs) / 8)
{
dependentAVs[numDependentAVs++] = avif;
return true;
}
return false;