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 |
|---|---|---|---|---|---|
warrenseine/premake | tests/solution/test_eachconfig.lua | 6 | 1477 | --
-- tests/solution/test_eachconfig.lua
-- Automated test suite for the solution-level configuration iterator.
-- Copyright (c) 2012 Jason Perkins and the Premake project
--
T.solution_eachconfig = { }
local suite = T.solution_eachconfig
--
-- Setup and teardown
--
local sln
function suite.setup()
sln = solu... | bsd-3-clause |
gedadsbranch/Darkstar-Mission | scripts/zones/Celennia_Memorial_Library/Zone.lua | 15 | 1349 | -----------------------------------
--
-- Zone: Celennia Memorial Library (284)
--
-----------------------------------
package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Celennia_Memorial_Libr... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 2 | 1427 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua | 2 | 2835 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pagisalis
-- Involved In Quest: Enveloped in Darkness
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
p-wassi/packages | utils/yunbridge/files/usr/bin/pretty-wifi-info.lua | 106 | 2067 | #!/usr/bin/lua
local function get_basic_net_info(network, iface, accumulator)
local net = network:get_network(iface)
local device = net and net:get_interface()
if device then
accumulator["uptime"] = net:uptime()
accumulator["iface"] = device:name()
accumulator["mac"] = device:mac()
accumulator["... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/sacred_sword.lua | 16 | 1410 | -----------------------------------------
-- ID: 17682
-- Sacred Sword
-- Additional effect: Light damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------... | gpl-3.0 |
Hostle/openwrt-luci-multi-user | applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widget.lua | 68 | 1039 | -- Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
local uci = require "luci.model.uci".cursor()
local dsp = require "luci.dispatcher"
local utl = require "luci.util"
local widget = uci:get("freifunk-widgets", arg[1], "template")
local title = uci:get("f... | apache-2.0 |
Vavius/moai-framework | src/gui/ScrollView.lua | 1 | 18125 | --------------------------------------------------------------------------------
--
--
--
--------------------------------------------------------------------------------
local Layer = require("core.Layer")
local Group = require("core.Group")
local Event = require("core.Event")
local Executors = require("core.Execu... | mit |
snabbco/snabb | lib/luajit/testsuite/test/lang/meta/index.lua | 6 | 1077 | do --- table 1
local t=setmetatable({}, {__index=function(t,k)
return 100-k
end})
for i=1,100 do assert(t[i] == 100-i) end
for i=1,100 do t[i] = i end
for i=1,100 do assert(t[i] == i) end
for i=1,100 do t[i] = nil end
for i=1,100 do assert(t[i] == 100-i) end
end
do --- table 2
local x
local t2... | apache-2.0 |
henry4k/konstrukt-pkman | packagemanager/repository.lua | 1 | 4294 | local lfs = require 'lfs'
local escapeUrl = require('socket.url').escape
local semver = require 'semver'
local path = require 'path'
local LocalPackage = require 'packagemanager/localpackage'
local DownloadManager = require 'packagemanager/downloadmanager'
local FS = require 'packagemanager/fs'
local Version ... | mit |
FishFilletsNG/fillets-data | script/map/dialogs_fr.lua | 1 | 2750 |
dialogId("map-v-mapa", "font_big", "Oh well. So that map really exists after all!")
dialogStr("Alors comme ça cette carte existe bel et bien !")
dialogId("map-m-mapa", "font_small", "Okay. Here is the map.")
dialogStr("Ok. La carte est là.")
dialogId("map-m-ukol", "font_small", "So it’s clear now that our goal is ... | gpl-2.0 |
gorkinovich/DefendersOfMankind | dependencies/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/doit.lua | 7 | 1776 | -- Generate binding code
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- Last update: Apr 2003
-- $Id: doit.lua 1141 2006-05-18 23:58:45Z lindquist $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Port_Bastok/npcs/Valah_Molkot.lua | 35 | 3185 | -----------------------------------
-- Area: Port Bastok
-- NPC: Valah Molkot
-- Starts and Finishes Quest: A Lady's Heart
-- @zone 236
-- @pos 59 8 -221
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Sacrificial_Chamber/bcnms/temple_of_uggalepih.lua | 2 | 2071 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Zilart Mission 4
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Yang.lua | 2 | 1291 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NM: Yang
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob,target)
end;
----------------------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Al_Zahbi/npcs/Nudahaal.lua | 12 | 2264 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Nudahaal
-- Type: Bonecraft Normal/Adv. Image Support
-- @pos -57.056 -7 -88.377 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/TextIDs"... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Northern_San_dOria/npcs/Morunaude.lua | 6 | 1370 | -----------------------------------
-- 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 |
Moodstocks/nn | CMulTable.lua | 31 | 1238 |
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module')
function CMulTable:__init()
parent.__init(self)
self.gradInput = {}
end
function CMulTable:updateOutput(input)
self.output:resizeAs(input[1]):copy(input[1])
for i=2,#input do
self.output:cmul(input[i])
end
return self.output
e... | bsd-3-clause |
hooksta4/darkstar | scripts/zones/zones/Inner_Horutoto_Ruins/Zone.lua | 2 | 4299 | -----------------------------------
--
-- Zone: Inner_Horutoto_Ruins (192)
--
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/In... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#3.lua | 12 | 1217 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#3
-- @pos -108 -6 -108 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("s... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Promyvion-Dem/mobs/Memory_Receptacle.lua | 12 | 6792 | -----------------------------------
-- Area: Promyvion-Dem
-- MOB: Memory Receptacle
-----------------------------------
package.loaded["scripts/zones/Promyvion-Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require( "scripts/zones/Promyvion-Dem/TextIDs" );
-... | gpl-3.0 |
oranagra/redis | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-3-clause |
gedadsbranch/Darkstar-Mission | scripts/zones/Bastok_Markets/npcs/Horatius.lua | 38 | 2104 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Horatius
-- Type: Quest Giver
-- Starts and Finishes: Breaking Stones
-- @pos -158.392 -5.839 -117.061 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/East_Ronfaure/npcs/Signpost.lua | 19 | 2134 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Signpost
-- Involved in Quest: To Cure a Cough
-- @pos 257 -45 212 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Windurst_Waters/npcs/Jatan-Paratan.lua | 6 | 3141 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jatan-Paratan
-- Starts and Finished Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -59 -4 22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Windurst_Waters/npcs/Jatan-Paratan.lua | 6 | 3141 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jatan-Paratan
-- Starts and Finished Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -59 -4 22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Sacrarium/npcs/qm4.lua | 2 | 1688 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm4 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 22.669 -3.111 127.279 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/Text... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/West_Ronfaure/npcs/Signpost.lua | 17 | 1282 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Signpost
-- @zone 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
fu... | gpl-3.0 |
warrenseine/premake | src/base/action.lua | 1 | 3577 | --
-- action.lua
-- Work with the list of registered actions.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
premake.action = { }
--
-- The list of registered actions.
--
premake.action.list = { }
--
-- Register a new action.
--
-- @param a
-- The new action object.
--
function premake... | bsd-3-clause |
gedadsbranch/Darkstar-Mission | scripts/globals/items/plate_of_bream_sushi_+1.lua | 35 | 1470 | -----------------------------------------
-- ID: 5177
-- Item: plate_of_bream_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 5
-- Accuracy % 17
-- Ranged ACC % 17
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua | 34 | 1106 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm6 (???)
-- Notes: Opens door @ J-8 from behind
-- @pos 105.502 -25.262 57.138 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Southern_San_dOria/npcs/Endracion.lua | 2 | 5905 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Endracion
-- @pos -110 1 -34 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Southern_San_dOria/npcs/Endracion.lua | 2 | 5905 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Endracion
-- @pos -110 1 -34 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/bowl_of_navarin.lua | 35 | 1877 | -----------------------------------------
-- ID: 4439
-- Item: Bowl of Navarin
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Agility 1
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Evasion 5
-- Ranged ATT % 27
-- Ranged ATT... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 16 | 1195 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextID... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 16 | 1195 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextID... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Arrapago_Reef/npcs/Meyaada.lua | 2 | 2001 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Meyaada
-- @pos 22.446 -7.920 573.390 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
req... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Arrapago_Reef/npcs/Meyaada.lua | 2 | 2001 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Meyaada
-- @pos 22.446 -7.920 573.390 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
req... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua | 16 | 2897 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Torino-Samarino
-- Type: Quest NPC
-- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out
-- @pos 105 -20 140 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
require("scripts/glob... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/weaponskills/victory_smite.lua | 30 | 1634 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget,... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hajawaa.lua | 36 | 4458 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hajawaa
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorst... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Avatar_Icon.lua | 1 | 3513 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Avatar Icon
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Feretory/Zone.lua | 32 | 1164 | -----------------------------------
--
-- Zone: Feretory
--
-----------------------------------
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Marjami_Ravine/TextIDs");
-----------------------------------
--... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Andras.lua | 2 | 1208 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Andras
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEnga... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Southern_San_dOria/npcs/Parvipon.lua | 2 | 2302 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Parvipon
-- Starts and Finishes Quest: The Merchant's Bidding (R)
-- @zone 230
-- @pos -169 -1 13
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/mobskills/PW_Acheron_Flame.lua | 6 | 1607 | ---------------------------------------------
-- Acheron Flame
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or low... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Southern_San_dOria/npcs/Adaunel.lua | 17 | 1598 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Adaunel
-- General Info NPC
-- @zone 230
-- @pos 80 -7 -22
------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua | 5 | 1317 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6551; -- Obtained: <item>.
GIL_OBTAINED = 6552; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6554; -- Obtained... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/spells/bluemagic/enervation.lua | 18 | 2037 | -----------------------------------------
-- Spell: Enervation
-- Lowers the defense and magical defense of enemies within range
-- Spell cost: 48 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 5
-- Stat Bonus: HP-5, MP+5
-- Level: 67
-- Casting Time: 6 seconds
-- Recast Time... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/weaponskills/thunder_thrust.lua | 28 | 1289 | -----------------------------------
-- Thunder Thrust
-- Polearm weapon skill
-- Skill Level: 30
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:40% ; IN... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Yughott_Grotto/npcs/HomePoint#1.lua | 12 | 1255 | -----------------------------------
-- Area: Yughott_Grotto
-- NPC: HomePoint#1
-- @pos 434 -40.299 171 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Yughott_Grotto/TextIDs");
require("script... | gpl-3.0 |
instead-hub/plainstead | build/stead/stead2/sound.lua | 2 | 1192 | stead.sound_load = instead_sound_load
stead.sound_free = instead_sound_free
stead.sounds_free = instead_sounds_free
stead.sound_channel = instead_sound_channel
stead.sound_volume = instead_sound_volume
stead.sound_panning = instead_sound_panning
stead.sound_load_mem = instead_sound_load_mem
stead.music_callback = inste... | mit |
gedadsbranch/Darkstar-Mission | scripts/globals/weaponskills/vorpal_thrust.lua | 30 | 1397 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: Non... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Northern_San_dOria/npcs/Justi.lua | 36 | 1852 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Justi
-- Conquest depending furniture seller
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
aoseeh003/aoooose | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
syhunt/community | src/PenTools/Scripts/SearchSource.lua | 2 | 2041 | SearchSource = {}
SearchSource.uitable = 'SearchSource.ui'
SearchSource.page = [[
<style>body { overflow-x: hidden; }</style>
<input id="searchtext" type=text style="width:300px;" value="" novalue="Find...">
<button onclick="SearchSource:go()">Search</button>
<button type="checkbox" id="matchcase" c... | bsd-3-clause |
hooksta4/darkstar | scripts/zones/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua | 2 | 3230 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Treasure Coffer
-- @zone 160
-- @pos
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
FishFilletsNG/fillets-data | script/key/dialogs_en.lua | 1 | 3262 | dialogId("start-0", "font_small", "Look, someone’s built a lock in the stone.")
dialogId("start-1", "font_big", "Where do you see a lock? I only see I can’t leave through the door.")
dialogId("start-2", "font_small", "There is a lock here somewhere. The key is down there.")
dialogId("start-3", "font_big", "I can’t l... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/zones/Southern_San_dOria/npcs/Valeriano.lua | 4 | 1945 | -----------------------------------
-- Area: Southern_San_dOria
-- NPC: Valeriano
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requ... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/abilities/light_shot.lua | 10 | 2773 | -----------------------------------
-- Ability: Light Shot
-- Consumes a Light Card to enhance light-based debuffs. Additional effect: Light-based Sleep
-- Dia Effect: Defense Down Effect +5% and DoT + 1
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Phomiuna_Aqueducts/npcs/_0ro.lua | 2 | 1552 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Bastok_Markets/npcs/Loulia.lua | 37 | 1076 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Loulia
-- Type: Room Renters
-- @zone: 235
-- @pos -176.212 -9 -25.049
--
-- Auto-Script: Requires Verification. Validated standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Tex... | gpl-3.0 |
rrampage/monitor | lua/controllers/traces_controller.lua | 2 | 2386 | local h = require 'controller_helpers'
local m = require 'model_helpers'
local Event = require 'models.event'
local Trace = require 'models.trace'
local inspect = require 'inspect'
local NOT_FOUND = 'trace not found'
local function search(params)
return h.jor_conditions_and_options(params)
end
local traces = ... | mit |
gedadsbranch/Darkstar-Mission | scripts/zones/Northern_San_dOria/npcs/Galahad.lua | 38 | 1031 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Galahad
-- Type: Consulate Representative NPC
-- @zone: 231
-- @pos -51.984 -2.000 -15.373
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/Tex... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Galahad.lua | 38 | 1031 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Galahad
-- Type: Consulate Representative NPC
-- @zone: 231
-- @pos -51.984 -2.000 -15.373
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/Tex... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Port_Jeuno/npcs/Jaipal.lua | 2 | 1215 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Jaipal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/loaf_of_homemade_bread.lua | 35 | 1131 | -----------------------------------------
-- ID: 5228
-- Item: loaf_of_homemade_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
AnySDK/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/BatchNode.lua | 10 | 1026 |
--------------------------------
-- @module BatchNode
-- @extend Node
-- @parent_module ccs
--------------------------------
-- js NA
-- @function [parent=#BatchNode] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#BatchNode] creat... | mit |
hooksta4/darkstar | scripts/globals/spells/bluemagic/occultation.lua | 46 | 1612 | -----------------------------------------
-- Spell: Occultation
-- Creates shadow images that each absorb a single attack directed at you
-- Spell cost: 138 MP
-- Monster Type: Seethers
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+3 CHR-2
-- Level: 88
-- Casting Time: 2 seconds
-- Recast Ti... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/bunny_ball.lua | 35 | 1739 | -----------------------------------------
-- ID: 4349
-- Item: Bunny Ball
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30
-- Attack Cap 25
-- Ranged ATT % 30
-- Ranged ATT Cap 25
-------------------------... | gpl-3.0 |
alihosseni/ssss | plugins/msg-checks.lua | 1 | 9571 | --Begin msg_checks.lua
local TIME_CHECK = 2
local function pre_process(msg)
local data = load_data(_config.moderation.data)
local chat = msg.chat_id_
local user = msg.sender_user_id_
local is_channel = gp_type(chat) == "channel"
local is_chat = gp_type(chat) == "chat"
local auto_leave = 'auto_leave_bot'
local data = lo... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Valkurm_Dunes/npcs/Stone_Monument.lua | 32 | 1285 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -311.299 -4.420 -138.878 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Davoi/npcs/_459.lua | 18 | 1116 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Dark Arts
-- Involved in Mission: Magicite
-- @pos -22 1 -66 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/D... | gpl-3.0 |
steamraven/mongrel2 | examples/bbs/engine.lua | 96 | 1958 | local print = print
local pcall = pcall
local coroutine = coroutine
local ui = require 'ui'
local db = require 'db'
module 'engine'
local STATE = {}
function run(conn, engine)
while true do
-- Get a message from the Mongrel2 server
local good, request = pcall(conn.recv_json, conn)
if goo... | bsd-3-clause |
p5n/notion | contrib/styles/look_awesome.lua | 4 | 4340 | -- Authors: Unknown
-- License: Unknown
-- Last Changed: Unknown
--
-- look-awesome.lua drawing engine configuration file for Ion.
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#99A",
highlight_colour = "#99A",
background_colour = "#667",
foreground_colo... | lgpl-2.1 |
snabbco/snabb | lib/luajit/testsuite/test/lib/ffi/cdata_var.lua | 6 | 1108 | local ffi = require("ffi")
do --- byte array allocations
local typ = ffi.typeof"uint8_t[?]"
for i = 4, 24 do
for d = -5, 5 do
local sz = 2^i + d
assert(ffi.sizeof(typ, sz) == sz)
local mem = ffi.new(typ, sz)
assert(ffi.sizeof(mem) == sz)
mem[0] = 0x21
mem[1] = 0x32
mem... | apache-2.0 |
pieterlexis/pdns | modules/lua2backend/regression-tests/lua2-dnssec.lua | 8 | 4314 | dns_dnssec = true
domains = { "test.invalid.", "test.unit." }
records = {}
records["test.invalid."] = {
SOA = { "ns1.test.invalid. root.test.invalid. 20180115 1 2 3 4" },
NS = { "ns1.test.invalid.", "ns2.test.invalid." },
TXT = { "\"this is a test record\" \"in two parts\"" }
}
records["ns1.test.invalid."] = ... | gpl-2.0 |
hooksta4/darkstar | scripts/globals/mobskills/Randgrith.lua | 19 | 1028 | ---------------------------------------------
-- Randgrith
--
-- Description: Lowers target's evasion.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
jpuigcerver/Laia | laia/WeightDecayRegularizer.lua | 1 | 2345 | require 'laia.ClassWithOptions'
local WeightDecayRegularizer, Parent = torch.class(
'laia.WeightDecayRegularizer', 'laia.ClassWithOptions')
function WeightDecayRegularizer:__init()
Parent.__init(self)
self._opt.weight_l1_decay = 0
self._opt.weight_l2_decay = 0
end
-- loss = the loss value to regularize
-- m... | mit |
chihyang/koreader | frontend/ui/widget/opdsbrowser.lua | 2 | 22856 | local MultiInputDialog = require("ui/widget/multiinputdialog")
local ButtonDialog = require("ui/widget/buttondialog")
local InfoMessage = require("ui/widget/infomessage")
local LoginDialog = require("ui/widget/logindialog")
local OPDSParser = require("ui/opdsparser")
local NetworkMgr = require("ui/networkmgr")
local UI... | agpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Southern_San_dOria_[S]/npcs/Dilgeur.lua | 6 | 1065 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Dilgeur -- Misnamed NPC, name is Crochepallade when it should be Dilgeur, swap pos with the NPC at -46 2 -8
-- @zone 80
-- @pos 22 2 3
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = ... | gpl-3.0 |
snabbco/snabb | src/apps/ipfix/maps.lua | 2 | 4901 | module(..., package.seeall)
local ffi = require("ffi")
local lib = require("core.lib")
local ctable = require("lib.ctable")
local ethernet = require("lib.protocol.ethernet")
local ipv4 = require("lib.protocol.ipv4")
local ipv6 = require("lib.protocol.ipv6")
local poptrie = require("lib.poptrie")
l... | apache-2.0 |
omid1212/wwww | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
mynameiscraziu/godvare | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/zones/Chamber_of_Oracles/TextIDs.lua | 9 | 1386 | -- 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 = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
catinred2/skynet | service/cslave.lua | 50 | 6448 | local skynet = require "skynet"
local socket = require "socket"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
local monitor = {}
local monitor_master_set = {}
local ... | mit |
prosody-modules/import2 | mod_message_logging/mod_message_logging.lua | 32 | 3943 | module:set_global();
local jid_bare = require "util.jid".bare;
local jid_split = require "util.jid".split;
local stat, mkdir = require "lfs".attributes, require "lfs".mkdir;
-- Get a filesystem-safe string
local function fsencode_char(c)
return ("%%%02x"):format(c:byte());
end
local function fsencode(s)
return (s:... | mit |
gedadsbranch/Darkstar-Mission | scripts/globals/items/plate_of_shrimp_sushi_+1.lua | 35 | 1614 | -----------------------------------------
-- ID: 5692
-- Item: plate_of_shrimp_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 5
-- Accuracy % 12 (unknown, assuming HQ stat)
-- Store TP 2
-- Triple Attack 1 (unknown, assuming same as NQ)
-----------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Bastok_Markets/npcs/Pavel.lua | 30 | 1775 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Pavel
-- Involved in Quest: Stamp Hunt
-- @pos -349.798 -10.002 -181.296 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requi... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Tahrongi_Canyon/npcs/qm2.lua | 2 | 2340 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: qm2 (???)
-- Note: Used to spawn Yara Ma Yha Who
-- @pos 271 0.001 -334 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/setting... | gpl-3.0 |
snabbco/snabb | src/lib/io/virtual_ether_mux.lua | 9 | 3569 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local pci = require("lib.hardware.pci")
local RawSocket = require("apps.socket.raw").RawSocket
local LearningBridge = require("apps.bridge.learning").bridge
local FloodingBridge = require("apps.bridge.flooding").... | apache-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Southern_San_dOria/npcs/Ambrotien.lua | 19 | 5884 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ambrotien
-- @pos 93.419 -0.001 -57.347 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/k... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Port_Bastok/npcs/Evi.lua | 2 | 1915 | -----------------------------------
-- Area: Port Bastok
-- NPC: Evi
-- Starts Quests: Past Perfect (100%)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Eastern_Adoulin/Zone.lua | 16 | 1192 | -----------------------------------
--
-- Zone: Eastern Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/zones/Eastern_Adoulin/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
p5n/notion | contrib/styles/look_cool.lua | 3 | 5054 | -- Authors: Unknown
-- License: Unknown
-- Last Changed: Unknown
--
-- look-awesome.lua drawing engine configuration file for Ion.
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#3C5268",
highlight_colour = "#9DAABA",
background_colour = "#3C5268",
foregr... | lgpl-2.1 |
RAlexis/ArcEmu_MoP | src/scripts/lua/Lua/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Shadikith.lua | 30 | 1115 | function Shadikith_Charge(Unit, event, miscunit, misc)
print "Shadikith Charge"
Unit:FullCastSpellOnTarget(38461,Unit:GetRandomPlayer())
Unit:SendChatMessage(11, 0, "Charge...")
end
function Shadikith_Sonic_Burst(Unit, event, miscunit, misc)
print "Shadikith Sonic Burst"
Unit:FullCastSpellOnTarget(39052,Unit:GetC... | agpl-3.0 |
luyulong/ABTestingGateway | lib/abtesting/diversion/uidappoint.lua | 9 | 2760 | local modulename = "abtestingDiversionUidappoint"
local _M = {}
local mt = { __index = _M }
_M._VERSION = "0.0.1"
local ERRORINFO = require('abtesting.error.errcode').info
local k_uid = 'uid'
local k_uidset = 'uidset'
local k_upstream= 'upstream'
_M.new = function(self, database, policyLib)
if not da... | mit |
hooksta4/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua | 30 | 3592 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Yahsra
-- Type: Assault Mission Giver
-- @pos 120.967 0.161 -44.002 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyi... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Dynamis-Tavnazia/mobs/Nightmare_Leech.lua | 17 | 1502 | -----------------------------------
-- Area: Dynamis Tavnazia
-- NPC: Nightmare_Leech
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs");... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.