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
dkulagin87/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
HuangYuNan/thcsvr
expansions/script/c50142.lua
1
2342
--古鹰型重巡洋舰-古鹰 function c50142.initial_effect(c) local temp = 0 while temp<4 do c:RegisterFlagEffect(50200,0,0,0) temp = temp+1 end --summon with no tribute local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(50142,0)) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e2:SetType(E...
gpl-2.0
bn7/darkstar
scripts/zones/Crawlers_Nest/TextIDs.lua
7
1594
--- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6569; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6575; -- Obtained: <item>. GIL_OBTAINED = 6576; -- Obtained <number> gil. KEYITEM_OBTAINED = 6578; -- Obtaine...
gpl-3.0
reox/awesomerc
blingbling/tiled_graph.lua
1
11271
local helpers =require("blingbling.helpers") local string = require("string") local setmetatable = setmetatable local ipairs = ipairs local math = math local table = table local type=type local cairo = require "oocairo" local capi = { image = image, widget = widget } local layout = require("awful.widget.layout") ---A ...
gpl-3.0
shyamalschandra/vlc
share/lua/playlist/pluzz.lua
105
3740
--[[ $Id$ Copyright © 2011 VideoLAN Authors: Ludovic Fauvet <etix at l0cal dot com> 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 l...
lgpl-2.1
bn7/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Signpost.lua
13
1438
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Signpost ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
simonemainardi/ntopng
scripts/lua/hosts_geomap.lua
1
1436
-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "hosts" dofile(dirs.installdir .. "/sc...
gpl-3.0
bn7/darkstar
scripts/zones/La_Theine_Plateau/npcs/Chocobo_Tracks.lua
27
1348
----------------------------------- -- Area: La Theine Plateau -- NPC: Chocobo Tracks -- Involved in quest: Chocobo on the Loose! -- @pos -556 0 523 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/La_Th...
gpl-3.0
bn7/darkstar
scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua
30
4512
----------------------------------- -- Area: Periqia -- NPC: Excaliace ----------------------------------- require("scripts/zones/Periqia/IDs"); require("scripts/globals/pathfind"); local start = {-322,-16.5,380}; local startToChoice1 = { -320.349548, -16.046591, 379.684570 -318.312317, -16.046591, 379.5798...
gpl-3.0
bn7/darkstar
scripts/globals/spells/sacrifice.lua
33
1201
----------------------------------------- -- Spell: Sacrifice -- ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua
67
2805
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org> Copyright 2010 Manuel Munz <freifunk at somakoma dot de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with t...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/ipkg-ar71xx/luci-mod-admin-full/usr/lib/lua/luci/model/cbi/admin_system/startup.lua
67
2805
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org> Copyright 2010 Manuel Munz <freifunk at somakoma dot de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with t...
gpl-2.0
bn7/darkstar
scripts/zones/Throne_Room/mobs/Shadow_Lord.lua
23
5454
----------------------------------- -- Area: Throne Room -- MOB: Shadow Lord -- Mission 5-2 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMob...
gpl-3.0
bn7/darkstar
scripts/globals/items/plate_of_ic_pilav.lua
12
1953
----------------------------------------- -- ID: 5584 -- Item: plate_of_ic_pilav -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ranged ATT % 22 ...
gpl-3.0
bn7/darkstar
scripts/zones/Bastok_Mines/npcs/Rashid.lua
14
3726
----------------------------------- -- Area: Bastok Mines -- NPC: Rashid -- Type: Mission Giver -- @pos -8.444 -2 -123.575 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua
80
1878
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c21031.lua
1
2570
--迷途竹林 function c21031.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --token local g=Group.CreateGroup() g:KeepAlive() local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(21031,0)) e2:SetCategory(CA...
gpl-2.0
bn7/darkstar
scripts/globals/items/fried_popoto_+1.lua
12
1562
----------------------------------------- -- ID: 6273 -- Item: fried_popoto_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +35 -- VIT +3 -- Fire resistance +21 -- DEF +21% (cap 150) -- Subtle Blow +9 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
dark-al/rspamd
src/plugins/lua/ip_score.lua
1
11442
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
bsd-2-clause
shizhai/wprobe
staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/sys/iptparser.lua
60
10704
--[[ Iptables parser and query library (c) 2008-2009 Jo-Philipp Wich <xm@leipzig.freifunk.net> (c) 2008-2009 Steven Barth <steven@midlink.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 ...
gpl-2.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/base/luasrc/ccache.lua
82
1863
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
gpl-2.0
shizhai/wprobe
staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/ccache.lua
82
1863
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
gpl-2.0
bn7/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua
14
1056
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ragyaya -- Type: Standard NPC -- @zone 94 -- @pos -95.376 -3 60.795 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; --------...
gpl-3.0
bn7/darkstar
scripts/globals/items/meatloaf_+1.lua
12
1386
----------------------------------------- -- ID: 5690 -- Item: Meatloaf +1 -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Strength 6 -- Agility 2 -- Intelligence -3 -- Attack 18% Cap 95 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Harvesting_Point.lua
17
1103
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Yuhtunga_Jungle/TextIDs"); ---...
gpl-3.0
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Meta.lua
17
1397
----------------------------------- -- Area: Port San d'Oria -- NPC: Meta -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ------...
gpl-3.0
lipari/flux-core
src/bindings/lua/inspect.lua
10
8116
local inspect ={ _VERSION = 'inspect.lua 2.0.0', _URL = 'http://github.com/kikito/inspect.lua', _DESCRIPTION = 'human-readable representations of tables', _LICENSE = [[ MIT LICENSE Copyright (c) 2013 Enrique García Cota Permission is hereby granted, free of charge, to any person obtaining a ...
gpl-2.0
li-wl/kong
spec/03-plugins/24-rate-limiting/02-policies_spec.lua
2
2857
local uuid = require("kong.tools.utils").uuid local helpers = require "spec.helpers" local policies = require "kong.plugins.rate-limiting.policies" local timestamp = require "kong.tools.timestamp" describe("Plugin: rate-limiting (policies)", function() describe("cluster", function() local cluster_policy = polici...
apache-2.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[community]/bone_attach/bone_attach_c.lua
3
3535
function sendReadyMessage() triggerServerEvent("boneAttach_requestAttachmentData",root) end addEventHandler("onClientResourceStart",resourceRoot,sendReadyMessage) function getAttachmentData(ped,bone,x,y,z,rx,ry,rz) for element,att_ped in pairs(ped) do setElementCollisionsEnabled(element,false) attached_ped[eleme...
mit
Zariel/bollo
lib/AceDBOptions-3.0/AceDBOptions-3.0.lua
1
13880
--[[ $Id: AceDBOptions-3.0.lua 69511 2008-04-13 10:10:53Z nevcairiel $ ]] local ACEDBO_MAJOR, ACEDBO_MINOR = "AceDBOptions-3.0", 6 local AceDBOptions, oldminor = LibStub:NewLibrary(ACEDBO_MAJOR, ACEDBO_MINOR) if not AceDBOptions then return end -- No upgrade needed AceDBOptions.optionTables = AceDBOptions.optionTable...
bsd-3-clause
bn7/darkstar
scripts/globals/items/chocolate_cake.lua
12
1428
----------------------------------------- -- ID: 5633 -- Item: Chocolate Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- MP +3% (cap 90) -- HP Recovered while healing +1 -- MP Recovered while healing +6 ----------------------------------------- require("scripts/...
gpl-3.0
bn7/darkstar
scripts/globals/items/holy_bolt.lua
26
1227
----------------------------------------- -- ID: 18153 -- Item: Holy Bolt -- Additional Effect: Light Damage -- Bolt dmg is affected by light/dark staves and Chatoyant ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- o...
gpl-3.0
bn7/darkstar
scripts/zones/Port_Bastok/npcs/Paujean.lua
6
2587
----------------------------------- -- Area: Port Bastok -- NPC: Paujean -- Starts & Finishes Quest: Silence of the Rams -- @pos -93.738 4.649 34.373 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Bastok...
gpl-3.0
Asdonne/OpenRA
lua/stacktraceplus.lua
59
12006
-- tables local _G = _G local string, io, debug, coroutine = string, io, debug, coroutine -- functions local tostring, print, require = tostring, print, require local next, assert = next, assert local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs local error = error assert(debug, "debug table must be availa...
gpl-3.0
LuaDist2/kong
kong/mlcache.lua
5
11196
-- vim: st=4 sts=4 sw=4 et: local cjson = require "cjson.safe" local lrucache = require "resty.lrucache" local resty_lock = require "resty.lock" local now = ngx.now local fmt = string.format local sub = string.sub local find = string.find local huge = math.huge local...
apache-2.0
bn7/darkstar
scripts/zones/Konschtat_Highlands/mobs/Highlander_Lizard.lua
19
1385
----------------------------------- -- Area: Konschtat Highlands -- NM: Highlander Lizard ----------------------------------- require("scripts/globals/status"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitial...
gpl-3.0
Bilibili/vlc
share/lua/playlist/vimeo.lua
65
3213
--[[ $Id$ Copyright © 2009-2013 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) François Revol (revol@free.fr) Pierre Ynard 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 S...
gpl-2.0
mike22437120/sha2
hmac.lua
9
1137
--[[ HMAC implementation http://tools.ietf.org/html/rfc2104 http://en.wikipedia.org/wiki/HMAC hmac.compute(key, message, hash_function, blocksize, [opad], [ipad]) -> HMAC string, opad, ipad hmac.new(hash_function, block_size) -> function(message, key) -> HMAC string ]] local string = string local sha2 = requir...
mit
bestofkeeperbot/keeperbot
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/ActionEase.lua
7
1302
-------------------------------- -- @module ActionEase -- @extend ActionInterval -- @parent_module cc -------------------------------- -- brief Get the pointer of the inner action.<br> -- return The pointer of the inner action. -- @function [parent=#ActionEase] getInnerAction -- @param self -- @return ActionInterval...
mit
bn7/darkstar
scripts/globals/mobskills/trembling.lua
37
1114
--------------------------------------------- -- Trembling -- -- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel -- Type: Physical -- Wipes Shadows -- Range: 10' radial --------------------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
drspod/drScoreBadger
drScoreBadger.lua
1
15350
----------------------------------------------------------------------------------------------- -- Client Lua Script for DrScoreBadger -- Copyright (c) NCsoft. All rights reserved ----------------------------------------------------------------------------------------------- require "Window" ------------------...
bsd-2-clause
HuangYuNan/thcsvr
expansions/script/c23039.lua
1
1131
--风神之神德 function c23039.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,23039) e1:SetCost(c23039.cost) e1:SetTarget(c23039.target) e1:SetOperati...
gpl-2.0
dark-al/rspamd
src/plugins/lua/maillist.lua
3
8403
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
bsd-2-clause
simonemainardi/ntopng
scripts/lua/modules/alert_api.lua
1
1883
-- -- (C) 2014-17 - ntop.org -- --[[ This file contains an API the programmer can use to generate custom alerts ntopng alerts are a very generic concept that are represented using lua tables. The only two mandatory keys that must exist in every alert lua table are 'alert_level' and 'alert_type', respectively. The rema...
gpl-3.0
jhegg/wow-which-bosses-are-left
WhichBossesAreLeft/lib/LibDBIcon-1.0/LibDBIcon-1.0.lua
10
11712
--[[ Name: DBIcon-1.0 Revision: $Rev: 34 $ Author(s): Rabbit (rabbit.magtheridon@gmail.com) Description: Allows addons to register to recieve a lightweight minimap icon as an alternative to more heavy LDB displays. Dependencies: LibStub License: GPL v2 or later. ]] --[[ Copyright (C) 2008-2011 Rabbit This program is ...
mit
littlepush/PushUI
kernel/frames.lua
1
1656
local PushUISize, PushUIColor, PushUIStyle, PushUIAPI, PushUIConfig, PushUIFrames = unpack(select(2, ...)) PushUIFrames.__countByType = PushUIAPI.Map() PushUIFrames.__objectPoolByType = PushUIAPI.Map() PushUIFrames.MainFrame = CreateFrame("Frame", "PUIMainFrame", UIParent) function __generateNewObject...
mit
HuangYuNan/thcsvr
expansions/script/c23008.lua
1
2434
--现人神 东风谷早苗 function c23008.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c23008.spcon) e1:SetOperation(c23008.spop) c:RegisterEffect(e1) -...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua
78
1089
--[[ Luci configuration model for statistics - collectd interface plugin configuration (c) 2011 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://ww...
gpl-2.0
bn7/darkstar
scripts/globals/items/rice_ball.lua
12
1418
----------------------------------------- -- ID: 4405 -- Item: Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 10, -- Vit +2 -- Dex -1 -- hHP +1 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Def +50 ------------------------------------...
gpl-3.0
Guema/GuemUICastBars
CastBarZ_Config/Libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua
59
2966
--[[----------------------------------------------------------------------------- InlineGroup Container Simple container widget that creates a visible "box" with an optional title. -------------------------------------------------------------------------------]] local Type, Version = "InlineGroup", 21 local AceGUI = Li...
unlicense
bn7/darkstar
scripts/zones/Lower_Jeuno/npcs/Biora.lua
14
1036
----------------------------------- -- Area: Lower Jeuno -- NPC: Biora -- Type: Map Viewer -- @zone 245 -- @pos -28.768 -2 -11.300 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------...
gpl-3.0
gaoxiaojun/symphony
client/samples/test.app/main.lua
2
5864
local env = require('env') local uv = require('uv') local bundle = require('luvi').bundle -- Register the utils lib as a module bundle.register("utils", "utils.lua") local utils = require('utils') local dump = require('utils').dump local stdout = utils.stdout local function deepEqual(expected, actual, path) if ex...
bsd-3-clause
imjoehaines/Resty
main.lua
1
2102
---------------- -- Config ------ ---------------- local x, y = 0, -20 -- x & y positioning from the centre of the screen local fontSize = 12 -- size of the font local fontFlag = "OUTLINE" -- font decoration ("OUTLINE", "THICKOUTLINE" or "MONOCHROME") ---------------- local addon, ns = ... local play...
apache-2.0
li-wl/kong
kong/plugins/bodytoken/handler.lua
1
2191
local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local cjson = require "cjson" local changebody = require "kong.plugins.bodytoken.changebody" local req_get_headers = ngx.req.get_headers local pl_path = require "pl.path" local BodyTokenHandler = BasePlugin:extend() ...
apache-2.0
bn7/darkstar
scripts/zones/Ordelles_Caves/npcs/qm5.lua
14
1434
----------------------------------- -- Area: Ordelles Caves -- NPC: ??? (qm5) -- Involved In Quest: Dark Puppet -- @pos -92 -28 -70 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c13075.lua
1
5185
--赤色教授✿冈崎梦美 function c13075.initial_effect(c) c:SetUniqueOnField(1,0,1302170,LOCATION_MZONE) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux.FALSE) c:Reg...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c23194.lua
1
3177
--孤陋浅薄的人类✿东风谷早苗 function c23194.initial_effect(c) --summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(23194,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,23194) e1:SetCost(c23194.cost) e1:SetTarge...
gpl-2.0
krichter722/vlc
share/lua/playlist/anevia_streams.lua
112
3664
--[[ $Id$ Parse list of available streams on Anevia Toucan servers. The URI http://ipaddress:554/list_streams.idp describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify ...
lgpl-2.1
bn7/darkstar
scripts/globals/abilities/manifestation.lua
27
1202
----------------------------------- -- Ability: Manifestation -- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled. -- Obtained: Scholar Level 40 -- Recast Time: Stratagem Charge -- Duration: 1 compatible black magic spell or 60 seconds, whichev...
gpl-3.0
bbinet/GoIoT
apps/proto_designer/web/controller/tpl/download.lua
4
1809
local function get_tpl(name, appname) local templ = require 'shared.store.template' local cjson = require 'cjson.safe' local list = require 'shared.app.list' local app = list.find(appname) local app_path = app and app.path or 'admin/ir' local content, err = templ.download(app_path, name) return content, err en...
gpl-2.0
magamplus/test1
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
li-wl/kong
kong/plugins/sign/handler.lua
1
2016
local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local SignHandler = BasePlugin:extend() function SignHandler:new() SignHandler.super.new(self, "sign") end local function checksign(conf) if not conf.signname then ngx.log(ngx.ERR, "[sign] no conf.signnam...
apache-2.0
bn7/darkstar
scripts/globals/spells/bluemagic/mp_drainkiss.lua
2
1789
----------------------------------------- -- Spell: MP Drainkiss -- Steals an enemy's MP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: MP+5 -- Level: 42 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Magic Bursts ...
gpl-3.0
abbasgh12345/extremeseed
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
mamaddeveloper/sp
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
bn7/darkstar
scripts/zones/Dangruf_Wadi/npcs/Grounds_Tome.lua
30
1091
----------------------------------- -- Area: Dangruf Wadi -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tra...
gpl-3.0
bn7/darkstar
scripts/zones/Port_Windurst/npcs/Tokaka.lua
17
3001
----------------------------------- -- Area: Port Windurst -- NPC: Tokaka -- Starts & Finishes Repeatable Quest: Something Fishy ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/global...
gpl-3.0
NVMP/freeroam-gamemode
commands/gamemaster.lua
1
2068
local core = require("util/core"); local event_data = { x = 0, y = 0, z = 0, interior_cell = "", world_x = 0, world_y = 0, zone = 0, is_interior = false, active = false }; local function TPEvent( player ) if not event_data.active then return; end if event_data.is_interior then player:SetInteriorCel...
mit
CTSRD-SOAAP/chromium-42.0.2311.135
v8/tools/gcmole/gcmole.lua
26
13876
-- Copyright 2011 the V8 project authors. All rights reserved. -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are -- met: -- -- * Redistributions of source code must retain the above copyright -- notice, this list of ...
bsd-3-clause
bn7/darkstar
scripts/globals/weaponskills/power_slash.lua
25
1730
----------------------------------- -- Power Slash -- Great Sword weapon skill -- Skill level: 30 -- Delivers a single-hit attack. params.crit varies with TP. -- Modifiers: STR:60% ; VIT:60% -- 100%TP 200%TP 300%TP -- 1.0 1.0 1.0 ----------------------------------- require("scripts/globals/status...
gpl-3.0
bn7/darkstar
scripts/zones/FeiYin/npcs/Treasure_Chest.lua
17
3611
----------------------------------- -- Area: Fei'Yin -- NPC: Treasure Chest -- @zone 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/trea...
gpl-3.0
LuaDist/lua-sendmail
lua/sendmail.lua
1
10879
-- sendmail.lua v0.1.0 (2013-01) -- Copyright (c) 2013 Alexey Melnichuk -- -- 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 righ...
mit
yinjun322/quick-ng
quick/framework/cc/init.lua
19
2233
--[[ Copyright (c) 2011-2014 chukong-inc.com 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 to use, copy, modify, merge, publish, dis...
mit
bn7/darkstar
scripts/globals/items/flask_of_panacea.lua
70
1742
----------------------------------------- -- ID: 4163 -- Item: Panacea -- Item Effect: Removes any number of status effects ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCh...
gpl-3.0
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/TextBMFont.lua
12
2334
-------------------------------- -- @module TextBMFont -- @extend Widget -- @parent_module ccui -------------------------------- -- init a bitmap font atlas with an initial string and the FNT file -- @function [parent=#TextBMFont] setFntFile -- @param self -- @param #string fileName -- @return TextBMFont#TextBMFon...
mit
bn7/darkstar
scripts/zones/Windurst_Waters/npcs/Taajiji.lua
17
1798
----------------------------------- -- Area: Windurst Waters -- NPC: Taajiji -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/TextIDs"...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c22400.lua
1
1670
require "expansions/script/nef/nef" --幻想清行『雾之湖·夏』 function c22400.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_DRAW) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c22400.target) e1:SetOperation(c22400.activate) c:RegisterEffect(e1) end fun...
gpl-2.0
LuaDist2/kong
spec/03-plugins/11-basic-auth/02-api_spec.lua
4
9521
local cjson = require "cjson" local helpers = require "spec.helpers" describe("Plugin: basic-auth (API)", function() local consumer, admin_client setup(function() helpers.run_migrations() assert(helpers.start_kong()) admin_client = helpers.admin_client() end) teardown(function() if admin_clien...
apache-2.0
yinjun322/quick-ng
quick/samples/tests/src/tests/framework/timerTest.lua
8
1369
local net = require("framework.cc.net.init") local TimerTestScene = game.createSceneClass("TimerTestScene") function TimerTestScene:ctor() cc.FileUtils:getInstance():addSearchPath("src/") self:prepare({ description = "Please check console output" }) local items = { "Timer" } ...
mit
XJMLN/MTA-PSZ
resources/[PSZMTA]/[obiekty]/psz-plaza/zarzadzanie.lua
1
2107
local kino = false local scena = createColSphere(336.30,-1869.60,10.75,170) local ekran = { {347.10001,-1855.5,10.9,0,90,269.995}, {338.10001,-1855.5,10.9,0,90,269.995}, {329,10001,-1855.5,10.9,0,90,269.995}, {320.10001,-1855.5,10.9,0,90,269.995}, {320.10001,-1855.5,15,0,90,269.995}, {329.10001,-1855.5,15,0,90,26...
mit
aymanhaider/Demonic_bot
plugins/leave_ban.lua
1
1167
--[[ ____ ___ _____ | __ ) / _ \_ _| | _ \| | | || | | |_) | |_| || | |____/ \___/ |_| Demonic bot (BY @mostank_GT) --]] local function run(msg, matches) local data = load_data(_config.moderati...
gpl-2.0
bn7/darkstar
scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua
21
2312
----------------------------------- -- Area: Al'Taieu -- HNM: Absolute Virtue ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobSpawn Action ----------------------------------- funct...
gpl-3.0
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Marquie.lua
17
1400
----------------------------------- -- Area: Port San d'Oria -- NPC: Marquie -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
bn7/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
27
2925
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- @pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
li-wl/kong
spec/03-plugins/18-ip-restriction/01-schema_spec.lua
11
2373
local schemas_validation = require "kong.dao.schemas_validation" local schema = require "kong.plugins.ip-restriction.schema" local v = schemas_validation.validate_entity describe("Plugin: ip-restriction (schema)", function() it("should accept a valid whitelist", function() assert(v({whitelist = {"127.0.0.1", "1...
apache-2.0
bn7/darkstar
scripts/globals/items/icefish.lua
12
1322
----------------------------------------- -- ID: 4470 -- Item: icefish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
rystsov/perf-gryadka
etcd/benchmarks/cycles.lua
1
1621
local tid = 1 local threads = {} function setup(thread) thread:set("tid", tid) thread:set("key", "key" .. tid) thread:set("state", 0) -- 0 is read, 1 is create, 2 is write thread:set("ver", 0) -- version of the last read value thread:set("val", 0) -- initial or last read value table.insert(thread...
mit
bn7/darkstar
scripts/globals/weaponskills/freezebite.lua
23
1281
----------------------------------- -- Freezebite -- Great Sword weapon skill -- Skill Level: 100 -- Delivers an ice elemental attack. Damage varies with TP. -- Aligned with the Snow Gorget & Breeze Gorget. -- Aligned with the Snow Belt & Breeze Belt. -- Element: Ice -- Modifiers: STR:30% ; INT:20% -- 100%TP 200%TP ...
gpl-3.0
AnTiSpamTM/antispam
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...
agpl-3.0
DBReinitialized/SafeGuard
src/ServerScriptService/safeServer/modules/generalUtilities.module.lua
1
2703
--[[ SafeGuard Administration Services modules/generalUtilities.module.lua General utilities used around SafeGuard https://github.com/DBReinitialized/SafeGuard Changelog: [10102017 indev] - Started work [10152017 indev] - Implemented generalUtilities.modify ]] local logsManager, debugg...
mit
bn7/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Jailer_of_Temperance.lua
2
4501
---------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NM: Jailer of Temperance ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- OnMobSpawn Action -- Set AnimationSub to 0, put it in pot form -- Change it's...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c888194.lua
1
1280
--七曜-土金符「翡翠巨城」 function c888194.initial_effect(c) --damage local e4=Effect.CreateEffect(c) e4:SetDescription(aux.Stringid(888194,1)) e4:SetType(EFFECT_TYPE_ACTIVATE) e4:SetCode(EVENT_FREE_CHAIN) e4:SetOperation(c888194.operation) c:RegisterEffect(e4) end function c888194.operation(e,tp,eg,ep,ev,re,r,rp) local...
gpl-2.0
bn7/darkstar
scripts/globals/items/dish_of_spaghetti_ortolana.lua
12
1559
----------------------------------------- -- ID: 5658 -- Item: Dish of Spafhetti Ortolana -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Agility 2 -- Vitality 2 -- HP +30% Cap 70 -- StoreTP +6 -- Resist Blind +10 ----------------------------------------- require("scripts/globals/status...
gpl-3.0
bn7/darkstar
scripts/globals/spells/valor_minuet_ii.lua
27
1565
----------------------------------------- -- Spell: Valor Minuet II -- Grants Attack bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster...
gpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-core/abilities.lua
1
2383
--[[ Glowne zasoby - umiejetnosci @author Jakub 'XJMLN' Starzak <jack@pszmta.pl @package PSZMTA.psz-core @copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl> Nie mozesz uzywac tego skryptu bez mojej zgody. Napisz - byc moze sie zgodze na uzycie. ]]-- -- Spray ability function sprayFinish(plr) if (not plr or not i...
mit
LuaDist2/kong
kong/plugins/file-log/handler.lua
1
2234
-- Copyright (C) Mashape, Inc. local ffi = require "ffi" local cjson = require "cjson" local system_constants = require "lua_system_constants" local basic_serializer = require "kong.plugins.log-serializers.basic" local BasePlugin = require "kong.plugins.base_plugin" local ngx_timer = ngx.timer.at local O_CREAT = syste...
apache-2.0
Dysoch/DyWorld
DyComPa/data/entity/centrifuge.lua
1
2773
-- Centrifuge Edits -- data.raw["assembling-machine"]["centrifuge"].fluid_boxes = { { production_type = "input", picture = assembler3pipepictures(), covers = pipecoverspictures(), base_area = 2, base_level = -1, pipe_connections = {{ type="input", position = {-...
gpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[community]/freeroam/gui.lua
1
22239
g_gridListContents = {} -- info about binded gridlists g_openedWindows = {} -- {window1table = true, window2table = true, ...} GRIDLIST_UPDATE_CHUNK_SIZE = 10 classInfo = { wnd = {className = 'Window', padding = {25, 10, 10, 10}, isContainer = true}, tbp = {className = 'TabPanel'}, tab = {className = 'Tab'...
mit
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/ipkg-ar71xx/luci-base/usr/lib/lua/luci/http/protocol/mime.lua
88
2933
--[[ HTTP protocol implementation for LuCI - mime handling (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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....
gpl-2.0