repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
TeoTwawki/darkstar
scripts/globals/items/plate_of_piscators_paella.lua
11
1182
----------------------------------------- -- ID: 5969 -- Item: Plate of Piscator's Paella -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Dexterity 6 -- Accuracy % 16 (cap 85) -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status") require("s...
gpl-3.0
Anaminus/roblox-cure
packages/global/network.lua
1
10079
-- Container for network remotes local Network = Game:GetService('ReplicatedStorage'):FindFirstChild("network") if not Network then Network = Instance.new('Configuration') Network.Name = "network" Network.Parent = Game:GetService('ReplicatedStorage') end -- MessageStream is used by peers to send and receive socket ...
unlicense
koltegirish/esp8266-devkit
Espressif/examples/nodemcu-firmware/app/cjson/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
gpl-3.0
cuit-zhaxin/quick-ng
quick/framework/json.lua
11
3469
--[[ Copyright (c) 2011-2014 chukong-inc.com 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, merge, publish, dis...
mit
wiremod/wire
lua/entities/gmod_wire_expression2/core/custom/wiring.lua
2
6264
-- Originally by Jeremydeath, updated by Nebual + Natrim's wirelink E2Lib.RegisterExtension("wiring", false, "Allows the creation and deletion of wires between entities and getting wirelinks.") __e2setcost(30) --- Creates an invisible wire between the input <inputname> of <this> and the output <outputname> of <ent2> ...
apache-2.0
celophi/melia
system/scripts/npc/dungeon/d_prison_79.lua
1
4006
----- Zanas' Soul ----- ----- npcselectdialog.ies | ClassName: PRISON_79_NPC_1 ----- ----- Dialog ----- ----- QuestIDs: PRISON_79_MQ_1 | PRISON_79_MQ_2 | PRISON_79_MQ_3 | PRISON_79_MQ_4 | PRISON_79_MQ_6 | PRISON_79_MQ_7 | PRISON_79_MQ_8 | PRISON_79_MQ_9 ----- addnpc(151107, "ETC_20160723_022699", "d_prison_79", 322, 4...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/prized_crab_stewpot.lua
11
1735
----------------------------------------- -- ID: 5546 -- Item: Prized Crab Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Vitality +2 -- Agility +2 -- Mind +4 -- HP Recovered while healing +9 -- MP Recovered while healing +3 -- De...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua
11
1530
----------------------------------------- -- ID: 5202 -- Item: Dish of Spaghetti Nero Di Seppia +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP % 17 (cap 140) -- Dexterity 3 -- Vitality 2 -- Agility -1 -- Mind -2 -- Charisma -1 -- Double Attack 1 -- Store TP 6 ---------------------...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Northern_San_dOria/npcs/Grilau.lua
2
6250
----------------------------------- -- Area: Northern San d'Oria -- NPC: Grilau -- !pos -241.987 6.999 57.887 231 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/zones/Northern_San_dOria/IDs")...
gpl-3.0
hardikk/newfies-dialer
lua/libs/dbhandler.lua
3
4051
-- -- Newfies-Dialer License -- http://www.newfies-dialer.org -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this file, -- You can obtain one at http://mozilla.org/MPL/2.0/. -- -- Copyright (C) 2011-2013 Star2Billing S.L. -- --...
mpl-2.0
TeoTwawki/darkstar
scripts/globals/items/plate_of_urchin_sushi.lua
11
1357
----------------------------------------- -- ID: 5151 -- Item: plate_of_urchin_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 40 -- Strength 1 -- Vitality 5 -- Accuracy % 15 (cap 72) -- Ranged ACC % 15 (cap 72) ----------------------------------------- require("scripts/global...
gpl-3.0
rgburke/wed
wedruntime/lua/lexers/applescript.lua
5
2885
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Applescript LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'applescript'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. ...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Port_Windurst/npcs/Degong.lua
12
1291
----------------------------------- -- Area: Port Windurst -- NPC: Degong -- Type: Fishing Synthesis Image Support -- !pos -178.400 -3.835 60.480 240 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Port_Windurst/IDs"); ------...
gpl-3.0
prapin/premake-core
src/actions/vstudio/vs2005_solution.lua
3
8050
-- -- vs2005_solution.lua -- Generate a Visual Studio 2005-2012 solution. -- Copyright (c) 2009-2015 Jason Perkins and the Premake project -- premake.vstudio.sln2005 = {} local p = premake local vstudio = p.vstudio local sln2005 = p.vstudio.sln2005 local project = p.project local tree = p.tree --- -- Add name...
bsd-3-clause
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua
1
1595
-------------------------------- -- @module LabelAtlas -- @extend AtlasNode,LabelProtocol -- @parent_module cc -------------------------------- -- @function [parent=#LabelAtlas] setString -- @param self -- @param #string str -------------------------------- -- overload function: initWithString(string, strin...
mit
shahramam/teleseed
bot/seedbot.lua
1
10294
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Arrapago_Reef/npcs/_1ie.lua
12
2591
----------------------------------- -- Area: Arrapago Reef -- Door: Iron Gate (Lamian Fang Key) -- !pos 580 -17 120 ----------------------------------- local ID = require("scripts/zones/Arrapago_Reef/IDs") require("scripts/globals/npc_util") require("scripts/globals/status") ----------------------------------- functio...
gpl-3.0
jhegg/wow-tome-of-illusions-check
TomeOfIllusionsCheck/lib/AceEvent-3.0/AceEvent-3.0.lua
50
4772
--- AceEvent-3.0 provides event registration and secure dispatching. -- All dispatching is done using **CallbackHandler-1.0**. AceEvent is a simple wrapper around -- CallbackHandler, and dispatches all game events or addon message to the registrees. -- -- **AceEvent-3.0** can be embeded into your addon, either explicit...
mit
Nidhoggrr/bulcs
lights/lib/dkjson.lua
17
25626
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.3* In the default configuration this module writes no global valu...
apache-2.0
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua
7
41174
-------------------------------- -- @module cc -------------------------------------------------------- -- the cc Ref -- @field [parent=#cc] Ref#Ref Ref preloaded module -------------------------------------------------------- -- the cc Console -- @field [parent=#cc] Console#Console Console preloaded module ------...
mit
wiremod/wire
lua/entities/gmod_wire_value.lua
6
4844
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Value" ENT.WireDebugName = "Value" if CLIENT then return end -- No more client function ENT:Initialize() self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self.Outputs = WireLi...
apache-2.0
IoveSunny/DreamBox
feeds/luci/luci/luci/libs/core/luasrc/model/uci.lua
4
10652
--[[ LuCI - UCI model Description: Generalized UCI model FileId: $Id: uci.lua 6660 2010-12-24 21:39:26Z jow $ 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 co...
gpl-2.0
asqbtcupid/unreal.lua
Plugins/UnrealLua/LuaSource/ui/activity/activityitemwidget.lua
1
3251
ActivityItemWidget = Inherit(NZLuaSimpleViewClass) ActivityItemWidget.BpClassPath = '/Game/UI/UIBP/FrontEnd/ActivityUI/Lua/TaskActivityItem.TaskActivityItem_C' function ActivityItemWidget:Ctor(Index) self:Wnd("AwardContainer"):ClearChildren() self:Wnd("TaskFinishBtn"):Event("OnClicked", self.ClickReqAward, self) se...
mit
X-Coder/SBEP-Weapons
lua/entities/boardingpod/init.lua
1
11420
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) --util.PrecacheSound( "SB/SteamEngine.wav" ) function ENT:Initialize() self.Entity:SetModel( "models/Spacebuild/medbridge2_doublehull_elevatorclamp.mdl" ) self.Entity:SetName( "AssaultPodC" )-- .. self.Entity:EntIndex() ) self.En...
apache-2.0
celophi/melia
system/scripts/npc/field/f_pilgrimroad_48.lua
1
10733
----- [Kedoran Merchant Alliance] Leopoldas ----- ----- npcselectdialog.ies | ClassName: PILGRIM_48_LEOPOLDAS ----- ----- Dialog ----- ----- QuestIDs: PILGRIM_48_SQ_010 ----- addnpc(147484, "ETC_20151022_016463", "f_pilgrimroad_48", -166, 547, 1501, -39, "npc_ETC_20151022_016463") function npc_ETC_20151022_016463() ms...
gpl-3.0
LuaDist/lrexlib-posix
test/common_sets.lua
6
13653
-- See Copyright Notice in the file LICENSE -- This file should contain only test sets that behave identically -- when being run with pcre or posix regex libraries. local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function get_gsub (lib) return lib.g...
mit
wiremod/wire
lua/wire/client/rendertarget_fix.lua
5
3673
WireLib.RTFix = {} local RTFix = WireLib.RTFix --------------------------------------------------------------------- -- RTFix Lib --------------------------------------------------------------------- RTFix.List = {} function RTFix:Add( ClassName, NiceName, Function ) RTFix.List[ClassName] = { NiceName, Function } en...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Davoi/IDs.lua
2
3387
----------------------------------- -- Area: Davoi ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.DAVOI] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sorting...
gpl-3.0
rgburke/wed
wedruntime/lua/lexers/latex.lua
5
2162
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Latex LPeg lexer. -- Modified by Brian Schott. -- Modified by Robert Gieseke. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'latex'} -- Whitespace. local ws...
gpl-2.0
facebook/eyescream
lsun/layers/SpatialConvolutionUpsample.lua
3
2618
--[[ Copyright (c) 2015-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. ]]-- local...
bsd-3-clause
NickDario/simple-projects
ai/Human_Level_Control_through_Deep_Reinforcement_Learning/dqn/NeuralQLearner.lua
3
12634
--[[ Copyright (c) 2014 Google Inc. See LICENSE file for full terms of limited license. ]] if not dqn then require 'initenv' end local nql = torch.class('dqn.NeuralQLearner') function nql:__init(args) self.state_dim = args.state_dim -- State dimensionality. self.actions = args.actions self.n_ac...
apache-2.0
TeoTwawki/darkstar
scripts/globals/weaponskills/shield_break.lua
10
1952
----------------------------------- -- Shield Break -- Great Axe weapon skill -- Skill level: 5 -- Lowers enemy's Evasion. Duration of effect varies with TP. -- Lowers Evasion by as much as 40 if unresisted. -- Strong against: Bees, Beetles, Birds, Crabs, Crawlers, Flies, Lizards, Mandragora, Opo-opo, Pugils, Sabotende...
gpl-3.0
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/GLProgram.lua
1
2554
-------------------------------- -- @module GLProgram -- @extend Ref -- @parent_module cc -------------------------------- -- @function [parent=#GLProgram] getFragmentShaderLog -- @param self -- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#GLProgram...
mit
Sjokie/JC2MP-Wingsuit
client/cWingsuit.lua
1
5277
class 'Wingsuit' function Wingsuit:__init() self.default_speed = 51 -- 51 m/s default self.max_speed = 300 -- 300 m/s default self.min_speed = 1 -- 1 m/s default self.sink_speed = 7 -- 7 ms default (for realism mode) self.speed = self.default_speed self.realism = false self.actions = { -- Actions to block...
mit
TeoTwawki/darkstar
scripts/globals/abilities/tame.lua
14
1765
----------------------------------- -- Ability: Tame -- Makes target docile and more susceptible to charm. -- Obtained: Beastmaster Level 30 -- Recast Time: 10:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic...
gpl-3.0
cohadar/love-graphics-experiments
imgui/conventions.lua
1
2654
--- @module conventions ------------------------------------------------------------------------------- -- This module is NOT a part of imgui codebase, it is a code conventions example -- -- for general module conventions read this: -- http://hisham.hm/2014/01/02/how-to-write-lua-modules-in-a-post-module-world/ -------...
mit
LuaDist2/lua-log
test/test_file_writer.lua
4
2175
local HAS_RUNNER = not not lunit local lunit = require "lunit" local TEST_CASE = assert(lunit.TEST_CASE) local skip = lunit.skip or function() end local path = require "path" local utils = require "utils" local TESTDIR = ".test_log" local mkfile, read_file, remove_dir, count_logs = utils.m...
mit
wiremod/wire
lua/entities/gmod_wire_waypoint.lua
8
2509
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Waypoint Beacon" ENT.WireDebugName = "Waypoint" function ENT:GetNextWaypoint() return self:GetNWEntity("NextWaypoint") end if CLIENT then local physBeamMat = Material("cable/physbeam") function ENT:Draw() BaseClass.Draw(self) lo...
apache-2.0
rgburke/wed
wedruntime/lua/lexers/prolog.lua
5
2316
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Prolog LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'prolog'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local line...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Horlais_Peak/bcnms/shattering_stars.lua
1
2758
----------------------------------- -- Area: Horlais Peak -- Name: Shattering stars - Maat Fight -- !pos -509 158 -211 139 ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/globals/battlefield") local ID = require("scripts/zones/Horlais_Peak/IDs"...
gpl-3.0
talldan/lua-redux
tests/specs/connect.lua
1
2668
local connect = require('src.connect') local function createStoreMock(storeState) local storeMock = { getState = function() return storeState end, dispatch = function() end } return storeMock end describe('connect', function() describe('error states', function() it('causes an er...
mit
TeoTwawki/darkstar
scripts/globals/items/pearlscale.lua
11
1049
----------------------------------------- -- ID: 5714 -- Item: Pearlscale -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ------------------------------------...
gpl-3.0
soulik/LuaBox2D
test/test_Body.lua
1
1850
local box2d = require 'LuaBox2D' local Vec2 = box2d.Vec2 local VA = box2d.VertexArray local W = box2d.World local BD = box2d.BodyDef local ES = box2d.EdgeShape local PS = box2d.PolygonShape local FD = box2d.FixtureDef do local w1 = W(Vec2(0, -1)) local ground = (function() local bd1 = BD() local b1 = w1.createB...
gpl-2.0
ReWrite94/iLife
server/Classes/Quest/Scripts/12.lua
2
1271
local QuestID = 12 local Quest = Quests[QuestID] Quest.Texts = { ["Accepted"] = "Finde die Schildkr\\oete!", ["Finished"] = "Bring die Schildkr\\oete zur\\ueck!" } addEventHandler("onClientCallsServerQuestScript", getRootElement(), function(ID, Status, Data) if (ID == QuestID) then i...
mit
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/ActionEase.lua
7
1302
-------------------------------- -- @module ActionEase -- @extend ActionInterval -- @parent_module cc -------------------------------- -- brief Get the pointer of the inner action.<br> -- return The pointer of the inner action. -- @function [parent=#ActionEase] getInnerAction -- @param self -- @return ActionInterval...
mit
TeoTwawki/darkstar
scripts/zones/King_Ranperres_Tomb/mobs/Vrtra.lua
10
1801
----------------------------------- -- Area: King Ranperre's Tomb -- NM: Vrtra ----------------------------------- require("scripts/globals/status") require("scripts/globals/titles") ----------------------------------- local offsets = {1, 3, 5, 2, 4, 6} function onMobEngaged(mob, target) mob:resetLocalVars() en...
gpl-3.0
Kurios/mudlet-dev
src/lua/mudlet-lua/lua/geyser/GeyserGauge.lua
1
4655
-------------------------------------- -- -- -- The Geyser Layout Manager by guy -- -- -- -------------------------------------- --- Represents a gauge that can be either vertical or horizontal. -- @class table -- @name Geyser.Gauge -- @field v...
gpl-2.0
981213/luci-1
build/luadoc/luadoc/util.lua
32
5859
------------------------------------------------------------------------------- -- General utilities. -- @release $Id: util.lua,v 1.16 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- local posix = require "nixio.fs" local type, table, string, io, as...
apache-2.0
T4Larson/OpenTomb
scripts/autoexec.lua
1
8680
-------- Lara's model------- -- .=. -- | 14| -- \ / \ -- / | | \ -- 11 / | 7 | \ 8 -- / | | \ -- | ===== | -- 12 | ===== | 9 -- | / 0 \ | -- 13 0 /_______\ 0 10 -- | | | | -- |1 | |4 | -- | | | ...
lgpl-3.0
981213/luci-1
applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua
68
16296
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") local fs = require "nixio.fs" local util = require "luci.util" local ip = require "luci.ip" local has_ipip = fs.glob("/etc/mo...
apache-2.0
ChrisNolan/InspectorGadgetzan
libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua
59
2966
--[[----------------------------------------------------------------------------- InlineGroup Container Simple container widget that creates a visible "box" with an optional title. -------------------------------------------------------------------------------]] local Type, Version = "InlineGroup", 21 local AceGUI = Li...
mit
weizh/Monkey16
nn/SOTA_MixtureTable.lua
1
5719
local MixtureTable, parent = torch.class('nn.MixtureTable', 'nn.Module') function MixtureTable:__init(dim) parent.__init(self) self.dim = dim self.size = torch.LongStorage() self.batchSize = 0 self.size2 = torch.LongStorage() self.backwardSetup = false self.gradInput = {} end function MixtureTabl...
apache-2.0
ReWrite94/iLife
server/Classes/Object/cStorageBox.lua
2
2510
CStorageBox = {} addEvent("onClientStorageBoxOpen", true) addEvent("onClientStoreItemInBox", true) addEvent("onClientRemoveItemFromBox", true) function CStorageBox:constructor() addEventHandler("onClientStorageBoxOpen", getRootElement(), bind(CStorageBox.boxOpen, self)) addEventHandler("onClientStoreItemInBox", ...
mit
TeoTwawki/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua
3
1169
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Hammer ----------------------------------- require("scripts/globals/status"); local ID = require("scripts/zones/Dynamis-Xarcabard/IDs"); ----------------------------------- function onMobEngaged(mob,target) if (mob:AnimationSub() == ...
gpl-3.0
Kurios/mudlet-dev
src/old_mudlet-lua/lua/Other.lua
6
16089
---------------------------------------------------------------------------------- --- Mudlet Unsorted Stuff ---------------------------------------------------------------------------------- -- Extending default libraries makes Babelfish happy. setmetatable( _G, { ["__call"] = function(func, ...) if type(func) ==...
gpl-2.0
celophi/melia
system/scripts/npc/field/f_farm_47_3.lua
1
3538
----- Baron Secretary Arunas ----- ----- npcselectdialog.ies | ClassName: FARM47_ARUNAS ----- ----- Dialog ----- ----- QuestIDs: FARM47_3_SQ_010 | FARM47_3_SQ_020 ----- addnpc(147405, "QUEST_LV_0200_20150323_003434", "f_farm_47_3", 742, 205, 222, -89, "npc_QUEST_LV_0200_20150323_003434") function npc_QUEST_LV_0200_201...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Southern_San_dOria/npcs/Thadiene.lua
11
1341
----------------------------------- -- Area: Southern San d'Oria -- NPC: Thadiene -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") require("scripts/globals/shop") function onTra...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua
11
2569
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Yahsra -- Type: Assault Mission Giver -- !pos 120.967 0.161 -44.002 50 ----------------------------------- require("scripts/globals/keyitems") local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") require("scripts/globals/besieged") requi...
gpl-3.0
yangxuan0261/Testmmo-server
server/service/database.lua
1
2433
local skynet = require "skynet" -- local redis = require "redis" local redis = require "skynet.db.redis" local config = require "config.database" -- 数据库配置文件 local account = require "db.account" local character = require "db.character" local friend = require "db.friend" local labor = require "db.labor" local syslog = r...
mit
TeoTwawki/darkstar
scripts/zones/Bibiki_Bay/IDs.lua
3
3552
----------------------------------- -- Area: Bibiki_Bay ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.BIBIKI_BAY] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after s...
gpl-3.0
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/FadeIn.lua
7
1074
-------------------------------- -- @module FadeIn -- @extend FadeTo -- @parent_module cc -------------------------------- -- js NA -- @function [parent=#FadeIn] setReverseAction -- @param self -- @param #cc.FadeTo ac -- @return FadeIn#FadeIn self (return value: cc.FadeIn) -------------------------------- -...
mit
TeoTwawki/darkstar
scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua
1
1475
----------------------------------- -- Area: Cloister of Storms -- NPC: Lightning Protocrystal -- Involved in Quests: Trial by Lightning -- !pos 534.5 -13 492 202 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/Cloister_of_Storms/IDs"); require("scripts/global...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/abilities/pets/ecliptic_howl.lua
12
1289
--------------------------------------------- -- Aerial Armor --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/utils") require("scripts/globals/msg") ------------------------------------...
gpl-3.0
rowellx68/nodemcu-firmware-custom
lua_examples/yet-another-ds18b20.lua
79
1924
------------------------------------------------------------------------------ -- DS18B20 query module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- -- Example: -- dofile("ds18b20.lua").read(4, function(r) for k, v in pairs(r) do print(k, v) end end) ------------------...
mit
TeoTwawki/darkstar
scripts/globals/mobskills/chomp_rush.lua
11
1076
--------------------------------------------- -- Chomp Rush -- -- Description: Deals damage in a threefold attack to a single target. Additional effect: slow (25%) -- Type: Physical -- Utsusemi/Blink absorb: 3 shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals...
gpl-3.0
cuit-zhaxin/quick-ng
quick/samples/2048/src/logic.lua
9
9469
--[[============================================================================= # FileName: logic.lua # Desc: the logic for 2048. you can run it on you console by lua # full edition in https://github.com/hanxi/quick-cocos2d-x-2048/tree/release # Author: hanxi # Email: hanxi.info...
mit
TeoTwawki/darkstar
scripts/zones/Norg/npcs/Oruga.lua
14
2694
----------------------------------- -- Area: Norg -- NPC: Oruga -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); ----------------------------------- local path = { -0.016294, -1.251156, -30.703135, 1.135162, -1.295192, -30.737705, 2.267773, -1.620833, -30.75617...
gpl-3.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/all-user_config_file_deleted/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-receiver_apache_status_url/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-receiver_nginx_missing_status_url/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-receiver_iis_v2_duplicate/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-processor_exclude_metrics_type_filter_with_globs/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Riverne-Site_B01/bcnms/storms_of_fate.lua
1
2841
----------------------------------- -- Area: Riverne Site #B01 -- Name: Storms of Fate -- !pos 299 -123 345 146 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/Riverne-Site_B01/IDs"); require("scripts/globals/quests"); require("scripts/globals/status"); requir...
gpl-3.0
detect00r/zes
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
prapin/premake-core
src/actions/vstudio/vs2005_csproj.lua
1
13477
-- -- vs2005_csproj.lua -- Generate a Visual Studio 2005-2010 C# project. -- Copyright (c) 2009-2014 Jason Perkins and the Premake project -- premake.vstudio.cs2005 = {} local p = premake local vstudio = p.vstudio local cs2005 = p.vstudio.cs2005 local project = p.project local config = p.config local fileconf...
bsd-3-clause
TeoTwawki/darkstar
scripts/globals/spells/shellra_v.lua
6
1204
----------------------------------------- -- Spell: Shellra ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end function ...
gpl-3.0
mentor81/k2hV2
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
IoveSunny/DreamBox
feeds/luci/luci/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk.lua
11
5378
--[[ 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...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/North_Gustaberg/npcs/qm1.lua
2
3303
----------------------------------- -- Area: North Gustaberg -- NPC: qm1 (???) -- Involved in Quest "The Siren's Tear" -- !pos 309.600, 2.600, 324.000 106 | DB start position -- !pos 290.000, 0.600, 332.100 106 | alternative start position ----------------------------------- require("scripts/globals/status"); require(...
gpl-3.0
WeakAuras/WeakAuras2
WeakAuras/SubRegionTypes/Tick.lua
1
12248
if not WeakAuras.IsLibsOK() then return end --- @type string, Private local AddonName, Private = ... local L = WeakAuras.L; local default = function() return { tick_visible = true, tick_color = {1, 1, 1, 1}, tick_placement_mode = "AtValue", tick_placement = "50", automatic_length = true, tic...
gpl-2.0
981213/luci-1
applications/luci-app-vsftpd/luasrc/model/cbi/vsftpd/item.lua
8
1728
--[[ LuCI - Lua Configuration Interface Copyright 2016 Weijie Gao <hackpascal@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loc...
apache-2.0
ReWrite94/iLife
client/Manager/Vehicle/cUserVehicleManager.lua
2
2259
-- ####################################### -- ## Project: MTA iLife ## -- ## Name: UserVehicleManager.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local...
mit
cuit-zhaxin/quick-ng
quick/samples/tests/src/tests/framework/timerTest.lua
8
1369
local net = require("framework.cc.net.init") local TimerTestScene = game.createSceneClass("TimerTestScene") function TimerTestScene:ctor() cc.FileUtils:getInstance():addSearchPath("src/") self:prepare({ description = "Please check console output" }) local items = { "Timer" } ...
mit
notcake/gvote
lua/gvote/api.lua
1
1400
setmetatable (GVote, getmetatable (GVote) or {}) local self = getmetatable (GVote) function self:__call (question, ...) return GVote.Vote (question, ...) end function GVote.Vote (question, ...) question = tostring (question) local choices = {...} local callback = nil if type (choices [#choices]) ==...
gpl-3.0
oeuftete/wx-xword
src/xwordbind/xword_datatypes.lua
1
153584
-- --------------------------------------------------------------------------- -- ./xword_datatypes.lua was generated by genwxbind.lua -- -- Any changes made to this file will be lost when the file is regenerated -- --------------------------------------------------------------------------- -- ------------...
gpl-3.0
celophi/melia
system/scripts/npc/field/f_rokas_26.lua
1
14768
----- Supply Commander Vio ----- ----- npcselectdialog.ies | ClassName: ROKAS26_BIO ----- ----- Dialog ----- ----- QuestIDs: ROKAS26_SUB_Q01 | ROKAS26_SUB_Q12 ----- addnpc(20142, "QUEST_LV_0100_20150317_001278", "f_rokas_26", 42, 1739, -1171, -45, "npc_QUEST_LV_0100_20150317_001278") function npc_QUEST_LV_0100_2015031...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/mobskills/kick_out.lua
11
1190
--------------------------------------------- -- Kick Out -- -- Description: Deals heavy damage and inflicts blind to any target behind user. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown cone, backwards -- Notes: Only used when the Behemoth is attacking with its tail. ---------------------...
gpl-3.0
wildstarnasa/LibBusted
Penlight/tablex.lua
3
27257
local MAJOR, MINOR = "Lib:Penlight:Tablex-1.0", 1 -- Get a reference to the package information if any local APkg = Apollo.GetPackage(MAJOR) -- If there was an older version loaded we need to see if this is newer if APkg and (APkg.nVersion or 0) >= MINOR then return end --------------------------------------------...
mit
wildstarnasa/LibBusted
ExampleAddon/BustedTest/libs/LibBusted-2.0/Penlight/tablex.lua
3
27257
local MAJOR, MINOR = "Lib:Penlight:Tablex-1.0", 1 -- Get a reference to the package information if any local APkg = Apollo.GetPackage(MAJOR) -- If there was an older version loaded we need to see if this is newer if APkg and (APkg.nVersion or 0) >= MINOR then return end --------------------------------------------...
mit
TeoTwawki/darkstar
scripts/globals/mobskills/sandspin.lua
11
1085
--------------------------------------------------- -- Sandspin -- Deals earth damage to enemies within range. Additional Effect: Accuracy Down. -- Area of Effect is centered around caster. -- The Additional Effect: Accuracy Down may not always process. -- Duration: Three minutes ? -------------------------------------...
gpl-3.0
981213/luci-1
modules/luci-base/luasrc/tools/webadmin.lua
22
2326
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local util = require "luci.util" local uci = require "luci.model.uci" local ip = require "luci.ip" func...
apache-2.0
TeoTwawki/darkstar
scripts/globals/weaponskills/fell_cleave.lua
10
1433
----------------------------------- -- Fell Cleave -- Great Axe weapon skill -- Skill Level: 300 -- Delivers an area attack. Radius varies with TP. -- Aligned with the Breeze Gorget, Thunder Gorget & Soil Gorget. -- Aligned with the Breeze Belt, Thunder Belt & Soil Belt. -- Element: None -- Modifiers: STR: 60% -- 100%T...
gpl-3.0
cuit-zhaxin/quick-ng
external/lua/luajit/luajit-2.1/dynasm/dasm_ppc.lua
39
57489
------------------------------------------------------------------------------ -- DynASM PPC/PPC64 module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. -- -- Support for various extensions contributed by Caio Souza Oliveira. ---------------------------------...
mit
detect00r/zes
plugins/media.lua
376
1679
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
MHoroszowski/Automato-ATITD
scripts/silt.lua
2
3859
dofile("screen_reader_common.inc"); dofile("ui_utils.inc"); local distance_scale = 0.11; -- only scans pixels within a distance of this percentage from the center of the screen function getCenterPos() local ret = {}; ret[0] = xyWindowSize[0] / 2; ret[1] = xyWindowSize[1] / 2; return ret; end function...
mit
TeoTwawki/darkstar
scripts/globals/items/piece_of_kusamochi_+1.lua
11
1875
----------------------------------------- -- ID: 6263 -- Item: kusamochi+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP + 30 (Pet & Master) -- Vitality + 4 (Pet & Master) -- Attack + 21% Cap: 77 (Pet & Master) Pet Cap: 120 -- Ranged Attack + 21% Cap: 77 (Pet & Master) Pet Cap: 120 -...
gpl-3.0
mentor81/k2hV2
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
981213/luci-1
libs/luci-lib-nixio/docsrc/nixio.File.lua
173
4457
--- Large File Object. -- Large file operations are supported up to 52 bits if the Lua number type is -- double (default). -- @cstyle instance module "nixio.File" --- Write to the file descriptor. -- @class function -- @name File.write -- @usage <strong>Warning:</strong> It is not guaranteed that all data -- in the bu...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Selbina/npcs/Chutarmire.lua
11
1282
----------------------------------- -- Area: Selbina -- NPC: Chutarmire -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Selbina/IDs") require("scripts/globals/shop") ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc...
gpl-3.0
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJoint.lua
7
1981
-------------------------------- -- @module PhysicsJoint -- @parent_module cc -------------------------------- -- @function [parent=#PhysicsJoint] getBodyA -- @param self -- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) -------------------------------- -- @function [parent=#PhysicsJoint...
mit