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 |
|---|---|---|---|---|---|
UnknownX7/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Sabotender_Sediendo.lua | 14 | 1128 | -----------------------------------
-- Area: Kuftal Tunnel
-- MOB: Sabotender Sediendo
-- Note: Place Holder for Sabotender Mariachi
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Kuftal_Tunnel/MobIDs");
-----------------------------------
-- onMobDeath
--------... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/weaponskills/stardiver.lua | 6 | 1384 | -----------------------------------
-- 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:85% //actually 17~85%
-- 100%TP 200%TP 300%TP... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/kohlrouladen_+1.lua | 12 | 1822 | -----------------------------------------
-- ID: 5761
-- Item: kohlrouladen
-- Food Effect: 4hr, All Races
-----------------------------------------
-- Strength 4
-- Agility 4
-- Intelligence -4
-- RACC +10% (cap 65)
-- RATT +16% (cap 70)
-- Enmity -5
-- Subtle Blow +6
-----------------------------------------
require... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Selbina/npcs/Graegham.lua | 10 | 1181 | -----------------------------------
-- Area: Selbina
-- NPC: Graegham
-- Guild Merchant NPC: Fishing Guild
-- @pos -12.423 -7.287 8.665 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Metalworks/npcs/Vicious_Eye.lua | 19 | 1162 | -----------------------------------
-- Area: Metalworks
-- NPC: Vicious Eye
-- Type: Guild Merchant (Blacksmithing Guild)
-- @pos -106.132 0.999 -28.757 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm4.lua | 37 | 1033 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm4 (???)
-- Involved in quest: Pirate's Chart
-- @pos -160 4 -131 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Upper_Jeuno/TextIDs.lua | 6 | 1699 | -- 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 = 6544; -- Obtained: <item>.
GIL_OBTAINED = 6545; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6547; -- Obtained... | gpl-3.0 |
alxhh/piratenluci | build/uvl2cbi.lua | 2 | 2446 | #!/usr/bin/lua
--[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the... | apache-2.0 |
maikuru23/darkstar | scripts/globals/spells/bluemagic/battle_dance.lua | 6 | 1197 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Chrak.lua | 1 | 2499 |
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHa... | gpl-2.0 |
DengSir/tdBattlePetScript | Libs/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua | 2 | 7126 | --[[-----------------------------------------------------------------------------
ScrollFrame Container
Plain container that scrolls its content and doesn't grow in height.
-------------------------------------------------------------------------------]]
local Type, Version = "ScrollFrame", 26
local AceGUI = LibSt... | mit |
TeleDALAD/DALADteam | plugins/stats.lua | 236 | 3989 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
vorbi123/dalad | plugins/stats.lua | 236 | 3989 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/items/handful_of_roasted_almonds.lua | 12 | 1113 | -----------------------------------------
-- ID: 5649
-- Item: Handful of Roasted Almonds
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm2.lua | 9 | 1749 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm2 (???)
-- Spawns Sobek
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
fu... | gpl-3.0 |
alxhh/piratenluci | libs/nixio/docsrc/nixio.bit.lua | 171 | 2044 | --- Bitfield operators and mainpulation functions.
-- Can be used as a drop-in replacement for bitlib.
module "nixio.bit"
--- Bitwise OR several numbers.
-- @class function
-- @name bor
-- @param oper1 First Operand
-- @param oper2 Second Operand
-- @param ... More Operands
-- @return number
--- Invert given number.
... | apache-2.0 |
skmezanul/canvas-lms | lib/canvas/request_throttle/increment_bucket.lua | 43 | 1169 | local cache_key = KEYS[1]
local amount = tonumber(ARGV[1])
local current_time = tonumber(ARGV[2])
local outflow = tonumber(ARGV[3])
local maximum = tonumber(ARGV[4])
-- Our modified leaky bucket algorithm is explained in lib/canvas/request_throttle.rb
local leak = function(count, last_touched, current_time, outflow)
... | agpl-3.0 |
UnknownX7/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Engelhart.lua | 17 | 3579 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Engelhart
-- Quest NPC
-- pos -79 -4 -125
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scrip... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Captain Fearless.lua | 1 | 8541 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
func... | gpl-2.0 |
Starfox64/EuRP-Plugins | access/entities/entities/nut_cardreader.lua | 3 | 2954 | ENT.Type = "anim"
ENT.PrintName = "Keycard Reader"
ENT.Author = "Riekelt & _FR_Starfox64"
ENT.Spawnable = false
ENT.RenderGroup = RENDERGROUP_BOTH
if SERVER then
function ENT:CheckAccess( flags, cardID )
if ACCESS_BUFFER[cardID] then
local card = ACCESS_BUFFER[cardID]
if card.active then
if string.StartWi... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/weaponskills/shockwave.lua | 18 | 1486 | -----------------------------------
-- Shockwave
-- Great Sword weapon skill
-- Skill level: 150
-- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: STR:30... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Norg/npcs/Jaucribaix.lua | 9 | 10678 | -----------------------------------
-- Area: Norg
-- NPC: Jaucribaix
-- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!?
-- @pos 91 -7 -8 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/script/network/DeprecatedNetworkFunc.lua | 61 | 1123 | if nil == cc.XMLHttpRequest then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of WebSocket will be deprecated begin
local targetPlatform = CCApplication:getInstance():get... | mit |
maikuru23/darkstar | scripts/globals/items/king_truffle.lua | 35 | 1193 | -----------------------------------------
-- ID: 4386
-- King Truffle
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
wland/quick3.6 | quick/framework/cc/utils/Gettext.lua | 21 | 3518 | --[[
Load a mo file, retuan a lua function or table.
A sample and description(in chinese): http://zengrong.net/post/1986.htm
@see http://lua-users.org/lists/lua-l/2010-04/msg00005.html
Modifier zrong(zengrong.net)
Creation 2013-11-29
usage:
local mo_data=assert(require("utils.Gettext").loadMOFromFile("main.mo")... | mit |
Coethium/server-minetestforfun | mods/moretrees/node_defs.lua | 3 | 15828 | local S = moretrees.intllib
moretrees.avoidnodes = {}
moretrees.treelist = {
{"beech", "Beech Tree"},
{"apple_tree", "Apple Tree"},
{"oak", "Oak Tree", "acorn", "Acorn", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 0.8 },
{"sequoia", "Giant Sequoia"},
{"birch", "Birch Tree"},
{"palm", "Palm Tree", "coconut", "C... | unlicense |
rm-code/logivi | lib/graphoon/Graphoon/Graph.lua | 2 | 8101 | local current = (...):gsub('%.[^%.]+$', '');
-- ------------------------------------------------
-- Required Modules
-- ------------------------------------------------
local Node = require(current .. '.Node');
local Edge = require(current .. '.Edge');
-- ------------------------------------------------
-- Module
--... | mit |
UnknownX7/darkstar | scripts/globals/weaponskills/tachi_shoha.lua | 22 | 1782 | -----------------------------------
-- Tachi: Shoha
-- Great Katana weapon skill
-- Skill Level: 357
-- Delivers a two-hit attack. Damage varies with TP.
-- To obtain Tachi: Shoha, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu.
-- Suspected to have an Attack Bonus simil... | gpl-3.0 |
Whit3Tig3R/123bot | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
zhityer/zhityer40 | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Port_Windurst/npcs/Tokaka.lua | 17 | 3001 | -----------------------------------
-- Area: Port Windurst
-- NPC: Tokaka
-- Starts & Finishes Repeatable Quest: Something Fishy
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/global... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Somnolent_Rooster.lua | 34 | 1042 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Somnolent Rooster
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Sea_Puk.lua | 12 | 1223 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Sea Puk
-- Note: Place holder Nis Puk
-----------------------------------
require("/scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,kil... | gpl-3.0 |
jonseitz/keys | VSCOKeys.lrdevplugin/halfway_server/socket.lua | 146 | 4061 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
-----------------------------------------------... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/weaponskills/mystic_boon.lua | 19 | 2075 | -----------------------------------
-- Mystic Boon
-- Club weapon skill
-- Skill level: N/A
-- Converts damage dealt to own MP. Damage varies with TP. Yagrush: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (White Mage) quest.
-- Damage is significantly affected by Attack. Veri... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/moon_carrot.lua | 12 | 1181 | -----------------------------------------
-- ID: 4567
-- Item: moon_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/marron_glace.lua | 35 | 1337 | -----------------------------------------
-- ID: 4502
-- Item: Marron Glace
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 13
-- Magic Cap 85
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/porcupine_pie.lua | 12 | 2061 | -----------------------------------------
-- ID: 5156
-- Item: porcupine_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 55
-- Strength 6
-- Vitality 2
-- Intelligence -3
-- Mind 3
-- HP recovered while healing 2
-- MP recovered while healing 2
-- Accuracy 5
-- Attack % 18 (cap 95)
... | gpl-3.0 |
Iamgoofball/deathvox | lua/lib/units/enemies/cop/copmovement.lua | 1 | 13530 | local old_init = CopMovement.init
local action_variants = {
security = {
idle = CopActionIdle,
act = CopActionAct,
walk = CopActionWalk,
turn = CopActionTurn,
hurt = CopActionHurt,
stand = CopActionStand,
crouch = CopActionCrouch,
shoot = CopActionShoot,
reload = CopActionReload,
spooc = ActionSpoo... | agpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Tahl_Mhioguch.lua | 14 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Tahl Mhioguch
-- Type: Standard NPC
-- @zone 94
-- @pos -64.907 -5.947 81.391
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
oanastratulat/Task | share/lua/playlist/katsomo.lua | 11 | 2907 | --[[
Translate www.katsomo.fi video webpages URLs to the corresponding
movie URL
$Id$
Copyright © 2009 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 o... | lgpl-2.1 |
maikuru23/darkstar | scripts/zones/Hazhalm_Testing_Grounds/Zone.lua | 8 | 1314 | -----------------------------------
--
-- Zone: Hazhalm_Testing_Grounds (78)
--
-----------------------------------
package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Hazhalm_Testing_Grounds/TextIDs");
--------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/PsoXja/npcs/_09a.lua | 9 | 1609 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09a (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/Pso... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Telepoint.lua | 17 | 1245 | -----------------------------------
-- Area: Jugner Forest [S]
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
----------... | gpl-3.0 |
omidgolmohammadi/omideblis | bot/bot.lua | 1 | 8263 | 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")
require("./bot/permissions")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:... | gpl-2.0 |
radioactive1014/ode_final | build/premake4.lua | 4 | 13286 | ----------------------------------------------------------------------
-- Premake4 configuration script for OpenDE
-- Contributed by Jason Perkins (starkos@industriousone.com)
-- For more information on Premake: http://industriousone.com/premake
----------------------------------------------------------------------
--... | lgpl-2.1 |
UnknownX7/darkstar | scripts/zones/Yhoator_Jungle/npcs/Mugha_Dovajaiho.lua | 14 | 1901 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Mugha Dovajaiho
-- @pos 202 0 -82 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
require(... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e5.lua | 10 | 1391 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Dem
-- @pos -239 -41 -270 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("/scripts/globals/missions");
req... | gpl-3.0 |
chihyaoma/Activity-Recognition-with-CNN-and-RNN | CNN-GPUs/datasets/getMeanStd.lua | 1 | 2041 | ---------------------------------------------------------------
-- Activity-Recognition-with-CNN-and-RNN
-- https://github.com/chihyaoma/Activity-Recognition-with-CNN-and-RNN
--
--
-- Calculate mean and std for different datasets, e.g. imagenet or UCF-101
--
--
-- Contact: Chih-Yao Ma at <cyma@gatech.edu>
-----... | mit |
maikuru23/darkstar | scripts/zones/Windurst_Waters/npcs/Kyume-Romeh.lua | 17 | 3225 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kyume-Romeh
-- Involved In Quest: Making Headlines, Hat in Hand
-- @pos -58 -4 23 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Lower_Jeuno/npcs/Derrick.lua | 5 | 4292 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Derrick
-- Involved in Quests and finish : Save the Clock Tower
-- @zone 245
-- @pos -32 -1 -7
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----... | gpl-3.0 |
sasan1/galaxy | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
wland/quick3.6 | quick/framework/cocos2dx.lua | 18 | 1999 | --[[
Copyright (c) 2011-2014 chukong-inc.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 use, copy, modify, merge, publish, dis... | mit |
maikuru23/darkstar | scripts/zones/Port_Windurst/npcs/Newlyn.lua | 38 | 1034 | -----------------------------------
-- Area: Port Windurst
-- NPC: Newlyn
-- Type: Standard NPC
-- @zone: 240
-- @pos 200.673 -6.601 108.665
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Davoi/npcs/Storage_Hole.lua | 14 | 1596 | -----------------------------------
-- Area: Davoi
-- NPC: Storage Hole
-- Involved in Quest: The Crimson Trial
-- @pos -51 4 -217 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/glob... | gpl-3.0 |
Tatuy/UAServer | data/talkactions/scripts/create_item.lua | 9 | 1072 | function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local split = param:split(",")
local itemType = ItemType(split[1])
if itemType:getId() == 0 then
itemType = ItemType(tonumber(split[1]))
if... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/West_Ronfaure/npcs/Ballie_RK.lua | 14 | 3331 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Ballie, R.K.
-- Type: Border Conquest Guards
-- @pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Norg/npcs/Fouvia.lua | 14 | 1622 | -----------------------------------
-- Area: Norg
-- NPC: Fouvia
-- Type: Wyvern Name Changer
-- @zone 252
-- @pos -84.066 -6.414 47.826
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/gl... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/lik_kabob.lua | 35 | 1264 | -----------------------------------------
-- ID: 5647
-- Item: Lik Kabob
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Dexterity 3
-- Attack 7
-- Mind -2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
anssshu/anssshu.github.io | _docs/gameengines/love2d/LoveExamples/animatedSprite.lua | 2 | 1093 | -- load ttf file font. set 35px font-size
function love.load()
img=love.graphics.newImage("assets/sheet.png")
s=love.audio.newSource("assets/music.mp3")
frame={}
frame[2]=love.graphics.newImage('assets/frame0.png')
frame[1]=love.graphics.newImage('assets/frame1.png')
frame[0]=love.graphics.newImage('a... | mit |
maikuru23/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua | 19 | 2892 | -----------------------------------
-- 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 |
winglsh/skynet | service/gate.lua | 23 | 1833 | local skynet = require "skynet"
local gateserver = require "snax.gateserver"
local netpack = require "netpack"
local watchdog
local connection = {} -- fd -> connection : { fd , client, agent , ip, mode }
local forwarding = {} -- agent -> connection
skynet.register_protocol {
name = "client",
id = skynet.PTYPE_CLIEN... | mit |
dveeden/wireshark | test/lua/pcre_sets2.lua | 35 | 6228 | -- See Copyright Notice in the file LICENSE
local pat2pcre = require "pat2pcre"
local function get_gsub (lib)
return lib.gsub or
function (subj, pattern, repl, n)
return lib.new (pattern) : gsub (subj, repl, n)
end
end
local function set_f_gsub1 (lib, flg)
local subj, pat = "abcdef", "[abef]+"
re... | gpl-2.0 |
Coethium/server-minetestforfun | mods/homedecor_modpack/itemframes/init.lua | 9 | 9746 | local tmp = {}
itemframes = {}
screwdriver = screwdriver or {}
minetest.register_entity("itemframes:item",{
hp_max = 1,
visual="wielditem",
visual_size={x=.33,y=.33},
collisionbox = {0,0,0,0,0,0},
physical=false,
textures={"air"},
on_activate = function(self, staticdata)
if tmp.nodename ~= nil and tmp.texture... | unlicense |
gaojinhua/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/ui/DeprecatedUIFunc.lua | 39 | 7289 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of ccui.Text will be deprecated begin
local TextDeprecated = { }
function TextDeprecated.setText(self, str)
deprecatedTip("ccui.Text:setT... | mit |
maikuru23/darkstar | scripts/zones/RuLude_Gardens/npcs/Pherimociel.lua | 23 | 2499 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pherimociel
-- Involved in mission: COP 1-2
-- @pos -31.627 1.002 67.956 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
r... | gpl-3.0 |
wardenlym/call1cc | call1cc.lua | 1 | 1358 | coro = {}
coro.main = function() end
coro.current = coro.main
-- function to create a new coroutine
function coro.create(f)
local co = function(val)
f(val)
error("coroutine ended")
end
return coroutine.wrap(co)
end
-- function to transfer control to a coroutine
function coro.transfer(co, v... | mit |
UnknownX7/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Porter_Moogle.lua | 14 | 1552 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 50
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhg... | gpl-3.0 |
gaojinhua/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/cocos2d/DeprecatedOpenglEnum.lua | 148 | 11934 | -- This is the DeprecatedEnum
DeprecatedClass = {} or DeprecatedClass
_G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT
_G.GL_LINE_WIDTH = gl.LINE_WIDTH
_G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA
_G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA
_G.GL_GREEN_BITS = gl.GREEN_BITS
_G.GL_STENCIL_REF = gl.STENCI... | mit |
DengSir/tdBattlePetScript | Core/Manager/PluginManager.lua | 1 | 6624 | -- PluginManager.lua
-- @Author : DengSir (tdaddon@163.com)
-- @Link : https://dengsir.github.io
-- @Date : 9/23/2018, 11:16:26 PM
local ns = select(2, ...)
local Addon = ns.Addon
local ScriptManager = ns.ScriptManager
local PluginPrototype = {}
local L = ns.L
local GUI ... | mit |
PouuleT/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua | 4 | 8779 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("network", translate("Switch"), translate("The network ports on this device can be combined to several <abbr title=\"Virtual Local Area Network\">... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p0.lua | 14 | 2580 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- @pos 260 9 -435 25
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Misareaux_Coast... | gpl-3.0 |
mehdi1313/TeleSeed | plugins/ingroup.lua | 371 | 44212 | 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[tostr... | gpl-2.0 |
UnknownX7/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua | 23 | 1257 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Tombstone Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zo... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Windurst_Waters/npcs/Moreno-Toeno.lua | 13 | 6825 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Morno-Toeno
-- Starts and Finishes Quest: Teacher's Pet
-- @pos 169 -2 159 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Walls/npcs/Selulu.lua | 14 | 1045 | ----------------------------------
-- Area: Windurst Walls
-- NPC: Selulu
-- Type: Item Deliverer
-- @zone 239
-- @pos 58.027 -2.5 -60.548
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/zones/Windurst_Walls/TextIDs");
-------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/loaf_of_black_bread.lua | 35 | 1287 | -----------------------------------------
-- ID: 4364
-- Item: loaf_of_black_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Dexterity -1
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/bowl_of_sutlac.lua | 12 | 1268 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Northern_San_dOria/npcs/Rondipur.lua | 14 | 1062 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Rondipur
-- Type: Quest Giver
-- @zone 231
-- @pos -154.415 10.999 153.744
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
--... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eh.lua | 17 | 3743 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #4 (H out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Northern_San_dOria/npcs/Gulmama.lua | 13 | 5620 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Gulmama
-- Starts and Finishes Quest: Trial by Ice
-- Involved in Quest: Class Reunion
-- @pos -186 0 107 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/AlTaieu/mobs/Om_hpemde.lua | 23 | 2836 | -----------------------------------
-- Area: Al'Taieu
-- MOB: Om'Hpemde
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
---... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua | 36 | 1693 | -----------------------------------
-- Area: Port Bastok
-- NPC: Zoby Quhyo
-- Only sells when Bastok controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bas... | gpl-3.0 |
cuiqingwei1981/openwrt | feeds/luci/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua | 79 | 1639 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
cuiqingwei1981/openwrt | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua | 80 | 2561 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
l... | gpl-2.0 |
maikuru23/darkstar | scripts/globals/spells/dia_iii.lua | 4 | 2496 | -----------------------------------------
-- Spell: Dia III
-- Lowers an enemy's defense and gradually deals light elemental damage.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Dia III value per point is '30' This is a constant set in the table ... | gpl-3.0 |
hypebeast/hammerspoon | extensions/location/init.lua | 13 | 7506 | --- === hs.location ===
---
--- Determine the machine's location and useful information about that location
local location = require("hs.location.internal")
local internal = {}
internal.__callbacks = {}
--- hs.location.register(tag, fn[, distance])
--- Function
--- Registers a callback function to be called when the ... | mit |
Coethium/server-minetestforfun | mods/markers/land_title_register.lua | 9 | 2507 |
minetest.register_tool( "markers:land_title_register",
{
description = "Land title register. Left-click with it to get information about who owns the land you clicked on.",
groups = {},
inventory_image = "default_book.png", -- TODO
wield_image = "",
wield_scale = {x=1,y=1,z=1},
stack_max = 1, ... | unlicense |
123ARMAN123/NOD32 | plugins/anti_bot.lua | 65 | 3192 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/abilities/pets/frost_breath.lua | 29 | 1333 | ---------------------------------------------------
-- Frost Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/ability");
-----------------------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/plate_of_tentacle_sushi_+1.lua | 12 | 1747 | -----------------------------------------
-- ID: 5216
-- Item: plate_of_tentacle_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP 20
-- Dexterity 3
-- Agility 3
-- Accuracy % 20 (cap 20)
-- Ranged Accuracy % 20 (cap 20)
-- Double Attack 1
----------------------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kubhe_Ijyuhla.lua | 17 | 2421 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kubhe Ijyuhla
-- Standard Info NPC
-- @pos 23.257 0.000 21.532 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quest... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Chest.lua | 5 | 3198 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Treasure Chest
-- @zone 161
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/chunk_of_hobgoblin_chocolate.lua | 12 | 1347 | -----------------------------------------
-- ID: 4324
-- Item: chunk_of_hobgoblin_chocolate
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health Regen While Healing 7
-- Lizard Killer 12
-- Petrify Resist 12
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
ArcboundWorker/microcosm | gamemodes/microcosm/entities/wip/weapons/3p8_mini.lua | 1 | 16615 | --[[
FILE THEME SONG:
use this model:
models/spacebuild/medbridge2_gatling_cannon.mdl
]]
AddCSLuaFile()
SWEP.PrintName = "Minigawn"
SWEP.Author = "Sky"
SWEP.Purpose = "Point and Shoot" --
SWEP.Instructions = "Primary Fire to shoot fast"
SWEP.Category = "3P8"
SWEP.Spawnable = true
SWEP.AdminSpawna... | mit |
UnknownX7/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua | 14 | 1640 | -----------------------------------
-- 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 |
donglixp/lang2logic | seq2tree/jobqueries/attention/sample.lua | 3 | 5370 | require 'torch'
require 'nn'
require 'nngraph'
require 'optim'
require 'lfs'
require 'utils/SymbolsManager'
include "../utils/accuracy.lua"
function transfer_data(x)
if opt.gpuid >= 0 then
return x:cuda()
end
return x
end
function float_transfer_data(x)
if opt.gpuid>=0 then
return x:float():cuda()
e... | mit |
robooo/luarocks | src/luarocks/make_manifest.lua | 9 | 1871 |
--- Module implementing the luarocks-admin "make_manifest" command.
-- Compile a manifest file for a repository.
local make_manifest = {}
package.loaded["luarocks.make_manifest"] = make_manifest
local manif = require("luarocks.manif")
local index = require("luarocks.index")
local cfg = require("luarocks.cfg")
local u... | mit |
UnknownX7/darkstar | scripts/zones/Port_Windurst/npcs/_6o6.lua | 14 | 1442 | -----------------------------------
-- Area: Port Windurst
-- NPC: Door: Departures Exit
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ke... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kleh_Engyumoh.lua | 14 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kleh Engyumoh
-- Type: Standard NPC
-- @zone 94
-- @pos -54.962 -4.5 57.701
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.