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
Vivitarut/darkstar
scripts/zones/Abyssea-Misareaux/Zone.lua
32
1543
----------------------------------- -- -- Zone: Abyssea - Misareaux -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abysse...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Garlaige_Citadel/npcs/Treasure_Chest.lua
7
2559
----------------------------------- -- Area: Garlaige Citadel -- NPC: Treasure Chest -- @zone 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("s...
gpl-3.0
mandla99/the_king1
plugins/me.lua
1
1592
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY abo_shosho98 ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS (@abo_shosho98 ) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY abo_shosho98 ▀▄ ▄▀ ▀▄ ▄▀ ME BOT : شنو اني ▀▄ ▄▀ ▀▄...
gpl-2.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Northern_San_dOria/npcs/Castilchat.lua
17
3324
----------------------------------- -- Area: Northern San d'Oria -- NPC: Castilchat -- Starts Quest: Trial Size Trial by Ice -- @pos -186 0 107 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Northern_San_dOria/npcs/Castilchat.lua
17
3324
----------------------------------- -- Area: Northern San d'Oria -- NPC: Castilchat -- Starts Quest: Trial Size Trial by Ice -- @pos -186 0 107 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
pauldub/unbroken
lib/unbroken/server.lua
1
3202
local dnode = require('dnode') local async = require('async') local languages = require('./languages') local GitRepo = require('./git_repo') local Builder = require('./builders/simple') -- Validates that a language has a valid structure local function validLanguage(language) return language and language.name and l...
mit
ezibyte/EziSocial-PhotoExample
Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/ZwoptexTest/ZwoptexTest.lua
16
4398
local scheduler = cc.Director:getInstance():getScheduler() -------------------------------------------------------------------- -- -- ZwoptexGenericTest -- -------------------------------------------------------------------- local function ZwoptexGenericTest() local ret = createTestLayer("Zwoptex Tests", ...
apache-2.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/items/serving_of_karni_yarik.lua
35
1391
----------------------------------------- -- ID: 5588 -- Item: serving_of_karni_yarik -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Sacrarium/TextIDs.lua
5
2147
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6382; -- Obtained: <item> GIL_OBTAINED = 6383; -- Obtained <number> gil KEYITEM_OBTAINED = 6385; -- Obtain...
gpl-3.0
Vivitarut/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f3.lua
34
1109
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Leviathan's Gate -- @pos 145 -34 20 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextID...
gpl-3.0
sammyt291/wire
lua/entities/gmod_wire_consolescreen/cl_init.lua
6
14181
include("shared.lua") function ENT:Initialize() self.Memory1 = {} self.Memory2 = {} for i = 0, 2047 do self.Memory1[i] = 0 end -- Caching control: -- [2020] - Force cache refresh -- [2021] - Cached blocks size (up to 28, 0 if disabled) -- -- Hardware image control: -- [2019] - Clear viewport d...
apache-2.0
Vivitarut/darkstar
scripts/zones/Quicksand_Caves/npcs/_5s3.lua
19
1274
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -694 0 -420 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Cav...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Mhaura/npcs/Tya_Padolih.lua
4
1370
----------------------------------- -- Area: Mhaura -- NPC: Tya Padolih -- Standard Merchant NPC -- @pos -48 -4 30 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Mhaura/TextIDs");...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Al_Zahbi/npcs/Banjanu.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Banjanu -- Type: Standard NPC -- @zone: 48 -- @pos -75.954 0.999 105.367 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
prefanatic/exsto
lua/exsto/menu/cl_pagelist.lua
1
2231
--[[ Exsto Copyright (C) 2013 Prefanatic This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed i...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/spells/kurayami_ni.lua
11
1056
----------------------------------------- -- Spell: Kurayami:Ni ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cas...
gpl-3.0
Gwynthell/FFDB
scripts/globals/effects/agi_down.lua
4
1047
----------------------------------- -- -- EFFECT_AGI_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if((target:getStat(MOD_AGI) - effect:getPower()) ...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua
19
1579
----------------------------------- -- Area: Castle Oztroja -- NPC: Kaa Toru the Just -- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~ -- @pos -100.188 -62.125 145.422 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua
13
1058
----------------------------------- -- Area: Caedarva Mire -- NPC: Jazaraat's Headstone -- Involved in mission: The Lost Kingdom (TOAUM 13) -- @pos -389 6 -570 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; require("scripts/zones/Caedarva_Mire/TextIDs"); ...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Apollyon/Zone.lua
6
11894
----------------------------------- -- -- Zone: Apollyon -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; require("scripts/zones/Apollyon/TextIDs"); require("scripts/globals/limbus"); ----------------------------------- -- ...
gpl-3.0
sammyt291/wire
lua/wire/stools/output.lua
8
1075
WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" ) WireToolSetup.open( "output", "Numpad Output", "gmod_wire_output", nil, "Numpad Outputs" ) if CLIENT then language.Add( "Tool.wire_output.name", "Output Tool (Wire)" ) language.Add( "Tool.wire_output.desc", "Spawns an output for use with the wire syst...
apache-2.0
Gwynthell/FFDB
scripts/globals/items/fudgy-wudge.lua
3
1099
----------------------------------------- -- ID: 5920 -- Item: Fudgy-wudge -- Food Effect: 3 Min, All Races ----------------------------------------- -- Intelligence 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
digoal/sysbench
sysbench/lua/oltp_pg_simple.lua
1
5013
-- use case -- ./sysbench_pg --test=lua/parallel_init_pg.lua \ -- --db-driver=pgsql \ -- --pgsql-host=$PGDATA \ -- --pgsql-port=1921 \ -- --pgsql-user=postgres \ -- --pgsql-password=postgres \ -- --pgsql-db=postgres \ -- --oltp-tables-count=64 \ -- --oltp-table-size=...
bsd-3-clause
Joeyjohjjo/Johjjodarkfork
scripts/zones/Metalworks/npcs/Lorena.lua
10
2527
----------------------------------- -- Area: Metalworks -- NPC: Lorena -- Type: Blacksmithing Guildworker's Union Representative -- @zone: 237 -- @pos -104.990 1 30.995 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/zones/Metalworks/TextIDs"); requir...
gpl-3.0
Vivitarut/darkstar
scripts/zones/The_Celestial_Nexus/mobs/Orbital.lua
19
2130
----------------------------------- -- Area: The Celestial Nexus -- NPC: Orbital -- Zilart Mission 16 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); function onMobInitialize(mob) mob:addMod(MOD_REGAIN, 50); end...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Norg/npcs/Paito-Maito.lua
34
2624
----------------------------------- -- Area: Norg -- NPC: Paito-Maito -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { -71.189713, -9.413510, 74.024879, -71.674171, -9.317029, 73.054794, -72.516525, -9.298064, 72.363213, -73.432983, -9.220915, 71...
gpl-3.0
Bubbus/ACF-Missiles
lua/acf/shared/rounds/roundflare.lua
1
10123
AddCSLuaFile() ACF.AmmoBlacklist.FLR = { "AC", "AL", "C", "HMG", "HW", "MG", "MO", "RAC", "SA", "SC", "SAM", "AAM", "ASM", "BOMB", "FFAR", "UAR", "GBU" } local Round = {} Round.type = "Ammo" --Tells the spawn menu what entity to spawn Round.name = "Flare (FLR)" --Human readable name Round.model = "models/munitions/...
mit
Gwynthell/FFDB
scripts/zones/Windurst_Waters_[S]/npcs/Wenonah_CA.lua
38
1052
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Wenonah, C.A. -- Type: Campaign Arbiter -- @zone: 94 -- @pos -2.175 -2 10.184 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Windurst_Waters_[S]/npcs/Wenonah_CA.lua
38
1052
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Wenonah, C.A. -- Type: Campaign Arbiter -- @zone: 94 -- @pos -2.175 -2 10.184 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Temenos/mobs/Temenos_Cleaner.lua
17
1285
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Temenos_Cleaner ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------...
gpl-3.0
olax/prosody-modules
mod_statsd/mod_statsd.lua
32
2429
-- Log common stats to statsd -- -- Copyright (C) 2014 Daurnimator -- -- This module is MIT/X11 licensed. local socket = require "socket" local iterators = require "util.iterators" local jid = require "util.jid" local options = module:get_option("statsd") or {} -- Create UDP socket to statsd server local sock = sock...
mit
Gwynthell/FFDB
scripts/zones/Valley_of_Sorrows/Zone.lua
1
1281
----------------------------------- -- -- Zone: Valley_of_Sorrows (128) -- ----------------------------------- package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Valley_of_Sorrows/TextIDs"); -----------------...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Korroloka_Tunnel/Zone.lua
1
1270
----------------------------------- -- -- Zone: Korroloka_Tunnel (173) -- ----------------------------------- package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Korroloka_Tunnel/TextIDs"); --------------------...
gpl-3.0
Vivitarut/darkstar
scripts/globals/spells/regen_ii.lua
3
1386
----------------------------------------- -- Spell: Regen II -- Gradually restores target's HP. ----------------------------------------- -- Cleric's Briault enhances the effect -- Scale down duration based on level -- Composure increases duration 3x ----------------------------------------- require("scripts/...
gpl-3.0
kepler155c/opus-apps
turtle/apis/jumper/search/astar.lua
1
2240
-- Astar algorithm -- This actual implementation of A-star is based on -- [Nash A. & al. pseudocode](http://aigamedev.com/open/tutorials/theta-star-any-angle-paths/) if (...) then -- Internalization local huge = math.huge -- Dependancies local _PATH = (...):match('(.+)%.search.astar$') local Heap = require (_PA...
mit
asgty/teleashraf
plugins/delete.lua
3
1535
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ delete : حذف الرسائل ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Lower_Jeuno/npcs/_l02.lua
36
1562
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -89.022 -0 -123.317 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Vivitarut/darkstar
scripts/globals/weaponskills/bora_axe.lua
6
1530
----------------------------------- -- Bora Axe -- Axe weapon skill -- Skill level: 290 -- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Chance of binding varies with TP -- Bind doesn't always break from hitting mob. -- This Weapon Skill's first hit params.ftp is duplicated for all additi...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Norg/npcs/Heizo.lua
19
3109
----------------------------------- -- Area: Norg -- NPC: Heizo -- Starts and Ends Quest: Like Shining Leggings -- @pos -1 -5 25 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
msafin/luci
libs/nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Port_Windurst/TextIDs.lua
5
6323
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 10962; -- Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 10964; -- Try trading again after sorting your inventory. ITEM_OBTAINED = 10965; -- Obtained: ...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Hall_of_Transference/npcs/_0e3.lua
7
1389
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Left) - Holla -- @pos -239 -1 290 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); requ...
gpl-3.0
ASMlover/study
lua/lispbind/test/test_win32.lua
1
1498
-- Copyright (c) 2013 ASMlover. All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions -- are met: -- -- * Redistributions of source code must retain the above copyright -- notice, this list ofconditions and...
bsd-2-clause
NoahNMorton/Gangsir_MC_LuaPrograms
OpenComputers/Libraries/Equations.lua
2
1717
--[[ Gangsir's equations library This is a math library of random geometry, physics, and algebra equations. --]] math = require("math") --duh local functList = {} --list of all of the equations --Pythagorian theorem, provide lengths of both legs of a triangle. a^2+b^2=c^2. Returns Hypotenuse. function functList.pyth...
gpl-2.0
Gwynthell/FFDB
scripts/globals/items/saruta_orange.lua
3
1091
----------------------------------------- -- ID: 4392 -- Item: saruta_orange -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/spells/bio_iii.lua
7
2536
----------------------------------------- -- Spell: Bio III -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Bio III value per point is '30' This is a constant set in ...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua
12
1249
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#2 -- @pos -499 -42 167 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/glob...
gpl-3.0
BurmistrovJ/prosody-modules
mod_default_bookmarks/mod_default_bookmarks.lua
32
1573
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2011 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza" local dm_load = require "util.dataman...
mit
olax/prosody-modules
mod_default_bookmarks/mod_default_bookmarks.lua
32
1573
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2011 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza" local dm_load = require "util.dataman...
mit
WhoIsJingJing/dockers_demo
gae_openresty/nginx/lualib/resty/template/html.lua
14
1235
local template = require "resty.template" local setmetatable = setmetatable local escape = template.escape local concat = table.concat local pairs = pairs local type = type local function tag(name, content, attr) local r, a, content = {}, {}, content or attr r[#r + 1] = "<" r[#r + 1] = name if attr the...
mit
Vivitarut/darkstar
scripts/zones/Metalworks/npcs/Fariel.lua
34
2197
----------------------------------- -- Area: Metalworks -- NPC: Fariel -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); require("scripts/globals/pathfind");...
gpl-3.0
Vivitarut/darkstar
scripts/globals/weaponskills/garland_of_bliss.lua
4
4733
----------------------------------- -- Garland Of Bliss -- Staff weapon skill -- Skill level: N/A -- Lowers target's defense. Duration of effect varies with TP. Nirvana: Aftermath effect varies with TP. -- Reduces enemy's defense by 12.5%. -- Available only after completing the Unlocking a Myth (Summoner) q...
gpl-3.0
b4ux1t3/ProjectPorcupine
Assets/StreamingAssets/LUA/RoomBehavior.lua
36
3668
------------------------------------------------------- -- Project Porcupine Copyright(C) 2016 Team Porcupine -- This program comes with ABSOLUTELY NO WARRANTY; This is free software, -- and you are welcome to redistribute it under certain conditions; See -- file LICENSE, which is part of this source code package, for ...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/king_truffle.lua
35
1193
----------------------------------------- -- ID: 4386 -- King Truffle -- 5 Minutes, food effect, All Races ----------------------------------------- -- Strength -6 -- Mind +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/North_Gustaberg/npcs/Shigezane_IM.lua
28
3150
----------------------------------- -- Area: North Gustaberg -- NPC: Shigezane, I.M. -- Type: Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ------------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ------------------------------------- require("scripts/...
gpl-3.0
ypengju/skynet_comment
lualib/http/internal.lua
95
2613
local table = table local type = type local M = {} local LIMIT = 8192 local function chunksize(readbytes, body) while true do local f,e = body:find("\r\n",1,true) if f then return tonumber(body:sub(1,f-1),16), body:sub(e+1) end if #body > 128 then -- pervent the attacker send very long stream without ...
mit
Vivitarut/darkstar
scripts/globals/bcnm.lua
2
33811
require("scripts/globals/status"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/quests"); -- NEW SYSTEM BCNM NOTES -- The "core" functions TradeBCNM EventUpdateBCNM EventTriggerBCNM EventFinishBCNM all return TRUE if the action performed is covered by the fun...
gpl-3.0
ld-test/gntp
src/lua/gntp/connector/luasocket.lua
1
2041
------------------------------------------------------------------ -- -- Author: Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Copyright (C) 2015 Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Licensed according to the included 'LICENSE' document -- -- This file is part of lua-gntp library. -- ----------...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/Buburimu_Peninsula/npcs/Hieroglyphics.lua
19
2413
----------------------------------- -- Area: Buburimu_Peninsula -- NPC: Hieroglyphics -- Dynamis Buburimu_Dunes Enter -- @pos 117 -10 133 172 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
ezibyte/EziSocial-PhotoExample
Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/Twirl.lua
7
1485
-------------------------------- -- @module Twirl -- @extend Grid3DAction -- @parent_module cc -------------------------------- -- @function [parent=#Twirl] setAmplitudeRate -- @param self -- @param #float float -------------------------------- -- @function [parent=#Twirl] getAmplitudeRate -- @param self -...
apache-2.0
Gwynthell/FFDB
scripts/zones/Dynamis-Beaucedine/mobs/Adamantking_Effigy.lua
1
3290
----------------------------------- -- Area: Dynamis Beaucedine -- NPC: Adamantking Effigy -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; -----------...
gpl-3.0
vobject/kinect-experiments
external/vlc-1.1.11/lua/playlist/anevia_streams.lua
112
3664
--[[ $Id$ Parse list of available streams on Anevia Toucan servers. The URI http://ipaddress:554/list_streams.idp describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify ...
gpl-2.0
crazyhamedboy/crazyboyboy
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
wizardbottttt/Unknown8765
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
Gwynthell/FFDB
scripts/globals/items/head_of_napa.lua
3
1086
----------------------------------------- -- ID: 5235 -- Item: head_of_napa -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
Vivitarut/darkstar
scripts/globals/spells/blade_madrigal.lua
6
1537
----------------------------------------- -- Spell: Blade Madrigal -- Gives party members accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target...
gpl-3.0
sammyt291/wire
lua/wire/gates/string.lua
5
9975
--[[ String gates ! :P ]] local MAX_LEN = 1024*1024 -- max string length of 1MB GateActions("String") GateActions["string_ceq"] = { name = "Equal", inputs = { "A" , "B" }, inputtypes = { "STRING" , "STRING" }, output = function(gate, A, B) if A == B then return 1 else return 0 end end, label = function(Ou...
apache-2.0
ezibyte/EziSocial-PhotoExample
Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/ParallaxTest/ParallaxTest.lua
10
5010
local kTagNode = 0 local kTagGrossini = 1 local function createParallaxLayer(title, subtitle) local layer = cc.Layer:create() Helper.initWithLayer(layer) local titleStr = title == nil and "No title" or title local subTitleStr = subtitle == nil and "" or subtitle Helper.titleLabel:setString(t...
apache-2.0
Vivitarut/darkstar
scripts/zones/Davoi/npcs/_45i.lua
19
2041
----------------------------------- -- Area: Davoi -- NPC: Wailing Pond -- Used In Quest: Whence Blows the Wind -- @pos 380 0.1 -181 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Bhaflau_Thickets/mobs/Sea_Puk.lua
12
1223
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Sea Puk -- Note: Place holder Nis Puk ----------------------------------- require("/scripts/zones/Bhaflau_Thickets/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,kil...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Northern_San_dOria/npcs/Danngogg.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Danngogg -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Bastok_Mines/npcs/Eulaphe.lua
28
2055
----------------------------------- -- Area: Bastok Mines -- NPC: Eulaphe -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
transitd/transitd
src/cjdnstools/contrib/lua/test.lua
40
2054
cjdns = require "cjdns/init" -- CONFIG confpath = "/etc/cjdroute.conf" -- SETUP print("Using config file: " .. confpath) conf = cjdns.ConfigFile.new(confpath) ai = conf:makeInterface() -- TESTS function testInterface(iface) local testip = "fc5d:baa5:61fc:6ffd:9554:67f0:e290:7535" print("Can I ping the ...
mit
BurmistrovJ/prosody-modules
mod_sms_clickatell/mod_sms_clickatell.lua
32
21145
-- mod_sms_clickatell -- -- A Prosody module for sending SMS text messages from XMPP using the -- Clickatell gateway's HTTP API -- -- Hacked from mod_twitter by Phil Stewart, March 2011. Anything from -- mod_twitter copyright The Guy Who Wrote mod_twitter. Everything else -- copyright 2011 Phil Stewart. Licensed under ...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/Western_Adoulin/npcs/Porter_Moogle.lua
41
1534
----------------------------------- -- Area: Western Adoulin -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 256 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Adoulin/...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/flask_of_panacea.lua
70
1742
----------------------------------------- -- ID: 4163 -- Item: Panacea -- Item Effect: Removes any number of status effects ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCh...
gpl-3.0
ezibyte/EziSocial-PhotoExample
Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua
6
1184
-------------------------------- -- @module PhysicsJointRotaryLimit -- @extend PhysicsJoint -- @parent_module cc -------------------------------- -- @function [parent=#PhysicsJointRotaryLimit] getMax -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @functio...
apache-2.0
Vivitarut/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Logging_Point.lua
6
1111
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Jugner_Forest_[S]/TextIDs...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Windurst_Woods/npcs/Spare_Two.lua
19
1505
----------------------------------- -- Area: Windurst Woods -- NPC: Spare Two -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/abilities/dark_maneuver.lua
54
1332
----------------------------------- -- Ability: Dark Maneuver -- Enhances the effect of dark attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
ld-test/vanilla
vanilla/v/error.lua
1
1488
-- vanilla local helpers = require 'vanilla.v.libs.utils' -- perf local error = error local pairs = pairs local setmetatable = setmetatable -- define error Error = {} Error.__index = Error local function init_errors() -- get app errors local errors = helpers.try_require('config.errors', {}) -- add system...
mit
jozeff3/smart_devil
plugins/banhammer.lua
7
16299
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] lo...
gpl-2.0
BurmistrovJ/prosody-modules
mod_measure_cpu/mod_measure_cpu.lua
26
1075
module:set_global(); local measure = require"core.statsmanager".measure; local mt = require"util.multitable"; local get_time = require "socket".gettime; local get_clock = os.clock; local measure_cpu_now = measure("amount", "cpu.percent"); -- Current percentage local last_cpu_wall, last_cpu_clock; module:hook("stats-...
mit
jdhk94/DarkRP
gamemode/modules/fpp/pp/sh_settings.lua
6
2457
-- These are the default settings. Don't mind changing these. FPP = FPP or {} -- Don't reset the settings when they're already there if FPP.Settings then return end FPP.Settings = {} FPP.Settings.FPP_PHYSGUN1 = { toggle = 1, adminall = 1, worldprops = 0, adminworldprops = 1, canblocked = 0, admincanblocked = 0...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/Lower_Jeuno/npcs/Navisse.lua
34
4871
----------------------------------- -- Area: Lower Jeuno -- NPC: Navisse -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/pathfind"); local path = { -- -59.562683, 6.000...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/zucchini.lua
36
1223
----------------------------------------- -- ID: 5726 -- Item: Zucchini -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 -- Defense -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
Godfather021/lionbot
plugins/banhammer.lua
214
11956
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
Gwynthell/FFDB
scripts/zones/Mhaura/npcs/Yabby_Tanmikey.lua
2
1140
----------------------------------- -- Area: Mhaura -- NPC: Yabby Tanmikey -- Guild Merchant NPC: Goldsmithing Guild -- @pos -36.459 -16.000 76.840 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); r...
gpl-3.0
Gwynthell/FFDB
scripts/globals/items/pot_au_feu_+1.lua
4
1512
----------------------------------------- -- ID: 5753 -- Item: Pot-au-feu -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Agility 4 -- Intelligence -2 -- Ranged Attk % 15 Cap 35 ?? -- Ranged ACC % 15 Cap 35 ?? ----------------------------------------- require("scripts/global...
gpl-3.0
czanyou/node.lua
core/tests/fs/test-fs-copyfile.lua
1
1415
--[[ Copyright 2012-2015 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 ag...
apache-2.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/abilities/pets/healing_breath_i.lua
2
1274
--------------------------------------------------- -- Healing Breath I --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbili...
gpl-3.0
knu/hammerspoon
extensions/network/ping/init.lua
3
24324
--- === hs.network.ping === --- --- This module provides a basic ping function which can test host availability. Ping is a network diagnostic tool commonly found in most operating systems which can be used to test if a route to a specified host exists and if that host is responding to network traffic. local USERDATA_...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/Upper_Jeuno/npcs/Zuber.lua
20
1820
----------------------------------- -- Area: Upper Jeuno -- NPC: Zuber -- Involved in Quests: Save the Clock Tower -- @zone 244 -- @pos -106 0 90 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
xpol/luavm
lua/versions/luajit-2.1/src/jit/p.lua
55
9135
---------------------------------------------------------------------------- -- LuaJIT profiler. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -- This modul...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/Garlaige_Citadel/npcs/qm15.lua
25
1460
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm15 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos 19.893 -5.500 325.767 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e5.lua
10
1391
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Left) - Dem -- @pos -239 -41 -270 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("/scripts/globals/missions"); req...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Northern_San_dOria/npcs/Arachagnon.lua
36
1818
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arachagnon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
Amir-Sudo/AntiSpam_Bot
plugins/lock_english.lua
2
1329
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} local function run(msg, matches) if msg.to.type == 'channel' then if is_momod(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostri...
gpl-2.0
Gwynthell/FFDB
scripts/zones/Windurst_Waters/npcs/Paku-Nakku.lua
6
1366
----------------------------------- -- Area: Windurst Waters -- NPC: Paku-Nakku -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 127 -6 165 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
sammyt291/wire
lua/wire/stools/dynamic_button.lua
8
3255
WireToolSetup.setCategory( "Input, Output" ) WireToolSetup.open( "dynamic_button", "Dynamic Button", "gmod_wire_dynamic_button", nil, "Dynamic Buttons" ) if CLIENT then language.Add( "tool.wire_dynamic_button.name", "Dynamic Button Tool (Wire)" ) language.Add( "tool.wire_dynamic_button.desc", "Spawns a dynamic butto...
apache-2.0