Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input = """ | |
INPUT HERE | |
""" | |
totals = {} | |
index = 0 | |
amounts = input.split("\n\n") | |
for elf in amounts: | |
calories = elf.split("\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# npc_renamer by zach2good, use as you please! | |
# | |
# For use on the NPC DATs listed here: | |
# https://www.reddit.com/r/ffximodding/comments/9ndg2d/complete_list_of_zone_dats_by_zone_id/ | |
# | |
# Usage: npc_renamer.py <input file to read> | |
# : If the input file is .DAT, a corresponding .json file will be made. | |
# : If the input file is .json, a corresponding .new.DAT file will be made. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------- | |
-- Campaign Battle global (Grauberg [S]) | |
----------------------------------- | |
xi = xi or {} | |
xi.campaignBattle = xi.campaignBattle or {} | |
local startPos = { | |
x = 799.256, | |
y = 72.21, | |
z = 748.53, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =================== | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get requirements: | |
# pip install keyboard pywinauto | |
# You can wrap this script up as a Windows shortcut: | |
# Have python.exe in your PATH | |
# - Make a new shortcut, target: python.exe C:\FFXI\autologin\autologin.py | |
# - Shortcut Properties > Advanced > Run as administrator | |
# Change these: | |
your_password = 'YOUR_PASSWORD_HERE' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################ | |
# | |
# MIT License | |
# | |
# version_updater.py | |
# Copyright (c) 2021 Zach Toogood | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Original code | |
tpz = {} | |
tpz.mob = {} | |
tpz.mob.onAttack = function(amount) | |
return amount | |
end | |
print('Original call: ', tpz.mob.onAttack(100)) | |
-- Prints 100 |