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
djianq/Game
lualib/dns.lua
23
8758
--[[ lua dns resolver library See https://github.com/xjdrew/levent/blob/master/levent/dns.lua for more detail -- resource record type: -- TYPE value and meaning -- A 1 a host address -- NS 2 an authoritative name server -- MD 3 a mail destination (Obsolete - use MX...
mit
RebootRevival/FFXI_Test
scripts/globals/spells/bio_ii.lua
3
2479
----------------------------------------- -- Spell: Bio II -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/cura_iii.lua
1
4086
----------------------------------------- -- Spell: Cura III -- Restores hp in area of effect. Self target only -- From what I understand, Cura III's base potency is the same as Cure III's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga IV -- Modeled after our cure_iii.lua, which was modeled after the b...
gpl-3.0
luodan0709/openwrt-extra
luci/applications/luci-app-vsftpd/luasrc/model/cbi/vsftpd/anonymous.lua
14
1256
--[[ LuCI - Lua Configuration Interface Copyright 2016 Weijie Gao <hackpascal@gmail.com> 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$ ]]-- m =...
gpl-2.0
petoju/awesome
lib/gears/cache.lua
4
1972
--------------------------------------------------------------------------- --- Cache object with data that can be garbage-collected. -- -- Here is an example with a basic cache: -- --@DOC_text_gears_cache_cache_EXAMPLE@ -- -- The example below demonstrates how the garbage collector will clear the -- cache: -- --@DOC_t...
gpl-2.0
MRAHS/SuperGpSupporter
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
llual/VIPTEAM
plugins/azan.lua
2
3797
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ By : @shaD_o ▀▄ ▄▀ ▀▄ ▄▀ BY dev (shaD_o) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY shaD_o ▀▄ ▄▀ ▀▄ ▄▀ chhanale : @vip_team1 ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua
3
3075
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pagisalis -- Involved In Quest: Enveloped in Darkness -- @zone 231 -- !pos ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
Stratio/aerospike-client-java
client/src/resources/udf/stream_ops.lua
2
8850
-- Lua Interface for Aerospike Record Stream Support -- -- ====================================================================== -- Copyright [2014] Aerospike, Inc.. Portions may be licensed -- to Aerospike, Inc. under one or more contributor license agreements. -- -- Licensed under the Apache License, Version 2.0 (th...
apache-2.0
plsytj/skynet
service/clusterd.lua
6
3093
local skynet = require "skynet" local sc = require "socketchannel" local socket = require "socket" local cluster = require "cluster.core" local config_name = skynet.getenv "cluster" local node_address = {} local node_session = {} local command = {} local function read_response(sock) local sz = socket.header(sock:rea...
mit
openwrt-es/openwrt-luci
applications/luci-app-splash/luasrc/model/cbi/splash/splashtext.lua
78
1663
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2010 Manuel Munz <freifunk@somakoma.de> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local splashtextfile = "/usr/lib/luci-splash/splashtext.html" local splash...
apache-2.0
tommo/mock
mock/sqscript/SQNodeEval.lua
1
1129
module 'mock' -------------------------------------------------------------------- CLASS: SQNodeEval ( SQNode ) :MODEL{ Field 'script' :string(); } function SQNodeEval:__init() self.script = '' self.scriptFunc = false end function SQNodeEval:load( data ) local args = data.args local script = false for i, ar...
mit
RebootRevival/FFXI_Test
scripts/globals/weaponskills/mystic_boon.lua
19
2075
----------------------------------- -- Mystic Boon -- Club weapon skill -- Skill level: N/A -- Converts damage dealt to own MP. Damage varies with TP. Yagrush: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (White Mage) quest. -- Damage is significantly affected by Attack. Veri...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua
17
1156
----------------------------------- -- Area: Spire of Vahzl -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Vahzl/TextIDs"); ----------------------------------- -- onTrade Act...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Jeuno/npcs/Leyla.lua
17
1514
----------------------------------- -- Area: Port Jeuno -- NPC: Leyla -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Acti...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Woods/npcs/Panoquieur_TK.lua
3
2895
----------------------------------- -- Area: Windurst Woods -- NPC: Panoquieur, T.K. -- !pos -60 0 -31 241 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start S...
gpl-3.0
tommo/mock
mock/editor/DebugObjectEditor.lua
1
4198
module 'mock' -------------------------------------------------------------------- local enumInfoCache = {} local function getEnumInfo( enum ) local info = enumInfoCache[ enum ] if not info then local names = {} local v2i = {} local i2v = {} for i, entry in ipairs( enum ) do names[ i ] = entry[ 1 ] i2v...
mit
RebootRevival/FFXI_Test
scripts/globals/effects/weakness.lua
34
1361
----------------------------------- -- -- Weakness -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --reduce HP and MP by the power amount. Add 100% slow ...
gpl-3.0
plsytj/skynet
lualib/snax/msgserver.lua
12
7389
local skynet = require "skynet" local gateserver = require "snax.gateserver" local netpack = require "netpack" local crypt = require "crypt" local socketdriver = require "socketdriver" local assert = assert local b64encode = crypt.base64encode local b64decode = crypt.base64decode --[[ Protocol: All the number type ...
mit
samuelig/skia
tools/lua/bitmap_statistics.lua
207
1862
function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end local canvas = nil local num_perspective_bitmaps = 0 local num_affine_bitmaps = 0 local num_scaled_bitmaps = 0 loc...
bsd-3-clause
samuelig/skia
tools/lua/scrape_dashing.lua
160
2495
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
tommo/mock
mock/sqscript/SQNodeAnimator.lua
1
5024
module 'mock' local NameToAnimMode = { ['normal'] = MOAITimer.NORMAL; ['reverse'] = MOAITimer.REVERSE; ['continue'] = MOAITimer.CONTINUE; ['continue_reverse'] = MOAITimer.CONTINUE_REVERSE; ['loop'] = MOAITimer.LOOP; ['loop_reverse'] = MOAITimer.LOOP_REVERSE; ['ping_pon...
mit
otsakir/bMale
sandbox.lua
1
1025
local models = require "bmale.models" local stdstring = require "std.string" local http = require "socket.http" local cjson = require "cjson" -- require "bmale.config" require "bmale.queries" require "bmale.utils" -- local config = require "bmale.config" print(bmale.models.info()) -- for key in pairs(_G) do print(ke...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/weaponskills/judgment.lua
25
1492
----------------------------------- -- Judgment -- Club weapon skill -- Were you looking for Judgment Key? -- Skill level: 200 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR...
gpl-3.0
petoju/awesome
spec/awful/placement_spec.lua
4
1124
describe("awful.placement", function() -- tiny hack to make sure we don't get errors about connect_signal package.loaded["awful.screen"] = {} local place = require("awful.placement") it("awful.placement.closest_corner (top left)", function() local _, corner = place.closest_corner( {coo...
gpl-2.0
Telesuperior/amir
plugins/groupmanager-fa.lua
1
120620
local function modadd(msg) local hash = "gp_lang:"..msg.chat_id_ local lang = redis:get(hash) if not is_admin(msg) then if not lang then return '_You are not bot admin_' else return 'شما اجازه این کار را ندارید 😏👍🏻' end end local data = load_data(_config.moderation.data) if data[tostri...
gpl-3.0
fmacias64/Dato-Core
src/unity/python/graphlab/lua/pl/app.lua
26
5794
--- Application support functions. -- See @{01-introduction.md.Application_Support|the Guide} -- -- Dependencies: `pl.utils`, `pl.path` -- @module pl.app local io,package,require = _G.io, _G.package, _G.require local utils = require 'pl.utils' local path = require 'pl.path' local app = {} local function check_script...
agpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Woods/Zone.lua
26
2352
----------------------------------- -- -- Zone: Windurst_Woods (241) -- ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("scripts/globals/se...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Faith.lua
23
1527
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: Jailer_of_Faith ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) -- Give it two hour mob:setMod(MOBMOD_MAIN_2HOUR, 1); -- Cha...
gpl-3.0
jeffchao/hedgewars-accessible
Hedgewars.app/Contents/Resources/hedgewars/Data/Missions/Training/Basic_Training_-_Shotgun.lua
2
6111
-- Hedgewars Shotgun Training -- Scripting Example -- Lines such as this one are comments - they are ignored -- by the game, no matter what kind of text is in there. -- It's also possible to place a comment after some real -- instruction as you see below. In short, everything -- following "--" is ignored. -----------...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Port_Windurst/npcs/Kameel.lua
30
1272
----------------------------------- -- Area: Port Windurst -- NPC: Kameel -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
mortal-city/zedspambotteleg
plugins/inrealm.lua
850
25085
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/mining.lua
6
17208
------------------------------------------------------------------------------------------ -- Mining 2.0 -- Note: When implementing new zones, ensure there are more mining point locations -- than there are mining points for the zone. -----------------------------------------------------------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Wajaom_Woodlands/TextIDs.lua
3
1135
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6386; -- Obtained: <item>. GIL_OBTAINED = 6387; -- Obtained <number> gil. KEYITEM_OBTAINED = 6389; -- Obtained...
gpl-3.0
SinisterRectus/Discordia
libs/containers/Emoji.lua
1
4087
--[=[ @c Emoji x Snowflake @d Represents a custom emoji object usable in message content and reactions. Standard unicode emojis do not have a class; they are just strings. ]=] local Snowflake = require('containers/abstract/Snowflake') local Resolver = require('client/Resolver') local ArrayIterable = require('iterables...
mit
iovisor/bcc
src/lua/bcc/vendor/json.lua
4
7254
--[[ json.lua A compact pure-Lua JSON library. This code is in the public domain: https://gist.github.com/tylerneylon/59f4bcf316be525b30ab The main functions are: json.stringify, json.parse. ## json.stringify: This expects the following to be true of any tables being encoded: * They only have string or number key...
apache-2.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/script/ui/DeprecatedUIFunc.lua
39
7289
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of ccui.Text will be deprecated begin local TextDeprecated = { } function TextDeprecated.setText(self, str) deprecatedTip("ccui.Text:setT...
gpl-3.0
majidhp888/Hack
plugins/media.lua
376
1679
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Waters_[S]/npcs/Kleh_Engyumoh.lua
3
1063
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kleh Engyumoh -- Type: Standard NPC -- @zone 94 -- !pos -54.962 -4.5 57.701 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
petoju/awesome
lib/awful/layout/suit/fair.lua
3
3059
--------------------------------------------------------------------------- --- Fair layouts module for awful. -- -- @author Josh Komoroske -- @copyright 2012 Josh Komoroske -- @module awful.layout --------------------------------------------------------------------------- -- Grab environment we need local ipairs = ip...
gpl-2.0
openwrt-es/openwrt-luci
libs/luci-lib-nixio/docsrc/nixio.File.lua
173
4457
--- Large File Object. -- Large file operations are supported up to 52 bits if the Lua number type is -- double (default). -- @cstyle instance module "nixio.File" --- Write to the file descriptor. -- @class function -- @name File.write -- @usage <strong>Warning:</strong> It is not guaranteed that all data -- in the bu...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/abilities/celerity.lua
4
1161
----------------------------------- -- Ability: Celerity -- Reduces the casting time and the recast time of your next white magic spell by 50%. -- Obtained: Scholar Level 25 -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first. -- -- Level |Charges |Recharge Time per...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/culinarians_belt.lua
12
1180
----------------------------------------- -- ID: 15451 -- Item: Culinarian's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Alchemy Skill +3 ----------------------------------------- require("scripts...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua
10
1473
-------------------------------- -- @module LinearLayoutParameter -- @extend LayoutParameter -- @parent_module ccui -------------------------------- -- Sets LinearGravity parameter for LayoutParameter.<br> -- see LinearGravity<br> -- param LinearGravity -- @function [parent=#LinearLayoutParameter] setGravity -- @par...
gpl-3.0
iovisor/bcc
src/lua/bcc/sym.lua
3
1861
--[[ Copyright 2016 GitHub, Inc 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 Unless required by applicable law or agreed to in writing, software distr...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/mobskills/pl_heavy_stomp.lua
33
1168
--------------------------------------------- -- Heavy Stomp -- -- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown radial -- Notes: Paralysis effect has a very long duration. ---------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua
3
1052
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Cannau -- Type: Escort NPC -- !pos 419.838 -56.999 -114.870 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldiem...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Norg/npcs/Edal-Tahdal.lua
3
4555
----------------------------------- -- Area: Norg -- NPC: Edal-Tahdal -- Starts and Finishes Quest: Trial by Water -- !pos -13 1 -20 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glob...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Quicksand_Caves/npcs/HomePoint#1.lua
3
1265
----------------------------------- -- Area: Quicksand_Caves -- NPC: HomePoint#1 -- !pos -984 17 -289 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Quicksand_Caves/TextIDs"); require("scripts/globals/...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Abyssea-Attohwa/npcs/qm10.lua
3
1342
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm10 (???) -- Spawns Maahes -- !pos ? ? ? 215 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Ifrits_Cauldron/npcs/relic.lua
3
1871
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: <this space intentionally left blank> -- !pos -18 40 20 205 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Ifrits_Cauldron/TextIDs"); --...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/slice_of_ziz_meat.lua
12
1349
----------------------------------------- -- ID: 5581 -- Item: Slice of Ziz Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +4 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Lower_Jeuno/npcs/Mataligeat.lua
3
1794
----------------------------------- -- Area: Lower Jeuno -- NPC: Mataligeat -- Standard Info NPC -- !pos -24 0 -60 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Windurst-Jeuno_Airship/TextIDs.lua
8
1084
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6386; -- Obtained: <item> GIL_OBTAINED = 6387; -- Obtained <number> gil KEYITEM_OBTAINED = 6389; -- Obtain...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Windurst/npcs/Nine_of_Clubs.lua
3
1051
----------------------------------- -- Area: Port Windurst -- NPC: Nine of Clubs -- Type: Standard NPC -- @zone 240 -- !pos -229.699 -9 185.686 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -------------...
gpl-3.0
bttscut/skynet
test/testrediscluster.lua
19
3400
local skynet = require "skynet" local rediscluster = require "skynet.db.redis.cluster" local test_more = ... -- subscribe mode's callback local function onmessage(data,channel,pchannel) print("onmessage",data,channel,pchannel) end skynet.start(function () local db = rediscluster.new({ {host="127.0.0.1",port=7000...
mit
jeffchao/hedgewars-accessible
Hedgewars.app/Contents/Resources/hedgewars/Data/Locale/zh_CN.lua
2
6620
locale = { ["!!!"] = "!!!", ["A game of luck"] = "运气游戏", ["Aiming Practice"] = "瞄准练习", --火箭筒、霰弹枪、狙击枪 ["Bat balls at your enemies and|push them into the sea!"] = "发射棒球将敌人击打入水", ["Bat your opponents through the|baskets and out of the map!"] = "把敌人击出场地——对准栏框", ["Bazooka Training"] = "火箭...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Castle_Zvahl_Keep/mobs/Viscount_Morax.lua
3
1053
----------------------------------- -- Area: -- MOB: Viscount_Morax ----------------------------------- ----------------------------------- require("scripts/globals/titles"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; -----------------...
gpl-3.0
pspk/tableview
searchField.lua
2
3665
-- Copyright (C) 2013 Corona Inc. All Rights Reserved. -- File: newSearchField unit test. local widget = require( "widget" ) local storyboard = require( "storyboard" ) local scene = storyboard.newScene() local USE_ANDROID_THEME = false local USE_IOS7_THEME = true local isGraphicsV1 = ( 1 == display.getDefault( "graph...
mit
moteus/lua-lluv
examples/luasocket/coecho.lua
4
1159
local uv = require "lluv" local ut = require "lluv.utils" local socket = require "lluv.luasocket" ---------------------------------------------------------------------------- local function CreateServer(ip, port, cb) local function on_connect(srv, err) if err then return cb(nil, err) end local cli, ...
mit
mzguanglin/LuCI
modules/admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua
84
1922
--[[ 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
RebootRevival/FFXI_Test
scripts/zones/Bibiki_Bay/npcs/Warmachine.lua
3
1997
----------------------------------- -- Area: Bibiki Bay -- NPC: Warmachine -- @zone 4 -- !pos -345.236 -3.188 -976.563 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Bibiki_...
gpl-3.0
tommo/mock
mock/gfx/camera/StereoCamera.lua
2
3237
module 'mock' CLASS: StereoCamera ( Camera ) :MODEL{ Field '----'; Field 'eyeDistance'; } registerComponent( 'StereoCamera', StereoCamera ) function StereoCamera:_initDefault() self.eyeDistance = 10 self.leftEyeViewport = MOAIViewport.new() self.leftEyeCamera = MOAICamera.new() self.rightEyeViewport = M...
mit
RebootRevival/FFXI_Test
scripts/zones/East_Ronfaure/TextIDs.lua
3
1413
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6402; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6408; -- Obtained: <item>. GIL_OBTAINED = 6409; -- Obtained <number> gil. KEYITEM_OBTAINED = 6411; -- Obt...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Northern_San_dOria/npcs/HomePoint#3.lua
3
1271
----------------------------------- -- Area: Northern San dOria -- NPC: HomePoint#3 -- !pos 70 -0.2 10 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/g...
gpl-3.0
petoju/awesome
lib/naughty/layout/box.lua
2
11668
---------------------------------------------------------------------------- --- A notification popup widget. -- -- By default, the box is composed of many other widgets: -- --@DOC_wibox_nwidget_default_EXAMPLE@ -- -- @author Emmanuel Lepage Vallee &lt;elv1313@gmail.com&gt; -- @copyright 2017 Emmanuel Lepage Vallee -- ...
gpl-2.0
rafradek/wire
lua/wire/client/hlzasm/hc_syntax.lua
8
48757
-------------------------------------------------------------------------------- -- ZASM2 compatible syntax -------------------------------------------------------------------------------- -- Syntax lookup for vector definitions local VectorSyntax = { FLOAT = { {} }, SCALAR = { {} }, VECTOR1F = { {"x"} }...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/items/aileens_delight.lua
12
1748
----------------------------------------- -- ID: 5674 -- Item: Aileen's Delight -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP +50 -- MP +50 -- STR +4 -- DEX +4 -- VIT +4 -- AGI +4 -- INT +4 -- MND +4 -- CHR +4 -- MP recovered while healing +2 -----------------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Norg/npcs/Heiji.lua
3
3246
----------------------------------- -- Area: Norg -- NPC: Heiji -- Starts and Ends Quest: Like a Shining Subligar -- !pos -1 -5 25 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
djianq/Game
lualib/logic/setting/attrchange_cfg.lua
1
4186
return { ["AttrCfg"] = { ["AllDamageAdd"] = { ["Priority"] = 30, ["ShowName"] = "全系伤害", }, ["AllDamageReduce"] = { ["Priority"] = 31, ["ShowName"] = "受伤减免", }, ["BlockFactor"] = { ["Priority"] = 22, ["ShowName"] = "招架减伤", }, ["Crit"] = { ["Priority"] = 19, ["ShowName"] = "暴击", ...
mit
petoju/awesome
tests/examples/text/gears/object/properties.lua
6
1286
--DOC_GEN_OUTPUT --DOC_HIDE local gears = require("gears") --DOC_HIDE -- Create a class for this object. It will be used as a backup source for -- methods and accessors. It is also possible to set them directly on the -- object. local class = {} function class:get_foo() print("In get foo", self._foo or "bar") ...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Phomiuna_Aqueducts/npcs/_0rm.lua
3
1338
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _0rm (Oil lamp) -- Notes: Opens South door at J-7 from inside. -- !pos -63.703 -26.227 83.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
Qazzian/ufoai_suspend
contrib/installer/mojosetup/scripts/localization.lua
5
3621
-- MojoSetup; a portable, flexible installation application. -- -- Please see the file LICENSE.txt in the source's root directory. -- -- This file written by Ryan C. Gordon. -- NOTE: If you care about Unicode or ASCII chars above 127, this file _MUST_ -- be UTF-8 encoded! If you think you're using a certain high-as...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/items/cutlet_sandwich.lua
12
1739
----------------------------------------- -- ID: 6396 -- Item: cutlet_sandwich -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- INT -7 -- Fire resistance +20 -- Attack +20% (cap 120) -- Ranged Attack +20% (cap 120) ----------------------------------------- require("scri...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Quicksand_Caves/mobs/Centurio_IV-VII.lua
11
1351
----------------------------------- -- Area: Quicksand Caves -- MOB: Centurio IV-VII -- Pops in Bastok mission 8-1 "The Chains that Bind Us" ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/Text...
gpl-3.0
tgserver2018/Tarfand.farsi
libs/url.lua
1
8072
-- کد های پایین در ربات نشان داده نمیشوند — https://t.me/SaMaN_SaNstar2017 — @MeGaNet_sbot — @SaMaN_SaNtori — @SaMaN_SaNstar2017 local string = require("string") local base = _G local table = require("table") local Url={} Url._VERSION = "URL 1.0.2" function Url.escape(s) return string.gsub(s, "([^A-Za-z0-9_])", ...
gpl-3.0
jyggen/storytime
Roll.lua
1
4482
local addonName = "Storytime" local Core = LibStub("AceAddon-3.0"):GetAddon("Storytime") local Roll = Core:NewModule("Roll", "AceComm-3.0", "AceSerializer-3.0") Roll.Allowed = false Roll.InProgress = false Roll.History = {} Roll.Owner = nil Roll.Results = {} Roll.Type = nil function Roll...
mit
RebootRevival/FFXI_Test
scripts/zones/Xarcabard/npcs/Tememe_WW.lua
3
3321
----------------------------------- -- Area: Xarcabard -- NPC: Tememe, W.W. -- Type: Border Conquest Guards -- !pos -133.678 -22.517 112.224 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/weaponskills/herculean_slash.lua
18
1592
----------------------------------- -- Herculean Slash -- Great Sword weapon skill -- Skill Level: 290 -- Paralyzes target. Duration of effect varies with TP. -- Aligned with the Snow Gorget, Thunder Gorget & Breeze Gorget. -- Aligned with the Snow Belt, Thunder Belt & Breeze Belt. -- Element: Ice -- Modifiers: VIT:60%...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua
19
3656
----------------------------------- -- Area: The Shrine of Ru'Avitau -- MOB: Kirin ----------------------------------- package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil; ----------------------------------- require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ); require( "scripts/globals/titles"...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Upper_Jeuno/npcs/Sibila-Mobla.lua
17
1382
----------------------------------- -- Area: Upper Jeuno -- NPC: Sibila-Mobla -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); -------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Apollyon/npcs/Radiant_Aureole.lua
3
6118
----------------------------------- -- Area: Appolyon -- NPC: Radiant_Aureole -- !pos ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/...
gpl-3.0
mortal-city/zedspambotteleg
plugins/inpm.lua
1114
3008
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/abilities/spirit_link.lua
4
2728
----------------------------------- -- Ability: Spirit Link -- Sacrifices own HP to heal Wyvern's HP. -- Obtained: Dragoon Level 25 -- Recast Time: 1:30 -- Duration: Instant ----------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------- -- onA...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/abilities/light_maneuver.lua
4
1867
----------------------------------- -- Ability: Light Maneuver -- Enhances the effect of light attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua
3
2483
----------------------------------- -- Area: Behemoth's Dominion -- HNM: King Behemoth ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ------------------------------...
gpl-3.0
N3MDR-CoderTeam/Antispam
bot/bot.lua
10
21764
tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() our_id = 123456789 -- Put Here Your Bot ID URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (loadfile "./libs/JSON.lua")() mim...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/lionhead.lua
12
1323
----------------------------------------- -- ID: 4312 -- Item: lionhead -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/abilities/thunder_maneuver.lua
4
1877
----------------------------------- -- Ability: Thunder Maneuver -- Enhances the effect of thunder attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/light_carol.lua
27
1535
----------------------------------------- -- Spell: Light Carol -- Increases light resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Qufim_Island/npcs/Sasa_IM.lua
3
3330
----------------------------------- -- Area: Qufim Island -- NPC: Sasa, I.M. -- Type: Outpost Conquest Guards -- !pos -245.366 -20.344 299.502 126 ------------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ------------------------------------- require("scripts/globals/conquest")...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/bluemagic/digest.lua
1
1782
----------------------------------------- -- Spell: Digest -- Steals an enemy's HP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 36 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Magic Bursts ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Selbina/npcs/Graegham.lua
3
1160
----------------------------------- -- Area: Selbina -- NPC: Graegham -- Guild Merchant NPC: Fishing Guild -- !pos -12.423 -7.287 8.665 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/RaKaznar_Inner_Court/npcs/HomePoint#1.lua
3
1281
----------------------------------- -- Area: RaKaznar_Inner_Court -- NPC: HomePoint#1 -- !pos 757 120 17.5 276 ----------------------------------- package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Inner_Court/TextIDs"); require("s...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/abilities/role_reversal.lua
4
1201
----------------------------------- -- Ability: Role Reversal -- Swaps Master's current HP with Automaton's current HP. -- Obtained: Puppetmaster Level 75 -- Recast Time: 2:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/...
gpl-3.0
abbasgh12345/extremenew2
plugins/anti_chat.lua
62
1069
antichat = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_chat'] then if data[tostring(msg.to.id)]['...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Abyssea-Vunkerl/npcs/qm1.lua
3
1346
----------------------------------- -- Zone: Abyssea-Vunkerl -- NPC: qm1 (???) -- Spawns Khalkotaur -- !pos ? ? ? 217 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[...
gpl-3.0
liwenzhong/Atlas
lib/active-queries.lua
40
3780
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
wskplho/sl4a
lua/ase/android/init.lua
20
2421
-- Copyright (C) 2009 Google Inc. -- -- 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 -- -- Unless required by applicable law or agreed to in ...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/spells/bluemagic/queasyshroom.lua
31
1990
----------------------------------------- -- Spell: Queasyshroom -- Additional effect: Poison. Duration of effect varies with TP -- Spell cost: 20 MP -- Monster Type: Plantoids -- Spell Type: Physical (Piercing) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 8 -- Casting Time: 2 seconds -- Recast Time: 15 ...
gpl-3.0