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
jshackley/darkstar
scripts/globals/mobskills/Lethe_Arrows.lua
25
1095
--------------------------------------------- -- Lethe Arrows -- -- Description: Deals a ranged attack to target. Additional effect: Knockback, Bind, and Amnesia -- Type: Ranged -- Utsusemi/Blink absorb: Ignores Utsusemi -- Range: Unknown -- Notes: --------------------------------------------- require(...
gpl-3.0
jshackley/darkstar
scripts/zones/Lufaise_Meadows/npcs/Jersey.lua
19
1808
----------------------------------- -- Area: Lufaise Meadows -- NPC: Jersey -- Type: Outpost Vendor -- @pos -548.706 -7.197 -53.897 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("script...
gpl-3.0
jshackley/darkstar
scripts/zones/Upper_Jeuno/npcs/Chocobo.lua
2
5041
----------------------------------- -- Area: Upper Jeuno -- NPC: Chocobo -- Finishes Quest: Chocobo's Wounds ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
Mizugola/MeltingSaga
engine/Lib/Toolkit/Functions/version.lua
5
2675
local Color = require("Lib/StdLib/ConsoleColor"); local Route = require("Lib/Toolkit/Route"); local Style = require("Lib/Toolkit/Stylesheet"); return { Functions = { version = function() Color.print({ { text = "ÖbEngine is in version ", color = Style.Default}, { ...
mit
iofun/treehouse
luerl/e102182e51f9f096e5d523bc3b4bd3d7.lua
1
2139
-- The Science Facility is built by Terran following construction of the Starport. -- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Terran_Science_Facility" -- Our color local color = "blue" -- Our BWAPI unit ...
agpl-3.0
luastoned/turbo
examples/githubfeed.lua
12
1795
--- Turbo.lua Github Feed -- -- Copyright 2013 John Abrahamsen -- -- 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 ap...
apache-2.0
jshackley/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Stone_Monument.lua
32
1300
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -300.672 21.620 304.179 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
josetaas/YokiRaidCursor
Libs/MiddleClass/MiddleClass.lua
1
4438
local middleclass = LibStub:NewLibrary("MiddleClass", 1) local function _createIndexWrapper(aClass, f) if f == nil then return aClass.__instanceDict else return function(self, name) local value = aClass.__instanceDict[name] if value ~= nil then return value elseif type(f) == "fun...
mit
nestharus/JASS
lua/wc3 project/utils/web/web.lua
1
5305
local socket = require("socket") local http = require("socket.http") local ftp = require("socket.ftp") local url = require("socket.url") local ltn12 = require("ltn12") local lfs = require("lfs") -- formats a number of seconds into human readable form function nicetime(s) local l = "s" if s > 60 then s = s...
mit
jshackley/darkstar
scripts/globals/items/piece_of_raisin_bread.lua
35
1280
----------------------------------------- -- ID: 4546 -- Item: piece_of_raisin_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Dexterity -1 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
DipColor/mehrabon3
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, ...
gpl-2.0
josetaas/YokiRaidCursor
Libs/Ace3/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua
3
12528
--- AceConfigRegistry-3.0 handles central registration of options tables in use by addons and modules.\\ -- Options tables can be registered as raw tables, OR as function refs that return a table.\\ -- Such functions receive three arguments: "uiType", "uiName", "appName". \\ -- * Valid **uiTypes**: "cmd", "dropdown"...
mit
elbamos/nn
MultiLabelSoftMarginCriterion.lua
14
1375
--[[ -- A MultiLabel multiclass criterion based on sigmoid: -- -- the loss is: -- l(x,y) = - sum_i y[i] * log(p[i]) + (1 - y[i]) * log (1 - p[i]) -- where p[i] = exp(x[i]) / (1 + exp(x[i])) -- -- and with weights: -- l(x,y) = - sum_i weights[i] (y[i] * log(p[i]) + (1 - y[i]) * log (1 - p[i])) -- -- --]] local MultiLa...
bsd-3-clause
Victek/wrt1900ac-aa
veriksystems/luci-0.11/libs/nixio/docsrc/nixio.fs.lua
156
7907
--- Low-level and high-level filesystem manipulation library. module "nixio.fs" --- Check user's permission on a file. -- @class function -- @name nixio.fs.access -- @param path Path -- @param mode1 First Mode to check ["f", "r", "w", "x"] -- @param ... More Modes to check [-"-] -- @return true --- Strip the dire...
gpl-2.0
coderczp/luajava
test/awtTest.lua
8
1561
frame = luajava.newInstance("java.awt.Frame", "Lua Java Console") console = luajava.newInstance("java.awt.TextArea") buttons_pn = luajava.newInstance("java.awt.Panel") execute_bt = luajava.newInstance("java.awt.Button", "Execute") clear_bt = luajava.newInstance("java.awt.Button", "Clear") exit_bt = luajava.newInstance...
mit
opentibia/server
data/scripts/otstd/actions/mailbox.lua
3
1101
otstd.mailbox = {} otstd.mailboxes = { [2593] = {}, [3981] = {} } function otstd.mailbox.handler(event) local mail = event.item local label = nil if mail:getItemID() == 2595 then label = filter((function(i) return i:getItemID() == 2599 end), mail:getItems()) if #label == 0 then return end label ...
gpl-2.0
jshackley/darkstar
scripts/zones/Windurst_Waters/npcs/Angelica.lua
36
5295
----------------------------------- -- Area: Windurst Waters -- NPC: Angelica -- Starts and Finished Quest: A Pose By Any Other Name -- Working 100% -- @zone = 238 -- @pos = -70 -10 -6 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Quicksand_Caves/mobs/Princeps_IV-XLV.lua
1
1341
----------------------------------- -- Area: Quicksand Caves -- MOB: Princeps IV-XLV -- Pops in Bastok mission 8-1 "The Chains that Bind Us" ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Cav...
gpl-3.0
10sa/Advanced-Nutscript
nutscript/gamemode/libs/sh_logging.lua
1
2680
-- since it's really sensitive. localized. local timeColor = Color(0, 255, 0) local textColor = Color(255, 255, 255) if SERVER then local serverLog = {} local autosavePerLines = 1000 -- for later filter use. LOG_FILTER_DEVELOPER = 0 LOG_FILTER_CRITICAL = 1 LOG_FILTER_MAJOR = 2 LOG_FILTER_ITEM = 3 LOG_FILTER_...
mit
jshackley/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tachi.lua
1
1480
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Tachi ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functio...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/slug_shot.lua
30
1533
----------------------------------- -- Slug Shot -- Marksmanship weapon skill -- Skill Level: 175 -- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP. -- Despite the lack of a STR weaponskill mod, STR is still the most potent stat for increasing this weaponskill's da...
gpl-3.0
jshackley/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm12.lua
34
1386
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm12 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -245.603 -5.500 139.855 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/AtlasNode.lua
3
2256
-------------------------------- -- @module AtlasNode -- @extend Node,TextureProtocol -------------------------------- -- @function [parent=#AtlasNode] updateAtlasValues -- @param self -------------------------------- -- @function [parent=#AtlasNode] getTexture -- @param self -- @return Texture2D#Texture2D...
mit
jshackley/darkstar
scripts/zones/Maquette_Abdhaljs-Legion/Zone.lua
32
1184
----------------------------------- -- -- Zone: Maquette Abdhaljs-Legion -- ----------------------------------- package.loaded["scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Maquette_Abdhaljs-Legion/TextI...
gpl-3.0
jshackley/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Chopapa_WW.lua
30
3071
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Chopapa, W.W. -- Type: Border Conquest Guards -- @pos -227.956 -81.475 260.442 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
10sa/Advanced-Nutscript
nutscript/entities/entities/nut_money.lua
1
1558
AddCSLuaFile() ENT.Type = "anim" ENT.PrintName = "Money" ENT.Author = "Chessnut" ENT.Category = "Nutscript" ENT.PersistentSave = false; if (SERVER) then function ENT:Initialize() self:SetModel(nut.config.moneyModel) self:PhysicsInit(SOLID_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHY...
mit
wilhantian/catui
catui/Control/UIScrollBar.lua
2
7683
--[[ The MIT License (MIT) Copyright (c) 2016 WilhanTian 田伟汉 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, me...
mit
jshackley/darkstar
scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua
2
1363
----------------------------------- -- Area: Beaucedine Glacier -- MOB: Tundra Tiger -- Note: PH for Nue, Kirata ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/Beaucedine_Glacier/MobIDs"); ----------------------------------- -- onMobDeath ------------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/detonator.lua
30
1630
----------------------------------- -- Detonator -- Marksmanship weapon skill -- Skill Level: 250 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Detonator, the quest Shoot First, Ask Questions Later must be completed. -- Despite the lack of a STR weaponskill mod, STR is still the mo...
gpl-3.0
rigeirani/arbc
plugins/add_rem.lua
4
9472
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
jshackley/darkstar
scripts/zones/RuAun_Gardens/npcs/_3m0.lua
34
1118
----------------------------------- -- Area: Ru'Avitau Gate -- NPC: _3m0 -- @pos 0.1 -45 -113 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs"); ----------------------------...
gpl-3.0
LuaDist/lua-uri
uri/urn.lua
2
3916
local M = { _NAME = "uri.urn" } local Util = require "uri._util" local URI = require "uri" Util.subclass_of(M, URI) -- This implements RFC 2141, and attempts to change the class of the URI object -- to one of its subclasses for further validation and normalization of the -- namespace-specific string. -- Check NID syn...
mit
men232/greencode-framework
lua/greencode/plugins/tophud/cl_auto.lua
1
3696
--[[ © 2013 GmodLive private project do not share without permission of its author (Andrew Mensky vk.com/men232). --]] local greenCode = greenCode; local Material = Material; local surface = surface; local draw = draw; local util = util; local PLUGIN = PLUGIN or greenCode.plugin:Loader(); PLUGIN.stored = {}; PLUGIN...
mit
deepmind/torch-dokx
luasrc/package.lua
3
1337
local dir = require 'pl.dir' do --[[ Information about a package ]] local Package, parent = torch.class("dokx.Package") --[[ Create a package object Parameters: * `name` - name of the package * `path` - path of the package ]] function Package:__init(name, path) self._name = name ...
bsd-3-clause
jshackley/darkstar
scripts/zones/Mog_Garden/npcs/GreenThumbMo.lua
29
2393
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil; require("scripts/zones/Mog_Garden/TextIDs"); require("scripts/globals/moghouse") require("scripts/globals/shop"); local BRONZE_PIECE_ITEMID = 2184; ----------------------------------- -- onTrade ----------------------------------- function onTr...
gpl-3.0
jshackley/darkstar
scripts/zones/Dynamis-Buburimu/Zone.lua
17
2365
----------------------------------- -- -- Zone: Dynamis-Buburimu -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; require("scripts/zones/Dynamis-Buburimu/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
jshackley/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
1
2114
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 -- @pos -259 -30 276 178 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missi...
gpl-3.0
Shahabambesik/merbot
plugins/sudo.lua
1
3682
do local function cb_getdialog(extra, success, result) vardump(extra) vardump(result) end local function parsed_url(link) local parsed_link = URL.parse(link) local parsed_path = URL.parse_path(parsed_link.path) for k,segment in pairs(parsed_path) do if segment == 'joinchat' then ...
gpl-2.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Corua.lua
30
2262
----------------------------------- -- Area: Southern San d'Oria -- NPC: Corua -- Only sells when San d'Oria controlls Ronfaure Region -- @ zone 230 -- @pos -66 2 -11 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua
17
2990
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Runic Portal -- Aht Urhgan Teleporter to Other Areas ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/besieged"); requi...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
11
1500
--[[ Luci configuration model for statistics - collectd unixsock 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 Lice...
gpl-2.0
jshackley/darkstar
scripts/globals/items/keen_zaghnal.lua
37
1120
----------------------------------------- -- ID: 18067 -- Equip: Keen Zaghnal -- Enchantment: Accuracy +3 -- Enchantment will wear off if weapon is unequipped. -- Effect lasts for 30 minutes ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Bastok_Mines/npcs/Elki.lua
36
2490
----------------------------------- -- Area: Bastok Mines -- NPC: Elki -- Starts Quests: Hearts of Mythril, The Eleventh's Hour ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("script...
gpl-3.0
jshackley/darkstar
scripts/zones/Temenos/mobs/Enhanced_Vulture.lua
1
1440
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Vulture ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ---------------------...
gpl-3.0
Keithenneu/Dota2-FullOverwrite
bot_antimage.lua
1
2417
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- local utils = require( GetScriptDirectory().."/utility" ) local d...
gpl-3.0
jshackley/darkstar
scripts/zones/Temenos/mobs/Pee_Qoho_the_Python.lua
1
1606
----------------------------------- -- Area: Temenos -- NPC: ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- -- o...
gpl-3.0
elbamos/nn
SpatialUpSamplingNearest.lua
13
2065
local SpatialUpSamplingNearest, parent = torch.class('nn.SpatialUpSamplingNearest', 'nn.Module') --[[ Applies a 2D up-sampling over an input image composed of several input planes. The upsampling is done using the simple nearest neighbor technique. The Y and X dimensions are assumed to be the last 2 tensor dimension...
bsd-3-clause
jshackley/darkstar
scripts/zones/Temenos/npcs/Particle_Gate.lua
64
3548
----------------------------------- -- Area: Temenos -- NPC: Particle_Gate ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); require("scripts/zones/Temenos/TextIDs"); -...
gpl-3.0
jshackley/darkstar
scripts/zones/Bastok_Mines/npcs/Deegis.lua
36
1768
----------------------------------- -- Area: Bastok Mines -- NPC: Deegis -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Caedarva_Mire/npcs/Kwadaaf.lua
19
1350
----------------------------------- -- Area: Caedarva Mire -- NPC: Kwadaaf -- Type: Entry to Alzadaal Undersea Ruins -- @pos -639.000 12.323 -260.000 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitem...
gpl-3.0
jshackley/darkstar
scripts/zones/Yuhtunga_Jungle/mobs/Rose_Garden.lua
1
1644
----------------------------------- -- Area: Yuhtunga Jungle -- MOB: Rose Garden ----------------------------------- ----------------------------------- function onMobSpawn(mob) local Voluptuous_Vilma = 17281358; GetMobByID(Voluptuous_Vilma):setLocalVar("1",os.time() + math.random((36000), (37800))); e...
gpl-3.0
sp3ctum/lean
tests/lua/old/simp1.lua
6
1067
add_rewrite_rules({"Nat", "add_zerol"}) add_rewrite_rules({"Nat", "add_zeror"}) parse_lean_cmds([[ variable f : Nat -> Nat -> Nat variable g : Nat -> Nat variable b : Nat definition a := 1 theorem a_eq_1 : a = 1 := refl a definition c := 1 set_opaque a true axiom f_id (x : Nat) : f x 1 = 2*x axiom...
apache-2.0
jshackley/darkstar
scripts/globals/spells/temper.lua
18
1027
----------------------------------------- -- -- Spell: Temper -- ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
ByteFun/Starbound_mods
smount/tech/mech/mount68/mount68.lua
1
36459
function checkCollision(position) local boundBox = mcontroller.boundBox() boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1] boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2] boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1] boundBox[4] = boundBox[4] - mcon...
gpl-2.0
jshackley/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Mahol_IM.lua
30
3044
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Mahol, I.M. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
BeyondTeam/TeleBeyond
plugins/kickme.lua
1
1456
local function run(msg, matches) local hash = 'kick:'..msg.to.id..':'..msg.from.id if matches[1] == 'kickme' and redis:get(hash) == nil then local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['kickme'] == '❌' then return reply_msg(msg.id, 'این دستور در این سوپرگروه غیر...
agpl-3.0
jshackley/darkstar
scripts/zones/East_Ronfaure/npcs/Andelain.lua
19
2000
----------------------------------- -- Area: East Ronfaure -- NPC: Andelain -- Type: Standard NPC -- @pos 664.231 -12.849 -539.413 101 -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; -----------------------...
gpl-3.0
deepmind/torch-dokx
tests/testParsing.lua
2
8738
require 'dokx' local tester = torch.Tester() local myTests = {} local package = "dummyPackageName" local sourceFile = "dummySourceFile" local checkTableSize = function(...) dokx._checkTableSize(tester, ...) end local checkComment = function(...) dokx._checkComment(tester, package, sourceFile, ...) end local checkWhi...
bsd-3-clause
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Halbeeya.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Halbeeya -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
LiberatorUSA/GUCEF
dependencies/Ogre/RenderSystems/GL/premake5.lua
1
16894
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
jshackley/darkstar
scripts/zones/West_Ronfaure/npcs/qm3.lua
34
1499
----------------------------------- -- Area: West Ronfaure -- NPC: qm3 (???) -- Involved in Quest: The Dismayed Customer -- @pos -399 -10 -438 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
samijon/online-anti-spam
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
emadni/telelordteamgimi
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
DarkRainX/ufoai
base/ufos/ui/base.buildinginfo.lua
2
4808
--!usr/bin/lua --[[ -- @file -- @brief Build the building information panel --]] --[[ Copyright (C) 2002-2020 UFO: Alien Invasion. 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 o...
gpl-2.0
jshackley/darkstar
scripts/globals/items/trumpet_shell.lua
18
1266
----------------------------------------- -- ID: 5466 -- Item: Trumpet Shell -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Waters/npcs/Ten_of_Hearts.lua
38
1045
----------------------------------- -- Area: Windurst Waters -- NPC: Ten of Hearts -- Type: Standard NPC -- @zone: 238 -- @pos -49.441 -5.909 226.524 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----...
gpl-3.0
Shahabambesik/merbot
plugins/music.lua
1
2208
local function musiclink(msg, musicid) local value = redis:hget('music:'..msg.to.peer_id, musicid) if not value then return else value = value send_api_msg(msg, get_receiver_api(msg), value, true, 'md') end end function sectomin (Sec) if (tonumber(Sec) == nil) or (tonumber(Sec) == 0) then return "00:00" els...
gpl-2.0
kans/birgo
lib/lua/virgo-init.lua
1
11418
--[[ Copyright 2012 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
apache-2.0
jshackley/darkstar
scripts/zones/Cloister_of_Flames/mobs/Ifrit_Prime.lua
1
1778
----------------------------------------------------- -- Area: Cloister of Flames -- MOB: Ifrit Prime -- Involved in Quest: Trial by Fire -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems");...
gpl-3.0
opentibia/server
tools/genenums/enums.lua
3
7174
------------------------------------------------------------------- -- OpenTibia - an opensource roleplaying game ---------------------------------------------------------------------- -- This program is free software; you can redistribute it and-or -- modify it under the terms of the GNU General Public License -- as p...
gpl-2.0
jshackley/darkstar
scripts/globals/items/red_curry_bun_+1.lua
14
2011
----------------------------------------- -- ID: 5765 -- Item: red_curry_bun_+1 -- Food Effect: 30 Min, All Races ----------------------------------------- -- Health 35 -- Strength 7 -- Agility 3 -- Attack % 25 (cap 150) -- Ranged Atk % 25 (cap 150) -- Demon Killer 5 -- HP recovered when healing +6 -- MP re...
gpl-3.0
jshackley/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm4.lua
30
1358
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: ??? (Spawn Wulgaru(ZNM T2)) -- @pos -22 -4 204 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Ruins/Te...
gpl-3.0
jshackley/darkstar
scripts/commands/checkmission.lua
27
3863
--------------------------------------------------------------------------------------------------- -- func: @checkmission <Log ID> <Player> -- desc: Prints current MissionID for the given LogID and target Player to the in game chatlog ---------------------------------------------------------------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/TextIDs.lua
15
4950
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 218; -- You cannot obtain the item. Come back after sorting your inventory.?Prompt? ITEM_CANNOT_BE_OBTAINEDX = 220; -- You cannot obtain the ?Possible Special Code: 01??Possible Special Code: 05?#?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 8...
gpl-3.0
JoMiro/arcemu
src/scripts/lua/LuaBridge/Stable Scripts/Outland/Auchenai Crypts/BOSS_AuchenaiCrypts_Maladaar.lua
30
1080
function Maladaar_HealthCheck(Unit) if Unit:GetHealthPct() < 25 and Didthat == 0 then Unit:SpawnCreature(18478, 57.4, -390.8, 26.6, 0, 18, 36000000); Didthat = 1 else end end function Maladaar_SoulSteal(Unit, event, miscunit, misc) print "Maladaar SoulSteal" Unit:FullCastSpellOnTarget(36778,Unit:GetRandomPlay...
agpl-3.0
jshackley/darkstar
scripts/zones/Aydeewa_Subterrane/npcs/qm1.lua
30
1345
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Nosferatu(ZNM T3)) -- @pos -199 8 -62 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); requ...
gpl-3.0
msburgess3200/PERP
gamemodes/perp/entities/effects/snow_blizzard/init.lua
1
2319
///////////////////////////////////////// // © 2010-2020 D3luX - D3luX-Gaming // // All rights reserved // ///////////////////////////////////////// // This material may not be // // reproduced, displayed, // // modified or distributed // // without the express prior // // writte...
mit
FFXIOrgins/FFXIOrgins
scripts/zones/Ifrits_Cauldron/npcs/qm2.lua
9
1416
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: qm2 (???) -- Notes: Used to spawn Bomb Queen -- @pos 18 20 -104 205 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Ifrits_Cauld...
gpl-3.0
anhhung1303/NyuFX
include/0_Extensions.lua
2
30194
-- BASE function pack(...) return arg end -- CONVERT convert = {} function convert.a_to_ass(a) if type(a) ~= "number" then error("number expected", 2) elseif a < 0 or a > 255 then return nil end return string.format("&H%02x&", 255-a) end function convert.ass_to_a(str) if type(str) ~= "string" then error(...
lgpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Mamook/npcs/qm2.lua
15
1163
----------------------------------- -- Area: Mamook -- NPC: ??? (Spawn Iriri Samariri(ZNM T2)) -- @pos -118 7 -80 65 ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mamook/TextIDs"); --------------------------------...
gpl-3.0
soroushwilson/wilson1
plugins/filterword.lua
8
2738
local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "انجام شد" end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end local function list_variablesbad(msg) local hash = get_variables_hash(msg) if h...
gpl-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/RuLude_Gardens/npcs/Muhoho.lua
34
1386
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Muhoho -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/quest...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/weaponskills/exenterator.lua
6
1862
----------------------------------- -- Exenterator -- Skill level: 357 -- Terpsichore: Aftermath effect varies with TP. -- In order to obtain Exenterator, the quest Martial Mastery must be completed. -- Description: Delivers a fourfold attack that lowers enemy's params.accuracy. Effect duration varies with TP...
gpl-3.0
joshimoo/Algorithm-Implementations
Selection_Sort/Lua/Yonaba/selection_sort_test.lua
27
1395
-- Tests for selection_sort.lua local selection_sort = require 'selection_sort' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass +...
mit
FFXIOrgins/FFXIOrgins
scripts/zones/The_Eldieme_Necropolis/npcs/_5f9.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 -60 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Sacrarium/npcs/Large_Keyhole.lua
10
1210
----------------------------------- -- Area: Sacrarium -- NPC: Large Keyhole -- Notes: Used to open R. Gate -- @pos 100.231 -1.414 51.700 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/Text...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Selbina/npcs/Melyon.lua
17
3574
----------------------------------- -- Area: Selbina -- NPC: Melyon -- Starts and Finishes Quest: Only the Best (R) -- Involved in Quest: Riding on the Clouds -- @pos 25 -6 6 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; package.loaded["scripts/globals/settings"...
gpl-3.0
daofeng2015/luci
protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua
18
2363
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local _, p for _, p in ipairs({"ppp", "pptp", "pppoe", "pppoa", "3g", "l2tp", "pppossh"}) do local proto = netmod:register_protocol(p) function proto.get_i18n(self) if p ...
apache-2.0
Gael-de-Sailly/minetest-minetestforfun-server
mods/watershed/nodes.lua
4
2134
minetest.register_alias("watershed:appleleaf", "default:leaves") minetest.register_alias("watershed:appling", "default:sapling") minetest.register_alias("watershed:acaciatree", "moretrees:acacia_trunk") minetest.register_alias("watershed:acacialeaf", "moretrees:acacia_leaves") minetest.register_alias("watershed:acacial...
unlicense
JulianVolodia/awesome
lib/awful/autofocus.lua
7
2314
--------------------------------------------------------------------------- --- Autofocus functions. -- -- When loaded, this module makes sure that there's always a client that will -- have focus on events such as tag switching, client unmanaging, etc. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyrigh...
gpl-2.0
sjznxd/luci-0.11-aa
libs/sgi-wsapi/luasrc/sgi/wsapi.lua
12
1844
--[[ LuCI - SGI-Module for WSAPI Description: Server Gateway Interface for WSAPI FileId: $Id: wsapi.lua 2656 2008-07-23 18:52:12Z Cyrus $ License: 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 ...
apache-2.0
unknownssassss/sudo_meti
plugins/help.lua
2
1993
local function run(msg, matches) local group = load_data('bot/group.json') local addgroup = group[tostring(msg.chat_id)] if matches[1] == 'help' and is_momod(msg) or is_owner(msg) and addgroup then pm1 = [[◽Help Bot _STAR_: by : @SuDo`_`StAr ✨!lock links =>قفل لینک 💀!lock edit =>قفل ویرایش پیام 🔁!lock fwd =>...
gpl-3.0
warriorYosemite/colorBrick
cocos2d/plugin/luabindings/auto/api/lua_cocos2dx_pluginx_auto_api.lua
146
1793
-------------------------------- -- @module plugin -------------------------------------------------------- -- the plugin PluginProtocol -- @field [parent=#plugin] PluginProtocol#PluginProtocol PluginProtocol preloaded module -------------------------------------------------------- -- the plugin PluginManager -- @fi...
gpl-3.0
subzrk/BadRotations
Libs/DiesalGUI-1.0/Objects/Bar.lua
6
6170
-- $Id: Bar.lua 60 2016-11-04 01:34:23Z diesal2010 $ local DiesalGUI = LibStub("DiesalGUI-1.0") -- | Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ local DiesalTools = LibStub("DiesalTools-1.0") local DiesalStyle = LibStu...
gpl-3.0
caidongyun/nginx-openresty-windows
luajit-root/luajit/share/luajit-2.1.0-alpha/jit/dis_x86.lua
2
30214
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------...
bsd-2-clause
FFXIOrgins/FFXIOrgins
scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua
17
5156
----------------------------------- -- Area: Dynamis Jeuno -- NPC: Goblin Statue -- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg -- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg -- Vanguard Position: http://faranim.li...
gpl-3.0
daofeng2015/luci
applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua
79
1459
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sys = require"luci.sys" local ip = require "luci.ip" m = Map("coovachilli") -- tun s1 = m:section(TypedSection, "tun") s1.anonymous = true s1:option(...
apache-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Castle_Oztroja/npcs/_47x.lua
17
1245
----------------------------------- -- Area: Castle Oztroja -- NPC: _47x (Handle) -- Notes: Opens door _477 -- @pos -99 -71 -41 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextI...
gpl-3.0
xToken/CompMod
lua/CompMod/Balance/Balance_Marine_Structures.lua
1
1205
-- Natural Selection 2 Competitive Mod -- Source located at - https://github.com/xToken/CompMod -- lua\CompMod\Balance\Balance_Marine_Structures.lua -- - Dragon kCommandStationCost = 15 -- Default is 15 kExtractorCost = 10 -- Default is 10 kInfantryPortalCost = 20 -- Default is 20 kArmoryCost = 10 ...
mit
FFXIOrgins/FFXIOrgins
scripts/zones/Southern_San_dOria_[S]/npcs/Crochepallade.lua
36
1043
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Crochepallade -- Name is Moogle for some reason -- @zone 80 -- @pos -46 2 -8 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextI...
gpl-3.0