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
yinlei/tgame
game/player/init.lua
1
1255
------------------------------------------------------------------------------- -- player ------------------------------------------------------------------------------- local _PACKAGE = string.gsub(...,"%.","/") or "" local pcall, assert, table_copy = pcall, assert, table.copy local tlen = table.lenght local actor ...
mit
mwoz123/koreader
plugins/calibre.koplugin/main.lua
1
12753
--[[ This plugin implements KOReader integration with *some* calibre features: - metadata search - wireless transfers This module handles the UI part of the plugin. --]] local BD = require("ui/bidi") local CalibreSearch = require("search") local CalibreWireless = require("wireless") local Dis...
agpl-3.0
fluxxu/luape
luape/scripts/libs/asm.lua
1
1090
local asm_line_meta = { __index = { number = function (self, i) local pattern = "%x+h" local n = i or 1 local p_begin = 1, p_end for i = 0, n, 1 do p_begin, p_end = self.code_:find(pattern, p) if p_begin ~= nil then if i == n - 1 then local hex = self.code_:sub(p_begin, p_end - 1) ...
mit
bnetcc/darkstar
scripts/zones/Western_Adoulin/npcs/Defliaa.lua
5
1653
----------------------------------- -- Area: Western Adoulin -- NPC: Defliaa -- Type: Quest NPC and Shop NPC -- Involved with Quest: 'All the Way to the Bank' -- !pos 43 2 -113 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; -----------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/pear_crepe.lua
3
1221
----------------------------------------- -- ID: 5777 -- Item: Pear Crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- Intelligence +2 -- MP Healing +2 -- Magic Accuracy +20% (cap 45) -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
Ravenlord/ddp-testing
tests/calculated_values/row-derived/02_vc_virtual-insert.lua
1
2251
--[[! - This is free and unencumbered software released into the public domain. - - Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form - or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. - - In jurisdictions ...
unlicense
Etiene/Algorithm-Implementations
Pi_Algorithms/Lua/Yonaba/pi_test.lua
26
1962
-- Tests for golden_ratio.lua local PI = require 'pi' 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 + 1 end local stat...
mit
bnetcc/darkstar
scripts/globals/items/emerald_quiche.lua
3
1128
----------------------------------------- -- ID: 5171 -- Item: emerald_quiche -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 15 -- Agility 1 -- Ranged ACC % 7 -- Ranged ACC Cap 20 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua
5
2017
----------------------------------- -- Area: Ghelsba_Outpost -- NPC: Hut Door -- !pos -165.357 -11.672 77.771 140 ------------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/gl...
gpl-3.0
bnetcc/darkstar
scripts/zones/Apollyon/mobs/Evil_Armory.lua
5
1091
----------------------------------- -- Area: Apollyon SE -- NPC: Evil_Armory ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -----------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/clear_drop.lua
1
2074
----------------------------------------- -- ID: 4259 -- Item: Clear Drop -- Intelligence 5 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); function onItemCheck(target) --[[ if (target:hasStatusEffect(EFFECT_MEDICINE)) then return msgBasic...
gpl-3.0
knyghtmare/War_of_Legends
lua/equipment-system/item-list.lua
1
3053
item_types = { Helmet = { Cloth = { level = 1, armor = { impact = 10, }, image = "icons/cloak_leather_brown.png", ground_icon = "items/fur_hat.png", category = "light", type = "armor", value = 6, }, Leather = { level = 1, armor = { ...
gpl-2.0
Atebite/NutScript
gamemode/core/derma/cl_attribute.lua
3
3007
local PANEL = {} local gradient = nut.util.getMaterial("vgui/gradient-u") local gradient2 = nut.util.getMaterial("vgui/gradient-d") function PANEL:Init() self:SetTall(20) self.add = self:Add("DImageButton") self.add:SetSize(16, 16) self.add:Dock(RIGHT) self.add:DockMargin(2, 2, 2, 2) self.add:SetImage(...
mit
awesomeWM/awesome
lib/awful/widget/only_on_screen.lua
1
3980
--------------------------------------------------------------------------- -- -- A container that makes a widget display only on a specified screen. -- -- @author Uli Schlachter -- @copyright 2017 Uli Schlachter -- @containermod awful.widget.only_on_screen -- @supermodule wibox.widget.base ----------------------------...
gpl-2.0
mwoz123/koreader
spec/unit/filemanagerconverter_spec.lua
8
2252
describe("FileConverter module", function() local FileConverter setup(function() require("commonrequire") FileConverter = require("apps/filemanager/filemanagerconverter") end) it("should show conversion support for Markdown", function() assert.is_true(FileConverter:isSupported("/...
agpl-3.0
Ravenlord/ddp-testing
tests/calculated_values/dependent/01_trivial-select.lua
1
2637
--[[! - This is free and unencumbered software released into the public domain. - - Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form - or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. - - In jurisdictions ...
unlicense
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-firewall/luasrc/model/cbi/firewall/zone-details.lua
47
6266
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
gpl-2.0
UniverseMelowdi/TheMelowdi
plugins/help.lua
2
1654
do -- Returns true if is not empty local function has_usage_data(dict) if (dict.usage == nil or dict.usage == '') then return false end return true end -- Get commands for that plugin local function plugin_help(name) local plugin = plugins[name] if not plugin then return nil end local text = "" if ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Port_Bastok/npcs/Rosswald.lua
5
1360
----------------------------------- -- Area: Port Bastok -- NPC: Rosswald -- Only sells when Bastok controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Po...
gpl-3.0
bnetcc/darkstar
scripts/zones/Newton_Movalpolos/npcs/Furnace_Hatch.lua
1
2805
----------------------------------- -- Area: Newton Movalpolos -- NPC: Furnace_Hatch ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Newton_Movalpolos/TextIDs"); ----------------------------------- function...
gpl-3.0
TeleDALAD/test
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Rolanberry_Fields/npcs/Legion_Moogle.lua
1
6749
----------------------------------- -- Area: Rolanberry Fields (110) -- NPC: Legion Moogle -- Type: Legion +1 Helper ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rolanberry_Fields/TextIDs"); local Legion...
gpl-3.0
best98ir/SASAN
plugins/fun.lua
1
17395
--Begin Fun.lua By @BeyondTeam --Special Thx To @To0fan -------------------------------- local function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end -------------------------------- local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" ---...
gpl-3.0
awesomeWM/awesome
lib/wibox/layout/grid.lua
1
34818
--------------------------------------------------------------------------- --- Place multiple widgets in multiple rows and columns. -- -- Widgets spanning several columns or rows cannot be included using the -- declarative system. -- Instead, create the grid layout and call the `add_widget_at` method. -- --@DOC_wibox_...
gpl-2.0
bnetcc/darkstar
scripts/zones/Southern_San_dOria/npcs/Simmie.lua
5
1084
----------------------------------- -- Area: Southern San d'Oria -- NPC: Simmie -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals/...
gpl-3.0
bnetcc/darkstar
scripts/globals/magic.lua
1
52800
require("scripts/globals/magicburst"); require("scripts/globals/settings"); require("scripts/globals/weather"); require("scripts/globals/status"); require("scripts/globals/utils"); require("scripts/globals/msg"); DIVINE_MAGIC_SKILL = 32; HEALING_MAGIC_SKILL = 33; ENHANCING_MAGIC_SKILL = 34; EN...
gpl-3.0
erosennin/koreader
plugins/zsync.koplugin/main.lua
1
9988
local FileManagerHistory = require("apps/filemanager/filemanagerhistory") local FileManagerMenu = require("apps/filemanager/filemanagermenu") local InputContainer = require("ui/widget/container/inputcontainer") local FrameContainer = require("ui/widget/container/framecontainer") local FileManager = require("apps/filema...
agpl-3.0
awesomeWM/awesome
tests/examples/wibox/awidget/tasklist/style_bg_focus.lua
1
1681
--DOC_HIDE_START --DOC_GEN_IMAGE local parent = ... local beautiful = require("beautiful") local wibox = require("wibox") local awful = { widget = { tasklist = require("awful.widget.tasklist") } } local gears = { color = require("gears.color") } local t_real = require("awful.tag").add("Test", {screen=screen[1]})...
gpl-2.0
mwoz123/koreader
plugins/terminal.koplugin/main.lua
1
17116
local ButtonDialog = require("ui/widget/buttondialog") local CenterContainer = require("ui/widget/container/centercontainer") local DataStorage = require("datastorage") local Dispatcher = require("dispatcher") local Font = require("ui/font") local InfoMessage = require("ui/widget/infomessage") local InputDialog = requi...
agpl-3.0
bnetcc/darkstar
scripts/globals/effects/sigil.lua
1
3517
----------------------------------- -- -- EFFECT_SIGIL -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); -- Tracks which bonus effects are in use. local sub...
gpl-3.0
graphdat/plugin-pingcheck
init.lua
1
2627
local framework = require('framework') local CommandOutputDataSource = framework.CommandOutputDataSource local PollerCollection = framework.PollerCollection local DataSourcePoller = framework.DataSourcePoller local Plugin = framework.Plugin local os = require('os') local table = require('table') local string = require(...
apache-2.0
tahashakiba/booooooo
plugins/inrealm.lua
71
25005
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/bottle_of_barbarians_drink.lua
1
1102
----------------------------------------- -- ID: 5385 -- Item: Bottle of Barbarian's Drink -- Item Effect: +50% Attk -- Durration: 60 Secs ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- fu...
gpl-3.0
TurkeyMan/premake-core
modules/vstudio/tests/vc2010/test_ensure_nuget_imports.lua
11
1951
-- -- tests/actions/vstudio/vc2010/test_ensure_nuget_imports.lua -- Check the EnsureNuGetPackageBuildImports block of a VS 2010 project. -- Copyright (c) 2016 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vs2010_ensure_nuget_imports") local vc2010 = p.vstudio.vc2010 local p...
bsd-3-clause
bnetcc/darkstar
scripts/globals/spells/bluemagic/thermal_pulse.lua
1
1666
----------------------------------------- -- Spell: Thermal Pulse ----------------------------------------- require("scripts/globals/bluemagic"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(c...
gpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/libs/sys/luasrc/sys.lua
43
25825
--[[ LuCI - System library Description: Utilities for interaction with the Linux system FileId: $Id$ 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 License. You may obtain a copy of the...
gpl-2.0
samihacker01616/x
plugins/xy.lua
2
1143
do local function run(msg, matches) local bot_id = 212833120 local x = 212833120 local y = 207248520 local z = 125871286 local w = 189716959 if matches[1] == 'bye' and is_admin(msg) or msg.action.type == "chat_add_user" and msg.action.user.id == tonumber(bot_id) and not is_sudo(msg) then chat_del_user("chat...
gpl-2.0
jpcy/bgfx
scripts/texturev.lua
2
3279
project ("texturev") uuid (os.uuid("texturev") ) kind "ConsoleApp" configuration {} includedirs { path.join(BX_DIR, "include"), path.join(BIMG_DIR, "include"), path.join(BGFX_DIR, "include"), path.join(BGFX_DIR, "3rdparty"), path.join(BGFX_DIR, "examples/common"), path.join(MODULE_DIR, "include"), ...
bsd-2-clause
virus322/selfbot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-3.0
UniverseMelowdi/TheMelowdi
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
tiagosr/ld27-train
tiledloader/Grid.lua
6
6367
--------------------------------------------------------------------------------------------------- -- -= Grid =- --------------------------------------------------------------------------------------------------- local Grid = {class = "Grid"} Grid.__index = Grid ------------------------------------------------------...
mit
bnetcc/darkstar
scripts/commands/wallhack.lua
1
1150
--------------------------------------------------------------------------------------------------- -- func: wallhack <optional target> -- desc: Allows the player to walk through walls. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 0, ...
gpl-3.0
dmccuskey/dmc-dragdrop
examples/dmc-dragdrop-oop/dmc_corona/lib/dmc_lua/lua_events_mix.lua
32
8316
--====================================================================-- -- dmc_lua/lua_events_mix.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014-2015 David McCuskey. All Rights Reserved. ...
mit
erwin8086/basiccomputers
api.lua
1
3947
local bc = basiccomputers --[[ Restrice computers dig-abiliti. Computer can only dig if func returns true ]] function bc.register_can_dig(func) local old_can_dig = bc.can_dig function bc.can_dig(pos, player) if not func(pos, player) then return false else return old_can_dig(pos, player) end end end -...
lgpl-2.1
bnetcc/darkstar
scripts/zones/Bastok_Mines/npcs/Babenn.lua
5
2009
----------------------------------- -- Area: Bastok Mines -- NPC: Babenn -- Finishes Quest: The Eleventh's Hour -- Involved in Quests: Riding on the Clouds -- !pos 73 -1 34 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
Maliv/Secret
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
ioiasff/mbg
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
lcf258/openwrtcn
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
24
2233
-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.nut",package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) local voltages = { title = "%H: Voltages on UPS \"%pi\"", vlabel = "V", number_format = "%5.1lfV", data = { instances = { ...
apache-2.0
JabJabJab/Sledgehammer
lua/SledgehammerLua/media/lua/client/Sledgehammer/Gui/TabPanel.lua
1
16043
-- This file is part of Sledgehammer. -- -- Sledgehammer is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- ...
lgpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/libs/nixio/docsrc/nixio.TLSSocket.lua
173
2926
--- TLS Socket Object. -- TLS Sockets contain the underlying socket and context in the fields -- "socket" and "context". -- @cstyle instance module "nixio.TLSSocket" --- Initiate the TLS handshake as client with the server. -- @class function -- @name TLSSocket.connect -- @usage This function calls SSL_connect(). -- @...
gpl-2.0
bnetcc/darkstar
scripts/zones/Western_Adoulin/npcs/Jorin.lua
5
1935
----------------------------------- -- Area: Western Adoulin -- NPC: Jorin -- Type: Standard NPC and Quest Giver -- Starts, Involved with, and Finishes Quest: 'The Old Man and the Harpoon' -- @zone 256 -- !pos 92 32 152 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] ...
gpl-3.0
Benjji/wesnoth
data/ai/lua/generic_rush_engine.lua
26
27499
return { init = function(ai) -- Grab a useful separate CA as a starting point local generic_rush = wesnoth.require("ai/lua/move_to_any_target.lua").init(ai) -- More generic grunt rush (and can, in fact, be used with other unit types as well) local H = wesnoth.require "lua/helper.l...
gpl-2.0
Atebite/NutScript
plugins/wepselect.lua
3
4526
PLUGIN.name = "Weapon Select" PLUGIN.author = "Chessnut" PLUGIN.desc = "A replacement for the default weapon selection." if (SERVER) then concommand.Add("nut_selectweapon", function(client, command, arguments) local index = tonumber(arguments[1]) or 1 local weapon = client:GetWeapons()[index] if (IsValid(weapo...
mit
bnetcc/darkstar
scripts/zones/Abyssea-Konschtat/npcs/Conflux_Surveyor.lua
3
3234
----------------------------------- -- Zone: Abyssea - Konschtat -- NPC: Conflux Surveyor -- Type: -- !pos 133.000 -72.738 -824.000 15 ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
hooksta4/darkstar
scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua
2
1103
----------------------------------- -- Area: The Boyahda Tree -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc...
gpl-3.0
hooksta4/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua
37
1030
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Mhasbaf -- Type: Standard NPC -- @pos 54.701 -6.999 11.387 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whit...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Port_Bastok/npcs/Sawyer.lua
17
1551
----------------------------------- -- Area: Port Bastok -- NPC: Sawyer -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Windurst_Walls/npcs/Juvillie.lua
38
1041
----------------------------------- -- Area: Windurst Walls -- NPC: Juvillie -- Type: Event Replayer -- @zone: 239 -- @pos -180.731 -3.451 143.138 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; --------...
gpl-3.0
hooksta4/darkstar
scripts/zones/Abyssea-Altepa/Zone.lua
33
1470
----------------------------------- -- -- Zone: Abyssea - Altepa -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Altepa/TextIDs...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Sacrarium/mobs/Old_Professor_Mariselle.lua
2
2159
----------------------------------- -- Area: Sacrarium -- NPC: Old Professor Mariselle ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; --...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Lower_Jeuno/npcs/Morefie.lua
6
1119
----------------------------------- -- Area: Lower Jeuno -- NPC: Morefie -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
snabbco/snabb
lib/ljndpi/ndpi/protocol_ids_2_3.lua
6
13824
-- Generated by ljdnpi's tools/update-protocol-ids script local T = { [0] = "PROTOCOL_UNKNOWN", [0] = "PROTOCOL_UNKNOWN", [1] = "PROTOCOL_FTP_CONTROL", [2] = "PROTOCOL_SIZE", [2] = "PROTOCOL_MAIL_POP", [3] = "PROTOCOL_MAIL_SMTP", [4] = "PROTOCOL_MAIL_IMAP", [5] = "PROTOCOL_DNS", [6] = "PROTOCOL_IPP", ...
apache-2.0
hooksta4/darkstar
scripts/zones/Port_San_dOria/npcs/Prietta.lua
13
1435
----------------------------------- -- Area: Port San d'Oria -- NPC: Prietta -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action --------...
gpl-3.0
Null22/senator
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
hooksta4/darkstar
scripts/zones/Bastok_Mines/npcs/Pavvke.lua
6
2088
----------------------------------- -- Area: Bastok Mines -- NPC: Pavvke -- Starts Quests: Fallen Comrades (100%) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); r...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Riverne-Site_A01/npcs/_0u3.lua
19
1339
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/Text...
gpl-3.0
FishFilletsNG/fillets-data
script/barrel/code.lua
1
33741
file_include('script/share/prog_border.lua') -- ----------------------------------------------------------------- -- Init -- ----------------------------------------------------------------- local function prog_init() initModels() sound_playMusic("music/rybky05.ogg") local pokus = getRestartCount() -...
gpl-2.0
gorkinovich/DefendersOfMankind
dependencies/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/define.lua
7
1317
-- tolua: define class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: define.lua 1004 2006-02-27 13:03:20Z lindquist $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide ...
gpl-3.0
snabbco/snabb
lib/luajit/testsuite/test/lang/compare.lua
6
5758
local function lt(x, y) if x < y then return true else return false end end local function le(x, y) if x <= y then return true else return false end end local function gt(x, y) if x > y then return true else return false end end local function ge(x, y) if x >= y then return true else return false end end lo...
apache-2.0
gedadsbranch/Darkstar-Mission
scripts/zones/Metalworks/npcs/Hungry_Wolf.lua
19
2040
----------------------------------- -- Area: Metalworks -- NPC: Hungry Wolf -- Type: Quest Giver -- @pos -25.861 -11 -30.172 237 -- -- Auto-Script: Requires Verification (Verified by Brawndo) -- Updated for "Smoke on the Mountain" by EccentricAnata 03.22.13 ----------------------------------- package.loaded["scri...
gpl-3.0
hooksta4/darkstar
scripts/zones/Abyssea-Tahrongi/npcs/qm18.lua
17
1550
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: ??? -- Spawns: Lacovie ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(play...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Oldton_Movalpolos/Zone.lua
13
2426
----------------------------------- -- -- Zone: Oldton_Movalpolos (11) -- ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/conquest"); require("scripts/zones/O...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Temenos/npcs/Matter_Diffusion_Module.lua
19
6043
----------------------------------- -- Area: temenos -- NPC: Matter diffusion module -- @pos ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); require("scripts/zones/Te...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Southern_San_dOria_[S]/npcs/Dilgeur.lua
36
1106
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Dilgeur -- Misnamed NPC, name is Crochepallade when it should be Dilgeur, swap pos with the NPC at -46 2 -8 -- @zone 80 -- @pos 22 2 3 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextID...
gpl-3.0
hooksta4/darkstar
scripts/globals/items/crayfish.lua
18
1409
----------------------------------------- -- ID: 4472 -- Item: crayfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -3 -- Vitality 1 -- defense 10 ----------------------------------------- require("scripts/globals/status"); -------------------------------------...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Windurst_Woods/npcs/Etsa_Rhuyuli.lua
38
1415
----------------------------------- -- Area: Windurst Woods -- NPC: Etsa Rhuyuli -- Type: Standard NPC -- @pos 62.482 -8.499 -139.836 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
prosody-modules/import2
mod_telnet_tlsinfo/mod_telnet_tlsinfo.lua
32
1220
-- mod_telnet_tlsinfo.lua module:set_global(); module:depends("admin_telnet"); local console_env = module:shared("/*/admin_telnet/env"); local c2s_sessions = module:shared("/*/c2s/sessions"); local s2s_sessions = module:shared("/*/s2s/sessions"); local function print_tlsinfo(print, session) if session.secure then ...
mit
hooksta4/darkstar
scripts/globals/abilities/pets/ecliptic_howl.lua
20
1294
--------------------------------------------------- -- Aerial Armor --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/utils"); ----------------------------------------...
gpl-3.0
ak48disk/wowaddons
Quartz/modules/Timer.lua
1
5850
--[[ Copyright (C) 2006-2007 Nymbia Copyright (C) 2010 Hendrik "Nevcairiel" Leppkes < h.leppkes@gmail.com > 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,...
mit
hooksta4/darkstar
scripts/zones/Mhaura/npcs/Kamilah.lua
2
1127
----------------------------------- -- Area: Mhaura -- NPC: Kamilah -- Guild Merchant NPC: Blacksmithing Guild -- @pos -64.302 -16.000 35.261 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
hooksta4/darkstar
scripts/zones/Temenos/Zone.lua
35
4896
----------------------------------- -- -- Zone: Temenos (37) -- ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Temenos/TextIDs"); require("scripts/globals/limbus"); -------------...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Southern_San_dOria/npcs/Ominous_Cloud.lua
19
5169
----------------------------------- -- Area: Southern Sandoria -- NPC: Ominous Cloud -- Type: Traveling Merchant NPC -- @zone: 230 -- @pos -41.550 1.999 -2.845 -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- ------------...
gpl-3.0
mynameiscraziu/godvare
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
moto-timo/vlc
share/lua/playlist/canalplus.lua
113
3501
--[[ $Id: $ Copyright (c) 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. This program is distr...
gpl-2.0
hooksta4/darkstar
scripts/zones/zones/Boneyard_Gully/mobs/Race_Runner.lua
2
1425
----------------------------------- -- Area: Boneyard_Gully -- Name: Race Runner ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); local path = { -539, 0, -481, -556, 0, -478, -581, 0, -475, -579, -3, -460, -572, 2, -433, -545, 1, -440, -532, 0, -466 }; ...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Gusgen_Mines/npcs/_5g2.lua
34
1100
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g2 (Door A) -- @pos -4.001 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -----------------...
gpl-3.0
hooksta4/darkstar
scripts/zones/Windurst_Waters/TextIDs.lua
9
5524
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>> GIL_OBTAINED = 6544; -- Obtaine...
gpl-3.0
hooksta4/darkstar
scripts/zones/RuAun_Gardens/npcs/qm1.lua
16
1435
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Genbu's Spawn) -- Allows players to spawn the HNM Genbu with a Gem of the North and a Winterstone. -- @pos 257 -70 517 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -------------------...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rakih Lyhall -- Type: Standard NPC -- @zone: 94 -- @pos -48.111 -4.5 69.712 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
AnySDK/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua
10
1885
-------------------------------- -- @module SkeletonAnimation -- @extend SkeletonRenderer -- @parent_module sp -------------------------------- -- -- @function [parent=#SkeletonAnimation] setStartListener -- @param self -- @param #function listener -------------------------------- -- -- @function [parent=...
mit
hooksta4/darkstar
scripts/zones/Southern_San_dOria/npcs/Paouala.lua
2
2102
----------------------------------- -- Area: Southern San d'Oria -- NPC: Paouala -- Starts and Finishes Quest: Sleepless Nights -- @zone 230 -- @pos 158 -6 17 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
jpuigcerver/Laia
laia/util/io.lua
1
4153
require 'laia.util.types' tds = require 'tds' -- read symbols_table file. this file contains -- two columns: "symbol id" function laia.read_symbols_table(filename, sym2int, int2sym, subtract) local num_symbols = 0 sym2int = sym2int or {} -- If sym2int table is given, update it int2sym = int2sym or {} -- If...
mit
hooksta4/darkstar
scripts/zones/zones/Windurst_Waters/npcs/Kerutoto.lua
2
11336
----------------------------------- -- Area: Windurst Waters -- NPC: Kerutoto -- Starts Quest Food For Thought -- Involved in Quest: Riding on the Clouds -- @zone 238 -- @pos 13 -5 -157 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loaded["scripts/globals/se...
gpl-3.0
ASTPP/trunk
freeswitch/scripts/astpp/astpp.lua
1
2518
------------------------------------------------------------------------------------- -- ASTPP - Open Source VoIP Billing Solution -- -- Copyright (C) 2016 iNextrix Technologies Pvt. Ltd. -- Samir Doshi <samir.doshi@inextrix.com> -- ASTPP Version 3.0 and above -- License https://www.gnu.org/licenses/agpl-3.0.html -- --...
gpl-2.0
moto-timo/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
PrashntS/dotfiles
etc/hammerspoon/Spoons/RoundedCorners.spoon/init.lua
1
4129
--- === RoundedCorners === --- --- Give your screens rounded corners --- --- Download: [https://github.com/Hammerspoon/Spoons/raw/master/Spoons/RoundedCorners.spoon.zip](https://github.com/Hammerspoon/Spoons/raw/master/Spoons/RoundedCorners.spoon.zip) local obj = {} obj.__index = obj -- Metadata obj.name = "RoundedCor...
mit
hooksta4/darkstar
scripts/globals/abilities/chakra.lua
18
1872
----------------------------------- -- Ability: Chakra -- Cures certain status effects and restores a small amount of HP to user. -- Obtained: Monk Level 35 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- ...
gpl-3.0
FishFilletsNG/fillets-data
script/ending/demo_dialogs_nl.lua
1
1358
dialogId("dlg-x-poster1", "font_poster", "Good morning, fish!") dialogStr("Goede morgen, vissen!") dialogId("dlg-x-poster2", "font_poster", "Again, you didn’t disappoint us. General Committee decided to decorate you with the highest orders. They are made of milk chocolate. Due to confidentiality, eat them immediatel...
gpl-2.0
hooksta4/darkstar
scripts/globals/spells/dia_ii.lua
18
2295
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------...
gpl-3.0
effil/effil
tests/lua/gc.lua
2
2263
require "bootstrap-tests" local gc = effil.gc test.gc.tear_down = default_tear_down test.gc.cleanup = function () collectgarbage() gc.collect() test.equal(gc.count(), 1) for i = 0, 10000 do local tmp = effil.table() end collectgarbage() gc.collect() test.equal(gc.count(), 1)...
mit