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 |
|---|---|---|---|---|---|
AnySDK/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/SpriteTest/SpriteTest.lua | 16 | 54063 | local size = cc.Director:getInstance():getWinSize()
local kTagTileMap = 1
local kTagSpriteBatchNode = 1
local kTagNode = 2
local kTagAnimation1 = 1
local kTagSpriteLeft = 2
local kTagSpriteRight = 2
local kTagSprite1 = 0
local kTagSprite2 = 1
local kTagSprite3 = 2
local kTagSprite4 = 3
local kTagSprite5 = 4
local kTag... | mit |
Creedsteam/Persian_Creed | plugins/ingroup.lua | 1 | 62598 | do
--check Member
local function check_member_autorealm(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[tostri... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/tavnazian_salad.lua | 35 | 1678 | -----------------------------------------
-- ID: 4279
-- Item: tavnazian_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Defense % 25
-- Defense Cap 150
------------------------------------... | gpl-3.0 |
AntonioModer/kraidGUI | kraidGUI/widgets/treeview.lua | 1 | 1645 | function getModule(gui)
local TreeView = gui.internal.class(gui.widgets.Base)
function TreeView:init(params)
self.type = "TreeView"
self.position = {0, 0}
self.width = 100
self.height = 20
self.multiSelect = true -- if this is false self.selected will still be a table
... | mit |
gedadsbranch/Darkstar-Mission | scripts/globals/items/kalamar.lua | 18 | 1255 | -----------------------------------------
-- ID: 5448
-- Item: Kalamar
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Den_of_Rancor/npcs/_4g3.lua | 2 | 2049 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (SW)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs")... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | 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 |
hooksta4/darkstar | scripts/zones/zones/Temenos/mobs/Ice_Elemental.lua | 2 | 1660 | -----------------------------------
-- Area: Temenos E T
-- NPC: Ice_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------------------... | gpl-3.0 |
FishFilletsNG/fillets-data | script/map/dialogs_pl.lua | 1 | 2523 |
dialogId("map-v-mapa", "font_big", "Oh well. So that map really exists after all!")
dialogStr("No proszę, to ta mapa naprawdę istnieje!")
dialogId("map-m-mapa", "font_small", "Okay. Here is the map.")
dialogStr("Dobra, mamy mapę.")
dialogId("map-m-ukol", "font_small", "So it’s clear now that our goal is to get tha... | gpl-2.0 |
snabbco/snabb | src/program/lwaftr/quickcheck/utils.lua | 10 | 3042 | module(...,package.seeall)
local S = require("syscall")
function gmtime()
local tv = S.gettimeofday()
local secs = tonumber(tv.tv_sec)
secs = secs + tonumber(tv.tv_usec) * 1e-6
return secs
end
function concat(a, b)
local ret = {}
for _, v in ipairs(a) do table.insert(ret, v) end
for _, v in ipai... | apache-2.0 |
FishFilletsNG/fillets-data | script/chest/dialogs_de.lua | 1 | 3322 |
dialogId("tru-v-nasly", "font_big", "So we have finally found it.")
dialogStr("Haben wir ihn endlich gefunden.")
dialogId("tru-m-co", "font_small", "What?")
dialogStr("Was?")
dialogId("tru-v-poklad", "font_big", "Captain Silver’s treasure, of course.")
dialogStr("Na Kapitän Silvers Schatz!")
dialogId("tru-v-gral... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/RuLude_Gardens/npcs/Laityn.lua | 17 | 1187 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Laityn
-- Involved In Quest: Recollections
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
4aiman/MultiCraft_game | mods/default/craftitems.lua | 1 | 6105 | -- mods/default/craftitems.lua
--
-- Crafting items
--
multicraft.register_craftitem("default:stick", {
description = "Stick",
inventory_image = "default_stick.png",
stack_max = 64,
groups = {materials = 1},
})
multicraft.register_craftitem("default:paper", {
description = "Paper",
inventory... | lgpl-3.0 |
doroodzan/DragonBot | plugins/all.lua | 184 | 4452 | do
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['..user_id..']'
return u... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/Bastok_Markets/npcs/Hortense.lua | 16 | 1909 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Hortense
-- 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("scripts/... | gpl-3.0 |
eulerreich/dp | test/test-cuda.lua | 7 | 15025 | local mytester
local dptest = {}
local mediator = dp.Mediator()
function dptest.dataview()
local data = torch.rand(3,4)
local sizes = {3, 4}
local dv = dp.DataView('bf', data)
local f = dv:forward('bf', 'torch.CudaTensor')
mytester:assert(f:type() == 'torch.CudaTensor')
mytester:asserteq(f:dim(),2)
... | bsd-3-clause |
gedadsbranch/Darkstar-Mission | scripts/globals/items/ogre_eel.lua | 17 | 1389 | -----------------------------------------
-- ID: 4481
-- Item: ogre_eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/spells/drain_ii.lua | 13 | 1888 | -----------------------------------------
-- Spell: Drain II
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnSpellCast
... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Inner_Horutoto_Ruins/npcs/_5cc.lua | 4 | 1030 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cc (Gate of Ice)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Ifrits_Cauldron/npcs/Flame_Spout.lua | 2 | 1536 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Flame Spout
-- @pos 193.967 -0.400 19.492 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrad... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/weaponskills/stardiver.lua | 30 | 1549 | -----------------------------------
-- Stardiver
-- Polearm weapon skill
-- Skill Level: MERIT
-- Delivers a fourfold attack. Damage varies with TP.
-- Will stack with Sneak Attack. reduces params.crit hit evasion by 5%
-- Element: None
-- Modifiers: STR:73~85%
-- 100%TP 200%TP 300%TP
-- 0.75 1.25 ... | gpl-3.0 |
sevenbot/telesevenbot | plugins/sudoers.lua | 86 | 2292 | 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(receiver, '... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/zones/North_Gustaberg_[S]/npcs/Barricade.lua | 19 | 1108 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Barricade
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Lower_Jeuno/npcs/Chetak.lua | 37 | 1430 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chetak
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/abilities/wind_shot.lua | 22 | 2984 | -----------------------------------
-- Ability: Wind Shot
-- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage
-- Choke Effect: Enhanced DoT and VIT-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Grounds_Tome.lua | 2 | 1120 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua | 17 | 1834 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: Full Moon Fountain
-- @pos -291 0 -659 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Kazham/npcs/Nti_Badolsoma.lua | 15 | 1053 | -----------------------------------
-- Area: Kazham
-- NPC: Nti Badolsoma
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
zhester/archive | wowlua/RetsehAnnounce.lua | 1 | 4151 |
-- Global variables.
RetsehAnnounce_Globals = {
-- The time the MD was cast.
sent = nil,
-- The last time MD faded.
lastFade = 0,
-- Stores the name of the MD target.
target = "",
-- Duraction of the MD buff.
duration = 30,
-- Is the mod listening for events.
isListening = false,
--... | bsd-2-clause |
FishFilletsNG/fillets-data | script/key/models.lua | 1 | 6123 |
createRoom(37, 36, "images/"..codename.."/background.png")
setRoomWaves(5, 10, 5)
room = addModel("item_fixed", 0, 0,
[[
XXXXXXXXXX...X..........XXXXXXXXXXXXX
XX.X.X.XXX...X......X...XXXXXXXXXXXXX
XX.X.X.XXXXX.XX........XXXXXXXXXXXXXX
XX.X.X.XXXXX........XXXXX....XXXXXXXX
XX.X.X.X.........................XXXX
XX.X.X.... | gpl-2.0 |
Hostle/openwrt-luci-multi-user | applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua | 79 | 1554 | -- 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.
m = Map("coovachilli")
-- radius server
s1 = m:section(TypedSection, "radius")
s1.anonymous = true
s1:option( Value, "radiusserver1" )
s1:option( Value, "rad... | apache-2.0 |
hooksta4/darkstar | scripts/zones/FeiYin/npcs/Strange_Apparatus.lua | 31 | 1106 | -----------------------------------
-- Area: FeiYin
-- NPC: Strange Apparatus
-- @pos -94 -15 220 204
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
require("scripts/zones/FeiYin/TextIDs");
require("scripts/globals/strangeapparatus");
-----------------------------------
--... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Port_Jeuno/npcs/HomePoint#1.lua | 2 | 1193 | -----------------------------------
-- Area: Port Jeuno
-- NPC: HomePoint#1
-- @pos 37.076 0.001 8.831 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/homepoint... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Northern_San_dOria/npcs/Fittesegat.lua | 38 | 1029 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Fittesegat
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 144.250 0.000 138.203
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs"... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Fittesegat.lua | 38 | 1029 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Fittesegat
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 144.250 0.000 138.203
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs"... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/PsoXja/npcs/_092.lua | 2 | 1549 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _092 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextI... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Palborough_Mines/npcs/_3z7.lua | 58 | 1142 | -----------------------------------
-- Elevator in Palborough
-- Notes: Used to operate Elevator @3z0
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
re... | gpl-3.0 |
Creedsteam/Persian_Creed | plugins/arabic_lock.lua | 11 | 1093 |
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 |
hooksta4/darkstar | scripts/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/zones/Southern_San_dOria/npcs/Kueh_Igunahmori.lua | 34 | 1274 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kueh Igunahmori
-- Guild Merchant NPC: Leathercrafting Guild
-- @pos -194.791 -8.800 13.130 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/icanheararainbow.lua | 29 | 7834 | -- 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
--... | gpl-3.0 |
rrampage/monitor | lua/resty/sha384.lua | 13 | 1058 | -- Copyright (C) by Yichun Zhang (agentzh)
local sha512 = require "resty.sha512"
local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local C = ffi.C
local setmetatable = setmetatable
local error = error
local _M = { _VERSION = '0.09' }
local mt = { __index = _M }
ffi.cdef[[
int SHA384_I... | mit |
gedadsbranch/Darkstar-Mission | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ekhu_Pesshyadha.lua | 19 | 1762 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ekhu Pesshyadha
-- Type: Standard NPC
-- @pos -13.043 0.999 103.423 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
Adirelle/AdiSpellHUD | modules/SpellOverlay.lua | 1 | 7430 | --[[
AdiSpellHUD - Spell overlay customization and spell state HUD.
Copyright 2011-2013 Adirelle (adirelle@gmail.com)
All rights reserved.
This file is part of AdiSpellHUD.
AdiSpellHUD 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... | gpl-3.0 |
unigent/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/modules/base/luasrc/i18n.lua | 77 | 3182 | --[[
LuCI - Internationalisation
Description:
A very minimalistic but yet effective internationalisation module
FileId:
$Id$
License:
Copyright 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 ... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | 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 |
tidalscale-frankh/sysbench-olap | sysbench/tests/db/oltp/insert.lua | 2 | 1154 | pathtest = string.match(test, "(.*/)") or ""
dofile(pathtest .. "common.lua")
function thread_init(thread_id)
set_vars()
end
function event(thread_id)
local table_name
local i
local c_val
local k_val
local pad_val
table_name = "sbtest".. sb_rand_uniform(1, oltp_tables_count)
k_val = sb_rand... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/effects/weakness.lua | 19 | 1566 | -----------------------------------
--
-- Weakness
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--reduce HP and MP by the power amount. Add... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Ifrits_Cauldron/npcs/Grounds_Tome.lua | 34 | 1143 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrad... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 6 | 1262 | -----------------------------------
-- 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 |
snabbco/snabb | lib/ljsyscall/syscall/linux/c.lua | 4 | 40793 | -- This sets up the table of C functions
-- this should be generated ideally, as it is the ABI spec
--[[
Note a fair number are being deprecated, see include/uapi/asm-generic/unistd.h under __ARCH_WANT_SYSCALL_NO_AT, __ARCH_WANT_SYSCALL_NO_FLAGS, and __ARCH_WANT_SYSCALL_DEPRECATED
Some of these we already don't use, ... | apache-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Mhaura/npcs/Yabby_Tanmikey.lua | 17 | 1190 | -----------------------------------
-- Area: Mhaura
-- NPC: Yabby Tanmikey
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -36.459 -16.000 76.840 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Waughroon_Shrine/bcnms/operation_desert_swarm.lua | 2 | 1779 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Operation desert swarm
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zo... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Windurst_Woods/npcs/Nhobi_Zalkia.lua | 30 | 1614 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Nhobi Zalkia
-- Only sells when Windurst controlls Kuzotz Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/g... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/flame_claymore.lua | 16 | 1031 | -----------------------------------------
-- ID: 16588
-- Item: Flame Claymore
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Castle_Zvahl_Baileys/TextIDs.lua | 9 | 1092 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained: <item>.
GIL_OBTAINED = 6544; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6546; -- Obtained... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Sea_Serpent_Grotto/npcs/_4w3.lua | 2 | 2622 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Mythril Beastcoin Door
-- @zone 176
-- @pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Selbina/npcs/Boris.lua | 38 | 1030 | ----------------------------------
-- Area: Selbina
-- NPC: Boris
-- Type: Item Deliverer
-- @pos 61.074 -14.655 -7.1 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Nebiros.lua | 19 | 1259 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Decarabia
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
fun... | gpl-3.0 |
actboy168/vscode-lua-debug | docs/remotedebug/hookmgr.lua | 1 | 2861 | ---
---@class RemoteDebugHookmgr
---在调试器VM提供了一个hook管理器。理论上它可以用visitor提供的API,完全由Lua实现。但出于对性能的考虑,所以将hook的管理有C++实现,这也是remotedebug中唯一考虑了性能的一个模块。
---
local hookmgr = {}
---
---@param callback fun(name:string,...):boolean|nil
---初始化hookmgr,并注册一个回调函数。当有事件被触发时,会调用回调函数。事件可以是rdebug.probe/rdebug.event触发的,也可以是hookmgr内部触发的内置事件。
--... | mit |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Helaku.lua | 2 | 2896 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Helaku
-- Involved in Missions 2-3
-- @zone 231
-- @pos 49 -2 -12
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/mobskills/Tourbillion.lua | 6 | 1222 | ---------------------------------------------
-- Tourbillion
--
-- Description: Delivers an area attack. Additional effect duration varies with TP. Additional effect: Weakens defense.
-- Type: Physical
-- Shadow per hit
-- Range: Unknown range
---------------------------------------------
require("/scripts/globals... | gpl-3.0 |
Shayan123456/mehbot | 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 |
AnySDK/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua | 10 | 1192 |
--------------------------------
-- @module TurnOffTiles
-- @extend TiledGrid3DAction
-- @parent_module cc
--------------------------------
--
-- @function [parent=#TurnOffTiles] turnOnTile
-- @param self
-- @param #vec2_table pos
--------------------------------
--
-- @function [parent=#TurnOffTiles] tur... | mit |
gedadsbranch/Darkstar-Mission | scripts/globals/items/choco-ligar.lua | 36 | 1156 | -----------------------------------------
-- ID: 5919
-- Item: Choco-ligar
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Vitality 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Temenos/mobs/Fire_Elemental.lua | 2 | 1601 | -----------------------------------
-- Area: Temenos E T
-- NPC: Fire_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Alzadaal_Undersea_Ruins/npcs/qm4.lua | 16 | 1197 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Wulgaru(ZNM T2))
-- @pos -22 -4 204 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/T... | gpl-3.0 |
Vavius/moai-framework | src/core/Runtime.lua | 1 | 2261 | ----------------------------------------------------------------------------------------------------
-- @type Runtime
--
-- This is a utility class which starts immediately upon library load
-- and acts as the single handler for ENTER_FRAME events (which occur
-- whenever Moai yields control to the Lua subsystem on eac... | mit |
warrenseine/premake | src/actions/vstudio/vs2010_vcxproj.lua | 1 | 32288 | --
-- vs2010_vcxproj.lua
-- Generate a Visual Studio 201x C/C++ project.
-- Copyright (c) 2009-2014 Jason Perkins and the Premake project
--
premake.vstudio.vc2010 = {}
local p = premake
local vc2010 = p.vstudio.vc2010
local vstudio = p.vstudio
local project = p.project
local config = p.config
local fileconfig... | bsd-3-clause |
p-wassi/packages | net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/spells/absorb-int.lua | 11 | 1199 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Windurst_Woods/npcs/Illu_Bohjaa.lua | 6 | 2086 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Illu Bohjaa
-- Starts the repeatable quest "Creepy Crawlies"
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
req... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Norg/npcs/Ryoma.lua | 1 | 4275 | -----------------------------------
-- Area: Norg
-- NPC: Ryoma
-- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will
-- Involved in Quest: Ayame and Kaede
-- @pos -23 0 -9 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
kkragenbrink/shroud-addon | lib/AceGUI-3.0/AceGUI-3.0.lua | 47 | 23674 | --- **AceGUI-3.0** provides access to numerous widgets which can be used to create GUIs.
-- AceGUI is used by AceConfigDialog to create the option GUIs, but you can use it by itself
-- to create any custom GUI. There are more extensive examples in the test suite in the Ace3
-- stand-alone distribution.
--
-- **Note**:... | mit |
kkragenbrink/shroud-addon | lib/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/AceGUI-3.0.lua | 47 | 23674 | --- **AceGUI-3.0** provides access to numerous widgets which can be used to create GUIs.
-- AceGUI is used by AceConfigDialog to create the option GUIs, but you can use it by itself
-- to create any custom GUI. There are more extensive examples in the test suite in the Ace3
-- stand-alone distribution.
--
-- **Note**:... | mit |
prosody-modules/import2 | mod_service_directories/mod_service_directories.lua | 32 | 5943 | -- Prosody IM
-- Copyright (C) 2011 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- An implementation of [XEP-0309: Service Directories]
-- Imports and defines
local st = require "util.stanza";
local jid_split = require "util.jid"... | mit |
hooksta4/darkstar | scripts/zones/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 |
adiyoss/DeepVOT | back_end_old_structure/validate.lua | 1 | 1500 | require 'torch' -- torch
require 'xlua' -- xlua provides useful tools, like progress bars
require 'optim' -- an optimization package, for online and batch methods
print '==> defining validate procedure'
-- test function
function validate(data)
-- local vars
local time = sys.clock()
-- set model to ... | mit |
attilaz/bgfx | 3rdparty/spirv-headers/include/spirv/unified1/spirv.lua | 1 | 41636 | -- Copyright (c) 2014-2019 The Khronos Group Inc.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and/or associated documentation files (the "Materials"),
-- to deal in the Materials without restriction, including without limitation
-- the rights to use, copy, mod... | bsd-2-clause |
gedadsbranch/Darkstar-Mission | scripts/zones/Bastok_Markets/npcs/Belizieg.lua | 38 | 1124 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Belizieg
-- Type: Item Deliverer
-- @zone: 235
-- @pos -323.673 -16.001 -49.930
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Mar... | gpl-3.0 |
Hostle/openwrt-luci-multi-user | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua | 84 | 2006 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, service, pincode, username, password
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
mca = s:tabop... | apache-2.0 |
Moodstocks/nn | Container.lua | 9 | 1842 | -- This is code common to container modules, which are collections of
-- smaller constituent modules like Parallel, Sequential, etc.
local Container, parent = torch.class('nn.Container', 'nn.Module')
function Container:__init(...)
parent.__init(self, ...)
self.modules = {}
end
function Container:add(module)
... | bsd-3-clause |
hooksta4/darkstar | scripts/zones/zones/Bastok_Markets/npcs/Somn-Paemn.lua | 4 | 1578 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Somn-Paemn
-- Only sells when Bastok has control of Sarutabaruta
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.lo... | gpl-3.0 |
mr-shahin/CSG | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Narsaude.lua | 6 | 1368 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Narsaude
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/abilities/call_wyvern.lua | 10 | 1038 | -----------------------------------
-- Ability: Call Wyvern
-- Summons a Wyvern to fight by your side.
-- Obtained: Dragoon Level 1
-- Recast Time: 20:00
-- Duration: Instant
-- Special: Only available if Dragoon is your main class.
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/The_Eldieme_Necropolis/Zone.lua | 2 | 2022 | -----------------------------------
--
-- Zone: The_Eldieme_Necropolis (195)
--
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/The_... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Yughott_Grotto/npcs/Mining_Point.lua | 2 | 1057 | -----------------------------------
-- Area: Yughott Grotto
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Yughott_Grotto/TextIDs");
--------------... | gpl-3.0 |
GreatBigBushyBeard/PAYDAY-2-BeardLib-Editor | Classes/Dialogs/AssetsManagerDialog.lua | 1 | 35606 | AssetsManagerDialog = AssetsManagerDialog or class(MenuDialog)
AssetsManagerDialog.type_name = "AssetsManagerDialog"
AssetsManagerDialog._no_reshaping_menu = true
AssetsManagerDialog.ImportHelp = [[
This will search for dependencies that the unit requires in order to load.
Any missing dependency from your extract direc... | mit |
hooksta4/darkstar | scripts/zones/zones/Empyreal_Paradox/mobs/Prishe.lua | 14 | 2241 | -----------------------------------
-- Area: Empyreal Paradox
-- NPC: Prishe
-- Chains of Promathia 8-4 BCNM Fight
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/zones/Empyreal_Paradox/TextIDs");
function onMobInitialize(mob)
mob:addMod(M... | gpl-3.0 |
yakolla/thrift | lib/lua/TFramedTransport.lua | 23 | 2926 | --
-- 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 |
mahdikord/kord | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
abbasgh12345/abbas00 | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
Shayan123456/mehbot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/butter_crepe.lua | 36 | 1239 | -----------------------------------------
-- ID: 5766
-- Item: Butter Crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10
-- Magic Accuracy +2
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/butter_crepe.lua | 36 | 1239 | -----------------------------------------
-- ID: 5766
-- Item: Butter Crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10
-- Magic Accuracy +2
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
JoshuaGrams/love-demos | hex-grid/main.lua | 1 | 3066 |
function love.load()
verticalHexGrid = true
keyboardLayout = 'qwerty'
keypad = {
['qwerty'] = {
'q', 'w', 'e',
'a', 's', 'd',
'z', 'x', 'c'
},
-- Note: these are under your home-key fingers, *not*
-- shifted to the left like the QWERTY keys (WASD) above.
['dvorak'] = {
",", '.', 'p',
'o',... | mit |
hooksta4/darkstar | scripts/zones/zones/Windurst_Walls/npcs/Hiwon-Biwon.lua | 6 | 3423 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Hiwon-Biwon
-- Involved In Quest: Making Headlines, Curses, Foiled...Again!?
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Northern_San_dOria/npcs/Phairupegiont.lua | 2 | 1650 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Phairupegiont
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -46 0.1 76 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 10 | 1307 | -----------------------------------
-- Area: Carpenters' Landing
-- Mob: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("/scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMo... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.