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 |
|---|---|---|---|---|---|
m241dan/darkstar | scripts/globals/abilities/tabula_rasa.lua | 24 | 1264 | -----------------------------------
-- Ability: Tabula Rasa
-- Optimizes both white and black magic capabilities while allowing charge-free stratagem use.
-- Obtained: Scholar Level 1
-- Recast Time: 1:00:00
-- Duration: 0:03:00
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
electromatter/cuberite | Server/webadmin/template.lua | 9 | 5603 | -- Use a table for fast concatenation of strings
local SiteContent = {}
function Output(String)
table.insert(SiteContent, String)
end
function GetTableSize(Table)
local Size = 0
for key,value in pairs(Table) do
Size = Size + 1
end
return Size
end
function GetDefaultPage()
local PM = cRoot:Get():GetPlu... | apache-2.0 |
aqasaeed/uzzbot | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
moltafet35/spamersss | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
CapsAdmin/pac3 | lua/pac3/core/client/parts/beam.lua | 1 | 5798 | local LocalToWorld = LocalToWorld
local render_StartBeam = render.StartBeam
local render_AddBeam = render.AddBeam
local render_EndBeam = render.EndBeam
local color_white = color_white
local math_sin = math.sin
local math_pi = math.pi
local Angle = Angle
local Lerp = Lerp
local Vector = Vector
local Color = Color
-- fe... | gpl-3.0 |
dvr333/Zero-K | LuaRules/Gadgets/unit_prevent_turret_overshoot.lua | 3 | 2260 | if not gadgetHandler:IsSyncedCode() then return end
function gadget:GetInfo() return {
name = "Prevent turret overshoot",
author = "Sprung",
date = "3rd April 2017",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = true,
} end
local allowedRangeSqByWeapon = {}
local isSphericalByWeapon = {}
for ... | gpl-2.0 |
moltafet35/spamersss | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
mohammad24/nnew | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Kazham/npcs/Popopp.lua | 9 | 2740 | -----------------------------------
-- Area: Kazham
-- NPC: Popopp
-- Standard Info NPC
-----------------------------------
function onTrade(player,npc,trade)
-- item IDs
-- 483 Broken Mithran Fishing Rod
-- 22 Workbench
-- 1008 Ten of Coins
-- 1157 Sands of Silence
-- 1... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Port_Jeuno/npcs/Leyla.lua | 13 | 1496 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leyla
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Acti... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Dereck.lua | 12 | 1782 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Dereck
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Bastok-Jeuno_Airship/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local... | gpl-3.0 |
santssoft/darkstar | scripts/globals/weaponskills/quietus.lua | 10 | 1867 | -----------------------------------
-- Quietus
-- Scythe weapon skill
-- Skill Level: N/A
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
-- Aligned... | gpl-3.0 |
m241dan/darkstar | scripts/zones/La_Theine_Plateau/npcs/Laurisse.lua | 13 | 1775 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Laurisse
-- Involved in Mission: The Rescue Drill
-- @pos -292 28 143 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");... | gpl-3.0 |
jefferai/vlc | share/lua/meta/art/02_frenchtv.lua | 48 | 2666 | --[[
Gets an artwork from amazon
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version... | gpl-2.0 |
CapsAdmin/pac3 | lua/pac3/editor/client/panels/editor.lua | 1 | 12391 | local L = pace.LanguageString
local PANEL = {}
PANEL.ClassName = "editor"
PANEL.Base = "DFrame"
PANEL.menu_bar = NULL
PANEL.pac3_PanelsToRemove = {
'btnMaxim', 'btnMinim'
}
local BAR_SIZE = 17
local RENDERSCORE_SIZE = 20
local use_tabs = CreateClientConVar("pac_property_tabs", 1, true)
local zoom_persistent = Cre... | gpl-3.0 |
ch3n2k/luci | applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua | 52 | 8016 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
htt... | apache-2.0 |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Test/tests-luasql.lua | 3 | 8214 |
--[[--------------------------------------------------------------------------
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2004 Michael Roth <mroth@nessie.de>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
file... | lgpl-3.0 |
santssoft/darkstar | scripts/zones/Temenos/npcs/Armoury_Crate.lua | 10 | 30965 | -----------------------------------
-- Area: Temenos
-- NPC: Armoury Crate
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/globals/limbus");
-----------------------------------
local loot =
{
-- northern tower floor 1
[130] =
{
... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/bowl_of_soy_ramen.lua | 11 | 1523 | -----------------------------------------
-- ID: 6458
-- Item: bowl_of_soy_ramen
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +50
-- STR +5
-- VIT +5
-- AGI +3
-- Attack +10% (cap 170)
-- Ranged Attack +10% (cap 170)
-- Resist Slow +10
-----------------------------------------
requir... | gpl-3.0 |
aqasaeed/uzzbot | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luacom/demo/ado/adolua.lua | 4 | 1464 | -- dblua.lua
do
local dblua_data = {}
require("luacom")
function DBOpen(connection_string)
dblua_data.connection = luacom.CreateObject("ADODB.Connection")
assert(dblua_data.connection)
dblua_data.connection.ConnectionString = connection_string
dblua_data.connection:Open()
end
function DBClose()
dblua... | lgpl-3.0 |
CapsAdmin/pac3 | lua/pac3/editor/server/wear.lua | 1 | 11579 | pace.StreamQueue = pace.StreamQueue or {}
local frame_number = 0
local last_frame
local ERROR_COLOR = Color(228, 37, 37)
local function catchError(err)
pac.Message(ERROR_COLOR, 'Error: ', err)
pac.Message(debug.traceback())
end
timer.Create("pac_check_stream_queue", 0.1, 0, function()
if not pace.BusyStreaming an... | gpl-3.0 |
dvr333/Zero-K | scripts/constants.lua | 6 | 6108 | --x_axis = 1
--y_axis = 2
--z_axis = 3
--local common = include("evoHeader.lua")
if GG.Script then
return
end
GG.Script = GG.Script or {}
GG.Script.CRASHING = 97
-- What is this?
--SFXTYPE_VTOL = 0
----SFXTYPE_THRUST = 1
--SFXTYPE_WAKE1 = 2
--SFXTYPE_WAKE2 = 3
--SFXTYPE_REVERSEWAKE1 = 4
--SFXTYPE_REVERSEWAKE2 = 5
... | gpl-2.0 |
dvr333/Zero-K | LuaRules/Gadgets/lups_nano_spray.lua | 4 | 13349 | -- $Id: lups_nano_spray.lua 3171 2008-11-06 09:06:29Z det $
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "LupsNanoSpray",
desc = "... | gpl-2.0 |
CCAAHH/1kh | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Upper_Jeuno/npcs/Khe_Chalahko.lua | 13 | 1264 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Khe Chalahko
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
MOSAVI17/XY | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
priteau/splayd | jobd.lua | 1 | 5723 | --[[
Splayd
Copyright 2006 - 2009 Lorenzo Leonini (University of Neuchâtel, Switzerland)
http://www.splay-project.org
]]
--[[
This file is part of Splayd.
Splayd 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... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Windurst_Waters/npcs/Aramu-Paramu.lua | 13 | 1685 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Aramu-Paramu
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/globals/spells/jubaku_ichi.lua | 27 | 1733 | -----------------------------------------
-- Spell: Jubaku: Ichi
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-------------------------... | gpl-3.0 |
ILiebhardt/darktable | tools/lua_doc/dumper.lua | 15 | 2968 |
para = function() return "\n" end
node_to_string = function(node,name)
if name then
return name
else
return node:get_name()
end
end
code = function(text)
return "<code>"..text.."</code>"
end
emphasis = function(text)
return "<em>"..text.."</em>"
end
startlist = function() return "\n" end
endlist = funct... | gpl-3.0 |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/LuaMacro/tests/lc.lua | 2 | 8161 | -- Simplifying writing C extensions for Lua
-- Adds new module and class constructs;
-- see class1.lc and str.lc for examples.
local M = require 'macro'
function dollar_subst(s,tbl)
return (s:gsub('%$%((%a+)%)',tbl))
end
-- reuse some machinery from the C-skin experiments
local push,pop = table.insert,table.remove
... | lgpl-3.0 |
m241dan/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h0.lua | 13 | 1174 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h0 (Altepa Gate)
-- @pos -19 12 131 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_Desert/TextIDs");
---... | gpl-3.0 |
hfjgjfg/teamhack | plugins/Location.lua | 185 | 1565 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
CapsAdmin/pac3 | lua/pac3/core/client/parts/sprite.lua | 1 | 3268 | local render_SetMaterial = render.SetMaterial
local render_DrawSprite = render.DrawSprite
local Color = Color
local Vector = Vector
local cam_IgnoreZ = cam.IgnoreZ
local BUILDER, PART = pac.PartTemplate("base_drawable")
PART.ClassName = "sprite"
PART.Group = 'effects'
PART.Icon = 'icon16/layers.png'
BUILDER:StartSto... | gpl-3.0 |
aqasaeed/uzzbot | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
dpaiton/OpenPV | projects/KITTI/input/HyPerLCA_KITTI_S1_128_S2_256_S3_512_DCAX3.params.lua | 1 | 188718 |
-- Sun Nov 15 13:39:49 2015
package.path = package.path .. ";" .. "/home/gkenyon/openpv/pv-core/parameterWrapper/?.lua"
--package.path = package.path .. ";" .. "/Users/gkenyon/openpv/pv-core/parameterWrapper/?.lua"
local pv = require "PVModule"
--HyPerCol parameters
local dtAdaptFlag = not S1_Movie
local... | epl-1.0 |
santssoft/darkstar | scripts/globals/items/rolanberry_daifuku.lua | 11 | 2066 | -----------------------------------------
-- ID: 6339
-- Item: rolanberry_daifuku
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 50)
-- Ranged Accuracy +10% (cap 50)
-- Magic Accuracy +3
-- Pet:
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 75)
-- Range... | gpl-3.0 |
ch3n2k/luci | applications/luci-qos/luasrc/model/cbi/qos/qos.lua | 41 | 2689 | --[[
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$
]]--
loc... | apache-2.0 |
m241dan/darkstar | scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua | 17 | 1371 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mono Nchaa
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs"... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Upper_Jeuno/npcs/Deadly_Minnow.lua | 9 | 1232 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Deadly Minnow
-- Standard Merchant NPC
-- Involved in Quest: Borghertz's Hands (1st quest only)
-- !pos -5 1 48 244
-----------------------------------
local ID = require("scripts/zones/Upper_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(... | gpl-3.0 |
NanoSmasher/crystal-structure-rotation | main.lua | 1 | 7076 | --[[ LIST OF FUNCTIONS
love.update(dt)
love.load()
love.keyreleased(key)
love.mousepressed(x, y, b)
love.mousereleased()
love.draw()
sethover(getx, gety)
locktheta()
primary_layer()
secondary_layer()
getdata(file)
]]--
function love.update(dt)
-- remove all previous values
for i=1,#coord do coord[i] = nil end
-- ... | mit |
moltafet35/spamersss | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Northern_San_dOria/npcs/Capiria.lua | 13 | 1635 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Capiria
-- Type: Involved in Quest (Flyers for Regine)
-- @zone: 231
-- @pos -127.355 0.000 130.461
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_... | gpl-3.0 |
MetatronEX/gamecode4 | Assets/Scripts/LevelInit.lua | 44 | 3469 | --========================================================================
-- LevelInit.lua : A script that's executed when the level is initializing
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - ... | lgpl-3.0 |
m241dan/darkstar | scripts/zones/Nashmau/npcs/Awaheen.lua | 13 | 1903 | -----------------------------------
-- Area: Nashmau
-- NPC: Awaheen
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-----------------------------------
-- onTrade Action
-----... | gpl-3.0 |
m241dan/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Kasim.lua | 13 | 1889 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: Kasim
-- @pos -46 0 -148 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_Zitah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
r... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua | 9 | 1969 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Shattered telepoint
-- !pos 135 19 220 108
-----------------------------------
local ID = require("scripts/zones/Konschtat_Highlands/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------------------... | gpl-3.0 |
sdgdsffdsfff/CarrotFantasy | SettingScene.lua | 2 | 6875 | local function createOptionLayer()
local layer = cc.Layer:create()
local function onMusicBtn()
end
local function onEffectBtn()
end
local function onResetBtn()
print("重置游戏")
end
local bg = cc.Sprite:createWithSpriteFrameName("setting_bg.png")
bg:setPosition(center)
layer:addChild(bg)
local ... | mit |
santssoft/darkstar | scripts/globals/items/bluetail.lua | 11 | 1047 | -----------------------------------------
-- ID: 4399
-- Item: Bluetail
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------------------------... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Meriphataud_Mountains/IDs.lua | 6 | 2923 | -----------------------------------
-- Area: Meriphataud_Mountains
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.MERIPHATAUD_MOUNTAINS] =
{
text =
{
NOTHING_HAPPENS = 141, -- Nothing happens...
... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 9 | 1417 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- !pos -56 -3 36 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
---... | gpl-3.0 |
UltraboxEntertainment/chromasync-sdk | sample-lua-scripts/sweep.lua | 1 | 2373 | local Colore = clr.Corale.Colore
local rgb = Colore.Core.Color
local Razer = Colore.Razer
local Thread = clr.System.Threading.Thread
local Memory = {
Keyboard = {
X = 0,
Y = 0,
},
Color = 0.00,
}
util = {
maxcolumns = Razer.Keyboard.Constants.MaxColumns, -- The maximum amount of columns we can use, without c... | apache-2.0 |
m241dan/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm4.lua | 13 | 1036 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm4 (???)
-- Involved in quest: Pirate's Chart
-- @pos -160 4 -131 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");... | gpl-3.0 |
ch3n2k/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-voice.lua | 80 | 1493 | --[[
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... | apache-2.0 |
palmettos/test | applications/luci-minidlna/luasrc/controller/minidlna.lua | 6 | 1469 | --[[
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 |
Shayan123456/botttttt11 | plugins/cpu.lua | 244 | 1893 | function run_sh(msg)
name = get_name(msg)
text = ''
-- if config.sh_enabled == false then
-- text = '!sh command is disabled'
-- else
-- if is_sudo(msg) then
-- bash = msg.text:sub(4,-1)
-- text = run_bash(bash)
-- else
-- text = name .. ' you... | gpl-2.0 |
m241dan/darkstar | scripts/globals/mobskills/Tebbad_Wing_Air.lua | 33 | 1083 | ---------------------------------------------
-- Tebbad Wing
--
-- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Tiamat, Smok and Ildebrann
----... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/crepe_belle_helene.lua | 11 | 1185 | -----------------------------------------
-- ID: 5778
-- Item: Crepe Belle Helene
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Intelligence +2
-- MP Healing +3
-- Magic Accuracy +21% (cap 50)
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
m241dan/darkstar | scripts/globals/weaponskills/vorpal_thrust.lua | 11 | 1395 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Mod... | gpl-3.0 |
dvr333/Zero-K | units/shieldskirm.lua | 4 | 3734 | return { shieldskirm = {
unitname = [[shieldskirm]],
name = [[Rogue]],
description = [[Skirmisher Bot (Indirect Fire)]],
acceleration = 0.75,
brakeRate = 1.2,
buildCostMetal = 120,
buildPic = [[shieldskirm.png]],
can... | gpl-2.0 |
jefferai/vlc | share/lua/playlist/metachannels.lua | 92 | 2096 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Rémi Duraffort <ivoire at videolan dot org>
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 y... | gpl-2.0 |
m241dan/darkstar | scripts/globals/weaponskills/tachi_koki.lua | 9 | 1579 | -----------------------------------
-- Tachi Koki
-- Great Katana weapon skill
-- Skill level: 175
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Thunder Gorget.
-- Aligned with the Aqua Belt & Thunder Belt.
-- Element: Light
-- Modifi... | gpl-3.0 |
palmettos/test | protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua | 53 | 2242 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
loc... | apache-2.0 |
santssoft/darkstar | scripts/globals/spells/bluemagic/sub-zero_smash.lua | 8 | 1815 | -----------------------------------------
-- Spell: Sub-zero Smash
-- Additional Effect: Paralysis. Damage varies with TP
-- Spell cost: 44 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP+10 VIT+3
-- Level: 72
-- Casting Time: 1 second
-- Recast Time: 30 seconds
-- S... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Waughroon_Shrine/mobs/Fee.lua | 9 | 1964 | -----------------------------------
-- Area: Waughroon Shrine
-- Mob: Fe'e
-- BCNM: Up In Arms
-----------------------------------
local ID = require("scripts/zones/Waughroon_Shrine/IDs")
require("scripts/globals/status")
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(dsp.mobMod.M... | gpl-3.0 |
ch3n2k/luci | applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua | 99 | 14473 | --[[
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 |
dpaiton/OpenPV | projects/PASCAL_VOC/input/HyPerICA_PASCAL_S1_1536.params.lua | 1 | 31747 | -- PetaVision params file for dictionary of experts: createded by garkenyon May 6 15:19:53 2015
-- Load util module in PV trunk: NOTE this may need to change
package.path = package.path .. ";" .. os.getenv("HOME") .. "/workspace/pv-core/parameterWrapper/PVModule.lua"
local pv = require "PVModule"
-- Global variable,... | epl-1.0 |
m241dan/darkstar | scripts/zones/Giddeus/npcs/Quu_Bokye.lua | 13 | 2020 | -----------------------------------
-- 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 |
santssoft/darkstar | scripts/commands/mobhere.lua | 22 | 1600 | ---------------------------------------------------------------------------------------------------
-- func: mobhere <mobId>
-- desc: Spawns a MOB and then moves it to the current position, if in same zone.
-- Errors will despawn the MOB unless "noDepop" was specified (any value works).
--------------------------... | gpl-3.0 |
palmettos/test | protocols/ipv6/luasrc/model/network/proto_4x6.lua | 63 | 1522 | --[[
LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Copyright 2013 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 ... | apache-2.0 |
m241dan/darkstar | scripts/zones/Batallia_Downs/npcs/Stone_Monument.lua | 13 | 1272 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 185.669 9.049 -614.025 105
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
mrmost/SILVER | plugins/Banhammer.lua | 22 | 10356 |
local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Gustav_Tunnel/MobIDs.lua | 28 | 1592 | -----------------------------------
-- Area: Gustav Tunnel (212)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
Goblinsavior_Heronox = 17645609;
Goblinsavior_Heronox_PH =
{
[17645592] = '1', -- 153.000, -10.000, -53.000
[17645605] = '1', -- 152.325... | gpl-3.0 |
rekotc/game-engine-experimental-3 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/mk/samples/forms.lua | 2 | 2205 |
local mk = require "mk"
local forms = require "mk.forms"
local util = require "mk.util"
local request = require "wsapi.request"
local response = require "wsapi.response"
local cosmo = require "cosmo"
local json = require "json"
local template = (...) or "tests/form_example.tmpl"
local server = mk.new()
local data =... | lgpl-3.0 |
WU-ARL/ndnfwd-binary-search | pktgen/app/t/Pktgen.lua | 8 | 7330 | -- Create some short cuts to the real functions.
gsub = string.gsub
gmatch = string.gmatch
strrep = string.rep
strsub = string.sub
strfmt = string.format
strmatch = string.match
strrep = string.rep
strfind = string.find
strlen = string.len
tolower ... | gpl-2.0 |
palmettos/test | libs/httpclient/luasrc/httpclient.lua | 6 | 9390 | --[[
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 |
santssoft/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara.lua | 11 | 1545 | -----------------------------------------
-- ID: 5190
-- Item: dish_of_spaghetti_carbonara
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 175
-- Magic 10
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 17
-- Attack Cap 65
-- Store TP 6
----------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Dynamis-Tavnazia/npcs/qm1.lua | 13 | 2478 | -----------------------------------
-- Area: Dynamis-Tavnazia
-- NPC: ???
-- @pos
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
---------... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 8 | 1246 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Airship_Door
-----------------------------------
local ID = require("scripts/zones/Sealions_Den/IDs")
-----------------------------------
function onTrade(player, npc, trade)
end
function onTrigger(player, npc)
local offset = npc:getID() - ID.npc... | gpl-3.0 |
santssoft/darkstar | scripts/globals/abilities/maintenance.lua | 12 | 2556 | -----------------------------------
-- Ability: Maintenance
-- Cures your automaton of status ailments. Special items required
-- Obtained: Puppetmaster Level 30
-- Recast Time: 1:30
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("s... | gpl-3.0 |
dpaiton/OpenPV | projects/depthSCANN/input/benchmarkEncoding/encode_LCA.lua | 2 | 16428 | -------------------------------------------------------------------
-- Encoding benchmark dataset with SCANN
--
-- Sheng Lundquist 6/9/15
--
-- Implements encoding of benchmark training set with SCANN model as described in
-- Lundquist et al., "Emergence of Depth-Tuned Hidden Units Through
-- Sparse Encoding of Binocul... | epl-1.0 |
dvr333/Zero-K | LuaRules/Configs/MetalSpots/Barren.lua | 8 | 1499 | local LARGE_SPOT = 2.09
local MEDIUM_SPOT = 1.75
local SMALL_SPOT = 1.40
local TINY_SPOT = 1.04
return {
spots = {
{x = 1304, z = 2680, metal = MEDIUM_SPOT},
{x = 440, z = 248, metal = TINY_SPOT},
{x = 344, z = 888, metal = TINY_SPOT},
{x = 3992, z = 31... | gpl-2.0 |
mpeterv/Penlight | lua/pl/template.lua | 3 | 7652 | --- A template preprocessor.
-- Originally by [Ricki Lake](http://lua-users.org/wiki/SlightlyLessSimpleLuaPreprocessor)
--
-- There are two rules:
--
-- * lines starting with # are Lua
-- * otherwise, `$(expr)` is the result of evaluating `expr`
--
-- Example:
--
-- # for i = 1,3 do
-- $(i) Hello, Word!
-- ... | mit |
m241dan/darkstar | scripts/globals/spells/bluemagic/asuran_claws.lua | 1 | 1770 | -----------------------------------------
-- Spell: Asuran Claws
-- Delivers a sixfold attack. Accuracy varies with TP
-- Spell cost: 81 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: AGI +3
-- Level: 70
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Skillcha... | gpl-3.0 |
dvr333/Zero-K | units/staticmex.lua | 3 | 2120 | return { staticmex = {
unitname = [[staticmex]],
name = [[Metal Extractor]],
description = [[Produces Metal]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate = 0,
buildCostMetal = 85,
builder = false,
... | gpl-2.0 |
m241dan/darkstar | scripts/globals/abilities/rogues_roll.lua | 19 | 2643 | -----------------------------------
-- Ability: Rogue's Roll
-- Improves critical hit rate for party members within area of effect
-- Optimal Job: Thief
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 43
--
-- Die Roll |No THF |With THF
-- -------- ------- -----------
-- 1 |2% |8%
-- 2 ... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Norg/npcs/Ryoma.lua | 9 | 4100 | -----------------------------------
-- Area: Norg
-- NPC: Ryoma
-- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will, Bugi Soden
-- Involved in Quest: Ayame and Kaede
-- !pos -23 0 -9 252
-----------------------------------
local ID = require("scripts/zones/Norg/IDs")
require("scripts/global... | gpl-3.0 |
CapsAdmin/pac3 | lua/pac3/editor/client/icons.lua | 1 | 1147 |
pace.MiscIcons = {
about = "icon16/star.png",
appearance = "icon16/paintcan.png",
autoload = "icon16/transmit_go.png",
chat = "icon16/comment.png",
clear = "icon16/cross.png",
clone = "icon16/page_copy.png",
copy = "icon16/page_white_text.png",
edit = "icon16/table_edit.png",
error = "icon16/exclamation.png",... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Bastok_Markets/npcs/Salimah.lua | 11 | 2867 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Salimah
-- Notes: Start & Finishes Quest: Gourmet
-- !pos -31.687 -6.824 -73.282 235
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/titles");
local ID = require("scripts/zones/Bastok_Markets/IDs");
requ... | gpl-3.0 |
m241dan/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/qm1.lua | 31 | 1130 | -----------------------------------
-- Area: North Gustaberg (S) (F-8)
-- NPC: ???
-- Involved in Quests
-- @pos -232 41 425
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
require... | gpl-3.0 |
m241dan/darkstar | scripts/zones/North_Gustaberg/npcs/Field_Manual.lua | 1 | 1109 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Lower_Jeuno/npcs/_l04.lua | 13 | 1553 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -73.039 6 -95.633
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
m241dan/darkstar | scripts/globals/spells/jubaku_ni.lua | 27 | 1701 | -----------------------------------------
-- Spell: Jubaku: Ni
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Northern_San_dOria/npcs/Ishwar.lua | 13 | 1037 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ishwar
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -47.103 -1.999 -19.582
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Arrapago_Reef/npcs/Meyaada.lua | 9 | 2475 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Meyaada
-- Type: Assault
-- !pos 22.446 -7.920 573.390 54
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scr... | gpl-3.0 |
lassgdk/lass | lass/data/lua/5.1/lass/builtins/graphics/TextRenderer.lua | 2 | 2480 | local lass = require("lass")
local class = require("lass.class")
local geometry = require("lass.geometry")
local collections = require("lass.collections")
local operators = require("lass.operators")
local Renderer = require("lass.builtins.graphics.Renderer")
local TextRenderer = class.define(Renderer, function(self, a... | gpl-3.0 |
Shayan123456/botttttt4 | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
abasshacker/alirevale | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Ship_bound_for_Mhaura_Pirates/IDs.lua | 10 | 1414 | -----------------------------------
-- Area: Ship bound for Mhaura Pirates
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.SHIP_BOUND_FOR_MHAURA_PIRATES] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You canno... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.