repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
aqasaeed/zeus | plugins/Moderation.lua | 35 | 10153 | 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 |
nasomi/darkstar | scripts/zones/Lower_Jeuno/npcs/Hasim.lua | 37 | 1701 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Hasim
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Castle_Oztroja/npcs/_m72.lua | 16 | 2269 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m72 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -60 -72 -139 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Halvung/npcs/qm2.lua | 16 | 1157 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Dextrose(ZNM T2))
-- @pos -144 11 464 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
-----------------------------------... | gpl-3.0 |
mbsg/openwrt-extra | luci/applications/luci-app-qosv4/luasrc/model/cbi/qosv4.lua | 7 | 4535 | require("luci.tools.webadmin")
--[[
config 'qos_settings'
option 'enable' '0'
option 'UP' '100'
option 'DOWN' '500'
option qos_scheduler 1
config 'qos_ip'
option 'enable' '0'
option 'limit_ip' '192.168.1.5'
option 'UPLOADR' '2'
option 'DOWNLOADR' '2'
option 'UPLOADC' '15'
option 'DOWNLOADC' '15'
o... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Korroloka_Tunnel/npcs/qm2.lua | 17 | 3461 | -----------------------------------
-- Area: Korroloka Tunnel
-- NPC: ??? (qm2)
-- Involved In Quest: Ayame and Kaede
-- @pos -208 -9 176 173
-----------------------------------
package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Ramua.lua | 53 | 1884 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ramua
-- Type: Woodworking Synthesis Image Support
-- @pos -183.750 10.999 255.770 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nasomi/darkstar | scripts/zones/West_Sarutabaruta_[S]/mobs/Ramponneau.lua | 14 | 1922 | -----------------------------------
-- Area: West Sarutabaruta (S)
-- NM: Ramponneau
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize... | gpl-3.0 |
sjthespian/dotfiles | hammerspoon/utils/app.lua | 2 | 3658 | -- Application-related utilities
local lib = {}
local ustr = require('utils.string')
local ufile = require('utils.file')
-- osascript to tell an application to do something
function lib.tell(app, appCmd)
local cmd = 'tell application "'..app..'" to '..appCmd
local ok, result = hs.applescript(cmd)
if ok and resu... | mit |
m13790115/eset | plugins/feedback.lua | 87 | 1054 | do
function run(msg, matches)
local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
local text = ... | gpl-2.0 |
Nathan22Miles/sile-0.9.1 | core/inputs-texlike.lua | 1 | 2479 | SILE.inputs.TeXlike = {}
local epnf = require( "epnf" )
texlike = epnf.define(function (_ENV)
local _ = WS^0
local sep = lpeg.S(",;") * _
local value = (1-lpeg.S(",;]"))^1
local myID = C( ((ID+P("-")+P(":"))^1) + P(1) ) / function (t) return t end
local pair = lpeg.Cg(myID * _ * "=" * _ * C(value)) * sep^-1... | mit |
nasomi/darkstar | scripts/globals/mobskills/PL_Tidal_Slash.lua | 25 | 1135 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water damage in a threefold
-- attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Merrows equipped with a spear.
-- If they los... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/bundle_of_shirataki.lua | 35 | 1199 | -----------------------------------------
-- ID: 5237
-- Item: Bundle of Shirataki
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
soumith/convnet-benchmarks | torch7/imagenet_winners/googlenet.lua | 1 | 2997 | -- adapted from nagadomi's CIFAR attempt: https://github.com/nagadomi/kaggle-cifar10-torch7/blob/cuda-convnet2/inception_model.lua
local function inception(depth_dim, input_size, config, lib)
local SpatialConvolution = lib[1]
local SpatialMaxPooling = lib[2]
local ReLU = lib[3]
local depth_concat = nn.Conc... | mit |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004224.lua | 1 | 1170 | --TB2-027 Begrudging Respect Piccolo
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_GOD,CHARACTER_PICCOLO,SPECIAL_TRAIT_NAMEKIAN,SPECIAL_TRAIT_WORLD_TOURNAMENT)
ds.AddPlayProcedure(c,COLOR_BLUE,1,1)
--... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Woods/npcs/Umumu.lua | 34 | 2869 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Umumu
-- Involved In Quest: Making Headlines
-- @pos 32.575 -5.250 141.372 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/q... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Throne_Room_[S]/Zone.lua | 28 | 1324 | -----------------------------------
--
-- Zone: Throne_Room_[S] (156)
--
-----------------------------------
package.loaded["scripts/zones/Throne_Room_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Throne_Room_[S]/TextIDs");
------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/raiden_thrust.lua | 30 | 1284 | -----------------------------------
-- Raiden Thrust
-- Polearm weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:40% ; INT... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/head_of_isleracea.lua | 36 | 1149 | -----------------------------------------
-- ID: 5965
-- Item: Head of Isleracea
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
iassael/learning-to-communicate | code/include/kwargs.lua | 1 | 3670 | --[[
Based on the code of Brendan Shillingford [bitbucket.org/bshillingford/nnob](https://bitbucket.org/bshillingford/nnob).
Argument type checker for keyword arguments, i.e. arguments
specified as a key-value table to constructors/functions.
## Valid typespecs:
- `"number"`
- `"string"`
... | apache-2.0 |
nasomi/darkstar | scripts/zones/Periqia/Zone.lua | 28 | 1474 | -----------------------------------
--
-- Zone: Periqia
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Periqia/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
--------... | gpl-3.0 |
Nathan22Miles/sile-0.9.1 | examples/greek-lexicon/classes/perseus.lua | 5 | 1660 | local plain = SILE.require("classes/plain");
local perseus = plain { id = "perseus" };
SILE.scratch.perseus = {}
perseus:declareFrame("a", {left = "8.3%", right = "48%", top = "11.6%", bottom = "80%", next="b"});
perseus:declareFrame("b", {left = "52%", right = "100% - left... | mit |
nasomi/darkstar | scripts/zones/Port_San_dOria/npcs/Gallijaux.lua | 17 | 3251 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Gallijaux
-- Starts The Rivalry
-- @zone: 232
-- @pos -14 -2 -45
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dO... | gpl-3.0 |
nasomi/darkstar | scripts/globals/abilities/thunder_maneuver.lua | 35 | 1619 | -----------------------------------
-- Ability: Thunder Maneuver
-- Enhances the effect of thunder attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Rolanberry_Fields/npcs/Stone_Monument.lua | 32 | 1298 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 362.479 -34.894 -398.994 110
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua | 78 | 2796 | --[[
Luci configuration model for statistics - collectd exec plugin configuration
(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 ... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua | 36 | 5449 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ranpi-Monpi
-- Starts and Finishes Quest: A Crisis in the Making
-- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability
-- @zone = 238
-- @pos = -116 -3 52 (outside the shop he is in)
--------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Beadeaux/npcs/Treasure_Coffer.lua | 17 | 4024 | -----------------------------------
-- Area: Beadeaux
-- NPC: Treasure Coffer
-- @zone 147
-- @pos 215 40 69
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems"... | gpl-3.0 |
ngeiswei/ardour | share/scripts/_vamp_onset_example.lua | 2 | 3137 | ardour { ["type"] = "Snippet", name = "Vamp Onset Detection Example" }
function factory () return function ()
-- get Editor selection
-- http://manual.ardour.org/lua-scripting/class_reference/#ArdourUI:Editor
-- http://manual.ardour.org/lua-scripting/class_reference/#ArdourUI:Selection
local sel = Editor:get_sele... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Uleguerand_Range/mobs/Jormungand.lua | 4 | 2657 | -----------------------------------
-- Area: Uleguaerand Range
-- NPC: Jormungand
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInit... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/cast_blink_7.meta.lua | 38 | 1918 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.25999999046325684,
amplification = 800,
light_colors = {
"255 198 19 255"
},
radius = {
x = 50,
y = 50
},
standard_deviation = 14
},
generate_desaturation = fal... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/cast_blink_15.meta.lua | 38 | 1918 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.25999999046325684,
amplification = 800,
light_colors = {
"255 198 19 255"
},
radius = {
x = 50,
y = 50
},
standard_deviation = 14
},
generate_desaturation = fal... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Cermet_Headstone.lua | 17 | 3918 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Fire Fragment)
-- @pos 491 20 301 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/apex_arrow.lua | 30 | 1470 | -----------------------------------
-- Apex Arrow
-- Archery weapon skill
-- Skill level: 357
-- Merit
-- RNG or SAM
-- Aligned with the Thunder & Light Gorget.
-- Aligned with the Thunder Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:73~85%
-- 100%TP 200%TP 300%TP
-- 3.00 3.00 3.00
... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/goldsmiths_belt.lua | 30 | 1215 | -----------------------------------------
-- ID: 15446
-- Item: Goldsmith's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Goldsmithing Skill +3
-----------------------------------------
r... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Spire_of_Mea/Zone.lua | 34 | 1327 | -----------------------------------
--
-- Zone: Spire_of_Mea (21)
--
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Spire_of_Mea/TextIDs");
----------------------... | gpl-3.0 |
sjthespian/dotfiles | hammerspoon/Spoons/SpoonInstall.spoon/init.lua | 6 | 18082 | --- === SpoonInstall ===
---
--- Install and manage Spoons and Spoon repositories
---
--- Download: [https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpoonInstall.spoon.zip](https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpoonInstall.spoon.zip)
local obj={}
obj.__index = obj
-- Metadata
obj.name = "Sp... | mit |
ZuoGuocai/Atlas | lib/proxy/log.lua | 41 | 2706 | module("proxy.log", package.seeall)
local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance)
local config = require(config_file)
level =
{
DEBUG = 1,
INFO = 2,
WARN = 3,
ERROR = 4,
FATAL = 5,
OFF = 6
}
local tag = {"DEBUG", "INFO", "WARN", "ERROR", "FATAL"}
--ĬÈÏÖµ
local lo... | gpl-2.0 |
phcosta29/rstats | lib/socket/ftp.lua | 42 | 10640 | -----------------------------------------------------------------------------
-- FTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- D... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Qufim_Island/npcs/Matica_RK.lua | 30 | 3050 | -----------------------------------
-- Area: Qufim Island
-- NPC: Matica, R.K.
-- Type: Border Conquest Guards
-- @pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27003092.lua | 1 | 2175 | --BT3-083 Uncontrollable Great Ape Son Goku
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableLeaderAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_SAIYAN,CHARACTER_SON_GOKU_CHILDHOOD,SPECIAL_TRAIT_GREAT_APE,CHARACTER_INCLUDES_SON_GOKU)
--switch position
ds.... | gpl-3.0 |
Denzeriko/exsto | lua/exsto/cl_menu.lua | 2 | 32450 | --[[
Exsto
Copyright (C) 2010 Prefanatic
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 distributed i... | gpl-3.0 |
nasomi/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua | 34 | 1105 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 215 -34 20 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");... | gpl-3.0 |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/edit_me.lua | 1 | 1362 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2017 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email mdwyer@snap.net.nz
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
--... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Janshura-Rashura.lua | 17 | 2714 | -----------------------------------
-- Area: Port Windurst
-- NPC: Janshura Rashura
-- Starts Windurst Missions
-- @pos -227 -8 184 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
----------------------------... | gpl-3.0 |
Wouterz90/SuperSmashDota | Game/scripts/vscripts/examples/notificationsExample.lua | 17 | 2113 | -- Send a notification to all players that displays up top for 5 seconds
Notifications:TopToAll({text="Top Notification for 5 seconds ", duration=5.0})
-- Send a notification to playerID 0 which will display up top for 9 seconds and be green, on the same line as the previous notification
Notifications:Top(0, {text="GRE... | mit |
nasomi/darkstar | scripts/globals/mobskills/Shadow_Spread.lua | 37 | 1164 | ---------------------------------------------
--- Shadow Spread
---
--- Description: A dark shroud renders any nearby targets blinded, asleep, and cursed.
---
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves"... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Charlaimagnat.lua | 17 | 2826 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Charlaimagnat
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/q... | gpl-3.0 |
thesabbir/luci | applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua | 66 | 3741 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ds = require "luci.dispatcher"
local ft = require "luci.tools.firewall"
m = Map("firewall", translate("Firewall - Port Forwards"),
translate("Port... | apache-2.0 |
nasomi/darkstar | scripts/globals/items/piece_of_bubble_chocolate.lua | 35 | 1170 | -----------------------------------------
-- ID: 4496
-- Item: piece_of_bubble_chocolate
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/dragonfoe_mambo.lua | 18 | 1581 | -----------------------------------------
-- Spell: Dragonfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria/npcs/Guilboire.lua | 36 | 1435 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Guilboire
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ques... | gpl-3.0 |
aikon-com-cn/NoxicDB | other/calendar_events/Lunar Festival/Lunar Festival/fireworks.lua | 2 | 13098 | --[[
How does it work:
- First the player is casting a spell to launch a rocket
- This spell is summoning a rocket NPC (!)
- The code is looking for the nearest firework launcher and moves the rocket NPC there
- After that the rocket NPC is casting a spell that does the visual effect
]]--
local NPC_OMEN = 15467
local... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Spire_of_Vahzl/npcs/_0n1.lua | 51 | 1327 | -----------------------------------
-- Area: Spire_of_vahlz
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Vahzl/TextIDs");
---------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/plate_of_anchovies.lua | 35 | 1201 | -----------------------------------------
-- ID: 5652
-- Item: plate_of_anchovies
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
nicholas-leonard/nn | Reshape.lua | 20 | 1893 | local Reshape, parent = torch.class('nn.Reshape', 'nn.Module')
function Reshape:__init(...)
parent.__init(self)
local arg = {...}
self.size = torch.LongStorage()
self.batchsize = torch.LongStorage()
if torch.type(arg[#arg]) == 'boolean' then
self.batchMode = arg[#arg]
table.remove(arg, #arg... | bsd-3-clause |
nasomi/darkstar | scripts/globals/weaponskills/shark_bite.lua | 30 | 1459 | -----------------------------------
-- Shark Bite
-- Dagger weapon skill
-- Skill level: 225
-- Delivers a twofold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Will stack with Trick Attack.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
... | gpl-3.0 |
keharriso/love-nuklear | example/closure.lua | 1 | 1142 | -- Show off the optional closure-oriented versions of basic functions
local function menu(ui)
ui:layoutRow('dynamic', 30, 2)
ui:menu('Menu A', nil, 100, 200, function ()
ui:layoutRow('dynamic', 30, 1)
if ui:menuItem('Item 1') then
print 'Closure: Item 1'
end
if ui:menuItem('Item 2') then
print 'Closure... | mit |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 27 | 33913 | --[[
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... | gpl-2.0 |
the0val/SmartMine-Turtle | smartmine.lua | 1 | 7281 | --[[
Stripminer by
]]
-- preferences
local branchSpacing = 12 -- Distance the turtle moves between branches. One more than the number of blocks between tunnels (12)
local branchLenth = 200 -- Minimum length of branch. Last pokehole will be placed either on this distance or as the only set of pokeholes after (200)
l... | mit |
EricssonResearch/scott-eu | simulation-ros/src/turtlebot2i/turtlebot2i_safety/scenarios/turtlebot2i_GPS.lua | 1 | 4720 | -- Check the end of the script for some explanations!
if (sim_call_type == sim.childscriptcall_initialization) then
modelBase = sim.getObjectAssociatedWithScript(sim.handle_self)
ref = sim.getObjectHandle('GPS_reference')
xShiftAmplitude = 0
yShiftAmplitude = 0
zShiftAmplitude = 0
xShift = 0
... | apache-2.0 |
sqow/strap-on | example/conf.lua | 1 | 2201 | function love.conf(t)
t.identity = nil -- The name of the save directory (string)
t.version = '0.9.2' -- The LÖVE version this game was made for (string)
t.console = false -- Attach a console (boolean, Windows only)
t.window.title = 'Dummy' -- The window title (string)
t.win... | mit |
nasomi/darkstar | scripts/zones/Meriphataud_Mountains/npcs/qm1.lua | 17 | 1385 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: qm1 (???)
-- Involved in Quest: The Holy Crest
-- @pos 641 -15 7 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Me... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua | 17 | 2933 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pagisalis
-- Involved In Quest: Enveloped in Darkness
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/cyanviolet_fish_3.meta.lua | 16 | 1896 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"51 204 0 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = {
... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/baka47_shot_8.meta.lua | 2 | 2773 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 120,
light_colors = {
"255 128 0 255",
"244 213 156 255",
"72 71 71 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
... | agpl-3.0 |
mortezamosavy999/index | bot/seedbot.lua | 1 | 9621 | 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.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Port_San_dOria/npcs/Crilde.lua | 36 | 1372 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Crilde
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextID... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Woods/npcs/Valeriano.lua | 36 | 1752 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Valeriano
-- Standard Merchant NPC
-- Working 100%
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
kerr-huang/SL4A | lua/luasocket/etc/get.lua | 58 | 4133 | -----------------------------------------------------------------------------
-- Little program to download files from URLs
-- LuaSocket sample files
-- Author: Diego Nehab
-- RCS ID: $Id: get.lua,v 1.25 2007/03/12 04:08:40 diego Exp $
-----------------------------------------------------------------------------
local ... | apache-2.0 |
nasomi/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Hurr_the_Betrayer.lua | 19 | 3375 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Hurr the Betrayer
-- Type: Involved in the "Sahagin Key Quest"
-- @zone: 176
-- @pos 305.882 26.768 234.279
--
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/metropolis_torso_knife_prim_3.meta.lua | 2 | 2588 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
haka-security/haka | src/haka/test/payload.lua | 2 | 1329 | -- Basic test that play with function sub, left and right
local ipv4 = require('protocol/ipv4' )
haka.rule {
on = haka.dissectors.ipv4.events.receive_packet,
eval = function (pkt)
pkt.payload:sub(0, 40):setstring("0123456789abcdeABCDE0123456789abcdeABCDE01234567")
local left = pkt.payload:sub(0, 50):asstring()
... | mpl-2.0 |
nasomi/darkstar | scripts/globals/items/yagudo_cherry.lua | 35 | 1200 | -----------------------------------------
-- ID: 4445
-- Item: yagudo_cherry
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/plate_of_crab_sushi_+1.lua | 35 | 1377 | -----------------------------------------
-- ID: 5722
-- Item: plate_of_crab_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 10
-- Accuracy % 13
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
fegimanam/zus | plugins/botphoto.lua | 6 | 1239 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
nasomi/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fg.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 100 -34 -71 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004118.lua | 1 | 1136 | --BT4-105_SPR Temporal Darkness Demigra
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_DEMIGRA,SPECIAL_TRAIT_DEMON_GOD)
ds.AddPlayProcedure(c,COLOR_COLORLESS,0,7)
--dark over realm
ds.EnableDarkOverRealm(... | gpl-3.0 |
Dayyan1212/mlPet | main.lua | 1 | 9696 | vector = require 'vector'
bump = require 'bump'
function lerp(a,b,t) return (1-t)*a + t*b end
function love.gamepadpressed( joystick, button )
press(button)
end
function love.gamepadreleased( joystick, button )
release(button)
end
function love.keypressed( key, scancode, isrepeat )
press(key)
e... | mit |
kenyh0926/DBProxy | lib/analyze-query.lua | 4 | 12748 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/resistance_torso_knife_prim_2.meta.lua | 2 | 2781 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.40000000596046448,
amplification = 100,
light_colors = {
"223 113 38 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = fals... | agpl-3.0 |
Nelarius/wren | test/benchmark/method_call.lua | 13 | 2269 | -- $Id: methcall.lua,v 1.2 2004-06-12 16:19:43 bfulgham Exp $
-- http://shootout.alioth.debian.org
-- contributed by Roberto Ierusalimschy
--------------------------------------------------------------
-- Toggle class
--------------------------------------------------------------
Toggle = {}
function Toggle:value ()... | mit |
luanorlandi/SwiftSpaceBattle | src/ship/ship.lua | 2 | 8700 | require "shot/shot"
require "effect/blend"
require "effect/explosion"
require "ship/player"
require "ship/enemies"
require "ship/enemyType1"
require "ship/enemyType2"
require "ship/enemyType3"
require "ship/enemyType4"
require "ship/enemyType5"
local muzzleflashSize = Vector:new(10 * window.scale, 10 * window.scale)
... | gpl-3.0 |
elihugarret/Xquic | uj.lua | 1 | 1372 | ix = Rx.CooperativeScheduler.create()
local _prog = prog()
local beat = x.new{
0, 2, 2, 3, {0, 1}, 2, 2, _, 0, 4, _, 2, {0, 1}, _, 3, _,
0, _, 2, _, {0, 1}, 2, _, 3, 0, 6, 4, _, {0, 1}, 3, 2, 6,
0, 2, _, 2, {0, 1}, _, 3, 2, 0, _, 2, 4, {0, 1}, 2, 2, _,
0, 2, 2, _, {0, 1}, 3, _, 2, 0, 2, _, _, {0... | mit |
nasomi/darkstar | scripts/globals/mobskills/Thundris_Shriek.lua | 13 | 1405 | ---------------------------------------------
-- Thundris Shriek
--
-- Description: Deals heavy lightning damage to targets in area of effect. Additional effect: Terror
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Players will begin to be intimidated by the dvergr after th... | gpl-3.0 |
nicholas-leonard/nn | Squeeze.lua | 20 | 1316 | local Squeeze, parent = torch.class('nn.Squeeze', 'nn.Module')
function Squeeze:__init(dim, numInputDims)
parent.__init(self)
self.dim = dim
self:setNumInputDims(numInputDims)
end
function Squeeze:setNumInputDims(numInputDims)
self.numInputDims = numInputDims
return self
end
function Squeeze:update... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Khoi_Gamduhla.lua | 34 | 1038 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Khoi Gamduhla
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----... | gpl-3.0 |
coolflyreg/gs | server/lualib/servers/gameserver.lua | 1 | 3314 | local skynet = require "skynet"
local gateserver = require "servers.gateserver"
local syslog = require "syslog"
local protoloader = require "protoloader"
local gameserver_handler = require "agent.gameserver_handler"
local md5 = require "md5"
require("framework")
local sessiond
skynet.init(function()
sessiond = sk... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Fort_Ghelsba/Zone.lua | 28 | 1666 | -----------------------------------
--
-- Zone: Fort_Ghelsba (141)
--
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Fort_Ghelsba/TextIDs");
---------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua | 19 | 2055 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: Nigel
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27001110.lua | 1 | 1381 | --BT1-095 Elite Force Captain Ginyu
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_FRIEZAS_ARMY,SPECIAL_TRAIT_GINYU_FORCE,CHARACTER_GINYU)
ds.AddPlayProcedure(c,COLOR_YELLOW,3,3)
--give skill
ds.AddSi... | gpl-3.0 |
nasomi/darkstar | scripts/globals/magiantrials.lua | 33 | 9671 | -------------------------------------------
-- Magian trial functions, vars, tables
-------------------------------------------
-----------------------------------
-- getTrialInfo
-----------------------------------
-- once fully filled out, these info tables might get large enough to need their own file, we'll... | gpl-3.0 |
thesabbir/luci | applications/luci-app-radvd/luasrc/model/cbi/radvd/rdnss.lua | 61 | 2115 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - RDNSS"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends... | apache-2.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/_1ee.lua | 34 | 1045 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Door: Kokba Hostel
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
coolflyreg/gs | server/lualib/agent/socials_handler.lua | 1 | 1185 | local skynet = require("skynet")
local handler = require("agent.handler")
local errorcode = require("protocols.errorcode")
local validator = require("protocols.validator")
local databases = require("db.databases")
local REQUEST = {}
handler = handler.new(REQUEST)
function REQUEST.social_all()
error("<Request.soci... | gpl-2.0 |
appaquet/torch-android | src/3rdparty/nn/Euclidean.lua | 17 | 5685 | local Euclidean, parent = torch.class('nn.Euclidean', 'nn.Module')
function Euclidean:__init(inputSize,outputSize)
parent.__init(self)
self.weight = torch.Tensor(inputSize,outputSize)
self.gradWeight = torch.Tensor(inputSize,outputSize)
-- state
self.gradInput:resize(inputSize)
self.output:resize(o... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Jugner_Forest/npcs/Chaplion_RK.lua | 28 | 3127 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Chaplion, R.K.
-- Outpost Conquest Guards
-- @pos 54 0 -11 104
-------------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest");
requ... | gpl-3.0 |
EnjoyHacking/nn | MultiCriterion.lua | 26 | 1170 | local MultiCriterion, parent = torch.class('nn.MultiCriterion', 'nn.Criterion')
function MultiCriterion:__init()
parent.__init(self)
self.criterions = {}
self.weights = torch.DoubleStorage()
end
function MultiCriterion:add(criterion, weight)
weight = weight or 1
table.insert(self.criterions, criterion)... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua | 16 | 1155 | -----------------------------------
-- Area: Dynamis Jeuno
-- Name: Dynamis Jeuno
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaJeuno]UniqueID",player:getDynamisUniqueID(1283));
SetServerVariable("[DynaJeu... | gpl-3.0 |
nasomi/darkstar | scripts/zones/QuBia_Arena/npcs/Burning_Circle.lua | 17 | 2534 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Burning Circle
-- @pos -221 -24 19 206
-------------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.