Skip to content

Instantly share code, notes, and snippets.

View z16's full-sized avatar
💭
(let ((let '`(let ((let ',let)), let))) `(let ((let ',let)) ,let))

Stjepan Bakrac z16

💭
(let ((let '`(let ((let ',let)), let))) `(let ((let ',let)) ,let))
  • Munich, Germany
View GitHub Profile
@z16
z16 / addon_template.lua
Last active December 18, 2015 00:09
This is a template for a generic addon. Replace whichever parts necessary.
_addon.name = 'Template'
_addon.version = 0.1
_addon.command = 'template' -- Main command to use
_addon.commands = {'tp', 'temp'} -- Possible list of other commands, such as abbreviations
-- If you want to use a library, require it here. Check the addons/libs/ folder
-- for available libraries. LuaU is a library that will load a few other
-- libraries. It includes almost everything most addons will need.
require('luau')
@z16
z16 / gist:5821021
Created June 20, 2013 08:03
This is the structure of the settings for the texts library.
settings = {}
settings.pos = {}
settings.pos.x = 0
settings.pos.y = 0
settings.bg = {}
settings.bg.alpha = 255
settings.bg.red = 0
settings.bg.green = 0
settings.bg.blue = 0
settings.visible = false
Rank points max: 4096
Rank points per crystal: 28 (x2 for Light/Dark)
Rank points reward per mission:
7-1 Sandy: 1286 > 2082 = 796
7-2 Sandy: 3426 > 49 = 718
8-1 Sandy: 1309 > 2077 = 768
Rank points required per mission:
@z16
z16 / RangeMultiplier
Last active March 16, 2019 10:59
The DATs have a range value for spells and abilities, which needs to be multiplied with the following values, then added to the model size. Ranges marked with a `?` have only been guessed, since no actions with those ranges existed at the time to verify it.
Range Multiplier Inverse Distance Difference to next
------------------------------------------------------
2: 1.70 0.58824 3.4 1.07273
3?: 1.490909 0.67073 4.47273 1.28727
4: 1.44 0.69444 5.76 1.12889
5?: 1.377778 0.72581 6.88889 0.91111
6?: 1.30 0.76923 7.8 0.6
7: 1.20 0.83333 8.4 2.0
8: 1.30 0.76923 10.4 2.0
9: 1.377778 0.72581 12.4 2.1
--[[
Any functions or code in this file will be run upon the eval addon load.
This file is ONLY run upon load. You will need to reload the eval addon to
re-read any changes
]]
require('luau')
require('pack')
packets = require('packets')
texts = require('texts')

Removed

These plugins are no longer supported and will likely crash, hence they were removed from the Windower launcher entirely. They all have addon equivalents in place.

Attainment

  • Replaced by PointWatch (addon)

AutoExec

  • Replaced by AutoEx (addon)

Windower private server

  1. Place xiloader.exe in your Windower folder.
  2. Run Windower with the following arguments: --executable=xiloader.exe --args="--server windower.net"
  3. You'll be prompted to log in or create an account. This is the equivalent of a POL account, not a character.

After these steps you have set up the account and can log in with those details. You can create the following shortcut to speed up the log in process: Windower.exe --executable=xiloader.exe --args="--server windower.net --user <AccountName> --password <Password>"

To hide the console while logged into the game, you can add a --hide argument to within the --args argument string.

@z16
z16 / z.reg
Last active October 2, 2020 07:09
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,46,00,01,00,3a,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblAuthManager]
"Start"=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblGameSave]
"Start"=dword:00000004
alias vrc="vi ~/.vimrc"
alias brc="vi ~/.bashrc"
alias e="explorer.exe"
alias g="git status"
alias gf="git fetch"
alias gp="git pull --ff-only"
alias gpr="git pull --rebase"
alias gps="git push"
alias gc="git commit -m"
autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
set nocompatible
set number
set autoindent
set showcmd
set incsearch
set tabstop=4
set softtabstop=4