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 |
|---|---|---|---|---|---|
HeavensSword/darkstar | scripts/zones/Northern_San_dOria/npcs/Taulenne.lua | 4 | 4766 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Taulenne
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
package.loaded["scripts/globals/armorstorage"] = nil;
-----------------------------------
require("scripts/zones/N... | gpl-3.0 |
dlannan/webdruino | deps/turbo-1.0.0/turbo/web.lua | 2 | 37560 | --- Turbo.lua Web Framework module.
-- API for asynchronous web services.
--
-- The Turbo.lua Web framework is modeled after the framework offered by
-- Tornado, which again is based on web.py (http://webpy.org/) and
-- Google's webapp (http://code.google.com/appengine/docs/python/tools/webapp/)
-- Some modifications ... | mit |
HeavensSword/darkstar | scripts/zones/Northern_San_dOria/npcs/Justi.lua | 5 | 1630 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Justi
-- Conquest depending furniture seller
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("s... | gpl-3.0 |
zhaozg/luvi | samples/test.app/utils.lua | 11 | 9569 | --[[
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 |
HeavensSword/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Akane_IM.lua | 3 | 2985 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Akane, I.M.
-- Type: Outpost Conquest Guards
-- !pos -294.470 15.806 420.117 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
haolly/slua_source_note | build/luajit-2.1.0-beta3/src/jit/dis_ppc.lua | 59 | 20301 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
ld-test/protobuf | lua/protobuf/encoder.lua | 3 | 13137 | --
--------------------------------------------------------------------------------
-- FILE: encoder.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
-- ... | bsd-3-clause |
HeavensSword/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/toadal_recall.lua | 7 | 1494 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: toadal_recall BCNM30
-- !pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
ArmanIr/TgClinewbot | 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 |
Wedmer/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 |
HeavensSword/darkstar | scripts/globals/items/serving_of_medicinal_quus.lua | 3 | 1037 | -----------------------------------------
-- ID: 4294
-- Item: serving_of_medicinal_quus
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Windurst_Woods/npcs/Harara_WW.lua | 5 | 2503 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Harara, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions and of... | gpl-3.0 |
Maliv/cyber | plugins/plugins.lua | 72 | 6113 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
Wedmer/luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua | 68 | 16296 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
local fs = require "nixio.fs"
local util = require "luci.util"
local ip = require "luci.ip"
local has_ipip = fs.glob("/etc/mo... | apache-2.0 |
HeavensSword/darkstar | scripts/globals/mobskills/heavy_stomp.lua | 33 | 1070 | ---------------------------------------------
-- Heavy Stomp
--
-- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Paralysis effect has a very long duration.
---------------... | gpl-3.0 |
dkorolev/tarantool | test/big/lua/utils.lua | 2 | 2324 | function space_field_types(space_no)
local types = {};
for _, index in pairs(box.space[space_no].index) do
for _,key_def in pairs(index.parts) do
types[key_def.fieldno] = key_def.type;
end
end
return types;
end
function iterate(space_no, index_no, f1, f2, iterator, ...)
local sorted = (box.space[space_no].... | bsd-2-clause |
weloxux/ludumdare-33 | lib/HUMP/timer.lua | 27 | 6224 | --[[
Copyright (c) 2010-2013 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | gpl-3.0 |
ind9/kong | kong/cli/utils/utils.lua | 13 | 3172 | --[[
Kong CLI utilities
- Logging
- Luarocks helpers
]]
local ansicolors = require "ansicolors"
local constants = require "kong.constants"
local Object = require "classic"
local lpath = require "luarocks.path"
local IO = require "kong.tools.io"
--
-- Colors
--
local colors = {}
for _, v in ipairs({"red", "green", "... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Nyzul_Isle/mobs/Alexander.lua | 5 | 2702 | -----------------------------------
-- Area: Nyzul Isle (Nashmeira's Plea)
-- MOB: Alexander
-----------------------------------
require("scripts/zones/Nyzul_Isle/IDs");
require("scripts/globals/status");
-----------------------------------
function onMobSpawn(mob)
mob:setMobMod(MOBMOD_NO_MOVE, 1);
-- "Draw i... | gpl-3.0 |
Deiz/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 |
HeavensSword/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_ir9.lua | 5 | 1456 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _ir9 (Iron Gate)
-- !pos 70 -1.5 140 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/missions"... | gpl-3.0 |
siktirmirza/selfbot | plugins/id.lua | 26 | 3037 |
local function usernameinfo (user)
if user.username then
return '@'..user.username
end
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_n... | gpl-2.0 |
haolly/slua_source_note | build/luajit-2.0.4/src/jit/vmdef.lua | 56 | 6676 | -- This is a generated file. DO NOT EDIT!
module(...)
bcnames = "ISLT ISGE ISLE ISGT ISEQV ISNEV ISEQS ISNES ISEQN ISNEN ISEQP ISNEP ISTC ISFC IST ISF MOV NOT UNM LEN ADDVN SUBVN MULVN DIVVN MODVN ADDNV SUBNV MULNV DIVNV MODNV ADDVV SUBVV MULVV DIVVV MODVV POW CAT KSTR KCDATAKSHORTKNUM KPRI K... | mit |
HeavensSword/darkstar | scripts/zones/Giddeus/npcs/Quu_Bokye.lua | 5 | 1623 | -----------------------------------
-- Area: Giddeus
-- NPC: Quu Bokye
-- Involved in Quest: Dark Legacy
-- !pos -159 16 181 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Giddeus/TextIDs");
---------------------... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/items/tanners_belt.lua | 15 | 1199 | -----------------------------------------
-- ID: 15448
-- Item: Tanners belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Leathercraft Skill +3
-----------------------------------------
require("script... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/items/jacknife.lua | 3 | 1148 | -----------------------------------------
-- ID: 5123
-- Item: Jacknife
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defence 16% Cap 50
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/abilities/pets/armor_piercer.lua | 2 | 1367 | ---------------------------------------------------
-- Armor Piercer
---------------------------------------------------
require("scripts/globals/status")
require("scripts/globals/settings")
require("scripts/globals/automatonweaponskills")
---------------------------------------------------
function onMobSkillCheck(t... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/items/deep-fried_shrimp.lua | 3 | 1425 | -----------------------------------------
-- ID: 6276
-- Item: deep-fried_shrimp
-- Food Effect: 30Min, All Races
-----------------------------------------
-- VIT +3
-- Fire resistance +20
-- Accuracy +20% (cap 70)
-- Ranged Accuracy +20% (cap 70)
-- Subtle Blow +8
-----------------------------------------
require("scr... | gpl-3.0 |
peymankhanas8487/Horror_Avatar | 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 |
mahdib9/99 | plugins/chatbot.lua | 1 | 2110 |
local function run(msg)
if msg.text == "مهدی" then
return "کی اسم سازندمو صدا زد؟"
end
if msg.text == "Umbrella" then
return "کیر نود32 هم نی"
end
if msg.text == "umbrella" then
return "کیر نود32 هم نی"
end
if msg.text == "نود32" then
return "hum?"
end
if msg.text == "اسپم" then
return "کس ننت میذارم بخای اسپم کن... | gpl-2.0 |
HeavensSword/darkstar | scripts/zones/Windurst_Waters/npcs/Mokyokyo.lua | 5 | 2606 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Mokyoko
-- Starts Windurst Missions
-- !pos -55 -8 227 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
requir... | gpl-3.0 |
yzziizzy/minetest_giants | behaviors/predicates.lua | 1 | 1833 |
bt.register_action("IsDaytime", {
tick = function(node, data)
local tod = minetest.get_timeofday() * 24000
if tod > 6000 and tod < 18000 then
return "success"
end
return "failed"
end,
})
bt.register_action("HealthAbove", {
tick = function(node, data)
local hp = data.mob.entity:get_hp()
if... | mit |
HeavensSword/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora.lua | 3 | 1302 | -----------------------------------------
-- ID: 5191
-- Item: dish_of_spaghetti_pescatora
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 150
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 65
-- Store TP 6
-----------------------------------------
requir... | gpl-3.0 |
dkorolev/tarantool | test/replication/hot_standby.test.lua | 7 | 3063 | --# set connection default
box.schema.user.grant('guest', 'replication')
box.schema.func.create('_set_pri_lsn')
box.schema.user.grant('guest', 'execute', 'function', '_set_pri_lsn')
--# create server hot_standby with script='replication/hot_standby.lua', rpl_master=default
--# create server replica with rpl_master=defa... | bsd-2-clause |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua | 76 | 5638 | --[[
Luci diag - Diagnostics controller module
(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
]]--
module("luci.cont... | apache-2.0 |
mukunda-/Delleren | minimapbutton.lua | 1 | 4678 | -------------------------------------------------------------------------------
-- DELLEREN
-- (C) 2015 Mukunda Johnson (mukunda@mukunda.com)
-- See LICENSE-DELLEREN.TXT
-------------------------------------------------------------------------------
local Delleren = DellerenAddon
local L = Delleren.Locale
Delleren.Mi... | mit |
Wedmer/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua | 18 | 3606 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("RRDTool Plugin Configuration"),
translate(
"The rrdtool plugin stores the collected data in rrd database " ..
"files, the foundation of the diagrams... | apache-2.0 |
yzziizzy/minetest_giants | behaviors/waypoints.lua | 1 | 3218 |
bt.register_action("SetWaypointHere", {
tick = function(node, data)
local pos = {x= data.pos.x, y= data.pos.y, z= data.pos.z}
data.waypoints[node.wpname] = pos
return "success"
end,
ctor = function(name)
return {
wpname=name or "_"
}
end,
})
bt.register_action("SetWaypoint", {
tick = function(n... | mit |
Wedmer/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 |
404rq/GTW-RPG | [resources]/GTWcore/misc/s_spawnbase.lua | 2 | 1368 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Anubhav
Source code: https://github.com/404rq/GTW-RPG/
Bugtracker: https://discuss.404rq.com/t/issues
Suggestions: https://discuss.404rq.com/t/devel... | bsd-2-clause |
alip/envtag | src/commands/get-xiph.lua | 1 | 3181 | #!/usr/bin/env lua
-- envtag get-xiph command
-- vim: set ft=lua et sts=4 sw=4 ts=4 fdm=marker:
-- Copyright 2009 Ali Polatel <alip@exherbo.org>
-- Distributed under the terms of the GNU General Public License v2
require "alt_getopt"
require "envutils"
local log = envutils.log
local logv = envutils.logv
local escapeq... | gpl-2.0 |
zero-ui/miniblink49 | third_party/skia/tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | gpl-3.0 |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 10 | 20093 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: openvpn-a... | apache-2.0 |
jesboat/fbthrift | thrift/lib/lua/TMemoryBuffer.lua | 15 | 2237 | --
-- 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"); you ma... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua | 5 | 3367 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ojha Rhawash
-- Starts and Finishes Quest: Flower Child
-- @zone 239
-- !pos -209 0 -134
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wind... | gpl-3.0 |
CodeStepper/trinity | trinity/widget/Label.lua | 1 | 6531 | --
-- Trinity Widget Library >>> http://trinity.aculo.pl
-- _____ _ _ _
-- |_ _|___|_|___|_| |_ _ _
-- | | | _| | | | _| | |
-- |_| |_| |_|_|_|_|_| |_ |
-- |___|
--
-- This file is part of Trinity Widget Library for AwesomeWM
-- Copyright (c) by sobiemir <sobiem... | gpl-2.0 |
zlm2012/h2o | deps/klib/lua/klib.lua | 42 | 20155 | --[[
The MIT License
Copyright (c) 2011, Attractive Chaos <attractor@live.co.uk>
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 th... | mit |
HeavensSword/darkstar | scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua | 5 | 1457 | -----------------------------------
-- Area: Hall of the Gods
-- NPC: Shimmering Circle
-- Lifts players up to the sky!
-- !pos 0 -20 147 251
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
shahifaqeer/my-luci-bismark-0.11 | 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 |
pd2-linux/tina | feeds/luci/applications/luci-vnstat/luasrc/model/cbi/vnstat.lua | 90 | 2019 | --[[
LuCI - Lua Configuration Interface
Copyright 2010-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.org/licenses/LICENSE-2.0
]]--
loc... | gpl-2.0 |
HeavensSword/darkstar | scripts/zones/Caedarva_Mire/npcs/Nasheefa.lua | 5 | 1104 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nasheefa
-- Type: Alzadaal Undersea Ruins
-- !pos -440.998 0.107 -740.015 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/mobskills/barbed_crescent.lua | 15 | 1039 | ---------------------------------------------------
-- Barbed Crescent
-- Slashing damage varies with TP. Additional effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
------------------------------------------... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/mobskills/glacier_splitter.lua | 33 | 1074 | ---------------------------------------------
-- Glacier Splitter
--
-- Description: Cleaves into targets in a fan-shaped area. Additional effect: Paralyze
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: Unknown cone
-- Notes: Only used the Aern wielding a sword (RDM, DRK, and PLD).
------------... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Port_Bastok/npcs/Valeriano.lua | 5 | 1408 | -----------------------------------
-- Area: Port Bastok
-- NPC: Valeriano
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/z... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Halvung/mobs/Wheel_Wamoura.lua | 10 | 1247 | -----------------------------------
-- Area: Halvung
-- MOB: Wheel Wamoura
-----------------------------------
require("scripts/globals/status");
----------------------------------
-- TODO: Damage resistances in streched and curled stances. Halting movement during stance change.
function onMobSpawn(mob)
mob:setLo... | gpl-3.0 |
cogwerkz/gUI4 | gUI4/libs/GP_Ace3/GP_AceGUI-3.0/GP_AceGUI-3.0.lua | 1 | 24511 | --- **AceGUI-3.0** provides access to numerous widgets which can be used to create GUIs.
-- AceGUI is used by AceConfigDialog to create the option GUIs, but you can use it by itself
-- to create any custom GUI. There are more extensive examples in the test suite in the Ace3
-- stand-alone distribution.
--
-- **No... | mit |
stsydow/packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/rule.lua | 80 | 4829 | -- ------ extra functions ------ --
function ruleCheck() -- determine if rules needs a proper protocol configured
uci.cursor():foreach("mwan3", "rule",
function (section)
local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. section[".name"] .. ".src_port"))
local destPort = ut.trim(sys.exec("... | gpl-2.0 |
shahifaqeer/my-luci-bismark-0.11 | protocols/ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua | 10 | 2951 | --[[
LuCI - Lua Configuration Interface
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.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
cogwerkz/gUI4 | gUI4_UnitFrames/units/tottarget.lua | 1 | 9002 | local addon,ns = ...
local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true)
if not gUI4 then return end
local oUF = gUI4.oUF
if not oUF then return end
local parent = gUI4:GetModule("gUI4_UnitFrames")
if not parent then return end
local module = parent:NewModule("ToTTarget", "GP_AceEvent-3.0"... | mit |
HeavensSword/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua | 5 | 2037 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: San d'Oria Mission 1-3 Save the children
-- !pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scrip... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Upper_Jeuno/npcs/Brutus.lua | 5 | 7791 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Brutus
-- Starts Quest: Chocobo's Wounds, Save My Son, Path of the Beastmaster, Wings of gold, Scattered into Shadow, Chocobo on the Loose!
-- !pos -55 8 95 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil... | gpl-3.0 |
Openarl/PathOfBuilding | Data/2_6/Bases/bow.lua | 1 | 8611 | -- This file is automatically generated, do not edit!
-- Item data (c) Grinding Gear Games
local itemBases = ...
itemBases["Crude Bow"] = {
type = "Bow",
socketLimit = 6,
tags = { default = true, weapon = true, twohand = true, bow = true, ranged = true, two_hand_weapon = true, },
weapon = { PhysicalMin = 5, Physic... | mit |
Arashbrsh/lifesking | bot/bot.lua | 1 | 6839 | 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")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
CestusMagnus/go-qt5 | make/ui/boxlayout.lua | 5 | 1168 | module("boxlayout")
name = "BoxLayout"
base = "baseLayout"
funcs = [[
+ Init()
- Close()
@ SetOrientation(value Orientation)
@ Orientation() (value Orientation)
AddLayoutWith(layout ILayout, stetch int)
AddWidgetWith(widget IWidget, stretch int, alignment Alignment)
AddSpacing(size int)
AddStretch(size int)
]]
expan... | bsd-2-clause |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-pbx/luasrc/model/cbi/pbx.lua | 146 | 4360 | --[[
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
... | apache-2.0 |
HeavensSword/darkstar | scripts/globals/items/galette_des_rois.lua | 3 | 1257 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP +8
-- MP +3% (cap13)
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status");
require("scripts/zones/... | gpl-3.0 |
pd2-linux/tina | feeds/luci/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua | 79 | 1639 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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
h... | gpl-2.0 |
Death15/Supers-TOUCHTG | plugins/invite.lua | 1 | 1212 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
HeavensSword/darkstar | scripts/globals/weaponskills/tachi_fudo.lua | 26 | 1606 | -----------------------------------
-- Tachi: Fudo
-- Great Katana weapon skill
-- Skill Level: N/A
-- Deals double damage. Damage varies with TP. Masamune: Aftermath.
-- Available only when equipped with Masamune (85), Masamune (90), Masamune (95), Hiradennotachi +1 or Hiradennotachi +2.
-- Aligned with Light Gorget, ... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Windurst_Woods/npcs/Nya_Labiccio.lua | 5 | 1225 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nya Labiccio
-- Only sells when Windurst controlls Gustaberg Region
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
cogwerkz/gUI4 | gUI4/libs/GP_oUF/elements/cpoints.lua | 6 | 2549 | --[[ Element: Combo Point Icons
Toggles visibility of the player and vehicles combo points.
Widget
CPoints - An array consisting of five UI widgets.
Notes
The default combo point texture will be applied to textures within the CPoints
array that don't have a texture or color defined.
Examples
local CPoin... | mit |
ignacio/LuaNode | deps/stacktraceplus/src/StackTracePlus.lua | 44 | 12501 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must... | mit |
pdxmeshnet/openwrt-packages | net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your optio... | gpl-2.0 |
HeavensSword/darkstar | scripts/commands/send.lua | 8 | 15657 | ---------------------------------------------------------------------------------------------------
-- func: send <player1> (<player2) or zone)
-- desc: Teleport a player to:
-- A) The given zone
-- B) another player
---------------------------------------------------------------------------------------------------
cm... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 5 | 1574 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- !pos -56 -3 36 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua | 5 | 1691 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Neraf-Najiruf
-- Involved in Quests: Save my Sister
-- @zone 243
-- !pos -36 2 60
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
typcn/mpv | TOOLS/lua/autodeint.lua | 20 | 5073 | -- This script uses the lavfi idet filter to automatically insert the
-- appropriate deinterlacing filter based on a short section of the
-- currently playing video.
--
-- It registers the key-binding ctrl+d, which when pressed, inserts the filters
-- ``vf=lavfi=idet,pullup,vf=lavfi=idet``. After 4 seconds, it removes ... | gpl-2.0 |
HeavensSword/darkstar | scripts/zones/Monastic_Cavern/Zone.lua | 4 | 1037 | -----------------------------------
--
-- Zone: Monastic_Cavern (150)
--
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Monastic_Cavern/TextIDs");
require("scripts/zones/Monastic_Cavern/MobIDs");
require("scri... | gpl-3.0 |
qwook/dpsht | assets/maps/intro.lua | 2 | 239252 | return {
version = "1.1",
luaversion = "5.1",
orientation = "orthogonal",
width = 100,
height = 100,
tilewidth = 32,
tileheight = 32,
properties = {},
tilesets = {
{
name = "tilemap2",
firstgid = 1,
tilewidth = 32,
tileheight = 32,
spacing = 0,
margin = 0,
... | mit |
HeavensSword/darkstar | scripts/zones/Castle_Oztroja/npcs/_47y.lua | 5 | 1141 | -----------------------------------
-- 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_Oztroja... | gpl-3.0 |
forivall-mirrors/orxonox-game-code | data/gui/scripts/NotificationLayer.lua | 1 | 11241 | -- NotificationLayer.lua
local P = createMenuSheet("NotificationLayer", true, tribool(true), tribool(true))
P.queueList = {}
P.sampleWindow = nil
-- Loads the queues from the NotificationManager and creates the sample window, that is used to measure the width various strings need.
function P.onLoad()
orxonox.No... | gpl-2.0 |
shadwork/Paper-Bird | game.lua | 1 | 11160 | -- Project: PaperBird
-- Description:
--
-- Version: 1.0
-- Managed with http://CoronaProjectManager.com
--
-- Copyright 2014 . All Rights Reserved.
---- cpmgen main.lua
local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
require "sprite"
local widget = require( "widget" )
... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/mobskills/nerve_gas.lua | 5 | 1059 | ---------------------------------------------
-- Nerve Gas
--
-- Description: Inflicts curse and powerful poison effect.
-- Type: Magical
-- Wipes Shadows
-- Range: 10' Radial
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
icrazyboy/- | bot/bot.lua | 10 | 7114 | 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 = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
HeavensSword/darkstar | scripts/globals/abilities/bolters_roll.lua | 1 | 2643 | -----------------------------------
-- Ability: Bolter's Roll
-- Increases Movement speed for party members with area of effect.
-- Optimal Job: None
-- Lucky Number: 3
-- Unlucky Number: 9
-- Level: 76
-- Phantom Roll +1 Value: 4
--
-- Die Roll | %
-- -------- -------
-- 1 |+6
-- 2 ... | gpl-3.0 |
jesboat/fbthrift | thrift/lib/lua/TFramedTransport.lua | 2 | 2920 | --
-- 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"); you ma... | apache-2.0 |
HeavensSword/darkstar | scripts/globals/spells/bluemagic/wild_carrot.lua | 7 | 1604 | -----------------------------------------
-- Spell: Wild Carrot
-- Restores HP for the target party member
-- Spell cost: 37 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: HP+5
-- Level: 30
-- Casting Time: 2.5 seconds
-- Recast Time: 6 seconds
--
-- Combos: Resist Slee... | gpl-3.0 |
vmercierfr/kong | kong/plugins/oauth2/access.lua | 5 | 12086 | local stringy = require "stringy"
local utils = require "kong.tools.utils"
local cache = require "kong.tools.database_cache"
local responses = require "kong.tools.responses"
local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local _M = {}
local CONTENT_LENGTH = "content-length... | mit |
marcoag/awesome-config | themes/fence/theme.lua | 1 | 5399 | -- fence, awesome3 theme, by jorick
--{{{ Main
local awful = require("awful")
awful.util = require("awful.util")
theme = {}
home = os.getenv("HOME")
config = awful.util.getdir("config")
shared = "/usr/share/awesome"
if not awful.util.file_readable(shared .. "/icons/awesome16.png") then
sha... | gpl-3.0 |
HarpyWar/pvpgn | lua/quiz/command.lua | 7 | 3906 | --[[
Copyright (C) 2014 HarpyWar (harpywar@gmail.com)
This file is a part of the PvPGN Project http://pvpgn.pro
Licensed under the same terms as Lua itself.
]]--
-- /quiz <start|stop|stats>
function command_quiz(account, text)
if not config.quiz then
return 1
end
local args = split_command(text, 2)
if (... | gpl-2.0 |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-minidlna/luasrc/controller/minidlna.lua | 73 | 1448 | --[[
LuCI - Lua Configuration Interface - miniDLNA support
Copyright 2012 Gabor Juhos <juhosg@openwrt.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... | apache-2.0 |
HeavensSword/darkstar | scripts/globals/items/kingdom_signet_staff.lua | 3 | 1224 | -----------------------------------------
-- ID: 17583
-- Item: Kingdom Signet Staff
-- Effect: Signet
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/conquest");
require("scripts/globals/zone");
require("scripts/globals/msg");
--------------------------------------... | gpl-3.0 |
qwook/dpsht | libs/loveframes/objects/button.lua | 5 | 5586 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- button object
local newobject = loveframes.NewObject("button", "loveframes_object_button", true)
--[[-------------------... | mit |
redfield23/redbot | plugins/all.lua | 264 | 4202 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
MiBShidobu/GM-Networking | examples/network_buffer.doc.lua | 1 | 1281 | -- If wanting simplier experience or just more uniform, you can use the 'NetworkBuffer' object. Easy way to send an array of variables via networking, more efficient than writing tables with net.*Variable().
-- This does much of the same as network.*Variable, but a little less overhead since a written buffer sends ever... | mit |
HeavensSword/darkstar | scripts/zones/Davoi/npcs/_45j.lua | 3 | 1927 | -----------------------------------
-- Area: Davoi
-- NPC: Screaming Pond
-- Used In Quest: Whence Blows the Wind
-- !pos -219 0.1 -101 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
arrayfire/arrayfire-lua | examples/financial/black_scholes_options.lua | 4 | 2618 | --[[
/*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
*****************************************... | bsd-3-clause |
kiarash14/TNBumper | bot/utils.lua | 239 | 13499 | 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")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
HeavensSword/darkstar | scripts/globals/items/plate_of_fish_and_chips.lua | 3 | 1293 | -----------------------------------------
-- ID: 5145
-- Item: plate_of_fish_and_chips
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 3
-- Vitality 3
-- Mind -3
-- defense 5
-- Ranged ATT % 7
-- Ranged ATT Cap 10
-----------------------------------------
require("scripts/global... | gpl-3.0 |
gwx/tome-grayswandir-illusion | data/autoloads/trickster/talents/mind-games.lua | 1 | 12083 | -- Gray's Illusions, for Tales of Maj'Eyal.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.