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
DarkstarProject/darkstar
scripts/zones/King_Ranperres_Tomb/Zone.lua
9
1299
----------------------------------- -- -- Zone: King Ranperres Tomb (190) -- ----------------------------------- local ID = require("scripts/zones/King_Ranperres_Tomb/IDs") require("scripts/globals/conquest") require("scripts/globals/treasure") require("scripts/globals/zone") ----------------------------------- functi...
gpl-3.0
maikerumine/extreme_survival_mini
mods/es/alias.lua
1
2085
--Extreme Survival created by maikerumine -- Minetest 0.4.13 mod: "Extreme Survival" -- namespace: es --https://github.com/maikerumine --License: --~~~~~~~~ --Code: --(c) Copyright 2015 maikerumine; modified zlib-License --see "LICENSE.txt" for details. --Media(if not stated differently): --(c) Copyright (2014-2015) ...
lgpl-2.1
DarkstarProject/darkstar
scripts/globals/items/tonosama_rice_ball.lua
11
1150
----------------------------------------- -- ID: 4277 -- Item: Tonosama Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +15 -- Dex +3 -- Vit +3 -- Chr +3 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +50 -- Def +30 -- Double Attack...
gpl-3.0
DarkstarProject/darkstar
scripts/mixins/families/qutrub.lua
12
1861
require("scripts/globals/mixins") g_mixins = g_mixins or {} g_mixins.families = g_mixins.families or {} -- AnimationSub for Qutrub -- 0 = main weapon out, sub weapon sheathed -- 1 = main weapon broken, sub weapon sheathed -- 2 = main weapon broken, sub weapon out -- 3 = both weapons broken g_mixins.families.qutrub =...
gpl-3.0
abasshacker/abbasend
plugins/add_bot.lua
189
1492
--[[ Bot can join into a group by replying a message contain an invite link or by typing !add [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local function...
gpl-2.0
refe/esp8266-publish-to-mqtt
application.lua
1
1366
-- file : application.lua local module = {} m = nil local function ReadInVdd() invddmv = adc.readvdd33(); invddv = (invddmv / 1000); m:publish(config.ENDPOINT .. "vBat","vBat=" .. invddv,0,0) print("battery voltage: "..(invddv).." V"); -- return battery voltage in Volts end -- Sends a simple pin...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua
7
1407
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action -------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua
13
3327
----------------------------------- -- Area: Yhoator Jungle -- NPC: Etaj-Pohtaj, W.W. -- Outpost Conquest Guards -- @pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Kuftal_Tunnel/npcs/qm5.lua
13
1458
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Den_of_Rancor/IDs.lua
9
2686
----------------------------------- -- Area: Den_of_Rancor ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.DEN_OF_RANCOR] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/plate_of_octopus_sushi_+1.lua
11
1300
----------------------------------------- -- ID: 5694 -- Item: plate_of_octopus_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 15 (cap 72) -- Ranged Accuracy % 15 (cap 72) -- Resist Sleep +2 ----------------------------------------- require("scripts/globa...
gpl-3.0
botFree/botFree
writer.lua
3
16272
--[[ _ _ _ _ ___ ___ _ __ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __ / _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ / | (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Tahrongi_Canyon/npcs/Pucotte.lua
27
1724
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Pucotte -- Type: Chocobo Renter -- @pos 101.591 39.999 360.898 117 ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/serving_of_bavarois.lua
18
1192
----------------------------------------- -- ID: 5729 -- Item: serving_of_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
gdewald/Sputter
dev/premake/premake/src/tools/snc.lua
13
3387
-- -- snc.lua -- Provides Sony SNC-specific configuration strings. -- Copyright (c) 2010 Jason Perkins and the Premake project -- premake.snc = { } -- TODO: Will cfg.system == "windows" ever be true for SNC? If -- not, remove the conditional blocks that use this test. -- -- Set default tools -- premake.snc.cc...
mit
pouller/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
trap000d/lain
widget/imap.lua
2
3147
--[[ Licensed under GNU General Public License v2 * (c) 2013, Luca CPZ --]] local helpers = require("lain.helpers") local naughty = require("naughty") local wibox = require("wibox") local awful = require("awful") local string = string local type = type local tonumber = tonumber -- Mail IMAP...
gpl-2.0
Fenix-XI/Fenix
scripts/globals/items/slice_of_cockatrice_meat.lua
18
1349
----------------------------------------- -- ID: 4435 -- Item: slice_of_cockatrice_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 4 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Bastok/npcs/Rafaela.lua
13
1083
----------------------------------- -- Area: Port Bastok -- NPC: Rafaela -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------------------------------- -- onTrade Action -----------------------------...
gpl-3.0
trafferty/utils
lua/TTM_data_dissector.lua
1
11046
-- Wireshark Dissector for CINC TTM data -- Used for debugging TTM "delay" experienced -- during summer of 2017. This version was used -- after switch to UDP. -- -- T.Rafferty - 08/01/2017 -- print("Loading dissector for TTM data...") print("TTM host IP is "..TTM_Host_address) -- create a "protocol" for...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/weaponskills/tachi_rana.lua
10
1762
----------------------------------- -- Tachi Rana -- Great Katana weapon skill -- Skill Level: N/A -- Delivers a three-fold attack. params.accuracy varies with TP. Aftermath effect varies with TP. See Kogarasumaru. -- In order to obtain Tachi: Rana, the Unlocking a Myth (Samurai) quest must be completed. -- Will stack ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Grand_Palace_of_HuXzoi/Zone.lua
20
4585
----------------------------------- -- -- Zone: Grand_Palace_of_HuXzoi (34) -- ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"); requ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Davoi/npcs/_45g.lua
13
2253
----------------------------------- -- Area: Davoi -- NPC: Groaning Pond -- Used In Quest: Whence Blows the Wind -- @pos 101 0.1 60 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/coeurl_sub.lua
11
1650
----------------------------------------- -- ID: 5166 -- Item: coeurl_sub -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 10 -- Strength 5 -- Agility 1 -- Intelligence -2 -- Health Regen While Healing 1 -- Attack % 20 -- Attack Cap 75 -- Ranged ATT % 20 -- Ranged ATT Cap 75 -- Resist...
gpl-3.0
Giorox/AngelionOT-Repo
data/npc/scripts/A Sweaty Cyclops.lua
1
11914
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua
7
1500
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Hammer ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEnga...
gpl-3.0
sina021/bottg
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
jmachuca77/ardupilot
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-joey/scripts/mode.lua
18
1746
-- 0:Stabilize,1:Acro,2:AltHold,3:Auto,4:Guided,5:Loiter,6:RTL,7:Circle,9:Land,11:Drift,13:Sport,14:Flip,15:AutoTune,16:PosHold,17:Brake,18:Throw,19:Avoid_ADSB,20:Guided_NoGPS,21:Smart_RTL,22:FlowHold,23:Follow,24:ZigZag,25:SystemID,26:Heli_Autorotate -- and arming:is_armed() local MODE_AUTO = 3 local MODE_LOITER = 5...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/mobskills/Fulmination.lua
27
1503
--------------------------------------------- -- Fulmination -- -- Description: Deals heavy magical damage in an area of effect. Additional effect: Paralysis + Stun -- Type: Magical -- Utsusemi/Blink absorb: Wipes Shadows -- Range: 30 yalms --------------------------------------------- require("scripts/globals/set...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Metalworks/npcs/Olaf.lua
13
1174
----------------------------------- -- Area: Metalworks -- NPC: Olaf -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Metalworks/TextIDs"); ---------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/abilities/pets/heavenly_strike.lua
28
1332
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
MartinFrancu/BETS
BtEvaluator/sensor.lua
1
4239
--- . -- @module SensorManager local CustomEnvironment = Utils.CustomEnvironment local Logger = Utils.Debug.Logger local ProjectManager = Utils.ProjectManager local globalData = {} -- table that is persistent among all sensors (and all groups) and can be used to store persistent data local getGameFrame = Spring.Get...
mit
jkprg/prosody-modules
mod_pubsub_hub/mod_pubsub_hub.lua
32
6808
-- Copyright (C) 2011 - 2012 Kim Alvefur -- -- This file is MIT/X11 licensed. local http = require "net.http"; local formdecode = http.formdecode; local formencode = http.formencode; local http_request = http.request; local uuid = require "util.uuid".generate; local hmac_sha1 = require "util.hmac".sha1; local json_enc...
mit
marcel-sch/luci
applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua
73
1071
-- Copyright 2019 John Crispin <blogic@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.ltqtapi", package.seeall) function index() if not nixio.fs.access("/etc/config/telephony") then return end page = node("admin", "telephony") page.target = firstchild() page.title...
apache-2.0
Fenix-XI/Fenix
scripts/globals/spells/kaustra.lua
27
1401
-------------------------------------- -- Spell: Kaustra -- Consumes 20% of your maximum MP. Relentless -- dark damage slowly devours an enemy. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/gear_sets.lua
17
26319
----------------------------------- -- Gear sets -- Allows the use of gear sets with modifiers ----------------------------------- require("scripts/globals/status"); ----------------------------------- local matchtype = { any = 0, earring_weapon = 1, weapon_weapon = 2 } -- placeholder for unkno...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/gospel_of_the_lost.lua
12
1050
--------------------------------------------- -- Gospel_of_the_Lost -- -- Description: Self-heal (~1000 HP) and erase. -- Type: Healing -- Can be dispelled: N/A -- Utsusemi/Blink absorb: N/A -- Range: Self -- Notes: Accompanied by text -- "Bask in my glory..." -- "Mine existence...stretches into infinity..." ----------...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/turbofan.lua
11
1347
--------------------------------------------------- -- Turbofan -- Description: -- Type: Magical -- additional effect : Silence. --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") -----------------------...
gpl-3.0
csyonghe/slang
premake5.lua
1
56675
-- premake5.lua -- This file describes the build configuration for Slang so -- that premake can generate platform-specific build files -- using Premake 5 (https://premake.github.io/). -- -- To update the build files that are checked in to the Slang repository, -- run a `premake5` binary and specify the appropriate act...
mit
Fenix-XI/Fenix
scripts/zones/Upper_Jeuno/npcs/Champalpieu.lua
12
1225
----------------------------------- -- Area: Upper Jeuno -- NPC: Champalpieu -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
mrrigealijan/nnso
plugins/commands.lua
31
2957
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
mrrigealijan/nnso
plugins/arabic_lang.lua
5
21887
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua
13
3618
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Yahsra -- Type: Assault Mission Giver -- @pos 120.967 0.161 -44.002 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyi...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Aligi-Kufongi.lua
9
2270
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Aligi-Kufongi -- Title Change NPC -- !pos -23 -21 15 26 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 342 local titleInfo = { { cost = 200, title = ...
gpl-3.0
vsco/keys
VSCOKeys.lrdevplugin/halfway_server/socket/tp.lua
146
3608
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $ ----------------------------------------------------------------------------- --------------------------...
gpl-2.0
wangg12/fbcunn
fbcunn/ModelParallel.lua
8
6367
-- Copyright 2004-present Facebook. All Rights Reserved. require('cutorch') local withDevice = cutorch.withDevice --[[ `ModelParallel` copies inputs to all child modules, and runs disjoint parts of the model on separate devices. For example, consider a convolutional layer with a large number of filter banks. ModelPa...
bsd-3-clause
DarkstarProject/darkstar
scripts/zones/Aht_Urhgan_Whitegate/Shared.lua
14
5566
----------------------------------- -- Tables and Functions Used at Multiple Places within Aht Urgan Whitegate ----------------------------------- require("scripts/globals/settings"); -- Lua Set Initializer http://www.lua.org/pil/11.5.html function Set (list) local set = {} for _, l in ipairs(list) do set[l] =...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/effects/aftermath.lua
30
2749
----------------------------------- -- -- EFFECT_AFTERMATH -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if (effect:g...
gpl-3.0
ZACTELEGRAM1/-EMAM-ALI-1
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
soheildiscover/soheil
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/Bastok-Jeuno_Airship/npcs/Dereck.lua
12
1782
----------------------------------- -- Area: Bastok-Jeuno Airship -- NPC: Dereck -- Standard Info NPC ----------------------------------- local ID = require("scripts/zones/Bastok-Jeuno_Airship/IDs"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) local...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/armys_paeon_ii.lua
12
1373
----------------------------------------- -- Spell: Army's Paeon II -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end ...
gpl-3.0
syl0r/MySQLOO
lua/mysqloolib.lua
1
7971
--[==[ This library aims to provide an easier and less verbose way to use mysqloo Function overview: mysqloo.ConvertDatabase(database) Returns: the modified database Modifies an existing database to make use of the extended functionality of this library mysqloo.CreateDatabase(host, username, password [, da...
gpl-2.0
dualface/killpests
src/app/models/BugBase.lua
1
2185
local BugBase = class("BugBase") BugBase.BUG_TYPE_ANT = 1 BugBase.BUG_TYPE_SPIDER = 2 function BugBase:ctor() self.position_ = cc.p(0, 0) self.rotation_ = 0 self.type_ = BugBase.BUG_TYPE_ANT self.dist_ = 0 self.distPosition_ = cc.p(0, 0) self.speed_ = 1 self.touchRange_ = 0 end function ...
mit
oTibia/UnderLight-AK47
data/actions/scripts/liquids/great_mana.lua
2
1299
local MIN = 200 local MAX = 300 local EMPTY_POTION = 7635 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM...
gpl-2.0
8devices/carambola2-luci
applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
52
8016
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 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 htt...
apache-2.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/magnetite_cloud.lua
12
1868
----------------------------------------- -- Spell: Magnetite Cloud -- Deals earth damage to enemies within a fan-shaped area originating from the caster. Additional effect: Weight -- Spell cost: 86 MP -- Monster Type: Beastmen -- Spell Type: Magical (Earth) -- Blue Magic Points: 3 -- Stat Bonus: VIT+2 -- Level: 46 -- ...
gpl-3.0
L3E8S0S6E5N1OA5N6D3T8W5O/4568584657657
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
manylegged/outlaws-core
data/shaders.lua
1
13620
-- glsl shaders -- #version 120 -- format is { COMMON_HEADER, VERTEX_SHADER, FRAGMENT_SHADER, TEXTURE_NAME } -- implicit parameters: -- attribute vec4 Position; (vertex position) -- uniform mat4 Transform; (transformation matrix) -- uniform sampler2D ShaderTex; (texture sampler for specified texture_name); -- uniform...
mit
Fenix-XI/Fenix
scripts/zones/Valkurm_Dunes/TextIDs.lua
13
1947
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6406; -- Obtained: <item>. GIL_OBTAINED = 6407; -- Obtained <number> gil. KEYITEM_OBTAINED = 6409; -- Obtained...
gpl-3.0
mozilla-services/data-pipeline
heka/sandbox/filters/count_by_normalized_channel.lua
5
1568
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. --[[ Request Counts by Normalized Channel *Example Heka Configuration* .. code-block:: ini [CountByNormalizedC...
mpl-2.0
jibaro/torch7
torchcwrap.lua
8
17892
local wrap = require 'cwrap' local types = wrap.types types.Tensor = { helpname = function(arg) if arg.dim then return string.format("Tensor~%dD", arg.dim) else return "Tensor" end end, declare = function(arg...
bsd-3-clause
GameDevStudios/MrBallGuy2
assets/libs/loveframes/objects/internal/scrollable/scrollbutton.lua
6
3763
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- scrollbutton clas local newobject = loveframes.NewObject("scrollbutton", "loveframes_object_scrollbutton", true) --[[--------...
gpl-3.0
ehsan289/telegram-bot.group
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
fegimanam/Teleseed
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/items/ca_cuong.lua
11
1131
----------------------------------------- -- ID: 5474 -- Item: Ca Cuong -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity +2 -- Mind -4 -- Agility +2 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------------------...
gpl-3.0
aqasaeed/anti
plugins/plugins.lua
18
6205
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
MartinFrancu/BETS
BtUtils/debug_utils/logger.lua
1
8475
--- Allows user-configurable logging. -- The messages can be logged using `Spring.Echo`, logged into a common file, logged into separate files or ignored altogether. -- @module Logger -- @pragma nostrip -- tag @pragma makes it so that the name of the module is not stripped from the function names if(not BtUtils)then ...
mit
samael33/ASTPP
freeswitch/scripts/astpp/lib/astpp.callingcard.functions.lua
1
35475
------------------------------------------------------------------------------------- -- ASTPP - Open Source VoIP Billing Solution -- -- Copyright (C) 2016 iNextrix Technologies Pvt. Ltd. -- Samir Doshi <samir.doshi@inextrix.com> -- ASTPP Version 3.0 and above -- License https://www.gnu.org/licenses/agpl-3.0.html -- --...
agpl-3.0
soheildiscover/soheil
plugins/moderation.lua
336
9979
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then local username = v.username data[tostring(m...
gpl-2.0
ZACTELEGRAM1/-EMAM-ALI-1
plugins/moderation.lua
336
9979
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then local username = v.username data[tostring(m...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua
17
1371
----------------------------------- -- Area: Windurst Woods -- NPC: Mono Nchaa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"...
gpl-3.0
L3E8S0S6E5N1OA5N6D3T8W5O/4568584657657
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
abasshacker/abbasend
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua
30
1095
----------------------------------- -- Area: The Boyahda Tree -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Batallia_Downs/npcs/qm3.lua
13
1875
----------------------------------- -- Area: Batallia Downs -- NPC: qm3 (???) -- Involved in Mission 9-1 (San dOria) ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scrip...
gpl-3.0
ungarscool1/HL2RP
hl2rp/gamemode/modules/hungermod/sv_hungermod.lua
7
2841
local function HMPlayerSpawn(ply) ply:setSelfDarkRPVar("Energy", 100) end hook.Add("PlayerSpawn", "HMPlayerSpawn", HMPlayerSpawn) local function HMThink() for k, v in pairs(player.GetAll()) do if not v:Alive() then continue end v:hungerUpdate() end end timer.Create("HMThink", 10, 0, HMThink...
agpl-3.0
marcel-sch/luci
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i18n") re...
apache-2.0
Fenix-XI/Fenix
scripts/globals/weaponskills/victory_smite.lua
11
1661
----------------------------------- -- Victory Smite -- Hand-to-Hand Weapon Skill -- Skill Level: N/A -- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP. -- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped. -- Aligned with the Light Gorget, Breez...
gpl-3.0
tcatm/luci
modules/luci-base/luasrc/ltn12.lua
84
8954
--[[ LuaSocket 2.0.2 license Copyright � 2004-2007 Diego Nehab 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, me...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua
9
1417
----------------------------------- -- Area: Northern San d'Oria -- NPC: Heruze-Moruze -- Involved in Mission: 2-3 Windurst -- !pos -56 -3 36 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); ---...
gpl-3.0
davidbz/trafficserver
plugins/lua/example/test_intercept.lua
17
1401
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
apache-2.0
DarkstarProject/darkstar
scripts/zones/The_Ashu_Talif/IDs.lua
12
3612
----------------------------------- -- Area: The_Ashu_Talif ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.THE_ASHU_TALIF] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Ship_bound_for_Selbina/Zone.lua
13
1637
----------------------------------- -- -- Zone: Ship_bound_for_Selbina (220) -- ----------------------------------- package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zone...
gpl-3.0
br101/packages
net/acme/files/acme-cbi.lua
11
5101
--[[ LuCI - Lua Configuration Interface Copyright 2016 Toke Høiland-Jørgensen <toke@toke.dk> # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 3 of the License, or (at your option...
gpl-2.0
Fenix-XI/Fenix
scripts/globals/items/chunk_of_homemade_cheese.lua
18
1187
----------------------------------------- -- ID: 5225 -- Item: chunk_of_homemade_cheese -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Defense 40 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
dualface/killpests
src/framework/cc/uiloader/UILoaderUtilitys.lua
9
2025
local UILoaderUtilitys = {} function UILoaderUtilitys.loadTexture(plist, png) if UILoaderUtilitys.isNil(plist) then return end local fileUtil fileUtil = cc.FileUtils:getInstance() local fullPath = fileUtil:fullPathForFilename(plist) local fullPng = fileUtil:fullPathForFilename(png) -- UILoaderUtilitys.addSe...
mit
Fenix-XI/Fenix
scripts/zones/Windurst_Walls/npcs/Shantotto.lua
12
8600
----------------------------------- -- Area: Windurst Walls -- NPC: Shantotto -- @pos 122 -2 112 239 -- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually. ----------------------------------- package.loaded["scripts/zones/Windurst_Wall...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Abyssea-Tahrongi/IDs.lua
12
5067
----------------------------------- -- Area: Abyssea-Tahrongi ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.ABYSSEA_TAHRONGI] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, --...
gpl-3.0
soheildiscover/soheil
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/items/roast_pipira.lua
11
1285
----------------------------------------- -- ID: 4538 -- Item: roast_pipira -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 3 -- Mind -3 -- Attack % 14 -- Attack Cap 75 -- Ranged ATT % 14 -- Ranged ATT Cap 75 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/RoMaeve/mobs/Martinet.lua
11
1491
----------------------------------- -- Area: RoMaeve -- NM: Martinet ----------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onMobInitialize(mob) mob:setMobMod(dsp.mobMod.AUTO_SPIKES, 1) ...
gpl-3.0
theFox6/working_villages
working_villagers/job_coroutines.lua
1
1336
local job_coroutines = {} local commands = { ---command to suspend villagers job -- expected values after this: -- * reason #string -- * the reason for suspending to show in infotext pause = "pause the villagers job", } job_coroutines.commands = commands local log = working_villages.require("log") functi...
mit
Fenix-XI/Fenix
scripts/zones/Giddeus/npcs/HomePoint#1.lua
27
1248
----------------------------------- -- Area: Giddeus -- NPC: HomePoint#1 -- @pos -132 -3 -303 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Giddeus/TextIDs"); require("scripts/globals/homepoint"); ----------...
gpl-3.0
SamuelePilleri/sysdig
userspace/sysdig/chisels/stderr.lua
6
2756
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without e...
gpl-2.0
perfectstrong/Puzzle17
mainGame.lua
1
13738
local composer = require( "composer" ) local globalData = require("globalData") local color = globalData.defaultColor local widget = require("widget") local scene = composer.newScene() -- ----------------------------------------------------------------------------------- -- Code outside of the scene event functions b...
mit
Fenix-XI/Fenix
scripts/zones/Cloister_of_Storms/bcnms/trial_by_lightning.lua
30
2230
----------------------------------- -- Area: Cloister of Storms -- BCNM: Trial by Lightning ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("script...
gpl-3.0
elapuestojoe/survive
resources/quicklua/marmalade/QCrypto.lua
6
3459
--[[/* * (C) 2012-2013 Marmalade. * * 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,...
mit
DarkstarProject/darkstar
scripts/globals/mobskills/chemical_bomb.lua
12
1125
--------------------------------------------- -- Chemical_Bomb -- -- Description: slow + elegy --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") --------------------------------------------- function onMobSkillC...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Port_Windurst/npcs/Guruna-Maguruna.lua
12
1084
----------------------------------- -- Area: Port Windurst -- NPC: Guruna-Maguruna -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Port_Windurst/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock =...
gpl-3.0