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
tinymins/MY
MY_Recount/src/MY_Recount_FP.lua
1
34587
-------------------------------------------------------- -- This file is part of the JX3 Mingyi Plugin. -- @link : https://jx3.derzh.com/ -- @desc : Õ½¶·Í³¼Æ Êý¾Ý¸´ÅÌ -- @author : ÜøÒÁ @Ë«ÃÎÕò @×··çõæÓ° -- @modifier : Emil Zhai (root@derzh.com) -- @copyright: Copyright (c) 2013 EMZ Kingsoft Co., Ltd. --------...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Woods/npcs/Hae_Jakkya.lua
13
1359
----------------------------------- -- Area: Windurst Woods -- NPC: Hae Jakkya -- Working 100% ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/watermelon.lua
18
1176
----------------------------------------- -- ID: 4491 -- Item: watermelon -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Mhaura/npcs/Explorer_Moogle.lua
13
1862
----------------------------------- -- Area: Mhaura -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/telepor...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua
13
5935
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Fossil Rock -- Used in Mission: Windurst Mission 2-1 -- @pos 17 18 184 198 + <many pos> ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/silken_squeeze.lua
18
1242
----------------------------------------- -- ID: 5630 -- Item: Silken Squeeze -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +4 -- MP Recovered while healing +5 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
gulafaran/awesome
rc.lua
1
18139
-- Standard awesome library local gears = require("gears") local awful = require("awful") awful.rules = require("awful.rules") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") -- Theme handling library local beautiful = require("beautiful") -- Notification library local naughty = r...
gpl-2.0
squeek502/luvit
tests/test-fs-utime.lua
11
5359
--[[ 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...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Maze_of_Shakhrami/Zone.lua
11
1906
----------------------------------- -- -- Zone: Maze_of_Shakhrami (198) -- ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Maze_of_Shakhr...
gpl-3.0
gulafaran/awesome
src/lib/vicious/contrib/dio.lua
16
2210
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local ipairs = ipairs local setmetatable = setmetatable local table = { insert = table.inser...
gpl-2.0
bittorf/packages
net/prosody/files/prosody.cfg.lua
147
7257
-- Prosody Example Configuration File -- -- Information on configuring Prosody can be found on our -- website at http://prosody.im/doc/configure -- -- Tip: You can check that the syntax of this file is correct -- when you have finished by running: luac -p prosody.cfg.lua -- If there are any errors, it will let you know...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Moogle.lua
13
1170
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Moogle -- @zone 80 -- @pos <many> ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/moghouse") -----------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Qulun_Dome/npcs/Magicite.lua
13
1659
----------------------------------- -- Area: Qulun Dome -- NPC: Magicite -- Involved in Mission: Magicite -- @pos 11 25 -81 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cp.lua
13
2583
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cp (Magical Gizmo) #1 -- Involved In Mission: The Horutoto Ruins Experiment ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua
26
3365
----------------------------------- -- Area: Bastok Markets -- NPC: Nbu Latteh -- Starts & Finishes Quest: Mom, The Adventurer? -- Starts Quest: The Signpost Marks the Spot ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/plate_of_ic_pilav.lua
18
1945
----------------------------------------- -- ID: 5584 -- Item: plate_of_ic_pilav -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ranged ATT % 22 ...
gpl-3.0
coinkite/cloudfire
lua/resty/websocket/server.lua
12
4881
-- Copyright (C) Yichun Zhang (agentzh) local bit = require "bit" local wbproto = require "resty.websocket.protocol" local new_tab = wbproto.new_tab local _recv_frame = wbproto.recv_frame local _send_frame = wbproto.send_frame local http_ver = ngx.req.http_version local req_sock = ngx.req.socket local ngx_header = n...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Yhoator_Jungle/npcs/Telepoint.lua
13
1672
----------------------------------- -- Area: Yhoator Jungle -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Yhoator_Jungle/TextIDs"); -------------------...
gpl-3.0
azunite/wireshark_clon
test/lua/tvb.lua
32
30608
---------------------------------------- -- script-name: tvb.lua -- This tests the Tvb/TvbRange and proto_add_XXX_item API. ---------------------------------------- ------------- general test helper funcs ------------ local FRAME = "frame" local OTHER = "other" local total_tests = 0 local function getTotal() retu...
gpl-2.0
mynameiscraziu/body
plugins/spammerr.lua
19
271988
do function run(msg, matches) return " UltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDef...
gpl-2.0
wingo/snabbswitch
src/apps/intel/intel1g.lua
4
31014
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- intel1g: Device driver app for Intel 1G network cards -- -- This is a device driver for Intel i210, i350 families of 1G network cards. -- -- The driver aims to be fairly flexible about how it can be used. The -- user can specify whethe...
apache-2.0
m13790115/puker
bot/permissions.lua
43
1333
local sudos = { "plugins", "rank_admin", "bot", "lang_install", "set_lang", "tosupergroup", "gban_installer" } local admins = { "rank_mod", "gban", "ungban", "setrules", "setphoto", "creategroup", "setname", "addbots", "setlink", "rank_guest", "description", "export_...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters_[S]/npcs/Eih_Lhogotan.lua
13
1067
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Eih Lhogotan -- Type: Standard NPC -- @zone: 94 -- @pos -29.887 -5.999 91.042 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
streetturtle/AwesomeWM
volume-widget/volume.lua
1
4636
------------------------------------------------- -- Volume Widget for Awesome Window Manager -- Shows the current volume level -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/volume-widget -- @author Pavel Makhov -- @copyright 2018 Pavel Makhov ------------------...
mit
King098/LuaFramework-ToLua-FairyGUI
Assets/LuaFramework/ToLua/Lua/protobuf/wire_format.lua
15
3767
-- -------------------------------------------------------------------------------- -- FILE: wire_format.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com ...
mit
wingo/snabbswitch
src/apps/lwaftr/fragmentv6.lua
2
10341
module(..., package.seeall) local constants = require("apps.lwaftr.constants") local lwutil = require("apps.lwaftr.lwutil") local packet = require("core.packet") local bit = require("bit") local ffi = require("ffi") local band, bor, lshift, rshift = bit.band, bit.bor, bit.lshift, bit.rshift local C = ffi.C local rd1...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Pashhow_Marshlands/npcs/Stone_Monument.lua
13
1285
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -300.672 21.620 304.179 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Ship_bound_for_Mhaura/npcs/Chhaya.lua
13
1311
----------------------------------- -- Area: Ship Bound for Mhaura -- NPC: Chhaya -- Standard Merchant NPC -- @pos -1.139 -2.101 -9.000 221 ----------------------------------- package.loaded["scripts/zones/Ship_bound_for_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
hawkthorne/hawkthorne-client-lua
src/vendor/hardoncollider/vector-light.lua
4
3067
--[[ Copyright (c) 2012 Matthias Richter 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, distribu...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Sea_Serpent_Grotto/npcs/relic.lua
13
1861
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: <this space intentionally left blank> -- @pos -356 14 -102 176 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sea_Serpent_Grotto/Text...
gpl-3.0
amirmrbad/paydar
plugins/admin.lua
230
6382
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
thing-nacho/slua
build/luajit-2.1.0/src/jit/v.lua
78
5755
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Metalworks/npcs/Chantain.lua
13
1064
----------------------------------- -- Area: Metalworks -- NPC: Chantain -- Type: Consulate Representative -- @zone: 237 -- @pos 21.729 -17 -30.888 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/dish_of_spaghetti_carbonara_+1.lua
18
1824
----------------------------------------- -- ID: 5199 -- Item: dish_of_spaghetti_carbonara_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 180 -- Magic 15 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 18 -- Attack Cap 70 -- Store TP 6 -------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Hall_of_Transference/npcs/_0e7.lua
15
1340
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Left) - Mea -- @pos 269 -81 -39 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("script...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Balakaf.lua
13
1046
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Balakaf -- Type: Standard NPC -- @pos 25.505 -6.999 126.478 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whi...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Port_Windurst/npcs/Sachetan_IM.lua
13
5582
----------------------------------- -- Area: Port Windurst -- NPC: Sachetan, I.M. -- @pos -82 -5 165 z 240 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start S...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Dynamis-Valkurm/mobs/Avatar_Idol.lua
6
1147
----------------------------------- -- Area: Dynamis Valkurm -- MOB: Manifest_Idol ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones/Dynamis...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Rabao/npcs/Scamplix.lua
13
1514
----------------------------------- -- Area: Rabao -- NPC: Scamplix -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
vmx/couchstore
tests/corrupt.lua
6
1879
package.path = package.path .. ";tests/?.lua" local testlib = require("testlib") function simpletrunc(dbname) local db = couch.open(dbname, true) db:save("k", "original value", 1) db:commit() testlib.check_doc(db, "k", "original value") db:save("k", "second value", 1) db:commit() testlib.check_...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Port_San_dOria/npcs/Cherlodeau.lua
13
1722
----------------------------------- -- Area: Port San d'Oria -- NPC: Cherlodeau -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -20 -4 -69 232 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/q...
gpl-3.0
ahmed-jasim/alobaidy
plugins/help.lua
2
3707
do function run(msg, matches) return [[💠help For Ahmed.Dev ❇️ Group Promote commands 🌀 setadmin : رفع ادمن في المجموعة 🌀 deadmin : حذف ادمن في المجوعة 🌀 promote : رفع ادمن 🌀 demote : حذف ادمن 🌀 spromote : اضافة مدير 🌀 modlist : لاظهار ادمنية المجموعة 🌀 admins : اضهار اداريين المجموعه 🌀 setusername : لو...
gpl-3.0
AmirPGA/AmirPGA
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
mahdib9/kp
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
shahabsaf1/MEGA-SATAN
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
wingo/snabbswitch
src/lib/virtio/net_device.lua
4
17083
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Implements virtio-net device module(...,package.seeall) local lib = require("core.lib") local link = require("core.link") local memory = require("core.memory") local packet = require("core.packet") local timer = r...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/globals/items/leremieu_salad.lua
18
1674
----------------------------------------- -- ID: 5185 -- Item: leremieu_salad -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 -- Dexterity 4 -- Agility 4 -- Vitality 6 -- Charisma 4 -- Defense % 25 -- Defense Cap 160 ----------------------------------------- require...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua
13
3093
----------------------------------- -- Area: King Ranperre's Tomb -- NPC: Tombstone -- Involved in Quest: Grave Concerns -- @pos 1 0.1 -101 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/HomePoint#1.lua
27
1290
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: HomePoint#1 -- @pos -13 48 61 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs"); requir...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/pot-au-feu.lua
32
1707
----------------------------------------- -- ID: 5752 -- Item: Pot-au-feu -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 3 -- Agility 3 -- Intelligence -3 -- Ranged Attk % 15 Cap 60 -- Ranged ACC % 10 Cap 50 -- Enmity -3 ----------------------------------------- require("scripts...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Morunaude.lua
13
1412
----------------------------------- -- Area: Northern San d'Oria -- NPC: Morunaude -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); requ...
gpl-3.0
XtremeHacker/eden
mods/gui/formspec.lua
2
3432
-- gui/formspec.lua --- --- Tabs --- -- [register] Inventory tab gui.register_tab("inventory", { icon = "gui_icon_inventory.png", tooltip = "Inventory", default = true, groups = {survival = true, creative = true}, get = function(name) return gui.make_inv(2.3, 1, 3, 3, "current_player", "craft", false) .. ...
lgpl-2.1
yarlesp/corn
units/regiment.lua
1
2924
-- corn by yarlesp -- pl development 2013 regiment = { t = "regiment", name = "", -- name loc = {}, -- precise location dest = nil, -- precise destination last_move = 0, -- time at which movement was last updated. discipline = 1, -- ability to withstand damage, attack speed = 25, -...
mit
april-org/april-ann
packages/ocr/off_line_text_preprocessing/package.lua
3
1171
package{ name = "ocr.off_line_text_preprocessing", version = "1.0", depends = { "util", "Image", "matrix", "interest_points" }, keywords = { "off_line_text_preprocessing" }, description = "Handwritten text preprocessing utilities", -- targets como en ant target{ name = "init", mkdir{ dir = ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_ir7.lua
12
1871
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _ir7 (Iron Gate) -- @pos -70.800 -1.500 60.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zone...
gpl-3.0
hadow/OpenRA
mods/ra/maps/exodus/exodus.lua
2
10050
Difficulty = Map.LobbyOption("difficulty") UnitsEvacuatedThreshold = { hard = 200, normal = 100, easy = 50 } AttackAtFrame = { hard = 500, normal = 500, easy = 600 } MinAttackAtFrame = { hard = 100, normal = 100, easy = 150 } MaxSovietYaks = { hard = 4, normal = 2, easy = 0 } SovietParadrops = { hard ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters/npcs/Mashuu-Ajuu.lua
12
6278
----------------------------------- -- Area: Windurst Waters -- NPC: Mashuu-Ajuu -- Starts and Finished Quest: Reap What You Sow -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 129 -6 167 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = ni...
gpl-3.0
harveyhu2012/luci
applications/luci-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua
76
2144
--[[ Luci diag - Diagnostics controller module (c) 2009 Daniel Dickinson 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 ]]-- module("luci.cont...
apache-2.0
Tech-IT-Easy/Teach-IT-Easy
Project/src/SDK/Utils/ADLogger.lua
1
2568
local Serpent = require("SDK.Lib.serpent") --local Socket = require("SDK.Lib.socket") local Socket = require("socket") if not ADLogger then ADLogger = {}; ADLogger.HTTP_LISTENER_IP = "192.168.192.101"; ADLogger.HTTP_LISTENER_PORT = "12024"; ADLogger.enabled = true ADLogger.modes = { CONSOLE = 0, ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Excenmille.lua
13
1072
----------------------------------- -- Area: Northern San d'Oria -- NPC: Excenmille -- Type: Ballista Pursuivant -- @zone: 231 -- @pos -229.344 6.999 22.976 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]...
gpl-3.0
squeek502/luvit
examples/poll-libcurl.lua
12
5680
-- FFI example for libcurl integration into the libuv event loop local ffi = require('ffi') local bit = require('bit') local uv = require('uv') local timer = require('timer') local Object = require('core').Object local utils = require('utils') local libcurl = ffi.load('libcurl') ffi.cdef[[ enum CURLMSG { CURLMS...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/globals/mobskills/Necrobane.lua
43
1075
--------------------------------------------- -- Necrobane --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------- function onMobSkillCheck(target,mob,skill) if(mob:g...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/weaponskills/shadow_of_death.lua
9
1254
----------------------------------- -- Shadow Of Death -- Scythe weapon skill -- Skill Level: 70 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Snow Gorget & Aqua Gorget. -- Aligned with the Snow Belt & Aqua Belt. -- Element: Dark -- Modifiers: STR:40% ; INT:40% -- 100%TP 200%TP 3...
gpl-3.0
dm-jrae/torch-totem
examples/test_tensor.lua
7
1083
#!/usr/bin/env th require 'totem' test = {} local tester = totem.Tester() function test.Dimension() local a = torch.Tensor(1,2) local b = torch.Tensor(2) tester:assertTensorEq(a, b, 1e-16, 'a == b') tester:assertTensorNe(a, b, 1e-16, 'a ~= b') end function test.Size() local a = torch.Tensor(1,2...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters_[S]/npcs/Porter_Moogle.lua
41
1550
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 94 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Southern_San_dOria/npcs/Ceraule.lua
13
1460
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ceraule -- General Info NPC -- @zone 230 -- @pos -86 2 -35 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
mahdib9/kp
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Lower_Jeuno/npcs/_l10.lua
13
1549
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -19 0 -4.625 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
aStonedPenguin/fprp
gamemode/modules/fadmin/fadmin/access/cl_init.lua
1
8145
local StarterGroups = {"superadmin", "admin", "user", "noaccess"} local ContinueNewGroup local EditGroups local function RetrievePRIVS(len) FAdmin.Access.Groups = net.ReadTable(); end net.Receive("FADMIN_SendGroups", RetrievePRIVS); local function addPriv(um) local group = um:ReadString(); FAdmin.Access.Groups[gro...
mit
edisuwoto/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
gulafaran/awesome
src/lib/naughty.lua
1
24875
---------------------------------------------------------------------------- -- @author koniu &lt;gkusnierz@gmail.com&gt; -- @copyright 2008 koniu -- @release @AWESOME_VERSION@ ---------------------------------------------------------------------------- -- Package environment local pairs = pairs local table = table lo...
gpl-2.0
permag-ir/permag.ir
libs/fakeredis.lua
31
40538
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/dia_ii.lua
26
2226
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------------------...
gpl-3.0
gulafaran/awesome
src/lib/vicious/widgets/mdir.lua
9
1225
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) Maildir Biff Widget, Fredrik Ax --------------------------------------------------- -- {{{ Grab environment local io = { popen = io.popen } local setmetatable...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Metalworks/npcs/Olaf.lua
13
1174
----------------------------------- -- Area: Metalworks -- NPC: Olaf -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Metalworks/TextIDs"); ---------------...
gpl-3.0
martin-traverse/premake-core
tests/actions/vstudio/vc2010/test_nmake_props.lua
2
2601
-- -- tests/actions/vstudio/vc2010/test_nmake_props.lua -- Check makefile project generation. -- Copyright (c) 2013 Jason Perkins and the Premake project -- local suite = test.declare("vs2010_nmake_props") local vc2010 = premake.vstudio.vc2010 -- -- Setup -- local wks, prj function suite.setup() premake.acti...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Beadeaux/npcs/_43b.lua
13
1745
----------------------------------- -- Area: Beadeaux -- NPC: Jail Door -- Involved in Quests: The Rescue -- @pos 56 0.1 -23 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
harveyhu2012/luci
applications/luci-p910nd/luasrc/model/cbi/p910nd.lua
74
1512
--[[ LuCI p910nd (c) 2008 Yanira <forum-2008@email.de> (c) 2012 Jo-Philipp Wich <jow@openwrt.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua
27
2040
----------------------------------- -- Area: Waughroon Shrine -- Name: Shattering stars - Maat Fight -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ----...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm15.lua
12
2541
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? -- Involved in Quest: Knight Stalker -- @pos 58 1 -70 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/T...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/pearlscale.lua
18
1330
----------------------------------------- -- ID: 5714 -- Item: Pearlscale -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
tinymins/MY
MY_Target/src/MY_TargetFace.lua
1
8874
-------------------------------------------------------- -- This file is part of the JX3 Mingyi Plugin. -- @link : https://jx3.derzh.com/ -- @desc : Ä¿±êÃæÏòÏÔʾ £¨Ì¨·þÓã© -- @ref : ²Î¿¼º£÷©²å¼þ£ºÄ¿±êÃæÏòÏÔʾ -- @author : ÜøÒÁ @Ë«ÃÎÕò @×··çõæÓ° -- @modifier : Emil Zhai (root@derzh.com) -- @copyright: Co...
bsd-3-clause
wingo/snabbswitch
src/dasm.lua
20
7281
--Binding to the DynASM encoding engine. --Written by Cosmin Apreutesei. Public Domain. local ffi = require'ffi' local bit = require'bit' local arch = ffi.arch if arch == 'x64' then arch = 'x86' end --same linker for x64 local C = ffi.C local M = {C = C} M._VERSION = 10400 ffi.cdef[[ enum { DASM_S_OK = 0x0...
apache-2.0
harveyhu2012/luci
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
8
1193
--[[ Luci statistics - ping plugin diagram definition (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apach...
apache-2.0
AmirPGA/AmirPGA
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
mynameiscraziu/body
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/globals/effects/aftermath.lua
30
2749
----------------------------------- -- -- EFFECT_AFTERMATH -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if (effect:g...
gpl-3.0
aStonedPenguin/fprp
gamemode/modules/fpp/pp/sh_settings.lua
1
1992
-- 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
mamaddeveloper/crdo
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
AmirPGA/AmirPGA
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
AmirPGA/AmirPGA
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
rigeirani/creed
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
m13790115/puker
plugins/moderation.lua
42
30441
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
angel2d/angel2d
Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-lexer.lua
11
2286
asserteq = require('pl.test').asserteq T = require 'pl.test' . tuple lexer = require 'pl.lexer' seq = require 'pl.seq' List = require ('pl.List') copy2 = seq.copy2 s = '20 = hello' asserteq(copy2(lexer.scan (s,nil,{space=false},{number=false})), {{'number','20'},{'space',' '},{'=','='},{'space',' '},{'id...
bsd-3-clause
vizewang/skynet
lualib/http/httpc.lua
42
2906
local socket = require "http.sockethelper" local url = require "http.url" local internal = require "http.internal" local string = string local table = table local httpc = {} local function request(fd, method, host, url, recvheader, header, content) local read = socket.readfunc(fd) local write = socket.writefunc(fd)...
mit
gulafaran/awesome
src/lib/awful/widget/tasklist.lua
1
10620
--------------------------------------------------------------------------- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008-2009 Julien Danjou -- @release @AWESOME_VERSION@ --------------------------------------------------------------------------- -- Grab environment we need local capi = { scre...
gpl-2.0
squeek502/luvit
deps/core.lua
3
9434
--[[ Copyright 2014 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/Upper_Jeuno/npcs/Kasra.lua
13
1044
---------------------------------- -- Area: Upper Jeuno -- NPC: Kasra -- Type: Item Deliverer -- @zone: 244 -- @pos -34.555 7.999 90.702 -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); --------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ampiro-Mapiro.lua
13
1068
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ampiro-Mapiro -- Type: Standard NPC -- @zone: 94 -- @pos 131.380 -6.75 174.169 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/PsoXja/npcs/_097.lua
13
2831
----------------------------------- -- Area: Pso'Xja -- NPC: _097 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos 290.000 -1.925 -81.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs...
gpl-3.0