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
cypherkey/AvorionMission
sectorspecifics.lua
1
11500
package.path = package.path .. ";data/scripts/lib/?.lua" package.path = package.path .. ";data/scripts/?.lua" package.path = package.path .. ";data/scripts/sectors/?.lua" package.path = package.path .. ";?.lua" package.path = package.path .. ";?" require ("randomext") FactionsMap = require ("factionsmap") PassageMap ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua
14
1063
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rakih Lyhall -- Type: Standard NPC -- @zone 94 -- @pos -48.111 -4.5 69.712 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/rolsin.lua
12
1192
----------------------------------------- -- ID: 5673 -- Item: rolsin -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/icanheararainbow.lua
14
8400
-- Functions below used in quest: I Can Hear a Rainbow require( "scripts/globals/status"); require( "scripts/globals/quests"); require( "scripts/globals/weather"); colorsAvailable = { 102, 103, 104, 105, 106, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125}; -- Zone IDs -- Data be...
gpl-3.0
Element-Research/rnn
examples/recurrent-language-model.lua
2
10955
require 'paths' require 'rnn' require 'optim' local dl = require 'dataload' version = 2 --[[ command line arguments ]]-- cmd = torch.CmdLine() cmd:text() cmd:text('Train a Language Model on PennTreeBank dataset using RNN or LSTM or GRU') cmd:text('Example:') cmd:text('th recurrent-language-model.lua --cuda --device 2...
bsd-3-clause
emoon/wrui
bin/macosx/tundra/scripts/tundra/test/t_env.lua
22
2324
module(..., package.seeall) unit_test('scalar interpolation', function (t) local e = require 'tundra.environment' local e1, e2, e3 e1 = e.create(nil, { Foo="Foo", Baz="Strut" }) e2 = e1:clone({ Foo="Bar" }) e3 = e1:clone({ Baz="c++" }) t:check_equal(e1:get("Foo"), "Foo") t:check_equal(e1:get("Baz"), "S...
mit
wingo/snabb
lib/ljsyscall/syscall/linux/x64/ffi.lua
25
1356
-- x64 specific definitions return { epoll = [[ struct epoll_event { uint32_t events; epoll_data_t data; } __attribute__ ((packed)); ]], ucontext = [[ typedef long long greg_t, gregset_t[23]; typedef struct _fpstate { unsigned short cwd, swd, ftw, fop; unsigned long long rip, rdp; unsigned mxcsr, mxcr_m...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Altepa/npcs/qm7.lua
14
1340
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: qm7 (???) -- Spawns Waugyl -- @pos ? ? ? 218 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Oldton_Movalpolos/npcs/Mining_Point.lua
17
1092
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Oldton_Movalpolos/TextIDs"); -----...
gpl-3.0
Neopallium/lua-llthreads
tests/test_llthreads.lua
1
2305
-- Copyright (c) 2011 by Robert G. Jakabosky <bobby@sharedrealm.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to u...
mit
bmscoordinators/FFXI-Server
scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua
29
1450
----------------------------------- -- Area: Meriphataud Mountains [S] -- NPC: Cavernous Maw -- @pos 597 -32 279 97 -- Teleports Players to Meriphataud Mountains ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/FeiYin/npcs/Grounds_Tome.lua
30
1074
----------------------------------- -- Area: Fei'Yin -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) e...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/foe_requiem_iii.lua
26
1631
----------------------------------------- -- Spell: Foe Requiem III ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Marjami_Ravine/Zone.lua
17
1221
----------------------------------- -- -- Zone: Marjami Ravine -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil; require("scripts/zones/Marjami_Ravine/TextIDs"); ----------------------------------- -- onInitialize -------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/corsairs_roll.lua
19
2648
----------------------------------- -- Ability: Corsair's Roll -- Increases the amount of experience points earned by party members within area of effect -- Optimal Job: Corsair -- Lucky Number: 5 -- Unlucky Number: 9 -- Level: 5 -- -- Die Roll |Exp Bonus% -- -------- ----------- -- 1 |10% -- 2 ...
gpl-3.0
pakozm/april-ann
packages/trainable/lua_src/qlearning.lua
3
11581
local trainable_qlearning_trainer,trainable_qlearning_trainer_methods = class("trainable.qlearning_trainer") trainable = trainable or {} -- global environment trainable.qlearning_trainer = trainable_qlearning_trainer -- global environment local md = matrix.dict ----------------------------- -- QLEARNING TRAINER CLA...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Rabao/npcs/HomePoint#1.lua
27
1250
----------------------------------- -- Area: Rabao -- NPC: HomePoint#1 -- @pos -29.276 0.001 -76.585 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Rabao/TextIDs"); require("scripts/globals/homepoint"); -------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/armys_paeon_iii.lua
27
1361
----------------------------------------- -- Spell: Army's Paeon III -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,t...
gpl-3.0
telenymous/botoftelenymous
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
fps-vogel/maccer
luapower/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 -------------------------------------------------------------------------...
gpl-3.0
wingo/snabb
lib/luajit/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 -------------------------------------------------------------------------...
apache-2.0
ld-test/hprose
src/hprose/output_stream.lua
3
1793
--[[ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/persikos.lua
12
1182
----------------------------------------- -- ID: 4274 -- Item: persikos -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -7 -- Intelligence 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Romaa_Mihgo.lua
14
1060
----------------------------------- -- 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
cheney247689848/Cloud-edge
Assets/ToLua/Lua/System/coroutine.lua
2
3074
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -----------------------------------------------------------------...
mit
bmscoordinators/FFXI-Server
scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua
14
2654
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- @pos 231 -34 20 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Bastok_Mines/npcs/Explorer_Moogle.lua
17
1731
----------------------------------- -- Area: Bastok Mines -- NPC: Explorer Moogle -- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/teleports"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,t...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Quntsu-Nointsu.lua
27
2965
----------------------------------- -- Area: Norg -- NPC: Quntsu-Nointsu -- Title Change NPC -- @pos -67 -1 34 252 ----------------------------------- require("scripts/globals/titles"); local title2 = { HONORARY_DOCTORATE_MAJORING_IN_TONBERRIES , BUSHIDO_BLADE , BLACK_MARKETEER , CRACKER_OF_THE_SECRET_CODE , ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/dish_of_spaghetti_peperoncino.lua
12
1487
----------------------------------------- -- ID: 5188 -- Item: dish_of_spaghetti_peperoncino -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 30 -- Health Cap 70 -- Vitality 2 -- Store TP +6 -- Resist virus +5 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
Reza02100/iranmoltafet
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
ashkanpj/fire-creed
plugins/Boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Dynamis-Bastok/bcnms/dynamis_bastok.lua
14
1291
----------------------------------- -- Area: Dynamis Bastok -- Name: Dynamis Bastok ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaBastok]UniqueID",os.time()); SetServerVariable("[DynaBastok]Boss_T...
gpl-3.0
scummvm/scummvm
devtools/create_ultima/files/ultima6/scripts/se/intro.lua
17
33840
local lua_file = nil --load common functions lua_file = nuvie_load("common/intro_common.lua"); lua_file(); -- TODO - ALL TRANSITIONS - FADE IN/OUT, STAR FADE -- TODO - CURSORS -- TODO - CONFIRM/CONFIGURE KEYS TO ADVANCE/BYPASS -- TODO - MEMORY MANAGEMENT (prevent leaks) -- TODO - CREATE NEW CHARACTER OVER EXISTING? -...
gpl-3.0
jdgwartney/boundary-plugin-disk-summary
modules/framework.lua
6
48470
-- Copyright 2015 Boundary, Inc. -- -- 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 agreed to i...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/FeiYin/npcs/_no4.lua
14
2263
----------------------------------- -- Area: Fei'Yin -- NPC: Cermet Door (triggers Rukususu dialog) -- Type: Quest NPC -- @pos -183 0 190 204 -- Involved in Quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle -- Involved in Missions: Windurst 5-1/7-2/8-2 ----------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/tachi_jinpu.lua
23
1422
----------------------------------- -- Tachi Jinpu -- Great Katana weapon skill -- Skill level: 150 -- Two-hit attack. Deals Physical and wind elemental damage to enemy. Additonal Effect Damage varies with TP. -- Will stack with Sneak Attack and Souleater. -- Aligned with the Breeze Gorget & Shadow Gorget. -- Aligned w...
gpl-3.0
mohammad25253/teamking
plugins/add_bot.lua
189
1492
--[[ Bot can join into a group by replying a message contain an invite link or by typing !add [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local function...
gpl-2.0
accorp/lua-5.1-stuff
class/tests.lua
1
8587
-- -- Lua Class Tests -- local class = require "class" local test = { counter = 0, reset = function (self) self.counter = 1 print((" * reset(), counter = %d"):format(self.counter)) end, point = function (self, index) self.counter = self.counter * index + index print((" * point(%d), counter = %d"):f...
unlicense
Shayan123456/botttttt10
bot/creedbot.lua
3
16023
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
emoon/wrui
bin/macosx/tundra/scripts/tundra/nodegen.lua
20
26246
module(..., package.seeall) local unitgen = require "tundra.unitgen" local util = require "tundra.util" local path = require "tundra.path" local depgraph = require "tundra.depgraph" local buildfile = require "tundra.buildfile" local native = require "tundra.native" local ide_backend = nil local curre...
mit
bmscoordinators/FFXI-Server
scripts/commands/promote.lua
24
1172
--------------------------------------------------------------------------------------------------- -- func: promote -- desc: Promotes the player to a new GM level. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "si"...
gpl-3.0
RockySeven3161/NewBot
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
bmscoordinators/FFXI-Server
scripts/zones/Windurst-Jeuno_Airship/TextIDs.lua
7
1084
-- 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 = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
midnightviking/simple-rotation
Libs/AceTimer-3.0/AceTimer-3.0.lua
31
9798
--- **AceTimer-3.0** provides a central facility for registering timers. -- AceTimer supports one-shot timers and repeating timers. All timers are stored in an efficient -- data structure that allows easy dispatching and fast rescheduling. Timers can be registered -- or canceled at any time, even from within a running ...
gpl-2.0
deepak78/luci
applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
7
5178
require("luci.tools.webadmin") m = Map("multiwan", translate("Multi-WAN"), translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover.")) s = m:section(NamedSection, "config", "multiwan", "") e = s:option(Flag, "enabled", translate("Enable")) e.rmempty = false function e.write(self,...
apache-2.0
user-none/lua-hashings
test/test_whirlpool.lua
1
4977
local hmod = require("hashings").whirlpool local runner = require("runner") local hash_test_output = { v1 = { "19FA61D75522A4669B44E39C1D2E1726C530232130D407F89AFEE0964997F7A73E83BE698B288FEBCF88E3E03C4F0757EA8964E59B63D93708B138CC42A66EB3" }, v2 = { "4E2448A4C6F486BB16B6562C73B4020BF3043E3A731BCE721AE1B303D...
mit
pakozm/april-ann
packages/ann/optimizer/test/test-digits-sgd.lua
3
5849
mathcore.set_use_cuda_default(util.is_cuda_available()) -- local check = utest.check local T = utest.test -- T("SGDConvexTest", function() local opt = ann.optimizer.sgd() opt:set_option("learning_rate", 0.01) opt:set_option("momentum", 0.02) -- optimize quadractic function: f(x) = 3*x^2 - 2*x + 10 l...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Upper_Jeuno/npcs/Shalott.lua
17
1131
----------------------------------- -- Area: Upper Jeuno -- NPC: Shalott -- Optional Involvement in Quest: Save My Son -------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); --------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua
14
1063
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Cattah Pamjah -- Type: Title Changer -- @zone 94 -- @pos -13.564 -2 10.673 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/blowfish.lua
12
1323
----------------------------------------- -- ID: 5812 -- Item: Blowfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
saeid0034/New
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
arman022/turbo-spammer
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua
14
1284
----------------------------------- -- Area: Dynamis Jeuno -- Name: Dynamis Jeuno ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaJeuno]UniqueID",os.time()); SetServerVariable("[DynaJeuno]Boss_Trigg...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/plate_of_salmon_sushi_+1.lua
12
1583
----------------------------------------- -- ID: 5664 -- Item: plate_of_salmon_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 15 (cap 72) -- Ranged ACC % 15 (cap 72) -- Resist Sleep +2 ----------------------------------------- require("scripts/globals/st...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/plate_of_bream_sushi.lua
12
1667
----------------------------------------- -- ID: 5176 -- Item: plate_of_bream_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 5 -- Accuracy % 16 (cap 76) -- Ranged ACC % 16 (cap 76) -- Sleep Resist 1 ----------------------------------------- require("scripts/...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Bhaflau_Thickets/mobs/Marid.lua
2
1471
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Marid -- Note: Place holder Mahishasura ----------------------------------- require("scripts/zones/Bhaflau_Thickets/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob, player, i...
gpl-3.0
tuxology/bcc
tools/stacksnoop.lua
3
2949
#!/usr/bin/env bcc-lua --[[ Copyright 2016 GitHub, Inc 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 agreed to in ...
apache-2.0
wingo/snabb
src/lib/virtio/virtq_driver.lua
3
6391
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Application to connect to a virtio-net driver implementation -- -- Copyright (c) 2015 Virtual Open Systems -- module(..., package.seeall) local debug = _G.developer_debug local ffi = require("ffi") local C = ffi.C local memory...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/simit_+1.lua
12
1251
----------------------------------------- -- ID: 5597 -- Item: simit_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 18 -- Vitality 4 -- Defense 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua
16
11719
----------------------------------- -- Area: Port Windurst -- NPC: Kohlo-Lakolo -- Invloved In Quests: Truth, Justice, and the Onion Way!, -- Know One's Onions, -- Inspector's Gadget, -- Onion Rings, -- Crying Over Onions, -- ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/TextIDs.lua
1
1362
-- 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 = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Ob...
gpl-3.0
forsyde/f2cc
source/ticpp/ticpp4.lua
2
3421
--***************************************************************************** --* Author: RJP Computing <rjpcomputing@gmail.com> --* Date: 01/21/2008 --* Version: 1.02 --* Copyright (C) 2009 RJP Computing --* --* Permission is hereby granted, free of charge, to any person obtaining a copy of --* this softwar...
bsd-2-clause
Reza02100/iranmoltafet
plugins/ingroup.lua
202
31524
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Western_Adoulin/npcs/Dangueubert.lua
14
1682
----------------------------------- -- Area: Western Adoulin -- NPC: Dangueubert -- Type: Standard NPC and Quest NPC -- Involved with Quest: 'A Certain Substitute Patrolman' -- @zone 256 -- @pos 5 0 -136 256 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests")...
gpl-3.0
cypherkey/AvorionMission
sectors/cultists.lua
1
3183
package.path = package.path .. ";data/scripts/lib/?.lua" package.path = package.path .. ";data/scripts/?.lua" SectorGenerator = require ("SectorGenerator") Placer = require("placer") require("stringutility") local SectorTemplate = {} -- must be defined, will be used to get the probability of this sector function Sec...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Northern_San_dOria/npcs/Antonian.lua
17
2157
----------------------------------- -- Area: Northern San d'Oria -- NPC: Antonian -- Regional Marchant NPC -- Only sells when San d'Oria controlls Aragoneu. ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/No...
gpl-3.0
colesbury/nn
PixelShuffle.lua
9
4210
local PixelShuffle, parent = torch.class("nn.PixelShuffle", "nn.Module") -- Shuffles pixels after upscaling with a ESPCNN model -- Converts a [batch x channel*r^2 x m x p] tensor to [batch x channel x r*m x r*p] -- tensor, where r is the upscaling factor. -- @param upscaleFactor - the upscaling factor to use function ...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/globals/mobs.lua
22
1782
----------------------------------- -- Global version of onMobDeath ----------------------------------- package.loaded["scripts/globals/conquest"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/glob...
gpl-3.0
colesbury/nn
PairwiseDistance.lua
6
2840
local PairwiseDistance, parent = torch.class('nn.PairwiseDistance', 'nn.Module') function PairwiseDistance:__init(p) parent.__init(self) -- state self.gradInput = {} self.diff = torch.Tensor() self.norm = p or 2 -- Default using Euclidean distance end function PairwiseDistance:updateOutput(input) ...
bsd-3-clause
cheney247689848/Cloud-edge
Assets/Script_Lua/observer/L_MessageObserver.lua
1
1531
------------------------------------------------------------------- -- The Long night -- The night gives me black eyes, but I use it to find the light. -- In 2017 ------------------------------------------------------------------- require("core/observer/L_Observer") L_MessageObserver = {} setmetatable(L_MessageObserv...
mit
GUI/lua-libcidr-ffi
spec/libcidr-ffi_spec.lua
1
7481
describe("libcidr-ffi", function() local cidr = require "libcidr-ffi" describe("from_str", function() it("parses an ipv4 address", function() local result, err = cidr.from_str("1.1.1.1") assert.are.equal(type(result), "cdata") assert.are.equal(err, nil) end) it("parses an ipv4 addres...
mit
kerb9729/ESOPublicAddons
Teleporter/localization/FR.lua
2
1389
local mkstr = ZO_CreateStringId local SI = Teleporter.SI mkstr(SI.TELEWELCOMEMSG, Teleporter.var.color.colArtifact .."Luminary" .. Teleporter.var.color.colTeal.." téléporteur Loaded") mkstr(SI.TELEREFRESH, "Actualiser") mkstr(SI.TELECLOSE, "Proche") ---- Various messages mkstr(SI.TELE_UNABLE_TO_PORTAL, "Imp...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/zones/Port_San_dOria/npcs/Laucimercen.lua
17
1404
----------------------------------- -- Area: Port San d'Oria -- NPC: Laucimercen -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/decimation.lua
25
1538
----------------------------------- -- Decimation -- Axe weapon skill -- Skill level: 240 -- In order to obtain Decimation, the quest Axe the Competition must be completed. -- Delivers a three-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget, Light Gorget & A...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua
14
1031
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm4 (???) -- Notes: Opens west door @ J-9 -- @pos 92.542 -25.907 26.548 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Gidappa.lua
53
2317
----------------------------------- -- Area: Al Zahbi -- NPC: Gidappa -- Type: Clothcraft Normal/Adv. Image Support -- @pos 70.228 -7 -54.089 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Valley_of_Sorrows/npcs/relic.lua
14
1876
----------------------------------- -- Area: Valley of Sorrows -- NPC: <this space intentionally left blank> -- @pos -14 -3 56 128 ----------------------------------- package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Valley_of_Sorrows/TextIDs")...
gpl-3.0
ChannelIQ/qless-java
src/main/resources/jobs.lua
1
1985
-- Jobs(0, 'complete' | (('stalled' | 'running' | 'scheduled' | 'depends', 'recurring'), now, queue) [offset, [count]]) -- ------------------------------------------------------------------------------------------------------- -- -- Return all the job ids currently considered to be in the provided state -- in a partic...
mit
archiveds/telegram-bot
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
bmscoordinators/FFXI-Server
scripts/zones/Davoi/npcs/Bernal.lua
14
1152
----------------------------------- -- Area: Davoi -- NPC: Bernal -- @pos 177 -3 -127 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Davoi/...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua
27
2180
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement -- ENM Battlefield -- @pos -612 4 693 ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scrip...
gpl-3.0
Etiene/sailor
src/sailor/db/luasql_common.lua
2
7326
-------------------------------------------------------------------------------- -- luasql_common.lua, v0.5.2: DB module for connecting and querying through LuaSQL -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.org ---------------...
mit
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Meriri.lua
27
1180
----------------------------------- -- Area: Windurst Woods -- NPC: Meriri -- Guild Merchant NPC: Clothcrafting Guild -- @pos -76.471 -3.55 -128.341 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
team-astro/astro
scripts/astro/toolchains/nacl.lua
1
7124
module(..., package.seeall) local native = require "tundra.native" local platform = require "tundra.platform" local util = require "tundra.util" local path = require "tundra.path" local valid_arches = { "arm", "x86_32", "x86_64", "i686" } local valid_pnacl_arches = { nil, "pnacl" } local arch_name = { ["arm"] = "ar...
mit
KingofGamesYami/Advance-Turtle-Operating-Environment
startup.lua
1
3443
if not window then os.loadAPI( ".turtle/.apis/window" ) end os.loadAPI( ".turtle/.apis/clickmap") local deskMap = clickmap.new( "desktop" ) local menu = clickmap.new( "menu" ) showConsole = true function console() local x, y = term.getSize() console = window.create( term.current(), x/2, y/2, x/2, y/2 ) if sho...
mit
bmscoordinators/FFXI-Server
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua
14
2481
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sorrowful Sage -- Type: Assault Mission Giver -- @pos 134.096 0.161 -30.401 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Mhaura/npcs/Hagain.lua
17
2279
----------------------------------- -- Area: Mhaura -- NPC: Hagain -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/wind_shear.lua
36
1145
--------------------------------------------- -- 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 version th...
gpl-3.0
coreylynch/vgg-19-feature-extractor
data.lua
1
1368
local ffi = require 'ffi' local Threads = require 'threads' Threads.serialization('threads.sharedserialize') -- This script contains the logic to create K threads for parallel data-loading. -- For the data-loading details, look at worker.lua -----------------------------------------------------------------------------...
bsd-2-clause
luc-tielen/lua-quickcheck
spec/generators/any_spec.lua
2
1430
local random = require 'lqc.random' local any = require 'lqc.generators.any' local r = require 'lqc.report' local property = require 'lqc.property' local lqc = require 'lqc.quickcheck' local function do_setup() random.seed() lqc.init(100, 100) lqc.properties = {} r.report = function() end end local function i...
mit
bnetcc/darkstar
scripts/commands/togglegm.lua
50
1876
--------------------------------------------------------------------------------------------------- -- func: togglegm -- desc: Toggles a GMs nameflags/icon. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "" }; funct...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/vorpal_wheel.lua
37
1063
--------------------------------------------- -- Vorpal Wheel -- -- Description: Throws a slicing wheel at a single target. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Unknown -- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as his he...
gpl-3.0
mwoz123/koreader
plugins/newsdownloader.koplugin/lib/xml.lua
14
17777
--- -- Overview: -- ========= -- -- This module provides a non-validating XML stream parser in Lua. -- -- Features: -- ========= -- -- * Tokenises well-formed XML (relatively robustly) -- * Flexible handler based event API (see below) -- * Parses all XML Infoset elements - ie. -- - Tags...
agpl-3.0
bnetcc/darkstar
scripts/globals/effects/warcry.lua
34
1037
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 -----------...
gpl-3.0
sonoprob/0x56
bot/lua/green/dht11.lua
2
2584
-- Measure temperature, humidity and post data to thingspeak.com -- 2014 OK1CDJ -- DHT11 code is from esp8266.com ---Sensor DHT11 is conntected to GPIO0 pin = 3 -- GPIO0 = 3 GPIO2 = 4 Humidity = 0 HumidityDec=0 Temperature = 0 TemperatureDec=0 Checksum = 0 ChecksumTest=0 function getTemp() Humidity = 0 HumidityDec=0...
artistic-2.0
bnetcc/darkstar
scripts/zones/Southern_San_dOria/npcs/Shilah.lua
5
1779
----------------------------------- -- Area: Southern San dOria -- NPC: Shilah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require...
gpl-3.0
bnetcc/darkstar
scripts/zones/Castle_Oztroja/npcs/_47f.lua
5
1558
----------------------------------- -- Area: Castle Oztroja -- NPC: _47f (Handle) -- Notes: Opens door _471 -- !pos -182 -15 -19 151 ----------------------------------- require("scripts/zones/Castle_Oztroja/MobIDs"); require("scripts/globals/settings"); require("scripts/globals/status"); function onTrigger(player,n...
gpl-3.0
Mudlet/Mudlet
src/mudlet-lua/lua/Other.lua
3
37545
---------------------------------------------------------------------------------- --- Mudlet Unsorted Stuff ---------------------------------------------------------------------------------- mudlet = mudlet or {} mudlet.supports = { coroutines = true, namedPatterns = true, osVersion = true } -- enforce uniform...
gpl-2.0
bnetcc/darkstar
scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Orange.lua
5
2007
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Magian Moogle (Orange Bobble) -- Type: Magian Trials NPC (Weapon/Empyrean Armor) -- !pos -11 2.453 118 64 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
bnetcc/darkstar
scripts/zones/Konschtat_Highlands/npcs/Dimensional_Portal.lua
5
1099
----------------------------------- -- 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"); require("scripts...
gpl-3.0