repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Pattsu-Yabittsu.lua | 34 | 1137 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Pattsu-Yabittsu
-- Warps players to Windurst Waters
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woods/TextIDs");
-----... | gpl-3.0 |
matsprea/omim | 3party/libtess2/premake4.lua | 53 | 1103 |
local action = _ACTION or ""
solution "libtess2"
location ( "Build" )
configurations { "Debug", "Release" }
platforms {"native", "x64", "x32"}
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols", "ExtraWarnings"}
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize", "ExtraWarnings"}
... | apache-2.0 |
jshackley/darkstar | scripts/globals/effects/aftermath_lv2.lua | 18 | 1403 | -----------------------------------
--
-- EFFECT_AFTERMATH_LV2
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower();
if... | gpl-3.0 |
shagu/pfQuest | db/esES/objects-tbc.lua | 1 | 203485 | pfDB["objects"]["esES-tbc"] = {
[4] = "Daño de fogata",
[38] = "Captain Sanders Chest",
[54] = "La tumba del Emperador",
[57] = "La luna sobre el valle",
[129] = "Naxx Teleporter trap",
[167] = "Cajón de Abercrombie",
[249] = "Cajón de comestibles",
[251] = "Equipo de investigación",
[254] = "SE BUSCA... | mit |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Mourices.lua | 19 | 3300 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mourices
-- Involved In Mission: Journey Abroad
-- @zone 241
-- @pos -50.646 -0.501 -27.642
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdiface.lua | 9 | 5925 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: olsrdifa... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Jugner_Forest/Zone.lua | 27 | 4245 | -----------------------------------
--
-- Zone: Jugner_Forest (104)
--
-----------------------------------
package.loaded[ "scripts/zones/Jugner_Forest/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Forest/TextIDs");
... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/hojo_san.lua | 18 | 1243 | -----------------------------------------
-- Spell: Hojo:San
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Davoi/TextIDs.lua | 15 | 1657 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Ifrits_Cauldron/Zone.lua | 17 | 2583 | -----------------------------------
--
-- Zone: Ifrits_Cauldron (205)
--
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ifrits_C... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5e5.lua | 19 | 1673 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Cracked Wall
-- Involved In Mission: The Jester Who'd Be King
-- @pos -424.255 -1.909 619.995
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Metalworks/npcs/Riault.lua | 38 | 1038 | -----------------------------------
-- Area: Metalworks
-- NPC: Riault
-- Type: Standard NPC
-- @zone: 237
-- @pos 26.988 -17.39 -41.931
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zon... | gpl-3.0 |
jshackley/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fc.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 260 -34 -71 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
SpRoXx/GTW-RPG | [resources]/GTWhelp/info_s.lua | 2 | 1040 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/GTWCode/GTW-RPG/
Bugtracker: http://forum.404rq.com/bug-reports/
Suggestions: http://forum.404rq.com/mta-se... | bsd-2-clause |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Prillaure.lua | 38 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Prillaure
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 9.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_U... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/candy_ring.lua | 36 | 1211 | -----------------------------------------
-- ID: 5621
-- Item: Candy Ring
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Charisma 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Northern_San_dOria/npcs/Phaviane.lua | 38 | 1024 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Phaviane
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -4.000 0.000 -28.000
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/protocols/ppp/luasrc/model/network/proto_ppp.lua | 77 | 2695 | --[[
LuCI - Network model - 3G, PPP, PPtP, PPPoE and PPPoA protocol extension
Copyright 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://www.apache.o... | gpl-2.0 |
Disslove77777/amir | plugins/inrealm.lua | 287 | 25005 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Abyssea-Grauberg/npcs/qm18.lua | 17 | 1400 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: ???
-- Spawns: Amphitrite
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(p... | gpl-3.0 |
LiberatorUSA/GUCEF | projects/premake5/targets/GUCEF_exe_gucefGUI_TestApp/premake5.lua | 1 | 14816 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/zones/Xarcabard/npcs/Perennial_Snow.lua | 51 | 1649 | -----------------------------------
-- Area: Xarcabard
-- NPC: Perennial Snow
-- Involved in Quests: The Circle of Time
-- @pos 339 0 -379 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("sc... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Apollyon/mobs/Fire_Elemental.lua | 7 | 2446 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Cacaroon.lua | 19 | 2352 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Cacaroon
-- Standard Info NPC
-- @pos -72.026 0.000 -82.337 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets_[S]/TextIDs.lua | 5 | 1074 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 11209; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtai... | gpl-3.0 |
hockeychaos/Core-Scripts-1 | PlayerScripts/StarterPlayerScripts/ControlScript.lua | 1 | 15155 | --[[
// FileName: ControlScript.lua
// Version 1.1
// Written by: jmargh and jeditkacheff
// Description: Manages in game controls for both touch and keyboard/mouse devices.
// This script will be inserted into PlayerScripts under each player by default. If you want to
// create your own custom controls or modi... | apache-2.0 |
jshackley/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Qutiba.lua | 18 | 2159 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Qutiba
-- Type: Standard NPC
-- @pos 92.341 -7.5 -129.980 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require(... | gpl-3.0 |
nicklijl/sysbench | sysbench/tests/db/oltp.lua | 13 | 2959 | pathtest = string.match(test, "(.*/)") or ""
dofile(pathtest .. "common.lua")
function thread_init(thread_id)
set_vars()
if (((db_driver == "mysql") or (db_driver == "attachsql")) and mysql_table_engine == "myisam") then
begin_query = "LOCK TABLES sbtest WRITE"
commit_query = "UNLOCK TABLES"
els... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Sealions_Den/bcnms/warriors_path.lua | 17 | 2393 | -----------------------------------
-- Area: Sealion's Den
-- Name: warriors_path
-- bcnmID : 993
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Rolanberry_Fields_[S]/npcs/Cavernous_Maw.lua | 16 | 2204 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- @pos -198 8 360 91
-- Teleports Players to Rolanberry Fields
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Nanaa_Mihgo.lua | 17 | 10437 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Nanaa Mihgo
-- Starts and Finishes Quest: Mihgo's Amigo (R), The Tenshodo Showdown (start), Rock Racketeer (start, listed as ROCK_RACKETTER in quests.lua)
-- Involved In Quest: Crying Over Onions
-- Involved in Mission 2-1
-- @pos 62 -4 240 241
... | gpl-3.0 |
alfred-bot/testfarsi | plugins/inrealm.lua | 228 | 16974 | -- 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_group_ch... | gpl-2.0 |
SwadicalRag/hash.js | plugins/lua/user_modules/x86/opcodes.lua | 5 | 17495 |
local eax, ecx, edx, ebx, esp, ebp, esi, edi, eflags = 0, 1, 2, 3, 4, 5, 6, 7, 8;
local ax, cx, dx, bx, sp, bp, si, di, flags = 0, 1, 2, 3, 4, 5, 6, 7, 8;
local al, cl, dl, bl, ah, ch, dh, bh = 0, 1, 2, 3, 4, 5, 6, 7;
--[[-------
add
-------]]--
local function print() end
AddOpcode("add", "\x00", 1, function(i... | cc0-1.0 |
jshackley/darkstar | scripts/commands/capskill.lua | 27 | 3148 | ---------------------------------------------------------------------------------------------------
-- func: capskill
-- desc: Caps a specific skill.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/loaf_of_iron_bread.lua | 35 | 1197 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s1.lua | 17 | 1271 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos 21 0 -180 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Riverne-Site_A01/mobs/Hippogryph.lua | 8 | 1639 | -----------------------------------
-- Area: Riverne Site A01
-- MOB: Hippogryph
-----------------------------------
-----------------------------------
-- onMobRoam
-----------------------------------
function onMobRoam(mob)
local Heliodromos_Table =
{
16900110,
16900111,
16900112
... | gpl-3.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/TableView.lua | 5 | 2767 |
--------------------------------
-- @module TableView
-- @extend ScrollView,ScrollViewDelegate
--------------------------------
-- @function [parent=#TableView] updateCellAtIndex
-- @param self
-- @param #long long
--------------------------------
-- @function [parent=#TableView] setVerticalFillOrder
-- @p... | mit |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua | 12 | 1218 | --[[
LuCI - Lua Configuration Interface
(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: netdiscover_devinfo_config_mini.... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Mhaura/npcs/Ekokoko.lua | 17 | 1603 | -----------------------------------
-- Area: Mhaura
-- NPC: Ekokoko
-- Gouvernor of Mhaura
-- Involved in Quest: Riding on the Clouds
-- @pos -78 -24 28 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
SpRoXx/GTW-RPG | [misc]/modshop/server.lua | 3 | 5509 | -- NOTE:
-- Do only edit stuff after this point if you know what you're doing!
-- Editing something wrong may break or bug the entire script!
-- Modshop resource by Dennis aka UniOn
createObject ( 11326, 1994.276, 2041.688, 12.063, 0, 0, 90 )
createObject ( 11326, 2514.873, -1775.783, 14.797, 0, 0, 180 )
-- Table wi... | bsd-2-clause |
jshackley/darkstar | scripts/globals/items/maple_cake.lua | 36 | 1208 | -----------------------------------------
-- ID: 5625
-- Item: Maple Cake
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 1
-- MP Recovered while healing 4
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gc.lua | 34 | 1341 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gc (Lever A)
-- @pos -4 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
----------------... | gpl-3.0 |
zdimension/UniRaider | FreeRaider/FreeRaider/bin/Debug/scripts/gameflow/gameflow.lua | 2 | 6558 | -- Gameflow Script for OpenTomb
-- General script extraction module
-- Version: 1.0
-- By: Lwmte
-- Rewritten by: TeslaRus
-- other custom games constants
GAME_MAX = Game.V; -- or last custom game id
----------------------------------------------------------------------------------------------------------------------... | gpl-2.0 |
kjmac123/metabuilder | metabuilder/metabase/msvc_common_windows.lua | 1 | 1530 | import "metabase_common.lua"
import "platform_windows.lua"
writer "writer_msvc.lua"
option("msvc", "customwriter", "writer_msvc_windows.lua")
option("msvcglobals", "Keyword", "Win32Proj")
option("msvconfiguration", "CharacterSet", "Unicode")
option("msvccompile", "MultiProcessorCompilation", "true")
option("msvcco... | mit |
jshackley/darkstar | scripts/zones/Upper_Jeuno/Zone.lua | 17 | 2591 | -----------------------------------
--
-- Zone: Upper_Jeuno (244)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Upper_Jeuno/TextIDs");
------------------------... | gpl-3.0 |
jwyang/stnbhwd | AffineTransformMatrixGeneratorLR.lua | 2 | 7882 | local ATMG, parent = torch.class('nn.AffineTransformMatrixGeneratorLR', 'nn.Module')
--[[
AffineTransformMatrixGenerator(useRotation, useScale, useTranslation) :
AffineTransformMatrixGenerator:updateOutput(transformParams)
AffineTransformMatrixGenerator:updateGradInput(transformParams, gradParams)
This module can be ... | mit |
Ombridride/minetest-minetestforfun-server | mods/automappercolors/init.lua | 3 | 1106 | -- Automappercolors by gravgun
-- WTFPL
function amc_dumpnodes()
local fd, err = io.open(minetest.get_worldpath()..'/amc_nodes.txt', 'wb')
if not fd then
return 0, err
end
local n = 0
for name, def in pairs(minetest.registered_nodes) do
if def.drawtype ~= 'airlike' then
local tile = def.tiles or def.tile_i... | unlicense |
jshackley/darkstar | scripts/zones/Rabao/npcs/Nomad_Moogle.lua | 37 | 1063 | -----------------------------------
--
-- Nomad Moogle
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Action
---------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Tavnazian_Safehold/npcs/qm2.lua | 17 | 1700 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: ???
-- Involved in Quest: Unforgiven
-- @zone 26
-- @pos 110.714 -40.856 -53.154
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs")
requ... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/cegui/cegui/src/RendererModules/Null/premake5.lua | 1 | 1153 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
Shrike78/Shilke2D | Shilke2D/Utils/Graphics.lua | 1 | 3320 | --[[---
Namespace containing all the functions related to vectorial draw.
It wraps MOAIGfxDevice setters and all the MOAIDraw functions
It also add support for premultiplied alpha logic and Shilke2D Colors
--]]
Graphics = {}
local _pmaModeOn = true
---check if the premultiplied alpha mode is enabled
--@treturn bool
f... | mit |
sugiartocokrowibowo/Algorithm-Implementations | Sudoku/Lua/Yonaba/sudoku_test.lua | 26 | 2319 | -- Tests for sudoku.lua
local sudoku_solve = require 'sudoku'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
lo... | mit |
Naoir/packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/member.lua | 111 | 1535 | -- ------ member configuration ------ --
ds = require "luci.dispatcher"
m5 = Map("mwan3", translate("MWAN Member Configuration"))
m5:append(Template("mwan/config_css"))
mwan_member = m5:section(TypedSection, "member", translate("Members"),
translate("Members are profiles attaching a metric and weight to an MWAN ... | gpl-2.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/LayerColor.lua | 3 | 1388 |
--------------------------------
-- @module LayerColor
-- @extend Layer,BlendProtocol
--------------------------------
-- @function [parent=#LayerColor] changeWidthAndHeight
-- @param self
-- @param #float float
-- @param #float float
--------------------------------
-- @function [parent=#LayerColor] change... | mit |
10sa/Advanced-Nutscript | nutscript/plugins/3dpanel/sv_plugin.lua | 1 | 1088 | local PLUGIN = PLUGIN or { };
function PLUGIN:PlayerLoadedData(client)
for k, v in pairs(self.panels) do
netstream.Start(client, "nut_PanelData", {v.pos, v.angle, v.url, v.w, v.h, v.scale})
end
end
function PLUGIN:AddPanel(client, url, w, h, scale)
local trace = client:GetEyeTraceNoCursor()
local data = {
pos... | mit |
jshackley/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua | 1 | 1411 | -----------------------------------
-- Area: Dynamis San d'Oria
-- MOB: Overlord's Tombstone
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function on... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Dark_mist.lua | 17 | 1114 | ---------------------------------------------
-- Dark Mist
-- Family: Gargouille
-- Description: Deals dark damage to an enemy. Additional effect: Weight
-- Type: Magical (dark)
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Radial
-- Notes: Only used when flying
-----------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Southern_San_dOria/npcs/Cahaurme.lua | 17 | 1923 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Cahaurme
-- Involved in Quest: A Knight's Test, Lost Chick
-- @zone 230
-- @pos 55.749 -8.601 -29.354
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
hockeychaos/Core-Scripts-1 | CoreScriptsRoot/Modules/Server/ClientChat/DefaultClientChatModules/MessageCreatorModules/SetCoreMessage.lua | 2 | 1695 | -- // FileName: SetCoreMessage.lua
-- // Written by: TheGamer101
-- // Description: Create a message label for a message created with SetCore(ChatMakeSystemMessage).
local clientChatModules = script.Parent.Parent
local ChatSettings = require(clientChatModules:WaitForChild("ChatSettings"))
local ChatConstants = require... | apache-2.0 |
Ombridride/minetest-minetestforfun-server | mods/moreblocks/nodes.lua | 5 | 11818 | --[[
More Blocks: node definitions
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
local S = moreblocks.intllib
local sound_wood = default.node_sound_wood_defaults()
local sound_stone = default.node_sound_stone_defaults()
local sound_glass ... | unlicense |
jshackley/darkstar | scripts/zones/Xarcabard/npcs/qm7.lua | 17 | 1341 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm7 (???)
-- Involved in Quests: RNG AF3 quest - Unbridled Passion
-- @pos -295.065 -25.054 151.250 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
Shrike78/Shilke2D | Shilke2D/Texture/ITextureAtlas.lua | 1 | 1520 | --[[---
Interface for TextureAtlas classes.
A texture atlas class must provide methdods to iterate over texture regions
--]]
ITextureAtlas = class()
--[[---
Returns all the regions sorted by name that begins with a given prefix.
If no prefix is provided it returns all the regions.
@tparam[opt=nil] string prefix prefi... | mit |
Ombridride/minetest-minetestforfun-server | mods/bobblocks/blocks.lua | 8 | 6143 | -- BobBlocks mod by RabbiBob
-- State Changes
local bobblock_colours = {"red", "orange", "yellow", "green", "blue", "indigo", "violet", "white"}
local function update_bobblock(pos, node)
--Switch Block State
minetest.add_node(pos, {name = 'bobblocks:'..node})
minetest.sound_play("bobblocks_glassblock", {
pos = p... | unlicense |
shagu/pfQuest | db/ruRU/objects.lua | 1 | 412347 | pfDB["objects"]["ruRU"] = {
[31] = "Статуя старого льва",
[32] = "Затонувший сундук",
[33] = "Запертый сундук",
[34] = "Старый кувшин",
[35] = "Сундучок капитана",
[36] = "Разбитая бочка",
[37] = "Надгробный камень Элизы",
[41] = "Сундук посла",
[47] = "Разыскивается: лейтенант Фангор",
[52] = "Водо... | mit |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/modules/niu/luasrc/model/cbi/niu/network/lan.lua | 51 | 1037 | local uci = require "luci.model.uci"
local cursor = uci.cursor()
local d = Delegator()
d.allow_finish = true
d.allow_back = true
d.allow_cancel = true
d:add("lan1", "niu/network/lan1")
function d.on_cancel()
cursor:revert("network")
cursor:revert("dhcp")
end
function d.on_done()
if uci.inst_state:get("network", "... | gpl-2.0 |
Ombridride/minetest-minetestforfun-server | mods/WorldEdit/worldedit/code.lua | 23 | 1328 | --- Lua code execution functions.
-- @module worldedit.code
--- Executes `code` as a Lua chunk in the global namespace.
-- @return An error message if the code fails, or nil on success.
function worldedit.lua(code)
local func, err = loadstring(code)
if not func then -- Syntax error
return err
end
loca... | unlicense |
jshackley/darkstar | scripts/zones/Metalworks/npcs/Vicious_Eye.lua | 19 | 1163 | -----------------------------------
-- Area: Metalworks
-- NPC: Vicious Eye
-- Type: Guild Merchant (Blacksmithing Guild)
-- @pos -106.132 0.999 -28.757 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
badboyam/spider_bot | bot/utils.lua | 309 | 23029 | 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 |
Th2Evil/SuperPlus | plugins/addsudo.lua | 1 | 1639 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ ADD SUDO : اضافه مطور ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Mhaura/npcs/Ripapa.lua | 17 | 5447 | -----------------------------------
-- Area: Mhaura
-- NPC: Ripapa
-- Starts and Finishes Quest: Trial by Lightning
-- @pos 29 -15 55 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require(... | gpl-3.0 |
botmohammad12344888/bot-888338888 | plugins/weather.lua | 2 | 1585 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
local url = BASE_URL
url = url..'?q='..location..'&APPID=5f5d8da1984bd84dcff8ee7cb1abebb5'
url = url..'&units=metric'
local b, c, h = http.request(url)
if c ~= ... | gpl-2.0 |
davidhealey/reascript | luaScripts/_wips/MIDI Select All CC Events Under Selected Notes.lua | 1 | 1074 | --[[
* ReaScript Name: MIDI Select All CC Events Under Selected Notes
* Version: 04/06/2017
* Author: David Healey.
--]]
take = reaper.MIDIEditor_GetTake(reaper.MIDIEditor_GetActive()) --Get active take
if take ~= nil then
reaper.Undo_BeginBlock();
retval, notes, ccs, sysex = reaper.MIDI_CountEvts(take) --Coun... | gpl-3.0 |
jshackley/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua | 15 | 2930 | -----------------------------------
-- Area: King Ranperre's Tomb
-- NPC: Tombstone
-- Involved in Quest: Grave Concerns
-- @pos 1 0.1 -101 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
birkett/MCServer | Server/Plugins/APIDump/Hooks/OnPlayerBrokenBlock.lua | 44 | 1564 | return
{
HOOK_PLAYER_BROKEN_BLOCK =
{
CalledWhen = "After a player has broken a block. Notification only.",
DefaultFnName = "OnPlayerBrokenBlock", -- also used as pagename
Desc = [[
This function is called after a {{cPlayer|player}} breaks a block. The block is already removed
from the {{cWorld|world}} a... | apache-2.0 |
slanska/flexilite | src_lua/flexi_AlterClass.lua | 1 | 5088 | ---
--- Created by slanska.
--- DateTime: 2017-11-02 9:00 PM
---
local json = cjson or require 'cjson'
local tablex = require 'pl.tablex'
local ClassDef = require 'ClassDef'
-- Detects differences between old and new properties.
-- Returns tuple of added, modified and unchanged properties.
-- Note that deleted proper... | mpl-2.0 |
anoidgit/reading-comprehension | models/FHiQATagger.lua | 1 | 6295 | local FHiQATagger, parent = torch.class('nn.FHiQATagger', 'nn.SequenceContainer')
-- sentEnc and PEnc should not enable fullout
function FHiQATagger:__init(SentEnc, PEnc, Classifier, flatten)
parent.__init(self, SentEnc)
self.PEnc = PEnc or sentEnc
self:add(self.PEnc)
self.CM = Classifier
self:add(self.CM)
self.... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Turbofan.lua | 1 | 1247 | ---------------------------------------------------
-- Turbofan
-- Description:
-- Type: Magical
-- additional effect : Silence.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-----------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/abilities/focalization.lua | 28 | 1176 | -----------------------------------
-- Ability: Focalization
-- Increases the accuracy of your next black magic spell.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Heavens_Tower/npcs/Rhy_Epocan.lua | 19 | 1628 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rhy Epocan
-- Involved in Mission 3-1
-- @pos 2 -48 14 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/TextIDs.lua | 8 | 5690 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 6544; -- O... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Port_Bastok/npcs/Dalba.lua | 31 | 11049 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dalba
-- Type: Past Event Watcher
-- @zone: 236
-- @pos: -174.101 -7 -19.611
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/quest... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Xarcabard/npcs/qm5.lua | 19 | 1344 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm5 (???)
-- Involved in Quests: Breaking Barriers
-- @pos 179 -33 82 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Xarcabard/TextIDs");
require(... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Spire_of_Dem/Zone.lua | 38 | 1273 | -----------------------------------
--
-- Zone: Spire_of_Dem (19)
--
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Spire_of_Dem/TextIDs");
---------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Crawlers_Nest/npcs/qm1.lua | 14 | 1043 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Guardian Crawler (spawn 1)
-- @pos 124.335 -34.609 -75.373 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/Tex... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua | 58 | 1887 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Cavernous Maw
-- @pos 368.980, -0.443, -119.874 103
-- Teleports Players to Abyssea Misareaux
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
luastoned/turbo | turbo/structs/buffer.lua | 12 | 8668 | -- Turbo.lua Low-level buffer implementation
--
-- Copyright 2013 John Abrahamsen
--
-- 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
--
-- Un... | apache-2.0 |
kans/birgo | modules/traceroute/tests/test-traceroute.lua | 4 | 7022 | local Emitter = require('core').Emitter
local childprocess = require('childprocess')
local fs = require('fs')
local setTimeout = require('timer').setTimeout
local Traceroute = require('../lib/traceroute').Traceroute
local utils = require('../lib/utils')
local exports = {}
-- Mock childprocess
function getEmitter(fil... | apache-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua | 11 | 2596 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: trunks.l... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Gusgen_Mines/TextIDs.lua | 15 | 1706 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
LiberatorUSA/GUCEF | tests/gucefPUBSUB_TestApp/premake5.lua | 2 | 2186 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-pbx/luasrc/model/cbi/pbx-voip.lua | 128 | 4540 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Xarcabard/mobs/Biast.lua | 8 | 1168 | -----------------------------------
-- Area: Xarcabard
-- NM: Biast
-- ID: 17235988
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
... | gpl-3.0 |
chaehwang/cs91r_spring_NN | scripts/train.lua | 2 | 1141 | require 'torch'
require 'nn'
require '../core/autoencoder.lua'
require '../io/lmdb_reader'
defaults = {
epochs = 100,
iters = 100,
learning_rate = 0.01,
batch_size = 1000,
save_path = './data/networks/autoencoder.bin'
}
cmd = torch.CmdLine()
cmd:argument('data_path', 'lmdb database to train on')
cmd:option... | mit |
jshackley/darkstar | scripts/globals/mobskills/Shakeshroom.lua | 50 | 1139 | ---------------------------------------------------
-- Shakeshroom
-- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: disease
-- Range is 14.7 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
---------------------------------------------------
re... | gpl-3.0 |
LiberatorUSA/GUCEF | projects/premake5/targets/GUCEF_exe_CMakeListGenerator/premake5.lua | 1 | 1237 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
LiberatorUSA/GUCEF | dependencies/agar/math/premake.lua | 1 | 3255 | --
-- Do not edit!
-- This file was generated from Makefile by BSDbuild 3.2.
--
-- To regenerate this file, get the latest BSDbuild release from
-- http://hypertriton.com/bsdbuild/, the latest Premake release
-- (v3 series) from http://premake.sourceforge.net/, and execute:
--
-- $ make proj
--
package = newpackage... | apache-2.0 |
tridge/ardupilot | libraries/AP_Scripting/applets/forward_flight_motor_shutdown.lua | 19 | 5683 | -- This is a script that stops motors in forward flight, for use on tiltrotors and tailsitters
-- Thanks to PteroDynamics for supporting the development of this script
-- Set the motor numbers to stop and configure a RCx_OPTION to 300 to enable and disable
-- Throttle thresholds also allow automatic enable and disable ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Mines/TextIDs.lua | 8 | 6682 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <<<Unknown Pa... | gpl-3.0 |
PTPM/MTASA-legacy | ptpm_accounts_old/accounts_login.lua | 1 | 5566 | playerStats = {}
-- using MTA-MySQL (http://wiki.mtasa.com/wiki/Modules/MTA-MySQL)
-- Use the following parameters in the connect table:
-- host,user,password,database
local connect = {"", "", "", ""}
db = mysql_connect ( connect[1], connect[2], connect[3], connect[4] )
setTimer(
function()
local result = mysql... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.