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
Kthulupwns/darkstar
scripts/zones/Windurst_Walls/npcs/Naih_Arihmepp.lua
38
1415
----------------------------------- -- Area: Windurst Walls -- NPC: Naih Arihmepp -- Type: Standard NPC -- @pos -64.578 -13.465 202.147 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requi...
gpl-3.0
TheRowanA/DarkRPSk-MoneyPrinters
lua/entities/vip_silver_printer/init.lua
1
6193
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") -- [ ALTER THESE VALUES ] ---- local printTime = 120 -- How long the printer takes to generate money. local minPrint = 4000 -- The minimum amount the printer can generate. local maxPrint = 7000 -- The maximum amou...
gpl-2.0
azukiapp/luasocket
test/ltn12test.lua
12
8625
local ltn12 = require("ltn12") dofile("testsupport.lua") local function format(chunk) if chunk then if chunk == "" then return "''" else return string.len(chunk) end else return "nil" end end local function show(name, input, output) local sin = format(input) local sout = format(output...
mit
Kthulupwns/darkstar
scripts/globals/spells/bluemagic/hecatomb_wave.lua
3
1292
----------------------------------------- -- Blastbomb -- http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage -- ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/bluemagic"); ---------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua
34
1541
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Ezura-Romazura -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Wi...
gpl-3.0
aa65535/luci
modules/luci-mod-rpc/luasrc/controller/rpc.lua
37
4466
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local require = require local pairs = pairs local print = print local pcall = pcall local table = table module "luci.controller.rpc" function index() local ...
apache-2.0
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Menu.lua
8
1977
-------------------------------- -- @module Menu -- @extend Layer -- @parent_module cc -------------------------------- -- -- @function [parent=#Menu] setEnabled -- @param self -- @param #bool value -------------------------------- -- align items vertically -- @function [parent=#Menu] alignItemsVerticall...
mit
dios-game/dios-cocos-samples
src/lua-fantasy-warrior-3d/src/custom/api/ShadowSprite.lua
9
1047
-------------------------------- -- @module ShadowSprite -- @extend Sprite -- @parent_module cc -------------------------------- -- -- @function [parent=#ShadowSprite] create -- @param self -- @param #string filename -- @return ShadowSprite#ShadowSprite ret (return value: cc.ShadowSprite) -----------------...
mit
Kthulupwns/darkstar
scripts/zones/Sacrarium/npcs/Large_Keyhole.lua
10
1210
----------------------------------- -- Area: Sacrarium -- NPC: Large Keyhole -- Notes: Used to open R. Gate -- @pos 100.231 -1.414 51.700 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/Text...
gpl-3.0
Velkon/DarkRP
gamemode/modules/fadmin/fadmin/access/sh_shared.lua
4
9728
CreateConVar("_FAdmin_immunity", 1, {FCVAR_GAMEDLL, FCVAR_REPLICATED, FCVAR_ARCHIVE, FCVAR_SERVER_CAN_EXECUTE}) FAdmin.Access = FAdmin.Access or {} FAdmin.Access.ADMIN = {"user", "admin", "superadmin"} FAdmin.Access.ADMIN[0] = "user" FAdmin.Access.Groups = FAdmin.Access.Groups or {} FAdmin.Access.Privileges = FAdmin....
mit
Kthulupwns/darkstar
scripts/globals/mobskills/Grim_Halo.lua
6
1092
--------------------------------------------------- -- Grim Halo -- Deals damage to a all targets. Additional effect: Knockback -- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors). --------------------------------------------------- require("/scripts/globals/set...
gpl-3.0
mlody1039/ModernOts
data/npc/scripts/Barry.lua
1
1761
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function ...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Bastok_Mines/npcs/Gelzerio.lua
36
1772
----------------------------------- -- Area: Bastok Mines -- NPC: Galzerio -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); -------------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/weaponskills/swift_blade.lua
30
1389
----------------------------------- -- Swift Blade -- Sword weapon skill -- Skill Level: 225 -- Delivers a three-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifie...
gpl-3.0
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/plugin/luabindings/auto/api/lua_cocos2dx_pluginx_auto_api.lua
146
1793
-------------------------------- -- @module plugin -------------------------------------------------------- -- the plugin PluginProtocol -- @field [parent=#plugin] PluginProtocol#PluginProtocol PluginProtocol preloaded module -------------------------------------------------------- -- the plugin PluginManager -- @fi...
mit
harvardnlp/im2markup
src/data/data_gen.lua
1
7760
--[[ Load image data. Adapted from https://github.com/da03/Attention-OCR/blob/master/src/data_util/data_gen.py. -- ARGS: -- - `data_base_dir` : string, The base directory of the image path in data_path. If the image path in data_path is absolute path, set it to /. -- - `data_path` : string, ...
mit
RedVrmy/WarlightMod
Client_PresentMenuUI.lua
1
6073
require('Utilities'); function Client_PresentMenuUI(rootParent, setMaxSize, setScrollable, game, close) setMaxSize(320,235) Game = game; --make it globally accessible local vert = UI.CreateVerticalLayoutGroup(rootParent); if (game.Us ~= nil) then --don't show declare button to spectators UI.CreateButton(vert)....
mit
Kthulupwns/darkstar
scripts/zones/Al_Zahbi/npcs/Zwiyaam.lua
38
1024
----------------------------------- -- Area: Al Zahbi -- NPC: Zwiyaam -- Type: Standard NPC -- @zone: 48 -- @pos 14.814 -7.667 41.889 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua
17
2352
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Hieroglyphics -- Notes: Dynamis Tavnazia Enter -- @pos 3.674 -7.278 -27.856 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/plugin/luabindings/auto/api/FacebookAgent.lua
16
1731
-------------------------------- -- @module FacebookAgent -- @parent_module plugin -------------------------------- -- brief Notifies the events system that the app has launched & logs an activatedApp event. -- @function [parent=#FacebookAgent] activateApp -- @param self -------------------------------- --...
mit
hamed9898/uzzbott
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 local TIME_CHECK = 4 -- seconds 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....
gpl-2.0
punisherbot/punisherbot
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 local TIME_CHECK = 4 -- seconds 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....
gpl-2.0
yoer/hue
tools/wrk-scripts/lib/cookie.lua
22
2724
-- The MIT License (MIT) -- -- Copyright (c) 2014 Cyril David <cyx@cyx.is> -- -- 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...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Temenos/Zone.lua
28
5036
----------------------------------- -- -- Zone: Temenos (37) -- ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Temenos/TextIDs"); require("scripts/globals/limbus"); -...
gpl-3.0
telbbs/luci-0.12
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua
141
1031
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.i18n") re...
apache-2.0
mlody1039/ModernOts
data/npc/scripts/Captain Max Calassa.lua
1
1358
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg)...
gpl-3.0
FPtje/DarkRP
gamemode/modules/jobs/sv_interface.lua
9
5365
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 =...
mit
aa65535/luci
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
47
3729
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local username, password, ac, service local ipv6, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand, mtu username = section:taboption("gener...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Nashmau/npcs/Pipiroon.lua
34
1224
----------------------------------- -- Area: Nashmau -- NPC: Pipiroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ----------...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Metalworks/npcs/Grohm.lua
23
2684
----------------------------------- -- Area: Metalworks -- NPC: Grohm -- Involved In Mission: Journey Abroad -- @pos -18 -11 -27 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/z...
gpl-3.0
GabrielNicolasAvellaneda/luvit-upstream
deps/stream/init.lua
1
1058
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 Unless required by applicable law o...
apache-2.0
MmxBoy/Metal-bot-V.2
plugins/ingroup.lua
37
31653
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
tanema/light_world.lua
conf.lua
1
2663
function love.conf(t) t.identity = nil -- The name of the save directory (string) t.version = "11.3" -- The LÖVE version this game was made for (string) t.console = true -- Attach a console (boolean, Windows only) t.window.title = "Light & Shadow" --...
mit
a-wortman/blingbling
calendar.lua
4
28012
-- @author cedlemo local awful = require('awful') local capi = { screen = screen, mouse = mouse } local helpers = require('blingbling.helpers') local text_box = require('blingbling.text_box') local superproperties = require('blingbling.superproperties') local math = math local util = require('awful.util') local wibox =...
gpl-2.0
kayru/tundra
scripts/tundra/ide/msvc-common.lua
18
29280
module(..., package.seeall) local native = require "tundra.native" local nodegen = require "tundra.nodegen" local path = require "tundra.path" local util = require "tundra.util" LF = '\r\n' local UTF_HEADER = '\239\187\191' -- byte mark EF BB BF local VERSION_NUMBER = "12.00" local VERSION_YEAR = "2012" lo...
gpl-3.0
xvaara/kong
kong/cli/utils/ssl.lua
3
2662
local logger = require "kong.cli.utils.logger" local utils = require "kong.tools.utils" local IO = require "kong.tools.io" local _M = {} function _M.get_ssl_cert_and_key(kong_config) local ssl_cert_path, ssl_key_path if (kong_config.ssl_cert_path and not kong_config.ssl_key_path) or (kong_config.ssl_key_path...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Metalworks/npcs/Topuru-Kuperu.lua
38
1044
----------------------------------- -- Area: Metalworks -- NPC: Topuru-Kuperu -- Type: Standard NPC -- @zone: 237 -- @pos 28.284 -17.39 42.269 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scrip...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Dynamis-Beaucedine/mobs/Angra_Mainyu.lua
19
2392
----------------------------------- -- Area: Dynamis Beaucedine -- NPC: Angra Mainyu -- Mega Boss ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action --...
gpl-3.0
Godfather021/tg
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
xvaara/kong
spec/plugins/key-auth/hooks_spec.lua
2
4995
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local cache = require "kong.tools.database_cache" local STUB_GET_URL = spec_helper.STUB_GET_URL local API_URL = spec_helper.API_URL describe("Key Authentication Hooks", function() setup...
apache-2.0
jlopenwrtluci/luci
build/luadoc/luadoc/util.lua
32
5859
------------------------------------------------------------------------------- -- General utilities. -- @release $Id: util.lua,v 1.16 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- local posix = require "nixio.fs" local type, table, string, io, as...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Furious_Boulder.lua
34
1040
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Furious Boulder -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); --...
gpl-3.0
mlody1039/ModernOts
data/npc/scripts/Reed.lua
1
1763
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function ...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua
19
1579
----------------------------------- -- Area: Castle Oztroja -- NPC: Kaa Toru the Just -- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~ -- @pos -100.188 -62.125 145.422 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
ark120202/aabs
game/scripts/vscripts/libraries/abilities/containers_lua_targeting.lua
11
6189
containers_lua_targeting = class({}) -------------------------------------------------------------------------------- function containers_lua_targeting:GetBehavior() local result = CustomNetTables:GetTableValue("containers_lua", tostring(self:entindex())) if not result then return self.BaseClass.GetBehavior(self) ...
mit
xvaara/kong
kong/plugins/ssl/handler.lua
2
1632
-- Copyright (C) Mashape, Inc. local BasePlugin = require "kong.plugins.base_plugin" local responses = require "kong.tools.responses" local cache = require "kong.tools.database_cache" local SSLHandler = BasePlugin:extend() SSLHandler.PRIORITY = 3000 local HTTPS = "https" local function is_https(conf) local resul...
apache-2.0
awhitesong/rspamd
src/plugins/lua/maillist.lua
3
8403
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
bsd-2-clause
Kthulupwns/darkstar
scripts/zones/Southern_San_dOria/npcs/Katharina.lua
37
1095
----------------------------------- -- Area: Southern San d'Oria -- NPC: Katharina -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Southe...
gpl-3.0
xvaara/kong
kong/plugins/request-size-limiting/handler.lua
3
1368
-- Copyright (C) Mashape, Inc. local BasePlugin = require "kong.plugins.base_plugin" local stringy = require "stringy" local response = require "kong.tools.responses" local CONTENT_LENGTH = "content-length" local RequestSizeLimitingHandler = BasePlugin:extend() RequestSizeLimitingHandler.PRIORITY = 950 local funct...
apache-2.0
mlody1039/ModernOts
data/npc/scripts/Tesha.lua
9
13057
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local thinkMsg = { "It's a wise idea to store your money in a bank account." } function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) ...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua
12
1882
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: _0z0 ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden_of_RuHmet/TextIDs");...
gpl-3.0
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Animation.lua
10
4139
-------------------------------- -- @module Animation -- @extend Ref -- @parent_module cc -------------------------------- -- Gets the times the animation is going to loop. 0 means animation is not animated. 1, animation is executed one time, ... -- @function [parent=#Animation] getLoops -- @param self -- @return ...
mit
Kthulupwns/darkstar
scripts/globals/items/handful_of_roasted_almonds.lua
36
1079
----------------------------------------- -- ID: 5649 -- Item: Handful of Roasted Almonds -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
dpino/snabb
lib/ljsyscall/syscall/netbsd/fcntl.lua
24
1318
-- NetBSD fcntl local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(types) local c = require...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Jugner_Forest/npcs/Alexius.lua
17
1614
----------------------------------- -- Area: Jugner Forest -- NPC: Alexius -- Involved in Quest: A purchase of Arms & Sin Hunting -- @pos 105 1 382 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
FPtje/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/ignite/cl_init.lua
10
1748
FAdmin.StartHooks["Ignite"] = function() FAdmin.Messages.RegisterNotification{ name = "ignite", hasTarget = true, message = {"instigator", " ignited ", "targets", " ", "extraInfo.1"}, readExtraInfo = function() local time = net.ReadUInt(16) return {time == 0 a...
mit
AGTMADCAT/naev
dat/scripts/pilot/pirate.lua
11
8424
include("pilot/generic.lua") include("dat/factions/equip/helper.lua") include("dat/factions/equip/outfits.lua") --[[ -- @brief Creates a mighty pirate of epic proportions. -- -- @param pirate_create If nil or true actually creates a pirate with a -- random name and all, otherwise it'll give ship type and...
gpl-3.0
Velkon/DarkRP
gamemode/modules/positions/sv_database.lua
5
5192
/*--------------------------------------------------------------------------- Loading ---------------------------------------------------------------------------*/ local teamSpawns = {} local jailPos = {} local function onDBInitialized() local map = MySQLite.SQLStr(string.lower(game.GetMap())) MySQLite.query("S...
mit
Kthulupwns/darkstar
scripts/globals/items/dish_of_salsa.lua
35
1591
----------------------------------------- -- ID: 5299 -- Item: dish_of_salsa -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Sleep Resist 5 ----------------------------------------- requ...
gpl-3.0
dpino/snabb
lib/ljsyscall/syscall/netbsd/nr.lua
24
9205
-- NetBSD syscall numbers local nr = { SYS = { syscall = 0, exit = 1, fork = 2, read = 3, write = 4, open = 5, close = 6, compat_50_wait4 = 7, compat_43_ocreat = 8, link = 9, unlink = 10, chdir = 12, fchdir = 13, compat_50_mknod = 14, chmod = 15, chown = 16, ["break"] = 17, compat...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Metalworks/npcs/Romualdo.lua
34
1431
----------------------------------- -- Area: Metalworks -- NPC: Romualdo -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/Text...
gpl-3.0
telergybot/320zspam
bot/seedbot.lua
1
8511
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
Kthulupwns/darkstar
scripts/globals/spells/luminohelix.lua
22
1719
-------------------------------------- -- Spell: Luminohelix -- Deals light damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/global...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/East_Ronfaure_[S]/npcs/Logging_Point.lua
29
1113
----------------------------------- -- Area: East Ronfaure [S] -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/East_Ronfaure_[S]/TextIDs...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/RuAun_Gardens/Zone.lua
28
15340
----------------------------------- -- -- Zone: RuAun_Gardens (130) -- ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/globals/conque...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/meat_chiefkabob.lua
35
1461
----------------------------------------- -- ID: 4574 -- Item: meat_chiefkabob -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack % 22 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
telergybot/telergybot
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
punisherbot/punisherbot
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
dpino/snabb
lib/ljsyscall/syscall/openbsd/ioctl.lua
24
3734
-- ioctls, filling in as needed local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(types) l...
apache-2.0
Kthulupwns/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g0.lua
34
1096
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g0 (Door C) -- @pos 44 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ---------------------...
gpl-3.0
shayanchabok555/tigerantispam007
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
Kthulupwns/darkstar
scripts/globals/mobskills/Pinning_Shot.lua
6
1055
--------------------------------------------- -- Pinning Shot -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. ----------------------------...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/abilities/fighters_roll.lua
2
1416
----------------------------------- -- Ability: Choral Roll ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onAbilityCheck(player,target,ability) l...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/weaponskills/sniper_shot.lua
30
1451
----------------------------------- -- Sniper Shot -- Marksmanship weapon skill -- Skill Level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:70% -- 100%TP 2...
gpl-3.0
Kthulupwns/darkstar
scripts/globals/items/vulcan_claymore.lua
16
1410
----------------------------------------- -- ID: 18379 -- Item: Vulcan Claymore -- Additional Effect: Fire Damage -- Enchantment: Enfire ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----...
gpl-3.0
Kthulupwns/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
mightymadTV/gmod_deathmatch
teamdeathmatch/entities/weapons/weapon_base/shared.lua
3
8503
IncludeCS( "ai_translations.lua" ) IncludeCS( "sh_anim.lua" ) -- Variables that are used on both client and server SWEP.Author = "" SWEP.Contact = "" SWEP.Purpose = "" SWEP.Instructions = "" SWEP.ViewModelFOV = 62 SWEP.ViewModelFlip = false SWEP.ViewModel = "models/weapons/v_pistol.mdl" SWEP.WorldModel = "mod...
gpl-2.0
mlody1039/ModernOts
data/npc/scripts/Fenech.lua
1
7575
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCre...
gpl-3.0
aa65535/luci
applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua
78
1816
-- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local utl = require "luci.util" local sys = require "luci.sys" local fs = require "nixio.fs" local nw = require "luci.model.network" local dbdir, line for line in io.lines("/etc/vnstat.conf") do dbdir ...
apache-2.0
WidgetInteractive/Scholar
libs/LibAddonMenu-2.0/controls/iconpicker.lua
6
16259
--[[iconpickerData = { type = "iconpicker", name = "My Icon Picker", -- or string id or function returning a string choices = {"texture path 1", "texture path 2", "texture path 3"}, getFunc = function() return db.var end, setFunc = function(var) db.var = var doStuff() end, tooltip = "Color...
gpl-2.0
xvaara/kong
kong/api/routes/kong.lua
2
1461
local constants = require "kong.constants" local route_helpers = require "kong.api.route_helpers" local utils = require "kong.tools.utils" return { ["/"] = { GET = function(self, dao, helpers) local db_plugins, err = dao.plugins:find_distinct() if err then return helpers.responses.send_HTTP_I...
apache-2.0
ark120202/aabs
game/scripts/vscripts/items/item_essential_orb_fire.lua
1
2395
function CreateProjectile(keys) local caster = keys.caster local ability = keys.ability local particle = "particles/arena/items_fx/essential_orb_fire_projectile.vpcf" local speed = ability:GetLevelSpecialValueFor("speed", ability:GetLevel() - 1) local range = ability:GetLevelSpecialValueFor("range", ability:GetLev...
mit
kuoruan/luci
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua
9
3907
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")), translate("UPnP allows clients in the local network to automatically configure the...
apache-2.0
Kthulupwns/darkstar
scripts/zones/FeiYin/npcs/qm1.lua
9
1506
----------------------------------- -- Area: FeiYin -- NPC: qm1 (???) -- Involved In Quest: Pieuje's Decision -- @pos -55 -16 69 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
telbbs/luci-0.12
applications/luci-statistics/luasrc/statistics/i18n.lua
69
2405
--[[ Luci statistics - diagram i18n helper (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/licen...
apache-2.0
AGTMADCAT/naev
dat/missions/pirate/pir_cargo.lua
4
6016
--[[ Handles the randomly generated Pirate cargo missions. Most of the code taken from Empire Shipping. ]]-- include "dat/scripts/cargo_common.lua" include "dat/scripts/numstring.lua" -- This is in cargo_common, but we need to increase the range… function cargo_selectMissionDistance () local seed = rnd.rnd(...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Port_San_dOria/npcs/Coullave.lua
36
1889
----------------------------------- -- Area: Port San d'Oria -- NPC: Coullave -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/quests"); requ...
gpl-3.0
amenophis1er/prosody-modules
mod_incidents_handling/incidents_handling/incidents_handling.lib.lua
32
16333
-- This contains the auxiliary functions for the Incidents Handling module. -- (C) 2012-2013, Marco Cirillo (LW.Org) local pairs, ipairs, os_date, string, table, tonumber = pairs, ipairs, os.date, string, table, tonumber local dataforms_new = require "util.dataforms".new local st = require "util.stanza" local xmlns_...
mit
Kthulupwns/darkstar
scripts/zones/Mount_Zhayolm/npcs/_1p3.lua
31
3553
----------------------------------- -- Area: Mount Zhayolm -- Door: Runic Seal -- @pos 703 -18 382 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("...
gpl-3.0
Kthulupwns/darkstar
scripts/zones/The_Garden_of_RuHmet/MobIDs.lua
3
1929
----------------------------------- -- Area: The Garden of Ru'Hmet -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Ix'aern (drk) Ix_aern_drk=16921018; --Ix'Aern drk PH in pos 1 Hume-Elvaan Ix_aern_drk_PH_pos1={ [16920660] = '1', -- -232.885,4.399,439....
gpl-3.0
Kthulupwns/darkstar
scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua
10
1427
----------------------------------- -- Area: Beaucedine Glacier -- MOB: Tundra Tiger -- Note: PH for Nue, Kirata ----------------------------------- require("/scripts/globals/fieldsofvalor"); require("/scripts/zones/Beaucedine_Glacier/MobIDs"); ----------------------------------- -- onMobDeath --...
gpl-3.0
Kthulupwns/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
GabrielNicolasAvellaneda/luvit-upstream
tests/to-convert/test-fs-append-file-sync.lua
6
3333
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. 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 Unless required by applicable law or agre...
apache-2.0
ark120202/aabs
game/scripts/vscripts/modules/custom_abilities/ability_shop.lua
1
4393
function CustomAbilities:PostAbilityShopData() CustomGameEventManager:RegisterListener("ability_shop_buy", function(_, data) CustomAbilities:OnAbilityBuy(data.PlayerID, data.ability) end) CustomGameEventManager:RegisterListener("ability_shop_sell", Dynamic_Wrap(CustomAbilities, "OnAbilitySell")) CustomGameEventMa...
mit
kinzhang/cocos2d-js-v3.2
frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/script/ui/DeprecatedUIFunc.lua
39
7289
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of ccui.Text will be deprecated begin local TextDeprecated = { } function TextDeprecated.setText(self, str) deprecatedTip("ccui.Text:setT...
mit
telbbs/luci-0.12
modules/freifunk/luasrc/model/cbi/freifunk/basics.lua
74
3518
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Manuel Munz <freifunk at somakoma de> 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:...
apache-2.0
jlopenwrtluci/luci
applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua
6
8354
-- Copyright 2014-2016 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. local NXFS = require "nixio.fs" local DISP = require "luci.dispatcher" local HTTP = require "luci.http" local SYS = require "luci.sys" local CTRL = require "luci.controller...
apache-2.0
FPtje/DarkRP
gamemode/modules/jobs/sv_jobs.lua
1
17711
--[[--------------------------------------------------------------------------- Functions ---------------------------------------------------------------------------]] local meta = FindMetaTable("Player") function meta:changeTeam(t, force, suppressNotification, ignoreMaxMembers) local prevTeam = self:Team() loc...
mit
limelime/xmpv
xmpv/xmpv-stats.lua
1
2676
----------------------------------------------------------------------------- -- Stats class. ----------------------------------------------------------------------------- local home = os.getenv("HOME") package.path = package.path .. ';' .. home .. '/.config/mpv/scripts/?.lua' require 'xmpv-utils' require 'mp.options...
gpl-2.0
dios-game/dios-cocos-samples
src/lua-earth-warrior-3d/Resources/src/cocos/cocos2d/DeprecatedOpenglEnum.lua
148
11934
-- This is the DeprecatedEnum DeprecatedClass = {} or DeprecatedClass _G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT _G.GL_LINE_WIDTH = gl.LINE_WIDTH _G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA _G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA _G.GL_GREEN_BITS = gl.GREEN_BITS _G.GL_STENCIL_REF = gl.STENCI...
mit