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 |
|---|---|---|---|---|---|
ufopleds/DengueME | src/debug/Models/transmission/tme_seir_basic_model/tme_seir_basic_model_scripts/tme_seir_basic_model.lua | 2 | 2003 | -- DengueME Models Library
-- @id tme_seir_basic_model
-- @name SEIR Basic Model
-- @version 1.0
-- @interpreter TerraME 2.0-RC-4
-- @example A Susceptible-Exposed-Infectious-Recovered (SEIR) basic model
-- @authors Fellipe Prado, Tiago Lima
-- @description For a description of such model, please visit http://en.wikipe... | bsd-2-clause |
Vivitarut/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Hieroglyphics.lua | 19 | 2413 | -----------------------------------
-- Area: Buburimu_Peninsula
-- NPC: Hieroglyphics
-- Dynamis Buburimu_Dunes Enter
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
cdd990/skynet | lualib/dns.lua | 23 | 8758 | --[[
lua dns resolver library
See https://github.com/xjdrew/levent/blob/master/levent/dns.lua for more detail
-- resource record type:
-- TYPE value and meaning
-- A 1 a host address
-- NS 2 an authoritative name server
-- MD 3 a mail destination (Obsolete - use MX... | mit |
maz-1/openwrt-extra | luci/applications/luci-vsftpd/luasrc/model/cbi/vsftpd/anonymous.lua | 14 | 1256 | --[[
LuCI - Lua Configuration Interface
Copyright 2016 Weijie Gao <hackpascal@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m =... | gpl-2.0 |
DoktorAmir/Test | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
Vivitarut/darkstar | scripts/globals/spells/absorb-dex.lua | 6 | 1260 | --------------------------------------
-- Spell: Absorb-DEX
-- Steals an enemy's dexterity.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------... | gpl-3.0 |
jdhk94/DarkRP | entities/weapons/ls_sniper/shared.lua | 7 | 2644 | AddCSLuaFile()
if SERVER then
AddCSLuaFile("cl_init.lua")
end
if CLIENT then
SWEP.PrintName = "Silenced Sniper"
SWEP.Author = "DarkRP Developers"
SWEP.Slot = 0
SWEP.SlotPos = 0
SWEP.IconLetter = "n"
killicon.AddFont("ls_sniper", "CSKillIcons", SWEP.IconLetter, Color(200, 200, 200, 255))
e... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua | 9 | 2429 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Worn Book
-- Getting "Old Rusty Key (keyitem)"
-- @pos 59 0 19 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyit... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua | 15 | 2732 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Trail Markings
-- Dynamis-Jeuno Enter
-- @pos 35 9 -51 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Tavnazian_Safehold/npcs/Resauchamet.lua | 19 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Resauchamet
-- Standard Info NPC
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--------------------------------... | gpl-3.0 |
dnet/proxmark3 | client/lualibs/htmlskel.lua | 9 | 9749 | local skel_1 = [[
<html>
<head>
<script>
var dictionary = {}
function add(commaSeparated)
{
var fields = commaSeparated.split(",");
var manufacturerCode = fields[0];
var modelCode = fields[1];
var modelSubCode= fields[2];
var modelName = fields[3];
var ATQA = fields[4];
var SAK = fi... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Xarcabard/npcs/qm2.lua | 17 | 1635 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm2 (???)
-- Involved in Quests: Atop the Highest Mountains (for Boreal Tiger)
-- @pos 341 -29 370 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Woods/npcs/Spare_Two.lua | 19 | 1505 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Spare Two
-- Working 100%
-- Involved in quest: A Greeting Cardian
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
package.loaded["... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Rabao/npcs/Ashu_Bolkhomo.lua | 4 | 1865 | -----------------------------------
-- Area: Rabao
-- NPC: Ashu Bolkhomo
-- Map Seller NPC
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/zones/Rabao/... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/The_Eldieme_Necropolis/npcs/_5f4.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 180 -34 -15 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
3scale/nginx-oauth-templates | oauth2/resource-owner-password-flow/token-generation/threescale_utils.lua | 7 | 3017 | -- threescale_utils.lua
local M = {} -- public interface
-- private
-- Logging Helpers
function M.show_table(t, ...)
local indent = 0 --arg[1] or 0
local indentStr=""
for i = 1,indent do indentStr=indentStr.." " end
for k,v in pairs(t) do
if type(v) == "table" then
msg = indentStr .. M.show_table(v... | mit |
Vivitarut/darkstar | scripts/zones/Lower_Jeuno/npcs/Navisse.lua | 34 | 4871 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Navisse
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/pathfind");
local path = {
-- -59.562683, 6.000... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_Windurst/npcs/Mojo-Pojo.lua | 38 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Mojo-Pojo
-- Type: Standard NPC
-- @zone: 240
-- @pos -108.041 -4.25 109.545
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua | 38 | 1147 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Yassi-Possi
-- Type: Item Deliverer
-- @zone: 94
-- @pos 153.992 -0.001 -18.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua | 38 | 1147 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Yassi-Possi
-- Type: Item Deliverer
-- @zone: 94
-- @pos 153.992 -0.001 -18.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
rpufky/trafficserver | plugins/experimental/ts_lua/example/test_ret_403.lua | 17 | 1190 | -- 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 |
masterkorp/Vicious | widgets/mem.lua | 15 | 1850 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
---------------------------------------------------
-- {{{ Grab environment
local io = { lines = io.lines }
local se... | gpl-2.0 |
prefanatic/exsto | lua/exsto/plugins/shared/adverts.lua | 1 | 22945 | local PLUGIN = exsto.CreatePlugin()
PLUGIN:SetInfo( {
Name = "Adverts",
ID = "adverts",
Desc = "Allows the creation of adverts",
Owner = "Prefanatic",
CleanUnload = true;
} )
if SERVER then
function PLUGIN:Init()
util.AddNetworkString( "ExRequestAdverts" )
util.AddNetworkString( "ExSendAdverts" )
util.Ad... | gpl-3.0 |
kepler155c/opus-apps | neural/mobRancher.lua | 1 | 3802 | --[[
Changed to use a 2-high mob (smaller mobs may work ?)
Updated due to entity.look working correctly now.
The mob looks head-on to the lever. Make sure the
lever is accessible by the mob.
Laser is now optional - if no laser, the mobs will be
punched (or provide a stick). Best mob may be a
skeleton (unlimite... | mit |
Gwynthell/FFDB | scripts/commands/additem.lua | 1 | 1243 | ---------------------------------------------------------------------------------------------------
-- func: additem
-- auth: <Unknown>
-- desc: Adds an item to the players inventory.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
... | gpl-3.0 |
TeslaProject/external_skia | tools/lua/scrape_dashing.lua | 160 | 2495 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/slice_of_juicy_mutton.lua | 35 | 1397 | -----------------------------------------
-- ID: 4335
-- Item: slice_of_juicy_mutton
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/anthos_xiphos.lua | 16 | 1037 | -----------------------------------------
-- ID: 17750
-- Item: Anthos Xiphos
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h4.lua | 4 | 3187 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Great Hall
-- Involved in Missions: 3-3, 5-2, 6-1, 8-2, 9-1
-- @pos 0 -1 13 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
------... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Lib/Platform/NaoV4/Body/dcm.lua | 1 | 1222 | module(..., package.seeall);
require("shm");
require("carray");
sensorShm = shm.open('dcmSensor');
actuatorShm = shm.open('dcmActuator');
sensor = { } ;
actuator = { } ;
function get_sensor_shm(shmkey, index)
if (index) then
return sensor[shmkey][index];
else
local t = { } ;
for i = 1,#sensor[shmkey] do
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/VeLugannon_Palace/npcs/Treasure_Coffer.lua | 2 | 3408 | -----------------------------------
-- Area: Ve'Lugannon Palace
-- NPC: Treasure Coffer
-- @zone 177
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/anchovy.lua | 35 | 1197 | -----------------------------------------
-- ID: 5652
-- Item: Anchovy
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Dexterity +1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
msafin/luci | libs/httpclient/luasrc/httpclient.lua | 41 | 9111 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
requi... | apache-2.0 |
czanyou/node.lua | modules/app/tests/test-conf.lua | 1 | 3577 | local tap = require('util/tap')
local conf = require('app/conf')
local uv = require('luv')
local assert = require('assert')
describe("test profile:load", function ()
local text = [[
{
"test" : {
"name" : "lucy"
},
"video" : {
"w" : 100,
"a" : true,
"b" : false,
"h" : 200
}
}
]]
loc... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/Xarcabard/npcs/Telepoint.lua | 2 | 1575 | -----------------------------------
-- Area: Xarcabard
-- NPC: Telepoint
-- @pos 150.258 -21.047 -37.256 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Xarcabard/TextIDs");... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/plate_of_squid_sushi_+1.lua | 3 | 1408 | -----------------------------------------
-- ID: 5162
-- Item: plate_of_squid_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_San_dOria/Zone.lua | 2 | 2616 | -----------------------------------
--
-- Zone: Port_San_dOria (232)
--
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/server");
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
----------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Kazham/npcs/HomePoint#1.lua | 1 | 1232 | -----------------------------------
-- Area: Kazham
-- NPC: HomePoint#1
-- @pos 77.654 -13.000 -94.457 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Kazham/TextIDs");
------... | gpl-3.0 |
Shayan123456/superseed | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
ld-test/lua-rote | spec/boxshell_spec.lua | 3 | 1622 | -- This file is part of lua-rote, Lua binding to ROTE
-- Terminal Emulation library
-- Copyright (C) 2015 Boris Nagaev
-- See the LICENSE file for terms of use.
-- test RoteTerm:draw() and script demo/boxshell.lua
-- FIXME RoteTerm:draw() draws wrong things on Travis
-- https://travis-ci.org/starius/lua-rote/jobs/544... | lgpl-2.1 |
Gwynthell/FFDB | scripts/zones/Port_Windurst/npcs/Newlyn.lua | 38 | 1034 | -----------------------------------
-- Area: Port Windurst
-- NPC: Newlyn
-- Type: Standard NPC
-- @zone: 240
-- @pos 200.673 -6.601 108.665
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Silver_Knife/Zone.lua | 36 | 1113 | -----------------------------------
--
-- Zone: Silver Knife
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Silver_Knife/TextIDs"] = nil;
require("scripts/zones/Silver_Knife/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/lik_kabob.lua | 35 | 1264 | -----------------------------------------
-- ID: 5647
-- Item: Lik Kabob
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Dexterity 3
-- Attack 7
-- Mind -2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
cryptotoad/prosody-modules | mod_http_index/mod_http_index.lua | 31 | 3606 | local st = require "util.stanza";
local url = require"socket.url";
module:depends"http";
-- local dump = require"util.serialization".new"dump".serialize;
local function template(data)
--[[ DOC
Like util.template, but deals with plain text
Returns a closure that is called with a table of values
{name} is substitu... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Dangruf_Wadi/npcs/_5b1.lua | 12 | 2607 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Strange Apparatus
-- @pos: -494 -4 -100 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
require("scripts/zones/Dangruf_Wadi/TextIDs");
require("scripts/globals/strangeapparatus");
-------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Lower_Jeuno/npcs/_6t2.lua | 13 | 3963 | -----------------------------------
-- Area: Lower Jeuno
-- Door: Merchant's House
-- Starts & Finishes Quest: Save My Son
-- Optional Involvement in Quest: Chocobo's Wounds, Path of the Beastmaster
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_moogurt.lua | 3 | 1265 | -----------------------------------------
-- ID: 5935
-- Item: Bowl of Moogurt
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 20 Cap 20
-- Vitality 3
-- HP Healing 3
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
kepler155c/opus-apps | farms/apis/craft.lua | 1 | 8307 | local itemDB = require('core.itemDB')
local Util = require('opus.util')
local fs = _G.fs
local turtle = _G.turtle
local RECIPES_DIR = 'packages/farms/etc/recipes'
local USER_RECIPES = 'usr/config/recipes.db'
local Craft = { }
local function clearGrid(inventoryAdapter)
for i = 1, 16 do
local count = turtle... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Monastic_Cavern/npcs/Magicite.lua | 19 | 1595 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @pos -22 1 -66 150
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/East_Ronfaure/npcs/Cavernous_Maw.lua | 4 | 1362 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to East Ronfaure [S]
-- @pos 322 -59 503 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyit... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Beadeaux/npcs/Treasure_Coffer.lua | 12 | 4014 | -----------------------------------
-- Area: Beadeaux
-- NPC: Treasure Coffer
-- @zone 147
-- @pos 215 40 69
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems"... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/The_Eldieme_Necropolis/npcs/_5fc.lua | 4 | 1062 | -----------------------------------
-- 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 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/sleepshroom.lua | 35 | 1191 | -----------------------------------------
-- ID: 4374
-- Item: sleepshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Southern_San_dOria/npcs/Hanaa_Punaa.lua | 19 | 6196 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Hanaa Punaa
-- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test
-- @zone 230
-- @pos
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
clrksml/jailbreak | entities/weapons/weapon_deagle.lua | 1 | 1130 | AddCSLuaFile()
DEFINE_BASECLASS("weapon_jbbase")
SWEP.PrintName = "Desert Eagle"
SWEP.Slot = 1
SWEP.SlotPos = 1
if CLIENT then
killicon.AddFont("weapon_deagle", "CSKillIcons", "t", Color(255, 80, 0, 255))
end
SWEP.HoldType = "pistol"
SWEP.ViewModel = Model("models/weapons/cstrike/c_pist_deagle.mdl")... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Southern_San_dOria/npcs/Alaune.lua | 1 | 1239 | -----------------------------------
-- Area: Southern San d`Oria
-- NPC: Alaune
-- Type: Tutorial NPC
-- @zone: 230
-- @pos -90 1 -56
-----------------------------------
-- can not find correct event IDs
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(pl... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Northern_San_dOria/npcs/Jufaue.lua | 38 | 1052 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jufaue
-- Type: Past Event Watcher
-- @zone: 231
-- @pos 13.221 -1.199 -19.231
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = ni... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua | 30 | 3055 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Chilaumme, R.K.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Lib/Modules/lzmqFFI/error.lua | 1 | 1769 | local ok, zmq = pcall(require, "lzmq")
if not ok then
zmq = nil end
local errors
if zmq then
errors = { }
for n,e in pairs(zmq.errors) do
if type(n) == 'string' then
errors[n] = e
end
end
else -- WARNING this is not best way
local IS_WINDOWS =
(require "ffi".os: lower() == 'windows')
or package.... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/base/sh_gamemode_functions.lua | 6 | 2281 | function GM:SetupMove(ply, mv, cmd)
if ply:isArrested() then
mv:SetMaxClientSpeed(self.Config.arrestspeed)
end
return self.Sandbox.SetupMove(self, ply, mv, cmd)
end
function GM:StartCommand(ply, usrcmd)
-- Used in arrest_stick and unarrest_stick but addons can use it too!
local wep = ply:Ge... | mit |
NoahNMorton/Gangsir_MC_LuaPrograms | Computercraft/Botaniaendoflameautomation (x6hJNtW2).lua | 2 | 1518 | --Botania Endoflame redstone dropper automation
--Copyright 2015 Gangsir
--Provide args on launch for fuel type. either coal,coalblock,coalcoke,coalcokeblock.
local fueltype = {...} --get args
local dir = fueltype[2] --direction to output redstone on
function isCoal()
while true do
rs.setOutput(dir,true)... | gpl-2.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_mushroom_soup.lua | 3 | 1269 | -----------------------------------------
-- ID: 4419
-- Item: mushroom_soup
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Magic Points 20
-- Strength -1
-- Mind 2
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Bastok_Mines/npcs/Faustin.lua | 4 | 1596 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Faustin
-- Only sells when Bastok controlls Ronfaure Region
-----------------------------------
require("scripts/globals/harvest_festivals");
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Ba... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Palborough_Mines/npcs/_3za.lua | 19 | 1504 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lid
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Pashhow_Marshlands_[S]/npcs/qm1.lua | 8 | 1120 | -----------------------------------
-- Area: Pashhow_Marshlands(S)
-- NPC: ??? (Kinepikwa)
-- Allow player to spawn Kinepikwa with Peiste pellets
--
-----------------------------------
-----------------------------------
-----------------------------------
-- onTrade Action
------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua | 36 | 1693 | -----------------------------------
-- Area: Port Bastok
-- NPC: Zoby Quhyo
-- Only sells when Bastok controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bas... | gpl-3.0 |
dddaaaddd/zarin | plugins/weather.lua | 1 | 4868 |
local function temps(K)
local F = (K*1.8)-459.67
local C = K-273.15
return F,C
end
local function run(msg, matches)
local res = http.request("http://api.openweathermap.org/data/2.5/weather?q="..URL.escape(matches[2]).."&appid=269ed82391822cc692c9afd59f4aabba")
local jtab = JSON.decode(res)
if jtab.name then
... | gpl-2.0 |
Gwynthell/FFDB | scripts/globals/weaponskills/thunder_thrust.lua | 4 | 1218 | -----------------------------------
-- Thunder Thrust
-- Polearm weapon skill
-- Skill Level: 30
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:20% ; IN... | gpl-3.0 |
xpol/luavm | luarocks/src/luarocks/fetch/cvs.lua | 10 | 1832 |
--- Fetch back-end for retrieving sources from CVS.
local cvs = {}
local unpack = unpack or table.unpack
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local util = require("luarocks.util")
--- Download sources for building a rock, using CVS.
-- @param rockspec table: The rockspec table
-- @p... | mit |
msafin/luci | applications/luci-statistics/luasrc/statistics/datatree.lua | 77 | 4394 | --[[
Luci statistics - rrd data tree builder
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/... | apache-2.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/CocoStudioTest/CocoStudioArmatureTest/CocoStudioArmatureTest.lua | 14 | 40820 | local itemTagBasic = 1000
local armaturePerformanceTag = 20000
local frameEventActionTag = 10000
local winSize = cc.Director:getInstance():getWinSize()
local scheduler = cc.Director:getInstance():getScheduler()
local ArmatureTestIndex =
{
TEST_ASYNCHRONOUS_LOADING = 1,
TEST_DIRECT_LOADING = 2,
... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/GM_Home/Zone.lua | 25 | 1251 | -----------------------------------
--
-- Zone: GM Home (210)
--
-- Some cs event info:
-- 0 = Abyssea Debug
-- 1 = Mogsack Debug
-- ...
-- 139 = Janken challenges player to "Rock, Paper, Scissors"
-- ...
-- 140 = Camera test.
-- 141 = "Press confirm button to proceed" nonworking test.
--
-----------------... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/PerformanceTest/PerformanceSpriteTest.lua | 14 | 16145 | local kMaxNodes = 50000
local kBasicZOrder = 10
local kNodesIncrease = 250
local TEST_COUNT = 7
local s = cc.Director:getInstance():getWinSize()
-----------------------------------
-- For test functions
-----------------------------------
local function performanceActions(sprite)
sprite:setPosition(cc.p(math.mod(ma... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Woods/TextIDs.lua | 3 | 5431 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6537; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6540; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 6541; -- O... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotarySpring.lua | 7 | 1400 |
--------------------------------
-- @module PhysicsJointRotarySpring
-- @extend PhysicsJoint
-- @parent_module cc
--------------------------------
-- @function [parent=#PhysicsJointRotarySpring] getDamping
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @f... | apache-2.0 |
Vivitarut/darkstar | scripts/globals/items/apple_pie_+1.lua | 35 | 1305 | -----------------------------------------
-- ID: 4320
-- Item: Apple Pie +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 30
-- Intelligence 4
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Castle_Oztroja/npcs/_47y.lua | 2 | 1330 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47y (Torch Stand)
-- Notes: Opens door _474
-- @pos -57.575 24.218 -67.651 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztr... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Promyvion-Holla/npcs/qm6.lua | 17 | 1087 | -----------------------------------
-- Area: Promyvion holla
-- ??? map acquisition
-----------------------------------
package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Promyvion-Holla/TextIDs");
... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Southern_San_dOria/npcs/Moozo-Koozo.lua | 15 | 5033 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Moozo-Koozo
-- Title Change NPC
-- @pos 83 0 120 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
requir... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Upper_Jeuno/npcs/_6s2.lua | 17 | 3818 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Galmut's door
-- Starts and Finishes Quest: A Clock Most Delicate, Save the Clock Tower, The Clockmaster
-- @zone 244
-- @pos -80 0 104
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
package.loaded["... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/weaponskills/cyclone.lua | 4 | 1348 | -----------------------------------
-- Cyclone
-- Dagger weapon skill
-- Skill level: 125
-- Delivers an area attack that deals wind elemental damage. Damage varies with TP.
-- This weapon skill is ranged and can be used from a distance (Up to 15').
-- Directly affected by Magic Attack Bonus.
-- Aligned with the... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Lower_Jeuno/npcs/Gurdern.lua | 34 | 1374 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Gurdern
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kubhe_Ijyuhla.lua | 17 | 2421 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kubhe Ijyuhla
-- Standard Info NPC
-- @pos 23.257 0.000 21.532 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quest... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_San_dOria/npcs/Vendavoq.lua | 36 | 1867 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Vendavoq
-- Only sells when San d'Oria controls Movalpolos
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop")... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/plate_of_tuna_sushi.lua | 35 | 1526 | -----------------------------------------
-- ID: 5150
-- Item: plate_of_tuna_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 3
-- Charisma 5
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("s... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Chest.lua | 5 | 3198 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Treasure Chest
-- @zone 161
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Western_Altepa_Desert/npcs/_3h6.lua | 2 | 1801 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h6 (Topaz Column)
-- Notes: Mechanism for Altepa Gate
-- @pos -260 10 -344 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/god/cl_init.lua | 10 | 1557 | FAdmin.StartHooks["God"] = function()
FAdmin.Messages.RegisterNotification{
name = "god",
hasTarget = true,
message = {"instigator", " enabled godmode for ", "targets"},
receivers = "everyone",
}
FAdmin.Messages.RegisterNotification{
name = "ungod",
hasTarget... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Walls/npcs/Five_of_Diamonds.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Five of Diamonds
-- Type: Standard NPC
-- @zone: 239
-- @pos -220.954 -0.001 -122.708
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-... | gpl-3.0 |
sammyt291/wire | lua/entities/gmod_wire_expression2/core/serverinfo.lua | 9 | 1630 | /******************************************************************************\
Server Information
\******************************************************************************/
__e2setcost(1)
e2function string map()
return game.GetMap()
end
local hostname = GetConVar("hostname")
e2function string hostname()
... | apache-2.0 |
msafin/luci | applications/luci-radvd/luasrc/model/cbi/radvd/rdnss.lua | 74 | 2324 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
Vivitarut/darkstar | scripts/globals/mobskills/Gusting_Gouge.lua | 6 | 1028 | ---------------------------------------------
-- Gusting Gouge
--
-- Description: Deals Wind damage in a threefold attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Lamia equipped with a one-handed weapon. If t... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/abilities/pets/tail_whip.lua | 6 | 1265 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/summon");
----------------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/coeurl_sub.lua | 3 | 1702 | -----------------------------------------
-- 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
---------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Mount_Zhayolm/TextIDs.lua | 2 | 1063 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6382; -- Obtained: <item>
GIL_OBTAINED = 6383; -- Obtained <number> gil
KEYITEM_OBTAINED = 6385; -- Obtain... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/shockwave.lua | 6 | 1511 | -----------------------------------
-- Shockwave
-- Great Sword weapon skill
-- Skill level: 150
-- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
--... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/mobskills/Optic_Induration.lua | 2 | 1222 | ---------------------------------------------
-- Optic Induration
--
-- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification & enmity reset
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- N... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Sacrificial_Chamber/Zone.lua | 7 | 2051 | -----------------------------------
--
-- Zone: Sacrificial_Chamber (163)
--
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/miss... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Ordelles_Caves/npcs/Stalagmite.lua | 2 | 2371 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: Stalagmite
-- Involved In Quest: Sharpening the Sword
-- @pos -51 0.1 3 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
maz-1/openwrt-extra | luci/applications/luci-rtorrent/luasrc/model/cbi/rtorrent/torrent/info.lua | 2 | 1491 | -- Copyright 2014-2016 Sandor Balazsi <sandor.balazsi@gmail.com>
-- Licensed to the public under the Apache License 2.0.
local rtorrent = require "rtorrent"
local common = require "luci.model.cbi.rtorrent.common"
local hash = arg[1]
local details = rtorrent.batchcall({"name", "custom2", "timestamp.started", "timestam... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.