repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
bmscoordinators/FFXI-Server
scripts/zones/East_Ronfaure/npcs/Andelain.lua
14
2191
----------------------------------- -- Area: East Ronfaure -- NPC: Andelain -- Type: Standard NPC -- @pos 664.231 -12.849 -539.413 101 -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ------------------------...
gpl-3.0
mralivictor/gpgu
plugins/location.lua
93
1704
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_...
gpl-2.0
jochem-brouwer/VO2_Model
Run_ResistanceTest.lua
1
4052
local Lattice = require 'Lattice' local MyLattice = Lattice:New(); math.randomseed(os.time()) local Model = require 'Model'; Model = Model:New(); Model.Lattice = MyLattice; MyLattice:Init(10,10,1); MyLattice:InitRandomField(8,0); MyLattice.J = 2; -- If you want to calculate resistances, also init the RN; MyLattice:...
mit
bigyihsuan/complicated-recipes
migrations/complicated-recipes_1.1.13.lua
2
1139
game.reload_script() for _, force in pairs(game.forces) do force.reset_recipes() force.reset_technologies() for _, technology in pairs(force.technologies) do if technology.researched then for _, modifier in pairs(technology.effects) do if modifier.type == "unlock-recipe" then...
mit
bmscoordinators/FFXI-Server
scripts/zones/Riverne-Site_A01/mobs/Heliodromos.lua
13
2198
----------------------------------- -- Area: Riverne Site A01 -- MOB: Heliodromos ----------------------------------- ----------------------------------- -- onMobRoam ----------------------------------- function onMobRoam(mob) local Heliodromos_Table = { 16900110, 16900111, 16900112...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/sniper_shot.lua
15
1487
----------------------------------- -- Sniper Shot -- Marksmanship weapon skill -- Skill Level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:70% -- 100%TP 200%TP ...
gpl-3.0
diamondo25/Vana
scripts/portals/hontale_boss1.lua
2
1176
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua
14
1142
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Geltpix -- @zone 80 -- @pos 154 -2 103 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTr...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/cure_vi.lua
26
3921
----------------------------------------- -- Spell: Cure VI -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic")...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/forest_carp.lua
12
1340
----------------------------------------- -- ID: 4289 -- Item: forest_carp -- Food Effect: 30Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
victorholt/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/basic.lua
24
9103
-- tolua: basic utility functions -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- Last update: Apr 2003 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance...
mit
openwrt-es/openwrt-packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/bmx7.lua
76
2091
#!/usr/bin/lua local json = require "cjson" local function interpret_suffix(rate) if rate ~= nil then local value = string.sub(rate, 1, -2) local suffix = string.sub(rate, -1) if suffix == "K" then return tonumber(value) * 10^3 end if suffix == "M" then return tonumber(value) * 10^6 end if suffi...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Bastok/npcs/Carmelo.lua
14
4833
----------------------------------- -- Area: Port Bastok -- NPC: Carmelo -- Start & Finishes Quest: Love and Ice, A Test of True Love -- Start Quest: Lovers in the Dusk -- Involved in Quest: The Siren's Tear -- @zone 236 -- @pos -146.476 -7.48 -10.889 ----------------------------------- require("scripts/globals/quests...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria/npcs/Phillone.lua
17
1459
----------------------------------- -- Area: Southern San d'Oria -- NPC: Phillone -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Western_Adoulin/npcs/Merleg.lua
14
2449
----------------------------------- -- Area: Western Adoulin -- NPC: Merleg -- Type: Standard NPC and Quest Giver -- Starts, Involved with, and Finishes Quest: 'A Pioneers Best (Imaginary) Friend' -- @zone 256 -- @pos 34 0 -131 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/...
gpl-3.0
scummvm/scummvm
devtools/create_ultima/files/ultima6/scripts/u6/magic.lua
18
17697
--io.stderr:write("Magic init\n"); magic_syllable_tbl = {a = "An", b = "Bet", c = "Corp", d = "Des", e = "Ex", f = "Flam", g = "Grav", h = "Hur", i = "In", j = "Jux", k = "Kal", l = "Lor", m = "Mani", n = "Nox", o = "Ort", p = "Por", q = "Quas", r = "Rel", s = "Sanct", t = "T...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Kuzah_Hpirohpon.lua
27
1199
----------------------------------- -- Area: Windurst Woods -- NPC: Kuzah Hpirohpon -- Guild Merchant NPC: Clothcrafting Guild -- @pos -80.068 -3.25 -127.686 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/meat_mithkabob.lua
12
1456
----------------------------------------- -- ID: 4381 -- Item: meat_mithkabob -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack % 22 -- Attack Cap 60 ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua
27
1273
----------------------------------- -- Area: The Boyahda Tree -- NPC: HomePoint#1 -- @pos 88 -15 -217 153 ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/The_Boyahda_Tree/TextIDs"); require("scripts/global...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Attohwa_Chasm/npcs/HomePoint#1.lua
14
1252
----------------------------------- -- Area: Attohwa Chasm -- NPC: HomePoint#2 -- @pos ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Attohwa_Chasm/TextIDs"); require("scripts/globals/homepoint"); -----...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua
14
1054
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kristen -- Type: Standard NPC -- @zone 94 -- @pos 2.195 -2 60.296 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/miasma.lua
33
1139
--------------------------------------------- -- Miasma -- -- Description: Releases a toxic cloud on nearby targets. Additional effects: Slow + Poison + Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows? -- Range: Less than or equal to 10.0 -- Notes: Only used by Gulool Ja Ja. ----------------------...
gpl-3.0
Etiene/sailor
test/dev-app/tests/bootstrap_resty.lua
2
1125
sailor = require "sailor" local t = require "sailor.test" local busted = require 'busted.runner' local lfs = require 'lfs' -- load fixtures t.load_fixtures('user') t.load_fixtures('post') t.load_fixtures('category') -- prepare busted busted() local busted_lib = { describe = describe, it = it, setup = setup, ass...
mit
bmscoordinators/FFXI-Server
scripts/zones/Castle_Zvahl_Keep/Zone.lua
13
3875
----------------------------------- -- -- Zone: Castle_Zvahl_Keep (162) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep/TextIDs"); -----------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/plate_of_dulcet_panettones.lua
12
1385
----------------------------------------- -- ID: 5979 -- Item: Plate of Dulcet Panettones -- Food Effect: 240 Min, All Races ----------------------------------------- -- MP % 6 Cap 105 -- Intelligence +8 -- MP Healing +4 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
dvv/u-gotta-luvit
test-json.lua
1
10146
local JSON = require('cjson') local messages = { "Τη γλώσσα μου έδωσαν ελληνική το σπίτι φτωχικό στις αμμουδιές του ", "ღმერთსი შემვედრე, ნუთუ კვლა დამხსნას სოფლისა შრომასა, ცეცხლს, წყალს", "⠊⠀⠉⠁⠝⠀⠑⠁⠞⠀⠛⠇⠁⠎⠎⠀⠁⠝⠙⠀⠊⠞⠀⠙⠕⠑⠎⠝⠞⠀⠓⠥⠗⠞⠀⠍⠑", "Би шил идэй чадна, надад хортой биш", "을", "나는 유리를 먹을 수 있어요. 그래도...
mit
diamondo25/Vana
scripts/npcs/rogue.lua
2
22547
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Dynamis-Bastok/Zone.lua
10
2570
----------------------------------- -- -- Zone: Dynamis-Bastok -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Bastok/TextIDs"); ----------------------------------...
gpl-3.0
ibus/ibus-pinyin
lua/base.lua
5
17113
-- encoding: UTF-8 _CHINESE_DIGITS = { [0] = "〇", [1] = "一", [2] = "二", [3] = "三", [4] = "四", [5] = "五", [6] = "六", [7] = "七", [8] = "八", [9] = "九", [10] = "十", } _DATE_PATTERN = "^(%d+)-(%d+)-(%d+)$" _TIME_PATTERN = "^(%d+):(%d+)$" function GetChineseMathNum(num) local ret if num < 10 then ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Metalworks/npcs/Alois.lua
14
2161
----------------------------------- -- Area: Metalworks -- NPC: Alois -- Involved in Missions: Wading Beasts -- @pos 96 -20 14 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Gameem.lua
14
1032
----------------------------------- -- Area: Al Zahbi -- NPC: Gameem -- Type: Standard NPC -- @zone 48 -- @pos 18.813 -7 11.298 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; --------------------------------...
gpl-3.0
deepak78/luci
applications/luci-radvd/luasrc/model/cbi/radvd/interface.lua
78
7996
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Buburimu_Peninsula/npcs/Ishin_IM.lua
14
3344
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Ishin, I.M. -- Outpost Conquest Guards -- @pos -481.164 -32.858 49.188 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/effects/saber_dance.lua
32
1693
----------------------------------- -- -- EFFECT_SABER_DANCE -- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local sab...
gpl-3.0
Percona-QA/toku-qa
tokudb/software/sysbench/sysbench-0.5-rate-limited/sysbench/tests/db/select_random_points.lua
10
3964
-- This test is designed for testing MariaDB's key_cache_segments for MyISAM, -- and should work with other storage engines as well. -- -- For details about key_cache_segments please refer to: -- http://kb.askmonty.org/v/segmented-key-cache -- function prepare() local query local i set_vars() db_connect()...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/steamed_catfish.lua
12
1795
----------------------------------------- -- ID: 4557 -- Item: steamed_catfish -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 30 -- Magic % 1 (cap 110) -- Dex 3 -- Intelligence 1 -- Mind -3 -- Earth Res 10 -- Ranged Accuracy +6% (cap 15) ----------------------------------------- ...
gpl-3.0
bigyihsuan/complicated-recipes
prototypes/recipes/misc-intermediates.lua
1
4146
data:extend({ { type = 'recipe', name = 'iron-gear-peg', ingredients = {{'iron-plate', 1}}, result = 'iron-gear-peg', result_count = 8 }, { type = 'recipe', name = 'iron-gear-rim', ingredients = {{'iron-plate', 1}}, result = 'iron-gear-rim', result_count = 1 }, { type = 'recipe', name = 'compressed-solid-fu...
mit
bmscoordinators/FFXI-Server
scripts/globals/mobskills/corrosive_ooze.lua
34
1192
--------------------------------------------------- -- Corrosive Ooze -- Family: Slugs -- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Radial -- Notes: ------------------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/The_Boyahda_Tree/npcs/Treasure_Coffer.lua
13
5074
----------------------------------- -- Area: The Boyahada Tree -- NPC: Treasure Coffer -- @pos 27 6 144 153 ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
renstrom/oUF
elements/power.lua
1
8414
--[[ Element: Power Bar Handles updating of `self.Power` based upon the units power. Widget Power - A StatusBar used to represent mana. Sub-Widgets .bg - A Texture which functions as a background. It will inherit the color of the main StatusBar. Notes The default StatusBar texture will be applied i...
mit
bmscoordinators/FFXI-Server
scripts/globals/effects/healing.lua
21
1887
----------------------------------- -- -- EFFECT_HEALING -- -- Activated through the /heal command ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); ----------------------------------- -- onEffectGain Action ----------------------------------- function on...
gpl-3.0
wingo/snabb
src/core/link.lua
4
3274
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) local debug = _G.developer_debug local shm = require("core.shm") local ffi = require("ffi") local C = ffi.C local packet = require("core.packet") require("core.packet_h") local counter = require("core.counter"...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Uleguerand/npcs/qm1.lua
14
1392
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm1 (???) -- Spawns Ironclad Triturator -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,np...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/bowl_of_turtle_soup.lua
12
1552
----------------------------------------- -- ID: 4418 -- Item: Turtle Soup -- Food Effect: 3hours, All Races ----------------------------------------- -- HP + 10% (200 Cap) -- Dexterity +4 -- Vitality +6 -- Mind -3 -- HP Recovered While Healing +5 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Mount_Zhayolm/npcs/qm4.lua
30
1342
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Khromasoul Bhurborlor(ZNM T3)) -- @pos 88 -22 70 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); require(...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Dynamis-Xarcabard/mobs/Dynamis_Lord.lua
23
2056
----------------------------------- -- Area: Dynamis Xarcabard -- NM: Dynamis_Lord -- -- In OLD Dynamis, he is spawned by killing 15 Kindred NMs.. -- ..NOT by killing Ying and Yang. -- -- In Neo Dynamis, he is spawned by trading -- a Shrouded Bijou to the ??? in front of Castle Zvahl. --------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/slice_of_giant_sheep_meat.lua
12
1358
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua
9
2170
----------------------------------- -- Area: Windurst Woods -- NPC: Peshi Yohnts -- Type: Bonecraft Guild Master -- @pos -6.175 -6.249 -144.667 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Woods...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Selbina/npcs/Boris.lua
14
1047
---------------------------------- -- Area: Selbina -- NPC: Boris -- Type: Item Deliverer -- @pos 61.074 -14.655 -7.1 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); ------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/ice_brand.lua
41
1056
----------------------------------------- -- ID: 16937 -- Ice Brand -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- func...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
9
6381
----------------------------------- -- Area: Southern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua
14
1046
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Areuhat -- @zone 80 -- @pos 21 0 22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
diamondo25/Vana
scripts/npcs/subway_ticket.lua
2
3015
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters/npcs/Panna-Donna.lua
14
1051
----------------------------------- -- Area: Windurst Waters -- NPC: Panna-Donna -- Type: Mission NPC -- @zone 238 -- @pos -57.502 -6 229.571 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------------...
gpl-3.0
cheney247689848/Cloud-edge
Assets/Script_Lua/table/L_TestTable.lua
1
2011
L_TestTable={ a = 10, [-216]={["id"]=-216,["大牌"]="laowang",["小牌"]="xiaohongjoker",["迷你牌"]="xxhongjoker"}, [-115]={["id"]=-115,["大牌"]="xiaowang",["小牌"]="xiaohuijoker",["迷你牌"]="xxhuijoker"}, [114]={["id"]=114,["大牌"]="heitaoA",["小牌"]="xiaoheitaoA",["迷你牌"]="xxheitaoA"}, [113]={["id"]=113,["大牌"]="heita...
mit
mbrubeck/gazelle
tests/luaunit.lua
1
10055
--[[ luaunit.lua Description: A unit testing framework Homepage: http://phil.freehackers.org/luaunit/ Initial author: Ryu, Gwang (http://www.gpgstudy.com/gpgiki/LuaUnit) improvements by Philippe Fremy <phil@freehackers.org> Version: 1.2 Changes between 1.2 and 1.1: - tests are now run in alphabetical order - fix ...
bsd-3-clause
Percona-QA/toku-qa
tokudb/software/sysbench/sysbench-0.5/sysbench/tests/db/tokudb_oltp_fast_update_replace_into.lua
3
3163
pathtest = string.match(test, "(.*/)") or "" dofile(pathtest .. "common.lua") function thread_init(thread_id) set_vars() if (db_driver == "mysql" and mysql_table_engine == "myisam") then begin_query = "LOCK TABLES sbtest WRITE" commit_query = "UNLOCK TABLES" else begin_query = "BEGIN" ...
gpl-2.0
wingo/snabb
lib/ljsyscall/syscall/compat.lua
24
4673
-- Compatibility wrappers to add more commonality between different systems, plus define common functions from man(3) local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipa...
apache-2.0
colesbury/nn
CrossEntropyCriterion.lua
8
1573
local CrossEntropyCriterion, Criterion = torch.class('nn.CrossEntropyCriterion', 'nn.Criterion') function CrossEntropyCriterion:__init(weights, sizeAverage) Criterion.__init(self) self.lsm = nn.LogSoftMax() self.nll = nn.ClassNLLCriterion(weights, sizeAverage) self.sizeAverage = self.nll.sizeAverage sel...
bsd-3-clause
cypherkey/AvorionMission
entity/story/exoduswreckage.lua
1
1547
package.path = package.path .. ";data/scripts/lib/?.lua" require ("stringutility") function initialize() end function interactionPossible(playerIndex, option) return true end function initUI() ScriptUI():registerInteraction("Investigate"%_t, "onInvestigate"); end function onInvestigate() local wreckage ...
gpl-3.0
albanD/adaptive-neural-compilation
adaptation/layers/dRAM.lua
1
6690
require 'rnn' local layers = require 'nc.layers' local ops = require 'nc.ops' local decompiler = require 'nc.decompiler' local distUtils = require 'nc.distUtils' local dRAM, parent = torch.class('nc.DRAM', 'nn.Recurrent', layers) local create_DistributionCreator, initLinear function dRAM:__init(nb_registers, memory_s...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua
28
1585
----------------------------------- -- Area: Temenos -- NPC: ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- -- onMobSpa...
gpl-3.0
ilporcodio/google-diff-match-patch
lua/diff_match_patch.lua
265
73869
--[[ * Diff Match and Patch * * Copyright 2006 Google Inc. * http://code.google.com/p/google-diff-match-patch/ * * Based on the JavaScript implementation by Neil Fraser. * Ported to Lua by Duncan Cross. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/RuAun_Gardens/npcs/HomePoint#3.lua
27
1266
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#3 -- @pos -312 -42 -422 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/homep...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/bijou_glace.lua
12
1326
----------------------------------------- -- ID: 4269 -- Item: Bijou Glace -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 90 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); -----------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abyssea.lua
17
10151
----------------------------------- -- Abyssea functions, vars, tables -- DO NOT mess with the order -- or change things to "elseif"! ----------------------------------- require("scripts/globals/keyitems"); -- weaponskills for red weakness local red_weakness = { --light 37, 161, 149, 180, --dark 22, 1...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/sweeping_flail.lua
39
1067
--------------------------------------------------- -- Sweeping Flail -- Family: Bahamut -- Description: Spins around to deal physical damage to enemies behind user. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 20' cone -- Notes: Used when someone pulls hate from...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/high-tension_discharger.lua
15
1365
--------------------------------------------------- -- High-Tension_Discharger -- Description: Discharges a powerful current that deals Lightning damage to players in a fan-shaped area. -- Additional effect: Stun -- Type: Magical --------------------------------------------- require("scripts/globals/monstertpmoves"); ...
gpl-3.0
arman022/turbo-spammer
bot/seedbot.lua
1
10302
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
jsenellart/OpenNMT
onmt/modules/PDBiEncoder.lua
8
6773
--[[ PDBiEncoder is a pyramidal deep bidirectional sequencer used for the source language. The outputs of each bidirectional layer is merged to reduce the time dimension. ]] local PDBiEncoder, parent = torch.class('onmt.PDBiEncoder', 'nn.Container') local options = { { '-pdbrnn_reduction', 2, [[Time-reduct...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/maringna.lua
12
1355
----------------------------------------- -- ID: 5888 -- Item: maringna -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +9% (cap 160) -- Increases rate of combat skill gains by 80% ----------------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ci.lua
14
1496
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5ci (Gate of Light) -- Involved In Mission: 3-2 -- @pos -331 0 139 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyite...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/behemoth_steak.lua
12
2000
----------------------------------------- -- ID: 6464 -- Item: behemoth_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- DEX +7 -- INT -3 -- Attack +23% (cap 160) -- Ranged Attack +23% (cap 160) -- Triple Attack +1% -- Lizard Killer +4 -- hHP +4 ------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua
2
1919
----------------------------------- -- Area: Valley of Sorrows -- HNM: Adamantoise ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- ...
gpl-3.0
diamondo25/Vana
scripts/npcs/bowman3.lua
2
10388
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
NoahNMorton/MinecraftLuaPrograms
OpenComputers/PulseOCPort.lua
2
2808
--[[ Opencomputers port of pulse by KingofGamesYami, who's original thread can be found at http://www.computercraft.info/forums2/index.php?/topic/24500-pulse-it-just-looks-cool/ At least tier 2 screen and graphics card required, but use tier 3 for best results. This program generates cool looking designs using text. Ca...
mit
nsimplex/wicker
lib/searchspace.lua
6
1536
--[[ Copyright (C) 2013 simplex 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 2 of the License, or (at your option) any later version. This program is distributed in the hope that ...
gpl-2.0
pakozm/april-ann
packages/language_model/LM_interface/lua_src/LM_interface.lua
3
1924
language_models = language_models or {} local lang_models_func_tbl = {} function language_models.register_by_extension(extension, func) lang_models_func_tbl[extension] = func end function language_models.load(filename, dictionary, initial_word, final_word, extra) if not extra ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/pumpkin_cake.lua
12
1255
----------------------------------------- -- ID: 5631 -- Item: Pumpkin Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +2 -- MP Recovered while healing +5 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Achika.lua
14
1299
----------------------------------- -- Area: Norg -- NPC: Achika -- Type: Tenshodo Merchant -- @pos 1.300 0.000 19.259 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop");...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Misareaux/npcs/qm7.lua
14
1345
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm7 (???) -- Spawns Nehebkau -- @pos ? ? ? 216 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[...
gpl-3.0
olekw/ember
src/components/ogre/widgets/ScriptEdit.lua
3
4838
-- ----------------------------------------- -- Start of handler functions ----------------------------------------- ----------------------------------------- -- Script Entry Point ----------------------------------------- ScriptEdit = {connectors={}} ScriptEdit.widget = guiManager:createWidget() function ScriptEd...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/nullifying_dropkick.lua
58
1046
--------------------------------------------- -- Nullifying Dropkick -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/zones/Empyreal_Paradox/TextIDs"); -----------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/player.lua
24
8702
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/shop"); require("scripts/globals/status"); require("scripts/globals...
gpl-3.0
wingo/snabb
lib/pflua/src/pf/libpcap.lua
26
2902
module(...,package.seeall) local ffi = require("ffi") local types = require("pf.types") -- Load FFI declarations. local pcap -- The pcap library, lazily loaded. local verbose = os.getenv("PF_VERBOSE"); local MAX_UINT32 = 0xffffffff ffi.cdef[[ typedef struct pcap pcap_t; const char *pcap_lib_version(void); int pcap_...
apache-2.0
olapaola/olapaola-android-scripting
lua/luasocket/samples/cddb.lua
56
1415
local socket = require("socket") local http = require("socket.http") if not arg or not arg[1] or not arg[2] then print("luasocket cddb.lua <category> <disc-id> [<server>]") os.exit(1) end local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi" function parse(body) local lines = string.gfind(bo...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Western_Adoulin/npcs/Barenngo.lua
14
1459
----------------------------------- -- Area: Western Adoulin -- NPC: Barenngo -- Type: Standard NPC and Quest NPC -- Involved with Quests: 'Dont Ever Leaf Me' -- @zone 256 -- @pos -101 3 14 256 ----------------------------------- require("scripts/globals/quests"); ----------------------------------- -- onTrade A...
gpl-3.0
pakozm/april-ann
packages/basics/profiler/lua_src/profiler.lua
3
2250
profiler={} profiler.stopwatch = util.stopwatch() profiler.last_t = 0 profiler.total_time = 0 profiler.profile = {} function profiler.hook(event) profiler.stopwatch:stop() local t = profiler.stopwatch:read() local funcname = debug.getinfo(2, "n").name local last_func = debug.getinfo(3, "n").func local elaps...
gpl-3.0
simbiose/mediador
ip.lua
1
13484
-- -- IP address manipulation library in Lua -- -- @author leite (xico@simbio.se) -- @license MIT -- @copyright Simbiose 2015 local math, string, table, bit_available, bit = require [[math]], require [[string]], require [[table]], pcall(require, 'bit') -- yey! Lua 5.3 bitwise keywords available if not bit_avai...
mit
bmscoordinators/FFXI-Server
scripts/zones/Phomiuna_Aqueducts/npcs/_0rp.lua
14
1660
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqueduct...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Walls/npcs/Juvillie.lua
14
1054
----------------------------------- -- Area: Windurst Walls -- NPC: Juvillie -- Type: Event Replayer -- @zone 239 -- @pos -180.731 -3.451 143.138 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua
4
4650
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Dominion Tactician -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("script...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/regimeinfo.lua
35
13239
------------------------------------------------- -- -- Regime Info Database -- -- Stores details on the number of monsters to kill -- as well as the suggested level range. -- n1,n2,n3,n4 = Number of monsters needed -- sl = Start Level range -- el = Level range -- -- Example: -- n1=6, n2=0, n3=0, n4=0, sl=1, el=6, Regi...
gpl-3.0
deepak78/luci
applications/luci-radvd/luasrc/model/cbi/radvd/prefix.lua
4
4398
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Western_Adoulin/npcs/Kanil.lua
14
1249
----------------------------------- -- Area: Western Adoulin -- NPC: Kanil -- Type: Shop NPC -- @zone 256 -- @pos 154 4 -5 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zon...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Misareaux_Coast/npcs/qm1.lua
14
1355
----------------------------------- -- Area: Misareaux_Coast -- NPC: ??? (Spawn Gration) -- @pos 113.563 -16.302 38.912 25 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Misareaux_Coast/TextIDs"); ---------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/monks_roll.lua
19
2658
----------------------------------- -- Ability: Monk's Roll -- Enhances "Subtle Blow" effect for party members within area of effect -- Optimal Job: Monk -- Lucky Number: 3 -- Unlucky Number: 7 -- Level: 31 -- -- Die Roll |No MNK |With MNK -- -------- -------- ----------- -- 1 |+8 |+18 -- 2 ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/shrimp_cracker_+1.lua
12
1497
----------------------------------------- -- ID: 5636 -- Item: shrimp_cracker_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Vitality 2 -- Defense +10 -- Amorph Killer 12 -- Resist Virus 12 -- HP Recovered While Healing 9 ----------------------------------------- require("scripts/globa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Walls/npcs/Kalupa-Tawalupa.lua
17
2408
----------------------------------- -- Area: Windurst Walls -- Location: X:-90 Y:-9 Z:109 -- NPC: Kalupa-Tawalupa -- Working 100% -- Involved in Quest: To Bee or Not to Bee? ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); -------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Breanainn.lua
14
1037
----------------------------------- -- Area: Port Windurst -- NPC: Breanainn -- @zone 240 -- @pos 212 -6 96 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/Tex...
gpl-3.0