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 |
|---|---|---|---|---|---|
The-HalcyonDays/darkstar | scripts/zones/Western_Altepa_Desert/Zone.lua | 27 | 4592 | -----------------------------------
--
-- Zone: Western_Altepa_Desert (125)
--
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Western_Al... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua | 38 | 1041 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kristen
-- Type: Standard NPC
-- @zone: 94
-- @pos 2.195 -2 60.296
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
FluffyGods/IBG-Afghan-War-TDM-Content | IBG Afghan War TDM Content/lua/autorun/effect_explode.lua | 1 | 1644 | function Splodev2()
--local universalexplosion = ents.FindByClass("*explosion")
--local universalboom = ents.FindByClass("*boom*")
local explode = ents.FindByClass("env_explosion")
local explode2 = ents.FindByClass("Explosion")
local explodear2 = ents.FindByClass("env_ar2explosion")
local physboom = ents.Fi... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Halvung/npcs/qm4.lua | 8 | 1149 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Achamoth(ZNM T3))
-- @pos -34 10 336 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
-----------------------------------
... | gpl-3.0 |
FluffyGods/IBG-Afghan-War-TDM-Content | IBG Afghan War TDM Content/lua/wac/base.lua | 1 | 3117 |
--[[
WAC (WeltEnSTurm's Addon Compilation)
Copyright (C) 2012 Robert Luger
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 3 of the License, or
(at your option) any ... | apache-2.0 |
Goranaws/Dominos | libs/LibKeyBound-1.0/Locale-esES.lua | 1 | 2362 | --[[
LibKeyBound-1.0 localization file
Spanish by StiviS
--]]
if (GetLocale() ~= "esES") then
return
end
local REVISION = 90000 + tonumber(("$Revision: 92 $"):match("%d+"))
if (LibKeyBoundLocale10 and REVISION <= LibKeyBoundLocale10.REVISION) then
return
end
LibKeyBoundLocale10 = {
REVISION = REVISION;
Enabl... | bsd-3-clause |
The-HalcyonDays/darkstar | scripts/globals/mobskills/Tribulation.lua | 3 | 1126 | ---------------------------------------------
-- Tribulation
--
-- Description: Inflicts Bio and blinds all targets in an area of effect.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: AoE
-- Notes: Bio effect can take away up to 39/tick.
------------------------------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Mhaura/npcs/Wilhelm.lua | 7 | 2233 | -----------------------------------
-- Area: Mhaura
-- NPC: Wilhelm
-- Type: Standard NPC
-- @pos -22.746 -5 17.157 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/armor_upgrade");
---------------------------... | gpl-3.0 |
miralireza/telegram_star | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
FluffyGods/IBG-Afghan-War-TDM-Content | IBG Afghan War TDM Content/lua/effects/wac_impact_m197/init.lua | 1 | 2461 |
function EFFECT:Init(data)
self.LifeTime = CurTime()+1
self.vEntity = data:GetEntity()
local pos=data:GetOrigin()
local ang = data:GetAngles()
local fwd = ang:Forward()
local up = ang:Up()
local ri = ang:Right()
ang.p=ang.p+90
local normal=ang:Up()
local scale=data:GetScale()
self.em... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/bowl_of_boiled_cockatrice.lua | 35 | 1750 | -----------------------------------------
-- ID: 4547
-- Item: Bowl of Boiled Cockatrice
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 2
-- Intelligence -1
-- Mind 1
-- Attack % 22
-- Attack Cap 60
-- Ranged ATT % 22
-- Ranged ATT Cap 60
--------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/abilities/addendum_black.lua | 28 | 1632 | -----------------------------------
-- Ability: Addendum: Black
-- Allows access to additional Black Magic spells while using Dark Arts.
-- Obtained: Scholar Level 30
-- Recast Time: Stratagem Charge
-- Duration: 2 hours
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ---------------
-- 10... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/plate_of_witch_risotto.lua | 35 | 1537 | -----------------------------------------
-- ID: 4330
-- Item: witch_risotto
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 35
-- Strength -1
-- Vitality 3
-- Mind 3
-- MP Recovered While Healing 2
-- Enmity -1
-----------------------------------------
require(... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Northern_San_dOria/npcs/Shomo_Pochachilo.lua | 38 | 1288 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shomo Pochachilo
-- Type: Standard Info NPC
-- @zone: 231
-- @pos 28.369 -0.199 30.061
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/Amanda.lua | 2 | 7097 | 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)... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/abilities/meditate.lua | 10 | 1306 | -----------------------------------
-- Ability: Meditate
-- Gradually charges TP.
-- Obtained: Samurai Level 30
-- Recast Time: 3:00 (Can be reduced to 2:30 using Merit Points)
-- Duration: 15 seconds
-----------------------------------
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
Goranaws/Dominos | bars/extraActionBar.lua | 1 | 3146 | if not _G['ExtraActionBarFrame'] then return end
--[[ Globals ]]--
local Addon = _G[...]
local KeyBound = LibStub('LibKeyBound-1.0')
local Tooltips = Addon:GetModule('Tooltips')
local Bindings = Addon.BindingsController
--[[ buttons ]]--
local ExtraActionButton = Addon:CreateClass('CheckButton', Addon.BindableButt... | bsd-3-clause |
KlonD90/tarantool | test/app/csv.test.lua | 6 | 3607 | #!/usr/bin/env tarantool
local function table2str(t)
local res = ""
for k, line in pairs(t) do
local s = ""
for k2, field in pairs(line) do
s = s .. '|' .. field .. '|\t'
end
res = res .. s .. '\n'
end
return res
end
local function myread(self, bytes)
s... | bsd-2-clause |
coltonj96/UsefulCombinators | UsefulCombinators_0.2.1/prototypes/technology/technology.lua | 4 | 2073 | data:extend({
{
type = "technology",
name = "useful-combinators",
icon = "__UsefulCombinators__/graphics/technology/clock.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "timer-combinator"
},
{
type = "unlock-recipe",
... | mit |
The-HalcyonDays/darkstar | scripts/zones/Western_Altepa_Desert/npcs/Cermet_Headstone.lua | 17 | 2670 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Earth Fragment)
-- @pos -108 10 -216 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
------------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Robino-Mobino.lua | 17 | 1852 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Robino-Mobino
-- @pos -244 0 -401 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest"... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua | 30 | 3066 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Banege, R.K.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Spear.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Spear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
zero-rp/ZNet | tool/zero/lualib/http/sockethelper.lua | 4 | 1923 | local socket = require "socket"
local skynet = require "skynet"
local readbytes = socket.read
local writebytes = socket.write
local sockethelper = {}
local socket_error = setmetatable({} , { __tostring = function() return "[Socket Error]" end })
sockethelper.socket_error = socket_error
local function preread(fd, st... | mit |
The-HalcyonDays/darkstar | scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua | 17 | 1403 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Act... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Woods/npcs/Kopuro-Popuro.lua | 19 | 6247 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kopuro-Popuro
-- Type: Standard NPC
-- @zone: 241
-- @pos -0.037 -4.749 -22.589
-- Starts Quests: The All-New C-2000, Legendary Plan B, The All-New C-3000
-- Involved in quests: Lost Chick
-----------------------------------
require("scripts/glob... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j2.lua | 12 | 1341 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos -260 -33 274 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missi... | gpl-3.0 |
Goranaws/Dominos | core/buttonBar.lua | 1 | 5389 | -- buttonBar.lua
-- a dominos frame that contains buttons
local ButtonBar = Dominos:CreateClass('Frame', Dominos.Frame)
Dominos.ButtonBar = ButtonBar
function ButtonBar:New(...)
local bar = ButtonBar.proto.New(self, ...)
bar:ReloadButtons()
return bar
end
function ButtonBar:Create(...)
local bar = ... | bsd-3-clause |
The-HalcyonDays/darkstar | scripts/zones/Attohwa_Chasm/npcs/HomePoint#1.lua | 12 | 1183 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: HomePoint#2
-- @pos
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scripts/globals/homepoint");
----... | gpl-3.0 |
otservme/global1053 | data/actions/scripts/the ancient tombs quest/AncientRuinsTombInstruments.lua | 2 | 1573 | function onUse(cid, item, fromPosition, itemEx, toPosition)
local player = Player(cid)
if item.itemid == 2367 and player:getStorageValue(12109) < 1 then
player:setStorageValue(12109, 1)
fromPosition:sendMagicEffect(CONST_ME_SOUND_BLUE)
elseif item.itemid == 2373 and player:getStorageValue(12109) == 1 then
play... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua | 19 | 1157 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Mep Nhapopoluko
-- Type: Guild Merchant NPC (Fishing Guild)
-- @pos 464.350 -6 752.731 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_San_dOria/npcs/Pomilla.lua | 17 | 1693 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Pomilla
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -38 -4 -55 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
mamaddeveloper/ghs | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
otservme/global1053 | data/actions/scripts/gnomebase/crystalWarzone1.lua | 2 | 2068 | --- [[ Warzone 1 feito por Yuri Lagrotta ]] ---
local posdotp = {x= 33104, y=31908, z=10} -- Posicao que o tp vai ser criado (Eh o tp que leva pra sala do Deathstriker)
local salaDeathstriker = {x=33101, y=31956, z=10} -- Posicao da sala do Deathstriker (Pos pra onde o player vai qd entrar no tp)
local posDeathstriker... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 7 | 2224 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- @pos 179 35 255 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Tahrongi_Ca... | gpl-3.0 |
zhaozg/luvit | tests/test-tls-connect-simple.lua | 11 | 1050 |
require('tap')(function (test)
local fixture = require('./fixture-tls')
local tls = require('tls')
local options = {
cert = fixture.certPem,
key = fixture.keyPem
}
local serverConnected = 0
local clientConnected = 0
local server
local client1
test("tls connect simple test", function()
... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Castle_Zvahl_Keep/npcs/_4i5.lua | 23 | 1492 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Ore door
-- Involved In Quest: Recollections
-- @pos -14 0 69 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p8.lua | 17 | 1776 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Iron Gate
-- Entrance to Sacrarium
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Misarea... | gpl-3.0 |
herman-rogers/xenia | third_party/capstone.lua | 10 | 1207 | group("third_party")
project("capstone")
uuid("b3a89f7e-bb02-4945-ae75-219caed6afa2")
kind("StaticLib")
language("C++")
links({
})
defines({
"CAPSTONE_X86_ATT_DISABLE",
"CAPSTONE_DIET_NO",
"CAPSTONE_X86_REDUCE_NO",
"CAPSTONE_HAS_X86",
"CAPSTONE_USE_SYS_DYN_MEM",
"_LIB",
})
includ... | bsd-3-clause |
The-HalcyonDays/darkstar | scripts/zones/Castle_Oztroja/TextIDs.lua | 4 | 2162 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6564; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6567; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6568; -- Ob... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Talacca_Cove/Zone.lua | 28 | 1314 | -----------------------------------
--
-- Zone: Talacca_Cove (57)
--
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Talacca_Cove/TextIDs");
----------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Eald_narche.lua | 18 | 2568 | -----------------------------------
-- Area: The Celestial Nexus
-- NPC: Eald'Narche - Phase 1
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
function onMobInitialize(mob)
--50% fast cast
... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Yhoator_Jungle/npcs/Mugha_Dovajaiho.lua | 17 | 1848 | -----------------------------------
-- 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");... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/realmrazer.lua | 30 | 1450 | -----------------------------------
-- Realmrazer
-- Club weapon skill
-- Skill Level: 357
-- Delivers a seven-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Exalted 3rd/output/rdkObjs/Ficha Exalted 3rd/DetailList.lfm.lua | 3 | 5630 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmDetailList()
local obj = GUI.fromHandle(_obj_newObject... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua | 12 | 1203 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: HomePoint#1
-- @pos 88 -15 -217 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Boyahda_Tree/TextIDs");
require("scripts/global... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/Eva.lua | 2 | 14670 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local count = {}
local transfer = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(ci... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Ifrits_Cauldron/TextIDs.lua | 4 | 1658 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6382; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6383; -- Ob... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/spells/bluemagic/ram_charge.lua | 27 | 1737 | -----------------------------------------
-- Spell: Ram Charge
-- Damage varies with TP
-- Spell cost: 79 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP+5
-- Level: 73
-- Casting Time: 0.5 seconds
-- Recast Time: 34.75 seconds
-- Skillchain Element(s): Fr... | gpl-3.0 |
Jereviendrai/telegram-bot | libs/mimetype.lua | 6 | 2586 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom+xml"] = "atom",
... | gpl-2.0 |
otservme/global1053 | data/npc/scripts/Yaman.lua | 2 | 4968 | 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) ... | gpl-2.0 |
mdave88/luabind | examples/glut/glut_bindings.lua | 38 | 1543 | quit = false
function resize_func(w, h)
local ratio = w / h
print('====== resize')
glMatrixMode(gl.PROJECTION)
glLoadIdentity()
glViewport(0,0,w,h)
gluPerspective(45,ratio,1,1000)
glMatrixMode(gl.MODELVIEW)
glLoadIdentity()
end
angle = 0
angle2 = 0
previous_time = 0
function display_func()
if quit the... | mit |
Stanzilla/prat-3-0 | services/textcolor.lua | 1 | 5671 | ---------------------------------------------------------------------------------
--
-- Prat - A framework for World of Warcraft chat mods
--
-- Copyright (C) 2006-2011 Prat Development Team
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public Licen... | gpl-3.0 |
vasilenkomike/tarantool | test/big/tree_pk.test.lua | 6 | 4665 | dofile('utils.lua')
s0 = box.schema.space.create('tweedledum')
i0 = s0:create_index('primary', { type = 'tree', parts = {1, 'num'}, unique = true })
bsize = i0:bsize()
-- integer keys
s0:insert{1, 'tuple'}
box.snapshot()
s0:insert{2, 'tuple 2'}
box.snapshot()
i0:bsize() > bsize
s0:insert{3, 'tuple 3'}
s0.index['pr... | bsd-2-clause |
drix/jagg | src/scenes/start.lua | 1 | 9520 | -------------------------------------------------------------------------
-- Created by Adriano Spadoni
-- alte_br@hotmail.com
-------------------------------------------------------------------------
local physics = require( "physics" )
local widget = require( "widget" )
local soundManager = require( "sounds.mana... | mit |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Pathfinder/output/rdkObjs/FichaPathfinder/04.Habilidades.lfm.lua | 3 | 13319 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmFichaRPGmeister4_svg()
local obj = GUI.fromHandle(_obj... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/La_Theine_Plateau/npcs/Augevinne.lua | 13 | 1565 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Augevinne
-- Involved in Mission: The Rescue Drill
-- @pos -361 39 266 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
NAM-IL/VLC-2_2_0 | share/lua/intf/modules/httprequests.lua | 19 | 15839 | --[==========================================================================[
httprequests.lua: code for processing httprequests commands and output
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at video... | lgpl-2.1 |
The-HalcyonDays/darkstar | scripts/globals/items/wizard_cookie.lua | 35 | 1345 | -----------------------------------------
-- ID: 4576
-- Item: wizard_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Recovered While Healing 7
-- Plantoid Killer 7
-- Slow Resist 7
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
TeleAweSome/awesome | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
shahabsaf1/beni-dalton | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Woods/npcs/Samigo-Pormigo.lua | 10 | 2685 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Samigo-Pormigo
-- Type: Guildworker's Union Representative
-- @zone: 241
-- @pos -9.782 -5.249 -134.432
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/keyitems")... | gpl-3.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/modules/base/luasrc/sys/zoneinfo/tzoffset.lua | 72 | 3904 | --[[
LuCI - Autogenerated Zoneinfo Module
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
]]--
module "luci.sys.zoneinfo.tzoffset"
OFFSET = {
gmt =... | gpl-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Tormenta 20/output/rdkObjs/Ficha Tormenta 20/ImportExport.lfm.lua | 2 | 4219 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmImportExport()
local obj = GUI.fromHandle(_obj_newObje... | apache-2.0 |
Goranaws/Dominos | bars/stanceBar.lua | 1 | 2561 | --[[
stanceBar - a bar for displaying class specific buttons for things like stances/forms/etc
--]]
-- don't bother loading the module if the player is currently playing something without a stance
if select(2, UnitClass('player')) == 'MAGE' or select(2, UnitClass('player')) == 'SHAMAN' or select(2, UnitClass('player'... | bsd-3-clause |
rogerthat52/Unnamed-Love2D-RPG | functions.lua | 1 | 1705 | function math.round(n)
--rounds instead of math.floor or math.ceil
return math.floor(n+.5)
end
function switchGM(gm)
gamestate = gm
gamestate.load()
end
function love.displayLoading(text)
loadtxt = "loading..."
local font = love.graphics.getFont()
local width = font:getWidth(loadtxt)
local heigh... | mit |
The-HalcyonDays/darkstar | scripts/zones/Port_San_dOria/npcs/Nazar.lua | 12 | 1266 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Nazar
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
---------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 19 | 1772 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kalimahf.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kalimahf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Gerenciador SotDL/output/rdkObjs/GerenciadorSotDL/DropDownFalsa.lfm.lua | 1 | 4248 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_OpcaoDaComboboxFalsa()
local obj = GUI.fromHandle(_obj_ne... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/bowl_of_seafood_stew.lua | 35 | 1467 | -----------------------------------------
-- ID: 4561
-- Item: Bowl of Seafood Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 1
-- Vitality 5
-- Defense % 25
-- Defense Cap 120
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Gerenciador SotDL/output/rdkObjs/GerenciadorSotDL/DropDownFalsa2.lfm.lua | 3 | 2635 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_OpcaoDaComboboxFalsa2()
local obj = GUI.fromHandle(_obj_n... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Exoplates.lua | 13 | 2870 | -----------------------------------
-- Area: The Celestial Nexus
-- NPC: Exoplates
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
function onMobInitialize(mob)
mob:addMod(MOD_REGAIN, 50);
... | gpl-3.0 |
alysher/portaltbc | dep/recastnavigation/RecastDemo/premake4.lua | 82 | 3551 | --
-- premake4 file to build RecastDemo
-- http://industriousone.com/premake
--
local action = _ACTION or ""
local todir = "Build/" .. action
solution "recastnavigation"
configurations {
"Debug",
"Release"
}
location (todir)
-- extra warnings, no exceptions or rtti
flags {
"ExtraWarnings",
"FloatFast"... | gpl-2.0 |
godly-devotion/Baka-MPlayer-old | Baka MPlayer/bin/Debug/libquvi-scripts/0.9/media/myspass.lua | 3 | 2960 | -- libquvi-scripts
-- Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
-- Copyright (C) 2012 Guido Leisker <guido@guido-leisker.de>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Kazham-Jeuno_Airship/npcs/Oslam.lua | 12 | 2037 | -----------------------------------
-- Area: Kazham-Jeuno Airship
-- NPC: Oslam
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Kazham-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
--... | gpl-3.0 |
NAM-IL/VLC-2_2_0 | share/lua/playlist/mpora.lua | 97 | 2565 | --[[
$Id$
Copyright © 2009 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your opt... | lgpl-2.1 |
The-HalcyonDays/darkstar | scripts/zones/Ghoyus_Reverie/Zone.lua | 36 | 1119 | -----------------------------------
--
-- Zone: Ghoyus_Reverie
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ghoyus_Reverie/TextIDs"] = nil;
require("scripts/zones/Ghoyus_Reverie/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_yellow_curry.lua | 35 | 2067 | -----------------------------------------
-- ID: 4517
-- Item: serving_of_yellow_curry
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 20
-- Strength 5
-- Agility 2
-- Intelligence -4
-- HP Recovered While Healing 2
-- MP Recovered While Healing 1
-- Attack 20% (... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/mobskills/Grim_Halo.lua | 7 | 1089 | ---------------------------------------------------
-- Grim Halo
-- Deals damage to a all targets. Additional effect: Knockback
-- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors).
---------------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f7.lua | 34 | 1110 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 249 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextI... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/plate_of_dorado_sushi.lua | 21 | 1679 | -----------------------------------------
-- ID: 5178
-- Item: plate_of_dorado_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 5
-- Accuracy % 15
-- Accuracy Cap 75
-- Ranged ACC % 15
-- Ranged ACC Cap 75
-- Sleep Resist 5
----------------------------------------... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Call Of Cthulhu Dark Ages/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pendragon/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Shadow of the Demon Lord/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/PokeRPG/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Demônio A Queda/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pokemon D20/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Mutantes e Malfeitores 3e/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Call Of Cthulhu 7e/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Mighty Blade 3e/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Michiria/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Pathfinder_2E/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha L5A/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
rrpgfirecast/firecast | Plugins/ChatMods/AfkBot/sdk/rrpgLFM.lua | 99 | 5179 | require("rrpgUtil.lua");
require("rrpgGUI.lua");
local serpent = nil;
local lfmObjectsStrongRef = {};
function lfm_getObject(ctrlOrHandle)
if ctrlOrHandle == nil then
return nil;
elseif isNumber(ctrlOrHandle) then
return lfmObjectsStrongRef[ctrlOrHandle];
else
return ctrlOrHandle;
end;
end;
function lfm_... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_salmon_meuniere.lua | 35 | 1404 | -----------------------------------------
-- ID: 4583
-- Item: serving_of_salmon_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -2
-- Ranged ACC % 7
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Bastok_Mines/npcs/Ranpi-Pappi.lua | 38 | 1047 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Ranpi-Pappi
-- Type: Standard NPC
-- @zone: 234
-- @pos -4.535 -1.044 49.881
--
-- Auto-Script: Requires Verification (Verified by Brando)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scri... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Bostaunieux_Oubliette/npcs/Grounds_Tome.lua | 34 | 1160 | -----------------------------------
-- Area: Bostaunieux Oubliette
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function o... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Northern_San_dOria/npcs/Miaux.lua | 23 | 6482 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miaux
-- Type: Quest Giver
-- @pos -169.127 2.999 158.677 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Os Mundos dos Mortos/output/rdkObjs/starkpdf/2.lfm.lua | 1 | 11212 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmstarkpdf2_svg()
local obj = GUI.fromHandle(_obj_newObj... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.