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
mynameiscraziu/body
plugins/stats.lua
33
3680
do local NUM_MSG_MAX = 6 local TIME_CHECK = 4 -- seconds 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 -- Returns a table with `...
gpl-2.0
firebaugh/Digitowls
WebotsController/Player.old/Vision/detectSpot.lua
4
1499
module(..., package.seeall); require('Config'); -- For Ball and Goal Size require('ImageProc'); require('HeadTransform'); -- For Projection require('Vision'); -- Dependency require('Detection'); -- Define Color colorOrange = 1; colorYellow = 2; colorCyan = 4; colorField = 8; colorWhite = 16; use_point_goal=Config....
gpl-3.0
wingo/snabbswitch
lib/pflua/tests/pfquickcheck/pflua_ir.lua
25
1989
#!/usr/bin/env luajit -- -*- lua -*- -- This module generates (a subset of) pflua's IR, -- for property-based tests of pflua internals. module(..., package.seeall) local choose = require("pf.utils").choose local True, False, Fail, ComparisonOp, BinaryOp, Number, Len local Binary, Arithmetic, Comparison, Conditional -...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Woods/npcs/Nya_Labiccio.lua
16
1489
----------------------------------- -- Area: Windurst Woods -- NPC: Nya Labiccio -- Only sells when Windurst controlls Gustaberg Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurst_...
gpl-3.0
nye678/OD
TextureManager.lua
1
1468
--[[--------------------------------------------------------------------------- Jake Robbins --]]--------------------------------------------------------------------------- --[[--------------------------------------------------------------------------- @name Texture Manager @text Manager responsible for keeping t...
mit
xboybigcampishere/V2MIRROR
plugins/linkpv.lua
5
31027
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 -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
Nax/citizenhack
dat/Rog-strt.lua
1
6059
-- NetHack 3.7 Rogue.des $NHDT-Date: 1432512784 2015/05/25 00:13:04 $ $NHDT-Branch: master $:$NHDT-Revision: 1.11 $ -- Copyright (c) 1992 by Dean Luick -- NetHack may be freely redistributed. See license for details. -- -- -- The "start" level for the quest. -- -- Here you meet your (besieged) class leader, Master of...
mit
dtsund/dtsund-crawl-mod
source/test/corpse.lua
1
1112
----------------------------------------------------------------------- -- Tests for corpse gen. ----------------------------------------------------------------------- local p = dgn.point(20, 20) debug.goto_place("D:20") local function ok(corpse, pattern) dgn.reset_level() dgn.fill_grd_area(1, 1, dgn.GXM - 2, d...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Spire_of_Dem/npcs/_0j3.lua
39
1330
----------------------------------- -- Area: Spire_of_Dem -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Dem/TextIDs"); -------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Upper_Jeuno/npcs/Emitt.lua
14
3662
----------------------------------- -- Area: Upper Jeuno -- NPC: Emitt -- @pos -95 0 160 244 ------------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/glo...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rn.lua
13
1641
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _0rn (Oil lamp) -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua
13
1986
----------------------------------- -- Area: The Garden of RuHmet -- NPC: _iz2 (Ebon_Panel) -- @pos 422.351 -5.180 -100.000 35 | Hume Tower ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Garden_o...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/apple_pie.lua
18
1261
----------------------------------------- -- ID: 4413 -- Item: Apple Pie -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 25 -- Agility -1 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/mobskills/Absolute_Terror.lua
28
1378
--------------------------------------------------- -- Absolute Terror -- Causes Terror, which causes the victim to be stunned for the duration of the effect, this can not be removed. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("sc...
gpl-3.0
harveyhu2012/luci
applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
79
1639
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
smasty/rocks2git
rocks2git/config.lua
1
1916
-- Rocks2Git configuration -- Part of the LuaDist project - http://luadist.org -- Author: Martin Srank, hello@smasty.net -- License: MIT module("rocks2git.config", package.seeall) local path = require "pl.path" local file = require "pl.file" local stringx = require "pl.stringx" local logging = require "logging" -- ...
mit
Kosmos82/kosmosdarkstar
scripts/globals/spells/paralyze.lua
14
1952
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpell...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/strip_of_buffalo_jerky.lua
18
1385
----------------------------------------- -- ID: 5196 -- Item: strip_of_buffalo_jerky -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Mind -3 -- Attack % 18 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Cloister_of_Tremors/mobs/Galgalim.lua
7
1114
----------------------------------- -- Area: Cloister of Tremors -- MOB: Galgalim -- Involved in Quest: The Puppet Master ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- OnMobSpawn Action ----------------------------------- function onMobSpawn(mob) end...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/mobskills/Haymaker.lua
33
1189
--------------------------------------------- -- Haymaker -- -- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia -- Type: Physical -- Utsusemi/Blink absorb: Unknown -- Range: Front cone -- Notes: Only used by Gurfurlur the Menacing. ---------------------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/bluemagic/venom_shell.lua
26
1389
----------------------------------------- -- Spell: Venom Shell -- Poisons enemies within range and gradually reduces their HP -- Spell cost: 86 MP -- Monster Type: Aquans -- Spell Type: Magical (Water) -- Blue Magic Points: 3 -- Stat Bonus: MND+2 -- Level: 42 -- Casting Time: 3 seconds -- Recast Time: 45 seconds -- Ma...
gpl-3.0
zfm888/bazi_server
common/lib/luaLib/luatz/timetable.lua
3
6980
local strftime = require "luatz.strftime".strftime local strformat = string.format local floor = math.floor local idiv do -- Try and use actual integer division when available (Lua 5.3+) local idiv_loader, err = (loadstring or load)([[return function(n,d) return n//d end]], "idiv") if idiv_loader then idiv = idiv_...
gpl-3.0
squeek502/luvit
tests/test-require.lua
6
4035
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Mhaura/npcs/Mauriri.lua
13
1056
---------------------------------- -- Area: Mhaura -- NPC: Mauriri -- Type: Item Deliverer -- @pos 10.883 -15.99 66.186 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); -----------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sanraku.lua
28
9794
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sanraku -- Type: Zeni NM pop item and trophy management. -- @pos -125.724 0.999 22.136 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
rigeirani/creed
plugins/Boobs.lua
150
1613
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
Ingenious-Gaming/sf_addons
lua/starfall/libs_cl/panel/dhtmlcontrols.lua
1
1326
SF.Panel.DHTMLControls = {} local this_methods, this_metamethods = SF.Typedef( "Panel.DHTMLControls", SF.Panel.Panel.Metatable ) local punwrap = SF.Panel.unwrap local function pwrap( object ) object = SF.Panel.wrap( object ) debug.setmetatable( object, this_metamethods ) return object end this_metamethods.__newi...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/AlTaieu/mobs/Jailer_of_Justice.lua
6
1415
----------------------------------- -- Area: Al'Taieu -- NM: Jailer of Justice ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ----...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Garlaige_Citadel_[S]/npcs/Randecque.lua
29
1746
----------------------------------- -- Area: Garlaige Citadel [S] -- NPC: Randecque -- @pos 61 -6 137 164 -- Notes: Gives Red Letter required to start "Steamed Rams" ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel_[S]/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
firebaugh/Digitowls
WebotsController/Player/BodyFSM/NaoDemo/BodyFSM.lua
3
1325
module(..., package.seeall); require('Body') require('fsm') require('bodyIdle') require('bodyStart') require('bodyStop') require('bodyReady') require('bodySearch') require('bodyApproach') require('bodyKick') require('bodyPosition') sm = fsm.new(bodyIdle); sm:add_state(bodyStart); sm:add_state(bodyStop); sm:add_state...
gpl-3.0
aStonedPenguin/fprp
entities/weapons/keys/cl_menu.lua
1
7073
local function AddButtonToFrame(Frame) Frame:SetTall(Frame:GetTall() + 110); local button = vgui.Create("DButton", Frame); button:SetPos(10, Frame:GetTall() - 110); button:SetSize(180, 100); return button end local function AdminMenuAdditions(Frame, ent, entType) local DisableOwnage = AddButtonToFrame(Frame); ...
mit
Kosmos82/kosmosdarkstar
scripts/globals/items/ilm-long_salmon_sub.lua
18
1492
----------------------------------------- -- ID: 4266 -- Item: ilm-long_salmon_sub -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Agility 1 -- Vitality 1 -- Intelligence 2 -- Mind -2 -- Ranged ACC 3 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
Igalia/snabb
src/apps/lwaftr/lwutil.lua
4
5728
module(..., package.seeall) local constants = require("apps.lwaftr.constants") local S = require("syscall") local bit = require("bit") local ffi = require("ffi") local lib = require("core.lib") local cltable = require("lib.cltable") local binary = require("lib.yang.binary") local band = bit.band local cast = ffi.cas...
apache-2.0
ychoucha/minetest-game-mineclone
mods/farming/carrots.lua
3
2399
minetest.register_node("farming:carrot_1", { paramtype = "light", walkable = false, drawtype = "plantlike", drop = "farming:carrot_item", tiles = {"farming_carrot_1.png"}, selection_box = { type = "fixed", fixed = { {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} }, }, groups = {snappy=3, flammable=2, not_in_crea...
lgpl-2.1
Kosmos82/kosmosdarkstar
scripts/zones/Castle_Oztroja/npcs/Treasure_Chest.lua
13
3776
----------------------------------- -- Area: Castle Oztroja -- NPC: Treasure Chest -- Involved In Quest: Scattered into Shadow -- @pos 7.378 -16.293 -193.590 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Kazham/npcs/Ronta-Onta.lua
12
4477
----------------------------------- -- Area: Kazham -- NPC: Ronta-Onta -- Starts and Finishes Quest: Trial by Fire -- @pos 100 -15 -97 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
Kazuo256/luxproject
lib/lux/class.lua
1
5446
--[[ -- -- Copyright (c) 2013-2017 Wilson Kazuo Mizutani -- -- 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, mo...
mit
Igalia/snabb
lib/luajit/dynasm/dasm_x86.lua
32
71256
------------------------------------------------------------------------------ -- DynASM x86/x64 module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local x64 = x64 -- Module i...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/globals/weaponskills/herculean_slash.lua
10
1568
----------------------------------- -- Herculean Slash -- Great Sword weapon skill -- Skill Level: 290 -- Paralyzes target. Duration of effect varies with TP. -- Aligned with the Snow Gorget, Thunder Gorget & Breeze Gorget. -- Aligned with the Snow Belt, Thunder Belt & Breeze Belt. -- Element: Ice -- Modifiers: VIT:60%...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Villion.lua
13
1480
----------------------------------- -- Area: Northern San d'Oria -- NPC: Villion -- Type: Adventurer's Assistant NPC -- Involved in Quest: Flyers for Regine -- @zone: 231 -- @pos -157.524 4.000 263.818 -- ----------------------------------- ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
sumory/orange
orange/plugins/kafka/handler.lua
2
4213
local BasePlugin = require("orange.plugins.base_handler") local cjson = require "cjson" local producer = require "resty.kafka.producer" local KafkaHandler = BasePlugin:extend() KafkaHandler.PRIORITY = 2000 function KafkaHandler:new(store) KafkaHandler.super.new(self, "kafka-plugin") self.store = store end l...
mit
Kosmos82/kosmosdarkstar
scripts/globals/mobskills/Tidal_Slash.lua
37
1331
--------------------------------------------- -- Tidal Slash -- -- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.nocook...
gpl-3.0
utunnels/mjpeg-player-for-LOVE-engine
mplayermt.lua
1
4958
-- A movie player for LÖVE engine 0.8.0, version 2 -- Coded by utunnels (utunnels@hotmail.com) -- Example: --[[ require "mplayer" function love.load() mplayer = VideoPlayer.create("path_to_your_movie_folder") mplayer:start() end function love.update(dt) mplayer:play() end function love.draw() mplayer:draw(...
unlicense
Kosmos82/kosmosdarkstar
scripts/zones/Port_San_dOria/npcs/Teilsa.lua
13
1814
----------------------------------- -- Area: Port San d'Oria -- NPC: Teilsa -- Adventurer's Assistant -- Only recieving Adv.Coupon and simple talk event are scrited -- This NPC participates in Quests and Missions ------------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"]...
gpl-3.0
hadow/OpenRA
mods/ra/maps/soviet-04b/soviet04b-reinforcements_teams.lua
6
2753
Civs = { civ1, civ2, civ3, civ4 } Village = { civ1, civ3, civ4, village1, village3 } Guards = { Guard1, Guard2, Guard3 } SovietMCV = { "mcv" } InfantryReinfGreece = { "e1", "e1", "e1", "e1", "e1" } Avengers = { "jeep", "1tnk", "2tnk", "2tnk", "1tnk" } Patrol1Group = { "jeep", "jeep", "2tnk", "2tnk" } Patrol2Group = { "...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Mulaujeant.lua
27
2466
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mulaujeant -- Involved in Quests: Missionary Man -- @zone 231 -- @pos -175 0 181 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua
15
1056
----------------------------------- -- Area: Kazham -- NPC: Pofhu Tendelicon -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -----------------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua
25
3103
----------------------------------- -- 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/globals/setting...
gpl-3.0
sprunk/Zero-K-Infrastructure
MissionEditor/MissionEditor2/MissionBase/LuaUI/Widgets/gui_api_hide_hax.lua
7
1693
function widget:GetInfo() return { name = "GUI Hide Hax", desc = "Allows hiding of non-registered GUI elements", author = "KingRaptor (L.J. Lim)", date = "2012.10.26", license = "GNU GPL v2", layer = -math.huge, enabled = true, handler = true, api = true, } end local...
gpl-3.0
RobberPhex/thrift
lib/lua/TSocket.lua
113
2996
---- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you may...
apache-2.0
Igalia/snabb
lib/ljsyscall/syscall/linux/ffi.lua
4
22381
-- ffi definitions of Linux types local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi = require "syscal...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters/npcs/Olaky-Yayulaky.lua
13
1061
----------------------------------- -- Area: Windurst Waters -- NPC: Olaky-Yayulaky -- Type: Item Depository -- @zone: 238 -- @pos -61.247 -4.5 72.551 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ---...
gpl-3.0
aStonedPenguin/fprp
gamemode/modules/fadmin/fadmin/cl_interface/sh_commontimes.lua
1
1745
/*--------------------------------------------------------------------------- Common times for several punishment actions ---------------------------------------------------------------------------*/ FAdmin.PlayerActions.commonTimes = {} FAdmin.PlayerActions.commonTimes[0] = "Indefinitely" FAdmin.PlayerActions.commonTi...
mit
Kosmos82/kosmosdarkstar
scripts/globals/items/balik_sandvici_+1.lua
18
1425
----------------------------------------- -- ID: 5591 -- Item: Balik Sandvic +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 3 -- Agility 1 -- Intelligence 3 -- Mind -2 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status"); -------------...
gpl-3.0
deweerdt/h2o
deps/brotli/premake5.lua
14
1706
-- A solution contains projects, and defines the available configurations solution "brotli" configurations { "Release", "Debug" } platforms { "x64", "x86" } targetdir "bin" location "buildfiles" flags "RelativeLinks" includedirs { "c/include" } filter "configurations:Release" optimize "Speed" flags { "StaticRuntim...
mit
Kosmos82/kosmosdarkstar
scripts/zones/RuLude_Gardens/npcs/Albiona.lua
13
1382
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Albiona -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/que...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm7.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm7 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 105.275 -32 92.551 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
King098/LuaFramework-ToLua-FairyGUI
Assets/LuaFramework/Lua/Logic/Network.lua
5
3627
require "Common/define" require "Common/protocal" require "Common/functions" Event = require 'events' require "3rd/pblua/login_pb" require "3rd/pbc/protobuf" local sproto = require "3rd/sproto/sproto" local core = require "sproto.core" local print_r = require "3rd/sproto/print_r" Network = {}; local this = Network;...
mit
Kosmos82/kosmosdarkstar
scripts/globals/items/plate_of_bream_sushi_+1.lua
17
1478
----------------------------------------- -- ID: 5177 -- Item: plate_of_bream_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 5 -- Accuracy % 17 -- Ranged ACC % 17 -- Sleep Resist 5 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
tinymins/MY
MY_!Base/src/lib/InfoCache.lua
1
5231
-------------------------------------------------------- -- This file is part of the JX3 Plugin Project. -- @desc : ¼üÖµ¶ÔÎļþ·Ö¸ô¿ìËٴ洢ģ¿é -- @copyright: Copyright (c) 2009 Kingsoft Co., Ltd. -------------------------------------------------------- ---------------------------------------------------------------...
bsd-3-clause
cyrilis/luvit-mongodb
src/collection.lua
1
4925
local Emitter = require('core').Emitter local Cursor = require("./cursor") local Collection = Emitter:extend() function Collection:initialize(db, collectionName) self.collectionName = collectionName self.db = db end function Collection:find(query, cb) return Cursor:new(self, query, cb) end function Co...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Upper_Jeuno/npcs/Chocobo.lua
13
4964
----------------------------------- -- 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/globals/sett...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Mamook/npcs/Logging_Point.lua
13
1044
----------------------------------- -- Area: Mamook -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Mamook/TextIDs"); ----------------------------------- ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fi.lua
13
1076
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 100 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
vim-scripts/rogue.vim
autoload/rogue/curses.lua
1
2917
local g = Rogue -- alias g.COLOR = true g.update_flag = false g.dungeon = {} local dungeon_buffer = {} local dungeon_str_buffer = {} local last_row_str = {} local last_print_area = '' g.descs = {} g.screen = {} function g.init_curses() for i = 0, g.DROWS-1 do g.dungeon[i] = {} dungeon_buffer[i] = {} dungeon_...
mit
mikroskeem/advanced-sandbox
gamemode/player_extension.lua
1
2595
local meta = FindMetaTable( "Player" ) -- Return if there's nothing to add on to if (!meta) then return end g_SBoxObjects = {} function meta:CheckLimit( str ) -- No limits in single player if (game.SinglePlayer()) then return true end local c = cvars.Number( "avsbox_max"..str, 0 ) if ( c < 0 ) then return t...
mit
Igalia/snabb
lib/luajit/testsuite/test/lib/bit.lua
6
2716
local bit = require"bit" local byte, ipairs, tostring, pcall = string.byte, ipairs, tostring, pcall local vb = { 0, 1, -1, 2, -2, 0x12345678, 0x87654321, 0x33333333, 0x77777777, 0x55aa55aa, 0xaa55aa55, 0x7fffffff, 0x80000000, 0xffffffff } local function cksum(name, s, r) local z = 0 for i=1,#s do z = (z + b...
apache-2.0
RobberPhex/thrift
test/lua/test_basic_server.lua
30
3451
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you may n...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Arnau.lua
13
1785
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arnau -- Involved in Mission: Save the Children -- @pos 148 0 139 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Toraimarai_Canal/npcs/qm11.lua
13
1560
----------------------------------- -- Area: Toraimarai Canal -- NPC: ??? -- Involved In Quest: Wild Card -- @zone 169 // not accurate -- @pos 220 16 -50 // not accurate ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
april-org/april-ann
packages/language_model/ngram_lira/test/test_ppl_ngramlira.lua
3
1179
local check = utest.check local path = arg[0]:get_path() local vocab = lexClass.load(io.open(path .. "vocab")) local model = language_models.load(path .. "dihana3gram.lira.gz", vocab, "<s>", "</s>") local unk_id = -1 local result = language_models.test_set_ppl{ lm = model, vocab...
gpl-3.0
wingo/snabbswitch
src/lib/hardware/pci.lua
4
7702
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) local ffi = require("ffi") local C = ffi.C local S = require("syscall") local lib = require("core.lib") --- ### Hardware device information devices = {} --- Array of all supported hardware devices. --- --- Ea...
apache-2.0
shahabsaf1/MEGA-SATAN
plugins/media.lua
297
1590
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Davoi/npcs/Village_Well.lua
13
1985
----------------------------------- -- Area: Davoi -- NPC: Village Well -- Involved in Quest: Under Oath ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Arrapago_Remnants/instances/arrapago_remnants.lua
29
3716
----------------------------------- -- -- Salvage: Arrapago Remnants -- ----------------------------------- require("scripts/globals/instance") package.loaded["scripts/zones/Arrapago_Remnants/IDs"] = nil; local Arrapago = require("scripts/zones/Arrapago_Remnants/IDs"); ----------------------------------- -- afterI...
gpl-3.0
aqasaeed/seed2
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
Kosmos82/kosmosdarkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fs.lua
13
2636
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: South Plate -- @pos 185 -32 -10 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Yuhtunga_Jungle/TextIDs.lua
15
1884
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
phi-gamma/luaotfload
src/luaotfload-database.lua
2
127023
if not modules then modules = { } end modules ['luaotfload-database'] = { version = "2.8", comment = "companion to luaotfload-main.lua", author = "Khaled Hosny, Elie Roux, Philipp Gesang", copyright = "Luaotfload Development Team", license = "GNU GPL v2.0" } --[[doc-- With version 2.7...
gpl-2.0
8jsr/n7r
plugins/whitelist.lua
2
2508
do local function get_message_callback (extra , success, result) if result.service then local action = result.action.type if action == 'chat_add_user' or action == 'chat_del_user' or action == 'chat_rename' or action == 'chat_change_photo' then if result.action.user then user_id = result.action.use...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Mhaura/npcs/HomePoint#1.lua
27
1254
----------------------------------- -- Area: Mhaura -- NPC: HomePoint#1 -- @pos -12.750 -15.791 87.286 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/homepoint"); ---...
gpl-3.0
firebaugh/Digitowls
Player/Vision/detectBall.lua
1
3978
module(..., package.seeall); require('Config'); -- For Ball and Goal Size require('ImageProc'); require('HeadTransform'); -- For Projection require('Vision'); require('Body'); require('shm'); require('vcm'); require('Detection'); require('Debug'); -- Define Color colorOrange = 1; colorYellow = 2; colorCy...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/weaponskills/starburst.lua
11
1301
----------------------------------- -- Starburst -- Staff weapon skill -- Skill Level: 100 -- Deals light or darkness elemental damage. Damage varies with TP. -- Aligned with the Shadow Gorget & Aqua Gorget. -- Aligned with the Shadow Belt & Aqua Belt. -- Element: Light/Dark (Random) -- Modifiers: : STR:40% MND:40% ...
gpl-3.0
Tech-IT-Easy/Teach-IT-Easy
Project/src/games/Progg/progg_skin.lua
1
11333
--[[TEACH IT EASY, an educational games platform Copyright (C) 2015 Linköping University 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 y...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/serving_of_golden_royale.lua
18
1474
----------------------------------------- -- ID: 5558 -- Item: Serving of Golden Royale -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10 -- MP +10 -- Intelligence +2 -- HP Recoverd while healing 2 -- MP Recovered while healing 2 ---------------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Fortitude.lua
5
2633
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: Jailer_of_Fortitude ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/bluemagic/sandspin.lua
25
1814
----------------------------------------- -- Spell: Sandspin -- Deals earth damage to enemies within range. Additional Effect: Accuracy Down -- Spell cost: 10 MP -- Monster Type: Amorphs -- Spell Type: Magical (Earth) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 1 -- Casting Time: 1.5 seconds -- Recast Time: ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/bird_egg.lua
18
1171
----------------------------------------- -- ID: 4570 -- Item: Bird Egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 6 -- Magic 6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------------...
gpl-3.0
harveyhu2012/luci
applications/luci-splash/luasrc/controller/splash/splash.lua
50
4511
module("luci.controller.splash.splash", package.seeall) local uci = luci.model.uci.cursor() local util = require "luci.util" function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90) entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), _("Splas...
apache-2.0
firebaugh/Digitowls
WebotsController/Player/Motion/keyframes/km_Nao_KickForwardRight.lua
5
5476
local mot = {}; mot.servos = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}; mot.keyframes = { { angles = {0.0, 0.0, 0.911, 0.661, -0.512, -0.827, -0.232, -0.011, -0.387, 1.355, -0.779, 0.048, -0.232, -0.023, -0.357, 1.338, -0.792, 0.003, 1.226, -0.457, 1.300, 0.391, }, stiffness = {0.900, 0.900, ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Meriphataud_Mountains_[S]/npcs/Telepoint.lua
13
1265
----------------------------------- -- Area: Meriphataud Mountains [S] -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Meriphataud_Mountains_[...
gpl-3.0
shadow0162/countly-sdk-cocos2d-x
luabindings/auto/api/AgentManager.lua
146
1798
-------------------------------- -- @module AgentManager -- @parent_module plugin -------------------------------- -- -- @function [parent=#AgentManager] getSocialPlugin -- @param self -- @return plugin::ProtocolSocial#plugin::ProtocolSocial ret (return value: cc.plugin::ProtocolSocial) -------------------...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Bastok_Mines/npcs/Tibelda.lua
16
1350
----------------------------------- -- Area: Bastok Mines -- NPC: Tibelda -- Only sells when Bastok controlls Valdeaunia Region ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Ba...
gpl-3.0
sprunk/Zero-K-Infrastructure
Benchmarker/Benchmarks/games/fps_war2.sdd/LuaRules/Gadgets/dbg_fps_log.lua
12
1749
function gadget:GetInfo() return { name = "Gadget_Fps_Log", desc = "Some random logging", author = "Licho", date = "2013", license = "GNU GPL, v2 or later", layer = 1, enabled = true -- loaded by default? } end local GetTimer = Spring.GetTimer local DiffTime...
gpl-3.0
mynameiscraziu/body
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
Tech-IT-Easy/Teach-IT-Easy
Project/tests/luacov/src/luacov/stats.lua
1
2342
----------------------------------------------------- -- Manages the file with statistics (being) collected. -- In general the module requires that its property <code>stats.statsfile</code> -- has been set to the filename of the statsfile to create, load, etc. -- @class module -- @name luacov.stats local stats = {} --...
gpl-3.0
Igalia/snabb
src/lib/protocol/header.lua
9
11831
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Protocol header base class -- -- This is an abstract class (should not be instantiated) -- -- Derived classes must implement the following class variables -- -- _name a string that describes the header type in a -- ...
apache-2.0
Igalia/snabb
lib/ljsyscall/syscall/netbsd/c.lua
24
2452
-- This sets up the table of C functions for BSD -- We need to override functions that are versioned as the old ones selected otherwise local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmet...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Norg/npcs/HomePoint#2.lua
27
1236
----------------------------------- -- Area: Norg -- NPC: HomePoint#2 -- @pos -65 -5 54 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Norg/TextIDs"); require("scripts/globals/homepoint"); ----------------------...
gpl-3.0
thing-nacho/slua
build/luajit-2.1.0/src/host/genlibbc.lua
51
4965
---------------------------------------------------------------------------- -- Lua script to dump the bytecode of the library functions written in Lua. -- The resulting 'buildvm_libbc.h' is used for the build process of LuaJIT. ---------------------------------------------------------------------------- -- Copyright (...
mit