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
daofeng2015/luci
applications/luci-app-travelmate/luasrc/model/cbi/travelmate.lua
4
1986
-- Licensed to the public under the Apache License 2.0. m = Map("travelmate", translate("Travelmate"), translate("Configuration of the Travelmate package to enable travel router functionality. ") .. [[</p>]] .. translate("Brief advice: Create a wwan interface, configure it to use dhcp and " .. "add it to the wan z...
apache-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Beadeaux/npcs/The_Afflictor.lua
17
1213
----------------------------------- -- Area: Beadeaux -- NPC: The Afflictor -- @zone 147 -- @pos <many> ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beadeaux/TextIDs"); require("scripts/globals/quests")...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Port_Bastok/npcs/Grin.lua
38
1026
----------------------------------- -- Area: Port Bastok -- NPC: Grin -- Type: Quest Giver -- @zone: 236 -- @pos -56.533 1.392 -29.432 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; -----------------------...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/effects/field_support_food.lua
5
2389
----------------------------------- -- -- EFFECT_FIELD_SUPPORT_FOOD -- From FoV and GoV ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getPower() == 1) then -- Dried Meat ...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/South_Gustaberg/TextIDs.lua
2
1073
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6395; -- Obtained: <item>. GIL_OBTAINED = 6396; -- Obtained <number> gil. KEYITEM_OBTAINED = 6398; -- Ob...
gpl-3.0
sjznxd/luci-0.11-aa
contrib/luasrcdiet/lua/llex.lua
122
12449
--[[-------------------------------------------------------------------- llex.lua: Lua 5.1 lexical analyzer in Lua This file is part of LuaSrcDiet, based on Yueliang material. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which this software may be d...
apache-2.0
Phoib/OpenRA
mods/cnc/maps/nod03b/nod03b.lua
4
2064
FirstAttackWave = { "e1", "e1", "e2", } SecondAttackWave = { "e1", "e1", "e1", } ThirdAttackWave = { "e1", "e1", "e1", "e2", } MissionAccomplished = function() Mission.MissionOver({ player }, nil, false) Media.PlayMovieFullscreen("desflees.vqa") end MissionFailed = function() Mission.MissionOver(nil, { player }, f...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Konschtat_Highlands/npcs/Dimensional_Portal.lua
17
1425
----------------------------------- -- Area: Konschtat Highlands -- NPC: Dimensional_Portal -- @pos 220.000 19.104 140.000 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requir...
gpl-3.0
dargosch/home_center_2_addons
Scenes/car_heater.lua
1
4559
--[[ %% autostart %% properties %% events %% globals --]] function timestringToTable (time) local dateTable = os.date("*t"); -- Get an iterator that extracts date fields local g = string.gmatch(time, "%d+"); local hour = g() ; local minute = g() or 0; local second = g() or 0; -- Insert s...
gpl-3.0
TW1STaL1CKY/pac3
lua/pac3/editor/client/panels/tree.lua
1
12697
local L = pace.LanguageString local PANEL = {} PANEL.ClassName = "tree" PANEL.Base = "pac_dtree" function PANEL:Init() pace.pac_dtree.Init(self) self:SetLineHeight(18) self:SetIndentSize(10) self.parts = {} self:Populate() pace.tree = self end do local pnl = NULL local function get_added_nodes(self) ...
gpl-3.0
MarioCatuogno/HamUI
Interface/AddOns/HamUI/core.lua
1
8821
-------------------------------------------------------------------------------- -- ACTION BAR -------------------------------------------------------------------------------- local setupUiActionBar = CreateFrame("Frame"); setupUiActionBar:RegisterEvent("PLAYER_ENTERING_WORLD"); setupUiActionBar:RegisterEvent("PLAYER_...
mit
FFXIOrgins/FFXIOrgins
scripts/zones/Windurst_Waters_[S]/npcs/Romaa_Mihgo.lua
38
1047
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Romaa Mihgo -- Type: Standard NPC -- @zone: 94 -- @pos -1.967 -3 -26.337 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; --...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/items/loach_soup.lua
35
1678
----------------------------------------- -- ID: 5671 -- Item: loach_soup -- Food Effect: 4Hour,Group Food, All Races ----------------------------------------- -- Dexterity 4 -- Agility 4 -- Accuracy % 7 -- Accuracy Cap 50 -- HP % 7 -- HP Cap 50 -- Evasion 5 -- (Did Not Add Group Food Effect) -------------...
gpl-3.0
Gael-de-Sailly/minetest-minetestforfun-server
mods/whoison/init.lua
4
3880
whoison = {} whoison.lastrun = os.time() whoison.lastseen = {} local filename = minetest.get_worldpath().."/online-players" local seenfile = minetest.get_worldpath().."/last-seen" function whoison.createFile(loopit) local file = io.open(filename, "w") file:write(os.time().."\n") file:write(minetest.get_server_stat...
unlicense
thiagok00/server
data/scripts/npcs/Michael.lua
3
3485
local Michael = NPC:new("Michael") Michael.outfit = { type = 130, head = 20, body = 15, legs = 10, feet = 5 } Michael.greeting = {"Hello $name.", "Greetings $name."} Michael.farewell = {"Goodbye $sir $name."} Michael.runoff = {"How rude!"} Michael.idleTimeout = 30 Michael.listenRadius = 4 Michael.walkRadius = 3...
gpl-2.0
psycho-nico/openwrt-packages
utils/yunbridge/files/usr/lib/lua/luci/controller/arduino/index.lua
103
12089
--[[ This file is part of YunWebUI. YunWebUI is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that i...
gpl-2.0
m2mselect/owrt
feeds/luci/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua
40
2661
-- Copyright 2014 Nikos Mavrogiannopoulos <nmav@gnutls.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local server, username, password, cert, ca local oc_cert_file, oc_key_file, oc_ca_file local ifc = net:get_interface():name() oc_cert_file = "/etc/openconnect/user-cert-"...
gpl-2.0
maximilianofaccone/puppy-siberian
root/.conky/conky_orange.lua
1
19748
--============================================================================== -- conky_orange.lua -- -- author : SLK -- version : v2011062101 -- license : Distributed under the terms of GNU GPL version 2 or later -- --====================================================================...
gpl-3.0
soroushwilson/wilson1
plugins/invite.lua
8
2324
--[[ Invite other user to the chat group. Use !invite ********* (where ********* is id_number) to invite a user by id_number. This is the most reliable method. Use !invite @username to invite a user by @username. Less reliable. Some users don't have @username. Use !invite Type print_name Here to invite a user by print_...
gpl-2.0
nehz/busted
busted/compatibility.lua
1
1554
return { getfenv = getfenv or function(f) f = (type(f) == 'function' and f or debug.getinfo(f + 1, 'f').func) local name, value local up = 0 repeat up = up + 1 name, value = debug.getupvalue(f, up) until name == '_ENV' or name == nil return name and value or _G end, setfenv ...
mit
msburgess3200/PERP
gamemodes/perp/gamemode/sv_modules/system_debug.lua
1
3426
/* These are just some various commands that I use and I figured instead of putting them in little decrepit spots within the files I would just make one centralized location */ Debug = {} function Debug.GatekeeperTotals(ply,cmd,args) if(!ply:IsValid()) then print(gatekeeper.GetNumClients().total) ply:Notify("Curren...
mit
msburgess3200/PERP
gamemodes/perp/entities/entities/ent_towtruck/init.lua
1
3994
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') function ENT:Initialize() self:SetModel("models/props_lab/powerbox02b.mdl") self:PhysicsInit( SOLID_VPHYSICS ) self:SetMoveType( MOVETYPE_VPHYSICS ) self:SetSolid( SOLID_VPHYSICS ) self:SetUseType( SIMPLE_USE ) self:GetPhysicsO...
mit
soroushwilson/wilson1
plugins/helpfun_fa.lua
1
2772
do function run(msg, matches) if msg.to.type == 'chat' then return 'Tele soroush Fun Command List'.. [[ 💙 ليست دستورات به زبان فارسي ❤:️ 🔴وضعیت (شهر|کشور) 🔹مشاهده وضعیت اب و هوای شهر یا کشور مورد نظر 🔴اینستا (یوزر) 🔹مشاهده اطلاعات ایستاگرام فرد مورد نظر 🔴زمان 🔹مشاهده تاریخ و ساعت 🔴من کیم 🔹مشاهده مقام خود...
gpl-2.0
msburgess3200/PERP
gamemodes/perp/gamemode/items/weapon_molotov.lua
1
1250
local ITEM = {}; ITEM.ID = 38; ITEM.Reference = "weapon_molotov"; ITEM.Name = "Molotov Cocktail"; ITEM.Description = "Used for starting small fires in a hurry."; ITEM.Weight = 5; ITEM.Cost = 500; ITEM.MaxStack = 100; ITEM.InventoryModel = "models/props_junk/garbage_glassbottle...
mit
thiagok00/server
data/scripts/otstd/classes/creature.lua
3
2450
function Creature:isCreature() return true end function Creature:setCustomValue(key, value) local t = type(value) if t == "nil" then return self:setRawCustomValue(key, nil) elseif t == "boolean" then return self:setRawCustomValue(key, string.char(value and 1 or 0)) elseif t == "string" or type(value) == "num...
gpl-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Metalworks/npcs/Takiyah.lua
17
1291
----------------------------------- -- Area: Metalworks -- NPC: Takiyah -- Type: Regional Merchant ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); require(...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/abilities/pets/hydro_breath.lua
6
1255
--------------------------------------------------- -- Hydro Breath --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --------------------------------------------------- function OnAbilit...
gpl-3.0
sjznxd/luci-0.11-aa
libs/web/luasrc/sauth.lua
5
2970
--[[ Session authentication (c) 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: sauth.lua 8900 2012-...
apache-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Xarcabard/npcs/Telepoint.lua
17
1637
----------------------------------- -- Area: Xarcabard -- NPC: Telepoint -- @pos 150.258 -21.047 -37.256 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Xarcabard/T...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Chateau_dOraguille/npcs/Chalvatot.lua
10
4390
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Chalvatot -- Finish Mission "The Crystal Spring" -- Start & Finishes Quests: Her Majesty's Garden -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -105 0.1 72 233 ----------------------------------- package.loaded["scripts/zones/Cha...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/items/dish_of_hydra_kofte.lua
14
1581
----------------------------------------- -- ID: 5602 -- Item: dish_of_hydra_kofte -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 7 -- Intelligence -3 -- Attack % 21 -- Attack Cap 90 -- Defense % 21 -- Defense Cap 70 ----------------------------------------- requir...
gpl-3.0
teahouse/FWServer
skynet/lualib/socketchannel.lua
5
10747
local skynet = require "skynet" local socket = require "socket" local socketdriver = require "socketdriver" -- channel support auto reconnect , and capture socket error in request/response transaction -- { host = "", port = , auth = function(so) , response = function(so) session, data } local socket_channel = {} loca...
mit
teahouse/FWServer
skynet/service/cdummy.lua
94
1797
local skynet = require "skynet" require "skynet.manager" -- import skynet.launch, ... local globalname = {} local queryname = {} local harbor = {} local harbor_service skynet.register_protocol { name = "harbor", id = skynet.PTYPE_HARBOR, pack = function(...) return ... end, unpack = skynet.tostring, } skynet.reg...
mit
TRIEXTEAM/TaylortTG
plugins/leave_ban.lua
11
2873
local function run(msg, matches) local data = load_data(_config.moderation.data) if msg.action and msg.action.type then local action = msg.action.type if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['leave_ban'] then ...
gpl-2.0
msburgess3200/PERP
gamemodes/perp/gamemode/vgui/vehicle_customize_main.lua
1
2512
function CustomizeCarWindow( ID ) local Vtable = VEHICLE_DATABASE[ID] local DermaPanel = vgui.Create( "DFrame" ) DermaPanel:SetPos( 0, 0 ) DermaPanel:SetSize( 200, 705 ) DermaPanel:SetTitle( "Car Color" ) DermaPanel:SetVisible( true ) DermaPanel:SetDraggable( false ) DermaPanel:ShowCloseButton( false ) Derm...
mit
m2mselect/owrt
feeds/luci/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua
9
3426
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("RRDTool Plugin Configuration"), translate( "The rrdtool plugin stores the collected data in rrd database " .. "files, the foundation of the diagrams...
gpl-2.0
daofeng2015/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/dns.lua
68
1085
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") m = Map("luci_statistics", translate("DNS Plugin Configuration"), translate( "The dns plugin collects detailled statistics about dns " .. "related traffic on select...
apache-2.0
Gael-de-Sailly/minetest-minetestforfun-server
mods/homedecor_modpack/fake_fire/init.lua
7
6987
screwdriver = screwdriver or {} local function start_smoke(pos, node, clicker, chimney) local this_spawner_meta = minetest.get_meta(pos) local id = this_spawner_meta:get_int("smoky") local s_handle = this_spawner_meta:get_int("sound") local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name if id ~= 0...
unlicense
xToken/NSL
lua/NSL/spectator_techtree/server.lua
1
2380
-- Natural Selection League Plugin -- Source located at - https://github.com/xToken/NSL -- lua/NSL/spectator_techtree/server.lua -- - Dragon local hookedPlayers = { } local function OnNetMsgRequestTeamTechTree(client, message) local player = client:GetControllingPlayer() local teamNum = message.teamNumber --Sen...
mit
yongju-hong/thrift
lib/lua/THttpTransport.lua
16
4749
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
fartoverflow/naev
dat/factions/spawn/trader.lua
11
2162
include("dat/factions/spawn/common.lua") -- @brief Spawns a small trade fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot( pilots, "Trader Llama", 20 ); elseif r < 0.8 then scom.addPilot( pilots, "Trader Llama", 20 ); scom.addPilo...
gpl-3.0
nehz/busted
spec/cl_filter.lua
12
1083
-- supporting testfile; belongs to 'cl_spec.lua' describe('Tests the busted command-line options', function() it('is a test with pattern1', function() -- works by counting failure error('error 1 on pattern1') end) it('is another test with pattern1', function() -- works by counting failure error...
mit
daofeng2015/luci
modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua
74
1873
-- Copyright 2011-2012 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ifc = net:get_interface() local hostname, accept_ra, send_rs local bcast, defaultroute, peerdns, dns, metric, clientid, vendorclass hostname = section:taboption("gener...
apache-2.0
PioneerMakeTeam/Cretaceous
wicker/game/ambientlighting.lua
6
2797
local _M = _M local getPhaseChangeAmbientSetter = memoize_0ary(function() assert(IsDST()) local wrld = assert(TheWorld) local getinfo = debug.getinfo --local string_find = string.find local getfenv = getfenv local _G = _G local AmbientLighting = require "components/ambientlighting" local wanted_source = get...
mit
POPHUP/maroonhost
plugins/webshot.lua
14
3715
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
sjznxd/lc-20130127
applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-func.lua
80
1208
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
hacker44-h44/1104
plugins/xkcd.lua
628
1374
do function get_last_id() local res,code = https.request("http://xkcd.com/info.0.json") if code ~= 200 then return "HTTP ERROR" end local data = json:decode(res) return data.num end function get_xkcd(id) local res,code = http.request("http://xkcd.com/"..id.."/info.0.json") if code ~= 200 then return "HT...
gpl-2.0
sjznxd/luci-0.11-aa
applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua
11
2189
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Spire_of_Mea/npcs/_0l0.lua
4
1453
----------------------------------- -- Area: Spire of Mea -- NPC: Web of Recollection ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/global...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/mobskills/Wind_Shear_ZNM.lua
6
1128
--------------------------------------------- -- Wind Shear -- -- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 10' radial -- Notes: The knockback is rather severe. Vulpangue uses an enhanced ver...
gpl-3.0
sjznxd/luci-0.11-aa
applications/luci-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua
9
3475
--[[ Luci configuration model for statistics - collectd rrdtool plugin configuration (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 Licen...
apache-2.0
mahdikord/mahdihop
plugins/weather.lua
24
1450
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' local b, c, h = http.request(url) if c ~= 200 then return nil end local weather = ...
gpl-2.0
soroushwilson/wilson1
plugins/Wai.lua
9
1068
do local function run(msg, matches) if matches[1]:lower() == 'wai' or matches[1]:lower() == 'me' or matches[1]:lower() == 'من کیم' then if is_sudo(msg) then send_document(get_receiver(msg), "./axs/sudo.webp", ok_cb, false) return "یو آر مآی فآدِر😐❤" elseif is_admin(msg) then send_document(get...
gpl-2.0
JulianVolodia/awesome
tests/test-focus.lua
7
1084
--- Tests for focus signals / property. -- Test for https://github.com/awesomeWM/awesome/issues/134. awful = require("awful") timer = require("gears.timer") beautiful = require("beautiful") beautiful.border_normal = "#0000ff" beautiful.border_focus = "#00ff00" client.connect_signal("focus", function(c) c.border_c...
gpl-2.0
realtime-framework/RealtimeMessaging-Lua
OrtcClient/src/ibt/ortc/uri/uri.lua
1
15405
local M = { _NAME = "uri", VERSION = "1.0" } M.__index = M package.path = package.path..";./lib/uri/uri/?.lua" local Util = require ("_util") local _UNRESERVED = "A-Za-z0-9%-._~" local _GEN_DELIMS = ":/?#%[%]@" local _SUB_DELIMS = "!$&'()*+,;=" local _RESERVED = _GEN_DELIMS .. _SUB_DELIMS local _USERINFO = "^[" .. _...
mit
devilrap978/devil_rap65
plugins/ar-TH3_BOSS.lua
1
1094
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ VIRSON : الاصدار ▀▄ ▄▀ ▀▄...
gpl-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Quicksand_Caves/npcs/qm7.lua
11
1901
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? -- Involved in Mission: The Mithra and the Crystal (Zilart 12) -- @pos -504 20 -419 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Dynamis-San_dOria/bcnms/dynamis_sandoria.lua
3
1123
----------------------------------- -- Area: Dynamis San d'Oria -- Name: Dynamis San d'Oria ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function OnBcnmRegister(player,instance) SetServerVariable("[DynaSandoria]UniqueID",player:getDynamisUniqueID(1281)); SetServerVaria...
gpl-3.0
trustbuilder/gateway
libs/trustbuilder-gateway/dao/session.lua
1
4172
-- -- Created by IntelliJ IDEA. -- User: gerry -- Date: 24/02/2017 -- Time: 11:10 -- To change this template use File | Settings | File Templates. -- local setmetatable = setmetatable local pairs = pairs local ngx = ngx local gw_conf ...
bsd-3-clause
FFXIOrgins/FFXIOrgins
scripts/globals/items/roast_turkey.lua
35
1197
----------------------------------------- -- ID: 5620 -- Item: roast_turkey -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/spells/sentinels_scherzo.lua
5
1446
----------------------------------------- -- Spell: Sentinel's Scherzo -- Mitigates the impact of severely damaging attacks for party members within an area of effect. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
Gael-de-Sailly/minetest-minetestforfun-server
mods/sea/seacoral/init.lua
8
19445
-- NODES -- Lightened nodes for MFF local sea_light_source = 5 minetest.register_node("seacoral:coralcyan", { description = "Cyan Coral", drawtype = "plantlike", tiles = {"seacoral_coralcyan.png"}, inventory_image = "seacoral_coralcyan.png", wield_image = "seacoral_coralcyan.png", paramtype = "light", walkable...
unlicense
maximilianofaccone/puppy-siberian
root/.conky/text.lua
2
7600
--[[TEXT WIDGET v1.3 by giancarlo64 27/10/2012 Required conky 1.8.0 To call this script in the conkyrc, in before-TEXT section: lua_load /path/to/the/lua/text.lua lua_draw_hook_pre draw_text ]] require 'cairo' function conky_draw_text() local col0,col1,col2=0x205b85,0xCCFF99,0x2b78ae local colbg=...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Southern_San_dOria_[S]/npcs/CeraneIVirgaut1.lua
36
1082
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Cerane I Virgaut -- @zone 80 -- @pos -268 -4 100 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ---------------------...
gpl-3.0
TW1STaL1CKY/pac3
lua/pac3/core/client/parts/legacy/trail.lua
1
4529
local Lerp = Lerp local tonumber = tonumber local table_insert = table.insert local table_remove = table.remove local math_ceil = math.ceil local math_abs = math.abs local render_StartBeam = render.StartBeam local cam_IgnoreZ = cam.IgnoreZ local render_EndBeam = render.EndBeam local render_AddBeam = render.Add...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/globals/items/culinarians_belt.lua
5
1202
----------------------------------------- -- ID: 15451 -- Item: Culinarian's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Alchemy Skill +1 ----------------------------------------- requi...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Windurst_Waters_[S]/npcs/Khea_Mhyyih.lua
38
1051
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Khea Mhyyih -- Type: Standard NPC -- @zone: 94 -- @pos -53.927 -4.499 56.215 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
TRIEXTEAM/TaylortTG
plugins/arabic_lock.lua
11
3119
antiarabic = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_arabic'] then if data[tostring(msg.to.id...
gpl-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Bastok_Markets/npcs/Zhikkom.lua
36
1504
----------------------------------- -- Area: Bastok Markets -- NPC: Zhikkom -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require(...
gpl-3.0
TW1STaL1CKY/pac3
lua/pac3/core/client/tests/events.lua
1
1654
local consume = test.EventConsumer({ "shown from rendering", "event think", "event triggers hide", "hidden", "event triggers show", "shown from event", }) function test.Run(done) local stage = nil do local PART = {} PART.FriendlyName = "test" PART.ClassName = "test" PART.Icon = 'icon16/cut.png' f...
gpl-3.0
daofeng2015/luci
modules/luci-base/luasrc/i18n.lua
74
1344
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. module("luci.i18n", package.seeall) require("luci.util") local tparser = require "luci.template.parser" table = {} i18ndir = luci.util.libpath() .. "/i18n/" loaded = {} context = luci.util.threadlocal() def...
apache-2.0
FFXIOrgins/FFXIOrgins
scripts/globals/weaponskills/heavy_shot.lua
6
1256
----------------------------------- -- Heavy Shot -- Marksmanship weapon skill -- Skill Level: 225 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:3...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Chest.lua
7
2585
----------------------------------- -- Area: King Ranperres Tomb -- NPC: Treasure Chest -- @zone 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); requ...
gpl-3.0
daofeng2015/luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/forward-details.lua
9
3722
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local dsp = require "luci.dispatcher" local ft = require "luci.tools.firewall" local m, s, o arg[1] = arg[1] or "" m = Map("firewall", translate("Firewall - Port Forwards"), ...
apache-2.0
FFXIOrgins/FFXIOrgins
scripts/globals/spells/armys_paeon.lua
4
1391
----------------------------------------- -- Spell: Army's Paeon -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(c...
gpl-3.0
fartoverflow/naev
dat/events/tutorial/tutorial-combat2.lua
11
8855
-- This is the tutorial: missile combat. include("dat/events/tutorial/tutorial-common.lua") -- localization stuff, translators would work here lang = naev.lang() if lang == "es" then else -- default english title1 = "Tutorial: Missile Combat" message1 = [[Welcome to the missile combat tutorial. Guided missil...
gpl-3.0
m2mselect/owrt
feeds/luci/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua
33
3121
-- Copyright 2009-2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network".init() local fw = require "luci.model.firewall".init() local utl = require "luci.util" local uci = require "luci.model.uci".cursor() m = SimpleForm("network", tran...
gpl-2.0
m2mselect/owrt
feeds/packages/net/smartsnmpd/files/mibs/system.lua
158
6428
-- -- This file is part of SmartSNMP -- Copyright (C) 2014, Credo Semiconductor Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your optio...
gpl-2.0
Gael-de-Sailly/minetest-minetestforfun-server
mods/colouredstonebricks/init.lua
5
1581
--------------------------------------------- -- Coloured Stone Bricks Mod by CraigyDavi -- --------------------------------------------- local COLOURS = { "Black", "Cyan", "Brown", "Dark Blue", "Dark Green", "Dark Grey", "Dark Pink", "Green", "Grey", "Orange", "Pink", "Purple", "Red", "Whi...
unlicense
FFXIOrgins/FFXIOrgins
scripts/zones/Windurst_Woods/npcs/Hayah_Dahbalesahma.lua
38
1049
----------------------------------- -- Area: Windurst Woods -- NPC: Hayah Dahbalesahma -- Type: Standard NPC -- @zone: 241 -- @pos -50.363 -1.292 -147.883 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ...
gpl-3.0
fartoverflow/naev
dat/ai/dvaered.lua
6
1711
include("dat/ai/tpl/generic.lua") include("dat/ai/personality/patrol.lua") -- Settings mem.aggressive = true -- Create function function create () -- Credits. ai.setcredits( rnd.int(ai.pilot():ship():price()/300, ai.pilot():ship():price()/100) ) -- Handle bribing if rnd.int() > 0.4 then mem.bribe...
gpl-3.0
joshimoo/Algorithm-Implementations
The_Twelve_Days_Of_Xmas/Lua/Yonaba/the12daysofxmas.lua
26
1292
-- Lyrics for the song "The Twelve Days Of Xmas" -- See here: http://www.lyricsmode.com/lyrics/c/christmas_carols/the_twelve_days_of_christmas.html -- The days local days = { 'first', 'second', 'third', 'fourth', 'fifth', 'sixth', 'seventh', 'eighth', 'nineth', 'tenth', 'eleventh', 'twelfth' } -- The gifts my tru...
mit
RedisLabs/geo.lua
geo.lua
1
24383
local _NAME = 'geo.lua' local _VERSION = '0.1.6' local _DESCRIPTION = 'A helper library for Redis geospatial indices' local _COPYRIGHT = '2016 Itamar Haber, Redis Labs' local _USAGE = [[ Call with ARGV[1] being one of the following commands: - GEO API completeness - GEODEL - delete a member GEOBEARING ...
bsd-3-clause
EMerckx/argos3-experiments
lua_controllers/random_number_controller_10.lua
1
1119
----------------------------------------------------- -- @author Ewout Merckx - <ewoutmerckx.pro@gmail.com> ----------------------------------------------------- -- global variables amount_steps = 0 max_steps = 50 -- initialization function init() -- set the speed of the robot to zero robot.wheels.set_veloci...
mit
daofeng2015/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-format.lua
68
3423
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true format_au = module:option(Lis...
apache-2.0
hacker44-h44/1104
plugins/exchange.lua
352
2076
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 function comma_value(n) -- credit http://richard.warburton.it local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('...
gpl-2.0
mahdikord/mahdibaryaji
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
punisherbot/test
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
FFXIOrgins/FFXIOrgins
scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua
34
1088
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Suzel -- Type: Item Deliverer -- @zone: 26 -- @pos -72.701 -20.25 -64.058 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ...
gpl-3.0
hacker44-h44/1104
plugins/yoda.lua
642
1199
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 request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
TW1STaL1CKY/pac3
lua/pac3/core/client/parts/trail.lua
1
4842
local Lerp = Lerp local tonumber = tonumber local table_insert = table.insert local table_remove = table.remove local math_ceil = math.ceil local math_abs = math.abs local math_min = math.min local render_StartBeam = render.StartBeam local cam_IgnoreZ = cam.IgnoreZ local render_EndBeam = render.EndBeam local render_Add...
gpl-3.0
jxchen01/NEW
unet.lua
1
9823
require 'nn' require 'nngraph' require 'optim' require 'cutorch' require 'cunn' require 'image' cmd = torch.CmdLine() cmd:text() cmd:text('Options:') cmd:option('--imageDir', '/home/jchen16/NEW/data/X10/train/', 'the directory to load') cmd:option('--labelDir', '/home/jchen16/NEW/data/X10/label/', 'the directory to lo...
mit
teahouse/FWServer
script/services/db/init.lua
1
6999
local skynet = require "skynet" local dbtable = require("config.dbtable") local dbcache = require("services.db.dbcache") local baseG = _G local command = {} local dbfunc = {} local numhandler = 1 local maxhandler local lredishandler function g_database.init(redismax) maxhandler = redismax or 4 g_database.m_hredist...
mit
karottenreibe/luakit
config/globals.lua
1
3239
-- Global variables for luakit globals = { homepage = "http://luakit.org/", -- homepage = "http://github.com/mason-larobina/luakit", scroll_step = 40, zoom_step = 0.1, max_cmd_history = 100, max_srch_history = 100, -- http_proxy = "http://exa...
gpl-3.0
maximilianofaccone/puppy-siberian
root/.conky/qtpi.lua
1
5986
--[[ Clock Rings by londonali1010 (2009) Edited by jpope This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script. IMPORTANT: if you are...
gpl-3.0
Gael-de-Sailly/minetest-minetestforfun-server
mods/mobs/sheep.lua
7
5367
local all_colours = { {"black", "Black", "#000000b0"}, {"blue", "Blue", "#015dbb70"}, {"brown", "Brown", "#663300a0"}, {"cyan", "Cyan", "#01ffd870"}, {"dark_green", "Dark Green", "#005b0770"}, {"dark_grey", "Dark Grey", "#303030b0"}, {"green", "Green", "#6...
unlicense
aosee1h1/AOSEE_2H2
plugin/badword.lua
7
3344
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ block word : منع كلمات ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
FFXIOrgins/FFXIOrgins
scripts/globals/spells/cure.lua
4
3945
----------------------------------------- -- Spell: Cure -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/ma...
gpl-3.0
FFXIOrgins/FFXIOrgins
scripts/zones/Aht_Urhgan_Whitegate/npcs/Nadeey.lua
34
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Nadeey -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); -----------...
gpl-3.0
gitfancode/skynet
lualib/skynet/remotedebug.lua
54
5502
local skynet = require "skynet" local debugchannel = require "debugchannel" local socket = require "socket" local injectrun = require "skynet.injectcode" local table = table local debug = debug local coroutine = coroutine local sethook = debugchannel.sethook local M = {} local HOOK_FUNC = "raw_dispatch_message" loca...
mit