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 |
|---|---|---|---|---|---|
hurricup/WoW-Ace3 | AceTimer-3.0/AceTimer-3.0.lua | 31 | 9798 | --- **AceTimer-3.0** provides a central facility for registering timers.
-- AceTimer supports one-shot timers and repeating timers. All timers are stored in an efficient
-- data structure that allows easy dispatching and fast rescheduling. Timers can be registered
-- or canceled at any time, even from within a running ... | bsd-3-clause |
salamader/ffxi-a | scripts/globals/items/dragon_fruit.lua | 3 | 1087 | -----------------------------------------
-- ID: 5662
-- Item: Dragon Fruit
-- Food Effect: 5 Mins, All Races
-----------------------------------------
-- Intelligence 4
-- Agility -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/RuLude_Gardens/npcs/_6r9.lua | 2 | 3072 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Audience Chamber
-- Involved in Mission: Magicite
-- @pos 0 -5 66 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");... | gpl-3.0 |
jb1717/Algorithm-Implementations | Knuth_Morris_Pratt/Lua/Yonaba/kmp.lua | 26 | 1219 | -- Knuth-Morris-Pratt string searching algorithm implementation
-- See: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
local function kmp_table(pattern)
local result = {}
for i = 1, #pattern+1,1 do
local j = i
while true do
if j == 1 then
result[#result + 1] = 1
... | mit |
langzhining/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 |
poire-z/koreader | frontend/document/koptinterface.lua | 4 | 50999 | --[[--
Interface to k2pdfoptlib backend.
--]]
local CacheItem = require("cacheitem")
local CanvasContext = require("document/canvascontext")
local DataStorage = require("datastorage")
local DEBUG = require("dbg")
local DocCache = require("document/doccache")
local Document = require("document/document")
local FFIUtil ... | agpl-3.0 |
salamader/ffxi-a | scripts/zones/Cloister_of_Gales/bcnms/carbuncle_debacle.lua | 2 | 1603 | -----------------------------------
-- Area: Cloister of Gales
-- Name: Carbuncle Debacle
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Cloister_of_Gales/TextIDs");
require("scripts/globals/settings");
r... | gpl-3.0 |
fegimanam/bbb | plugins/admin.lua | 60 | 6680 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
pm234md/sbbs | plugins/savefile.lua | 9 | 1266 | --Created by: @janlou & @Alirezame
--Powered by: @SUDO_TM & @AdvanTM
--⚠️CopyRight all right reserved⚠️
local function savefile(extra, success, result)
local msg = extra.msg
local name = extra.name
local adress = extra.adress
local receiver = get_receiver(msg)
if success then
local file = './'..adress..'... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/serving_of_patriarch_sautee.lua | 3 | 1192 | -----------------------------------------
-- ID: 5677
-- Item: Serving of Patriarch Sautee
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP 60
-- Mind 7
-- MP Recovered While Healing 7
-----------------------------------------
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
EvilHero90/OTChronos | data/spells/scripts/attack/curse.lua | 27 | 1206 | local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_SMALLCLOUDS)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
local condition = createConditionObject(CONDITION_CURSED)
setConditionParam(condition,... | gpl-2.0 |
nemerle/Segs | Data/scripts/City_02_01/Spawndefs/5th_Steel.spawndef.lua | 3 | 1736 | --This is a rank table
--There could be multiple tables to generate spawns from
local Fifth_Ranks_01 = {
["Minions"] = {
"5thNight_00", "5thNight_01",
},
["Lieutenants"] = {
"5thUber_40",
},
}
--== PROSELYTIZE ==--
Proselytize_5thColumn_D3_V0 = {
["Markers"] = {
["Enco... | bsd-3-clause |
Alathad/j-vfm | plugins/textphoto.lua | 16 | 1343 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ text photo: تحويل الصورة الى ملصق ▀▄ ▄▀
▀▄... | gpl-2.0 |
jinshiyi11/QuickTest | src/framework/cc/ui/UIScrollView.lua | 1 | 25678 |
--[[
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, pub... | apache-2.0 |
salamader/ffxi-a | scripts/zones/Aht_Urhgan_Whitegate/npcs/Bajahb.lua | 3 | 1237 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Bajahb
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Riverne-Site_B01/npcs/qm2.lua | 2 | 1387 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: ??? (qm2)
-- @zone 29
-- @pos -517.137, 0.094, 689.199
-- Quest: Spice Gals
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
1st8/prosody-modules | mod_compat_muc_admin/mod_compat_muc_admin.lua | 32 | 11261 | local st = require "util.stanza";
local jid_split = require "util.jid".split;
local jid_bare = require "util.jid".bare;
local jid_prep = require "util.jid".prep;
local log = require "util.logger".init("mod_muc");
local muc_host = module:get_host();
if not hosts[muc_host].modules.muc then -- Not a MUC host
module:log(... | mit |
CapsAdmin/goluwa | core/lua/modules/nattlua/test/nattlua/analyzer/generics.lua | 1 | 4313 | local T = require("test.helpers")
local analyze = T.RunCode
analyze[=[
-- without literal event_name
local type declared = {}
local events = {}
local analyzer function FunctionFromTuples(arg: any, ret: any)
if arg.Type ~= "tuple" then arg = types.Tuple({arg}) end -- TODO
if ret.Type... | gpl-3.0 |
moltafet35/seek | plugins/ingroup.lua | 202 | 31524 | 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
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
wuhuatianbao007/orange | orange/plugins/stat/stat.lua | 3 | 3278 | local tonumber = tonumber
local STAT_LOCK = "STAT_LOCK"
local KEY_START_TIME = "START_TIME"
local KEY_TOTAL_COUNT = "TOTAL_REQUEST_COUNT"
local KEY_TOTAL_SUCCESS_COUNT = "TOTAL_SUCCESS_REQUEST_COUNT"
local KEY_TRAFFIC_READ = "TRAFFIC_READ"
local KEY_TRAFFIC_WRITE = "TRAFFIC_WRITE"
local KEY_TOTAL_REQUEST_TIME = "TOTAL... | mit |
salamader/ffxi-a | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ee.lua | 19 | 3311 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #1 (E out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
GTWCode/GTW-RPG | [resources]/GTWwanted/ped_money.lua | 2 | 2614 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/404rq/GTW-RPG/
Bugtracker: https://discuss.404rq.com/t/issues
Suggestions: https://discuss.404rq.com/t/deve... | bsd-2-clause |
Baylamon/Illarion-Content | monster/base/hooks.lua | 5 | 3570 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
salamader/ffxi-a | scripts/globals/mobskills/Binary_Tap.lua | 10 | 1710 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
ESX-Org/es_extended | modules/__core__/input/client/module.lua | 1 | 20096 | -- Copyright (c) Jérémie N'gadi
--
-- All rights reserved.
--
-- Even if 'All rights reserved' is very clear :
--
-- You shall not use any piece of this software in a commercial product / service
-- You shall not resell this software
-- You shall not provide any facility to install this particular software in a c... | gpl-3.0 |
spark051/sparkbot | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- 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 check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/lamiabane.lua | 2 | 1144 | -----------------------------------------
-- ID: 18693
-- Equip: Lamiabane
-- Latent effect: Enhances Magic Atk Bonus +2
-- Enchantment: Adds "Refresh"
-- Durration: 60 Mins
-- Active while in Mamook, Arrapago Reef, or Halvung
-----------------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/chili_new/controls/control.lua | 4 | 39900 | --//=============================================================================
--- Control module
--- Control fields.
-- Inherits from Object.
-- @see object.Object
-- @table Control
-- @tparam {left,top,right,bottom} padding table of padding, (default {5,5,5,5})
-- @number[opt=1.5] borderThickness border thicknes... | gpl-2.0 |
mahdiam/sbssbot | plugins/map.lua | 3 | 1504 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
mahdikord/mahdib6 | 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 |
g0g0dancer/searework | LuaRules/actions.lua | 12 | 7094 | -- $Id: actions.lua 2491 2008-07-17 13:36:51Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: actions
-- brief: hooks for GotChatMsg() and RecvFromSynced() calls
-- author: Dave R... | gpl-2.0 |
poire-z/koreader | frontend/ui/data/keyboardlayouts/ka_keyboard.lua | 7 | 4520 | local en_popup = require("ui/data/keyboardlayouts/keypopup/en_popup")
local ka_popup = require("ui/data/keyboardlayouts/keypopup/ka_popup")
local com = en_popup.com -- comma (,)
local prd = en_popup.prd -- period (.)
local _at = en_popup._at
local _eq = en_popup._eq -- equals sign (=)
local _a_ = ka_popup._a_
local _c_... | agpl-3.0 |
marcelstoer/nodemcu-firmware | app/lua53/host/tests/goto.lua | 13 | 5160 | -- $Id: goto.lua,v 1.13 2016/11/07 13:11:28 roberto Exp $
-- See Copyright Notice in file all.lua
collectgarbage()
local function errmsg (code, m)
local st, msg = load(code)
assert(not st and string.find(msg, m))
end
-- cannot see label inside block
errmsg([[ goto l1; do ::l1:: end ]], "label 'l1'")
errmsg([[ do... | mit |
salamader/ffxi-a | scripts/zones/Wajaom_Woodlands/npcs/qm2.lua | 15 | 1184 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Iriz Ima(ZNM T2))
-- @pos 253 -23 116 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextIDs");
--------... | gpl-3.0 |
g0g0dancer/searework | scripts/zenith.lua | 4 | 10724 | include "constants.lua"
local spGetUnitRulesParam = Spring.GetUnitRulesParam
local devCompatibility = Spring.Utilities.IsCurrentVersionNewerThan(100, 0)
local base = piece "base"
local flare = piece "flare"
local firept = piece "firept"
local SOURCE_RANGE = 4000 -- size of the box which the emit point can be rando... | gpl-2.0 |
wiremod/wire-extras | lua/entities/gmod_wire_expression2/core/custom/holoanim.lua | 3 | 4330 | -- holoAnim E2 Extension
-- Originally by dlb (ben1066)
-- To Enable, run 'wire_expression2_extension_enable holoanim'
E2Lib.RegisterExtension("holoanim", false)
local CheckIndex
registerCallback("postinit",function()
CheckIndex = wire_holograms.CheckIndex
end)
registerCallback("construct", function(s... | apache-2.0 |
g0g0dancer/searework | scripts/armaak.lua | 16 | 9072 | --linear constant 65536
--modified from Argh\'s PURE Artillery Shell Script
include "constants.lua"
include "JumpRetreat.lua"
local base, hips, torso = piece('base', 'hips', 'torso')
local launcher, rflare, rblast, lflare, lblast, cflare, cblast = piece('launcher', 'rflare', 'rblast', 'lflare', 'lblast', 'cflare', 'c... | gpl-2.0 |
g0g0dancer/searework | lups/lups.lua | 1 | 31272 | -- $Id: lups.lua 4099 2009-03-16 05:18:45Z jk $
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
--
-- file: api_gfx_lups.lua
-- brief: Lua Particle System
-- authors: jK
--... | gpl-2.0 |
poire-z/koreader | frontend/ui/network/networklistener.lua | 4 | 9642 | local BD = require("ui/bidi")
local Device = require("device")
local Event = require("ui/event")
local EventListener = require("ui/widget/eventlistener")
local InfoMessage = require("ui/widget/infomessage")
local NetworkMgr = require("ui/network/manager")
local UIManager = require("ui/uimanager")
local logger = require... | agpl-3.0 |
bblodget/LoveToType | data_2b.lua | 1 | 3789 | -------------------------------------------------------------------------
-- data_2b.lua
--
-- Copyright 2010 Brandon Blodget
--
-- This file is part of "Love To Type."
--
-- "Love To Type" is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-... | gpl-3.0 |
spark051/sparkbot | 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 |
salamader/ffxi-a | scripts/zones/Port_San_dOria/npcs/Jaireto.lua | 36 | 1373 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Jaireto
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextI... | gpl-3.0 |
ricker75/forgottenserver | data/movements/scripts/tiles.lua | 15 | 1851 | local increasing = {[416] = 417, [426] = 425, [446] = 447, [3216] = 3217, [3202] = 3215, [11062] = 11063}
local decreasing = {[417] = 416, [425] = 426, [447] = 446, [3217] = 3216, [3215] = 3202, [11063] = 11062}
function onStepIn(creature, item, position, fromPosition)
if not increasing[item.itemid] then
return tru... | gpl-2.0 |
nublet/WoWCache | WTF/Account/Poesboi/SavedVariables/DataStore_Auctions.lua | 1 | 1751 |
DataStore_AuctionsDB = {
["profileKeys"] = {
["Talambelen - Neptulon"] = "Poesboi",
["Grimsheepér - Neptulon"] = "Poesboi",
["Bonniè - Darksorrow"] = "Poesboi",
["Hanibull - Neptulon"] = "Poesboi",
["Bonrambo - Darksorrow"] = "Poesboi",
["Sickem - Darksorrow"] = "Poesboi",
["Bravehèarth - Darksorrow"] =... | mit |
andreaskoepf/faster-rcnn.torch | models/model_utilities.lua | 2 | 4262 | require 'nngraph'
function create_proposal_net(layers, anchor_nets)
-- define building block functions first
-- VGG style 3x3 convolution building block
local function ConvPReLU(container, nInputPlane, nOutputPlane, kW, kH, padW, padH, dropout)
container:add(nn.SpatialConvolution(nInputPlane, nOutputPlane,... | mit |
CapsAdmin/goluwa | engine/lua/libraries/graphics/render3d/gbuffer_shaders/complex.lua | 1 | 2751 | local REFLECTIONS_ONLY = false
runfile("lua/libraries/graphics/render3d/sky_shaders/atmosphere1.lua")
render.AddGlobalShaderCode([[
vec3 gbuffer_compute_specular(vec3 L, vec3 V, vec3 N, float attenuation, vec3 light_color)
{
vec2 uv = get_screen_uv();
L = -L;
V = -V;
float F0 = 0.25;
float roughness = get_roughnes... | gpl-3.0 |
poire-z/koreader | frontend/device/kobo/powerd.lua | 4 | 17418 | local BasePowerD = require("device/generic/powerd")
local Math = require("optmath")
local NickelConf = require("device/kobo/nickel_conf")
local SysfsLight = require ("device/sysfs_light")
local ffiUtil = require("ffi/util")
local RTC = require("ffi/rtc")
-- Here, we only deal with the real hw intensity.
-- Dealing wit... | agpl-3.0 |
botnex1122/uzzbot | 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 |
disslove/J.R-Bot | 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 |
codingabc/skynet | service/multicastd.lua | 16 | 5570 | local skynet = require "skynet"
local mc = require "skynet.multicast.core"
local datacenter = require "skynet.datacenter"
local harbor_id = skynet.harbor(skynet.self())
local command = {}
local channel = {}
local channel_n = {}
local channel_remote = {}
local channel_id = harbor_id
local NORET = {}
local function ge... | mit |
GTWCode/GTW-RPG | [resources]/GTWvehicles/vehicle_client.lua | 2 | 21498 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/404rq/GTW-RPG/
Bugtracker: https://discuss.404rq.com/t/issues
Suggestions: https://discuss.404rq.com/t/deve... | bsd-2-clause |
salamader/ffxi-a | scripts/globals/items/serving_of_beaugreen_sautee.lua | 2 | 1358 | -----------------------------------------
-- ID: 4572
-- Item: serving_of_beaugreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
GreatBigBushyBeard/PAYDAY-2-BeardLib | Classes/Frameworks/AddFramework.lua | 2 | 1580 | AddFramework = AddFramework or BeardLib:Class(FrameworkBase)
AddFramework.add_file = "add.xml"
AddFramework.type_name = "Add"
AddFramework._directory = BeardLib.config.mod_override_dir
AddFramework.menu_color = Color(0, 0.25, 1)
AddFramework.add_configs = {}
function AddFramework:init()
-- Deprecated, try not to u... | mit |
botnex1122/uzzbot | plugins/groupmanager.lua | 1 | 11513 | -- 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 not is_admin(msg) then
return "Hi my friend's how are you?😂
for creategroup shoma bayad be in group sik koni😂
eshqami Admin id: @amir... | gpl-2.0 |
rafaellincoln/Source-Priston-Tale | J_Server/Effect/NewEffect/SkillCelestialGlacialSpike.lua | 1 | 1778 | -- ¸Þ½Ã Çϳª Ãâ·Â
Begin("Parent");
InitPos(0, -5, -20);
End();
Begin("Mesh");
InitMeshName("Res\\Object\\PT_4-1-25.ASE");
InitMaxFrame(25);
InitLoop(1);
InitColor(255,255,255,0);
EventFadeColor(0,255,255,255,50);
EventFadeColor(0.2,255,255,255,70);
EventFadeColor(0.5,255,255,255,50);
End();
Begin("ParticleSystem");
I... | mit |
Baylamon/Illarion-Content | npc/base/consequence/quest.lua | 4 | 2027 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
GreatBigBushyBeard/PAYDAY-2-BeardLib | Classes/Managers/AchievementManager.lua | 1 | 16585 | BeardLibAchievementManager = BeardLibAchievementManager or BeardLib:ManagerClass("Achievement")
function BeardLibAchievementManager:init()
-- Support multiple user on same PC, tracking each progress
self._achievements_folder = SavePath .. "CustomAchievements/" ..tostring(Steam:userid()).."/"
self._achievem... | mit |
salamader/ffxi-a | scripts/zones/Hall_of_Transference/Zone.lua | 2 | 3778 | -----------------------------------
--
-- Zone: Hall_of_Transference
--
-- Consists of three separate but identically looking areas, for dem, holla and mea:
-- 280 -80 -68 (mea)
-- -260 -40 -280 (dem)
-- -260 0 280 (holla)
--
-- 0x009b "I heard you were poking your nose at the Second Creig so I knew... | gpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/unit_auto_patrol_nanos.lua | 4 | 5695 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: unit_immobile_buider.lua
-- brief: sets immobile builders to ROAMING, and gives them a PATROL order
-- author: Dave Rodgers
--
--... | gpl-2.0 |
raboof/notion | contrib/styles/look_cool.lua | 3 | 5042 | -- Authors: Unknown
-- License: Unknown
-- Last Changed: Unknown
--
-- look-awesome.lua drawing engine configuration file for Ion.
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#3C5268",
highlight_colour = "#9DAABA",
background_colour = "#3C5268",
foregr... | lgpl-2.1 |
ArmanIr/olalala | plugins/id.lua | 226 | 4260 | 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, result)
local re... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Ilrusi_Atoll/npcs/Rune_of_Release.lua | 2 | 2466 | -----------------------------------
-- Area:
-- NPC: rune of release
-- @zone illrusi atoll
-- @pos
-----------------------------------
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bc... | gpl-3.0 |
philbgarner/SkinUI | lib/Dropdown.lua | 1 | 8587 | --[[
Dropdown class
By Phil Garner
May 2017
]]--
local btiny = require "lib.Button-Tiny"
local Dropdown = {}
Dropdown.__index = Dropdown
function Dropdown:new(id, x, y, w, theme)
local win = {
props = {
id = id
,resizable = false
,width = w
,h... | mit |
TeslaRus/OpenTomb | scripts/level/tr1/LEVEL10A.lua | 1 | 4810 | -- OPENTOMB LEVEL SCRIPT
-- FOR TOMB RAIDER, LEVEL10A
print("level/tr1/level10a.natla_mines->level_loaded !");
level_PreLoad = function()
--------------------------------------------------------------------------------
-- STATIC COLLISION FLAGS ------------------------------------------------------
-------... | lgpl-3.0 |
1st8/prosody-modules | mod_telnet_tlsinfo/mod_telnet_tlsinfo.lua | 32 | 1220 | -- mod_telnet_tlsinfo.lua
module:set_global();
module:depends("admin_telnet");
local console_env = module:shared("/*/admin_telnet/env");
local c2s_sessions = module:shared("/*/c2s/sessions");
local s2s_sessions = module:shared("/*/s2s/sessions");
local function print_tlsinfo(print, session)
if session.secure then
... | mit |
grmss214/grmss214 | plugins/Welcome.lua | 1 | 3609 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 2 | 1273 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Metalloid_Amoeba
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-------------------... | gpl-3.0 |
ArmanIr/olalala | 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 |
youfearm3/vlc | share/lua/playlist/canalplus.lua | 113 | 3501 | --[[
$Id: $
Copyright (c) 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distr... | gpl-2.0 |
remspoor/nodemcu-firmware | lua_examples/yet-another-dht22.lua | 65 | 2195 | ------------------------------------------------------------------------------
-- DHT11/22 query module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
--
-- Example:
-- print("DHT11", dofile("dht22.lua").read(4))
-- print("DHT22", dofile("dht22.lua").read(4, true))
-- NB: ... | mit |
salamader/ffxi-a | scripts/globals/spells/boost-dex.lua | 2 | 1040 | --------------------------------------
-- Spell: Boost-DEX
-- Boosts targets DEX stat
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------... | gpl-3.0 |
barlik/awesome | spec/gears/color_spec.lua | 12 | 7901 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2014 Uli Schlachter
---------------------------------------------------------------------------
local color = require("gears.color")
local cairo = require("lgi").cairo
local say = require("say")
describ... | gpl-2.0 |
g0g0dancer/searework | scripts/corsumo.lua | 7 | 13726 |
--by Chris Mackey
include "constants.lua"
include "JumpRetreat.lua"
include 'letsNotFailAtTrig.lua'
--pieces
local b_dome = piece "b_dome"
local t_dome = piece "t_dome"
local b_eye = piece "b_eye"
local t_eye = piece "t_eye"
-- guns
local l_turn = piece "l_turn"
local l_turret = piece "l_turret"
local l_pivot = piec... | gpl-2.0 |
whinis/OpenRA | mods/ra/maps/soviet-07/soviet07.lua | 6 | 12613 | if Map.Difficulty == "Easy" then
remainingTime = DateTime.Minutes(7)
elseif Map.Difficulty == "Normal" then
remainingTime = DateTime.Minutes(6)
elseif Map.Difficulty == "Hard" then
remainingTime = DateTime.Minutes(5)
end
Dogs = { Dog1, Dog2, Dog3, Dog4, Dog5, Dog6, Dog7, Dog8, Dog9, Dog10, Dog11, Dog12, Dog13, Dog1... | gpl-3.0 |
g0g0dancer/searework | LuaUI/Widgets/gui_economic_victory_announcer.lua | 4 | 4667 | function widget:GetInfo()
return {
name = "Economic Victory Announcer",
desc = "Announces when a team has won a victory simply by owning more stuff.",
author = "GoogleFrog",
date = "25 May, 2016",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = true -- loaded by default?... | gpl-2.0 |
ESX-Org/es_extended | modules/society/data/locales/fr.lua | 1 | 2463 | -- Copyright (c) Jérémie N'gadi
--
-- All rights reserved.
--
-- Even if 'All rights reserved' is very clear :
--
-- You shall not use any piece of this software in a commercial product / service
-- You shall not resell this software
-- You shall not provide any facility to install this particular software in a c... | gpl-3.0 |
g0g0dancer/searework | gamedata/modularcomms/clonedefs.lua | 3 | 12931 | -- just some comm cloning stuff (to avoid having to maintain multiple unitdefs)
local statsByLevel = {
mainstats = {
[2] = {
collisionvolumescales = [[50 59 50]],
modelradius = [[30]],
},
[3] = {
collisionvolumescales = [[55 65 55]],
modelradius = [[33]],
explodeas = "estor_building",
... | gpl-2.0 |
szagoruyko/imagine-nn | ffi.lua | 1 | 1127 | local ffi = require 'ffi'
local libpath = package.searchpath('libinn', package.cpath)
if not libpath then return end
require 'cunn'
ffi.cdef[[
void SpatialStochasticPooling_updateOutput(THCState* state, THCudaTensor* input,
THCudaTensor* output, THCudaTensor* indices, int kW, int kH, int dW, int dH, bool train)... | bsd-3-clause |
jinshiyi11/QuickTest | src/framework/cc/ui/UIPageView.lua | 1 | 16204 |
--[[
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, pub... | apache-2.0 |
zeitgeist87/LuaServer | common/aio.lua | 1 | 6554 | -- LuaServer - A small self contained webserver written entirely in Lua
-- Copyright (C) 2014 Andreas Rohner
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as published by
-- the Free Software Foundation, either version 3 of th... | gpl-3.0 |
lxl1140989/6291-xl | feeds/luci/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua | 53 | 2242 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-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
http://www.apache.org/licenses/LICENSE-2.0
]]--
loc... | gpl-2.0 |
salamader/ffxi-a | scripts/globals/items/bunch_of_san_dorian_grapes.lua | 2 | 1152 | -----------------------------------------
-- ID: 4431
-- Item: Bunch of San Dorian Grapes
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -5
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
raboof/notion | contrib/statusd/statusd_binclock.lua | 3 | 5777 | -- Authors: Mario García H. <drosophila@nmental.com>
-- License: GPL, version 2
-- Last Changed: 2006-12-15
--
--------------------------------------------------------------------------------------
--
-- PURPOSE:
-- Binary clock for Ion3 in two posible formats:
--
--> Space waste: [0001:000111] and Alien Code: [ ..... | lgpl-2.1 |
lxl1140989/6291-xl | feeds/luci/modules/base/luasrc/model/uci.lua | 86 | 10653 | --[[
LuCI - UCI model
Description:
Generalized UCI model
FileId:
$Id$
License:
Copyright 2008 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
http://www.apache... | gpl-2.0 |
poire-z/koreader | frontend/device/wakeupmgr.lua | 4 | 8996 | --[[--
RTC wakeup interface.
Many devices can schedule hardware wakeups with a real time clock alarm.
On embedded devices this can typically be easily manipulated by the user
through `/sys/class/rtc/rtc0/wakealarm`. Some, like the Kobo Aura H2O,
can only schedule wakeups through ioctl.
See @{ffi.rtc} for implementati... | agpl-3.0 |
kennykwok1/PlaygroundOSS | Tutorial/17.VDoc/VDoc.lua | 3 | 5875 | function setup()
--[[------------------------------
バーチャルドキュメントタスクの起動
------------------------------ ]]
--[[ ここでは、タスクを生成した後の操作を行うため、返されるタスクのポインタを pTask_vdoc 変数に格納しています。
スコアタスクに限らず、生成後スクリプトから操作する必要のあるタスクは、必ず生成関数が返すポインタを変数として保持する必要があります。 ]]
pTask_vdoc = UI_VirtualDoc( nil, -- 親UIタスクのポインタ。親を指定する必要がない場合は ... | apache-2.0 |
salamader/ffxi-a | scripts/zones/Valkurm_Dunes/npcs/Nyata-Mobuta_WW.lua | 4 | 2896 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Nyata-Mobuta, W.W.
-- Outpost Conquest Guards
-- @pos 139.394 -7.885 100.384 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
Ravior/puremvc-lua-framework | src/org/puremvc/lua/multicore/core/Controller.lua | 1 | 5633 | --[[
* @author PureMVC LUA Native Port by Ravior
* @author Copyright(c) 2006-2012 Futurescale, Inc., Some rights reserved.
*
* @class puremvc.Controller
*
* In PureMVC, the Controller class follows the 'Command and Controller'
* strategy, and assumes these responsibilities:
*
* - Remembering which
* {@link puremvc... | mit |
lxl1140989/6291-xl | feeds/routing/alfred/files/bat-hosts.lua | 17 | 2889 | #!/usr/bin/lua
local type_id = 64 -- bat-hosts
function get_hostname()
local hostfile = io.open("/proc/sys/kernel/hostname", "r")
local ret_string = hostfile:read()
hostfile:close()
return ret_string
end
function get_interfaces_names()
local ret = {}
for name in io.popen("ls -1 /sys/class/net/"):lines()... | gpl-2.0 |
g0g0dancer/searework | LuaUI/Widgets/chili_new/controls/window.lua | 9 | 1852 | --- Window module
--- Window fields.
-- Inherits from Control.
-- @see control.Control
-- @table Window
Window = Control:Inherit{
classname = 'window',
resizable = true,
draggable = true,
minWidth = 50,
minHeight = 50,
defaultWidth = 400,
defaultHeight = 300,
}
local this = Window
local inherited = t... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Batallia_Downs/npcs/Stone_Monument.lua | 4 | 1249 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextID... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Ailevia.lua | 2 | 3177 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ailevia
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scripted
-- This NPC participates in Quests and Missions
-- @zone 230
-- @pos -8 1 1
-------------------------------------
package.loaded["scripts/z... | gpl-3.0 |
CapsAdmin/goluwa | core/lua/modules/nattlua/test/nattlua/analyzer/external_mutations.lua | 1 | 6392 | local T = require("test.helpers")
local analyze = T.RunCode
analyze(
[[
local x: {foo = boolean} = {foo = true}
unknown(x)
]],
"cannot mutate argument"
)
analyze([[
local x = {foo = true}
unknown(x)
attest.equal<|x.foo, any | true|>
]])
analyze[[
local analyzer function unknown(tbl: {[any] ... | gpl-3.0 |
wiremod/wire-extras | lua/entities/gmod_wire_buoyancy/init.lua | 3 | 2054 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include( "shared.lua" )
local MODEL = Model( "models/jaanus/wiretool/wiretool_siren.mdl" )
function ENT:Initialize()
self:SetModel( MODEL )
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
... | apache-2.0 |
CapsAdmin/goluwa | game/lua/libraries/gmod/libraries/meta_vmatrix.lua | 1 | 2832 | local gine = ... or _G.gine
local META = gine.GetMetaTable("VMatrix")
function gine.env.Matrix(tbl)
local self = {}
if type(tbl) == "cdata" then
self.ptr = tbl
elseif type(tbl) == "table" then
self.ptr = Matrix44()
self.ptr.m00 = tbl[1][1]
self.ptr.m01 = tbl[1][2]
self.ptr.m02 = tbl[1][3]
self.ptr.m03 ... | gpl-3.0 |
cardentity/DarkRP | gamemode/modules/jobs/sv_interface.lua | 3 | 3510 | DarkRP.PLAYER.changeTeam = DarkRP.stub{
name = "changeTeam",
description = "Change the team of a player.",
parameters = {
{
name = "team",
description = "The team (job number).",
type = "number",
optional = false
},
{
name = "force",
description = "Force the change (ignore restrictions that p... | mit |
g0g0dancer/searework | LuaRules/Gadgets/CustomUnitShaders/UnitMaterials/1_normalmapping.lua | 17 | 4460 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local materials = {
normalMappedS3o = {
shaderDefinitions = {
"#define use_perspective_correct_shadows",
"#define use_nor... | gpl-2.0 |
salamader/ffxi-a | scripts/zones/Lower_Delkfutts_Tower/npcs/_541.lua | 2 | 2206 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Sandy Ambassador
-- San d'Orian Mission 3.3 "Appointment to Jeuno"
-- @zone 184
-- @pos 636 16 20
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;... | gpl-3.0 |
salamader/ffxi-a | scripts/zones/Riverne-Site_B01/npcs/qm1.lua | 2 | 1292 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-- @zone 29
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones... | gpl-3.0 |
Baylamon/Illarion-Content | triggerfield/runewick_patrol_3.lua | 3 | 3215 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.