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/globals/spells/armys_paeon_iii.lua
27
1361
----------------------------------------- -- Spell: Army's Paeon III -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,t...
gpl-3.0
wangqi/gameserver
server/src/gensrc/lua/BseMyRankInfo_pb.lua
1
4362
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseMyRankInfo_pb', package.seeall) local BSEMYRANKINFO = protobuf.Descriptor(); local BSEMYRANKINFO_MYRANK_FIELD = protobuf.FieldDescriptor(); local BSEMYRANKINFO_MYLEVEL_FIELD = protobuf.FieldDescriptor(); local BSEMYRANKINFO_MYPO...
apache-2.0
UnknownX7/darkstar
scripts/zones/Apollyon/mobs/Carnagechief_Jackbodokk.lua
23
2423
----------------------------------- -- Area: Apollyon CS -- MOB: Carnagechief_Jackbodokk ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); require("scripts/globals/limbus"); -----------------------...
gpl-3.0
druerridge/the-maestros
games/TheMaestros.sdd/scripts/hangerscript.lua
1
1332
local building, platform, nanopoint = piece "body", piece "buildzone", piece "nanopoint" -- declares all the pieces we'll be using. function script.Create(unitID) return 0 end function script.QueryBuildInfo() return platform end -- When building a unit in this building, put it on the "platform" piece. function s...
gpl-2.0
wangqi/gameserver
server/src/gensrc/lua/GuildInviteInfo_pb.lua
1
2929
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('GuildInviteInfo_pb', package.seeall) local GUILDINVITEINFO = protobuf.Descriptor(); local GUILDINVITEINFO_GUILDID_FIELD = protobuf.FieldDescriptor(); local GUILDINVITEINFO_GUILDNAME_FIELD = protobuf.FieldDescriptor(); local GUILDIN...
apache-2.0
maikuru23/darkstar
scripts/globals/items/san_dorian_carrot.lua
35
1200
----------------------------------------- -- ID: 4389 -- Item: san_dorian_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
maikuru23/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua
4
1880
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: _0z0 ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden_of_RuHmet/TextIDs");...
gpl-3.0
winglsh/skynet
lualib/snax/gateserver.lua
16
3031
local skynet = require "skynet" local netpack = require "netpack" local socketdriver = require "socketdriver" local gateserver = {} local socket -- listen socket local queue -- message queue local maxclient -- max client local client_number = 0 local CMD = setmetatable({}, { __gc = function() netpack.clear(queue) en...
mit
maikuru23/darkstar
scripts/globals/effects/addendum_black.lua
74
1952
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect...
gpl-3.0
UnknownX7/darkstar
scripts/globals/spells/bio.lua
26
2084
----------------------------------------- -- Spell: Bio -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/magic"); require("scripts/globals/status"); -------------------------------...
gpl-3.0
LuaDist2/lua-smc
src/Smc/Python.lua
2
8846
require 'Coat' local CodeGen = require 'CodeGen' singleton 'Smc.Python' extends 'Smc.Language' has.id = { '+', default = 'PYTHON' } has.name = { '+', default = 'Python' } has.option = { '+', default = '-python' } has.suffix = { '+', default = '_sm' } has.generator = { ...
mit
omidgolmohammadi/omideblis
plugins/spam.lua
34
1560
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
henry4k/apoapsis
core/graphics/Model.lua
2
2325
--- @classmod core.graphics.Model --- Models are aggregations of meshes, textures, and shaders that can be used to render something on the screen. -- -- Includes @{core.HasTransformation} and @{core.physics.HasAttachmentTarget}. local engine = require 'engine' local class = require 'middleclass' local Object = cl...
mit
hprose/hprose-lua
src/hprose/output_stream.lua
3
1793
--[[ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
mit
UnknownX7/darkstar
scripts/globals/items/spicy_cracker.lua
12
1337
----------------------------------------- -- ID: 4466 -- Item: spicy_cracker -- Food Effect: 3Min, All Races ----------------------------------------- -- HP Recovered While Healing 7 -- Beast Killer +10 -- Resist Sleep +10 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
wland/quick3.6
cocos/scripting/lua-bindings/auto/api/Animation.lua
7
5350
-------------------------------- -- @module Animation -- @extend Ref -- @parent_module cc -------------------------------- -- Gets the times the animation is going to loop. 0 means animation is not animated. 1, animation is executed one time, ... <br> -- return The times the animation is going to loop. -- @function ...
mit
maikuru23/darkstar
scripts/zones/Bastok_Mines/npcs/Gregory.lua
38
1032
----------------------------------- -- Area: Bastok Mines -- NPC: Gregory -- Type: ENM -- @zone: 234 -- @pos 51.530 -1 -83.940 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Basto...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Kuftal_Tunnel/MobIDs.lua
28
2819
----------------------------------- -- Area: Kuftal Tunnel -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Amemet Amemet=17490016; Amemet_PH={ [17490000] = '1', -- 123.046, 0.250, 18.642 [17489994] = '1', -- 112.135, -0.278, 38.281 [17490001] = '1'...
gpl-3.0
either1/prosody-modules
mod_throttle_presence/mod_throttle_presence.lua
31
1709
local filters = require "util.filters"; local st = require "util.stanza"; module:depends("csi"); local function presence_filter(stanza, session) if stanza._flush then stanza._flush = nil; return stanza; end local buffer = session.presence_buffer; local from = stanza.attr.from; if stanza.name ~= "presence" or...
mit
cuiqingwei1981/openwrt
feeds/luci/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
59
3798
--[[ LuCI - Lua Configuration Interface Copyright 2011 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 ]]-- local ma...
gpl-2.0
zhityer/zhityer40
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
UnknownX7/darkstar
scripts/commands/delmission.lua
12
1609
--------------------------------------------------------------------------------------------------- -- func: delmission <logID> <missionID> <player> -- desc: Deletes the given mission from the GM or target player. --------------------------------------------------------------------------------------------------- requi...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Northern_San_dOria/npcs/Galahad.lua
14
1044
----------------------------------- -- Area: Northern San d'Oria -- NPC: Galahad -- Type: Consulate Representative NPC -- @zone 231 -- @pos -51.984 -2.000 -15.373 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextI...
gpl-3.0
HectorAE/scales
src/scales_taxa.lua
1
7227
-- Taxonomic class system for Scales -- Coded by Hector Escobedo local taxaranks = { [1] = "domain", [2] = "kingdom", [3] = "phylum", [4] = "class", [5] = "order", [6] = "family", [7] = "genus", [8] = "species", } local tr = taxaranks -- Taxonomic class tree local taxonomictree = {} local tt =...
gpl-3.0
maikuru23/darkstar
scripts/zones/Chateau_dOraguille/npcs/Perfaumand.lua
19
1642
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Perfaumand -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -39 -3 69 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
NiftyManiac/factorio-stickynotes
utils.lua
1
8869
-- utils.lua by binbinhfr, v1.0.16 -- define debug_status to 1 or nil in the control.lua, before statement require("utils") -- define also debug_file and debug_mod_name colors = { white = {r = 1, g = 1, b = 1}, black = {r = 0, g = 0, b = 0}, darkgrey = {r = 0.25, g = 0.25, b = 0.25}, grey = {r = 0.5, g = 0.5, b =...
mit
CuteOne/BadRotations
System/API/Item.lua
1
4343
local _, br = ... if br.api == nil then br.api = {} end br.api.items = function(item,k,v,subtable) if item[k] == nil then item[k] = {} end if subtable == "cd" then local cd = item cd[k].exists = function(itemID) if itemID == nil then itemID = v end return br._G.GetItemCo...
gpl-3.0
UnknownX7/darkstar
scripts/globals/spells/yurin_ichi.lua
27
1606
----------------------------------------- -- Spell: Yurin: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Lower_Jeuno/npcs/Zalsuhm.lua
18
4645
----------------------------------- -- Area: Lower Jeuno -- NPC: Zalsuhm -- Standard Info NPC ----------------------------------- require("scripts/globals/equipment"); require("scripts/globals/quests"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); function g...
gpl-3.0
maikuru23/darkstar
scripts/globals/spells/battlefield_elegy.lua
6
1765
----------------------------------------- -- Spell: Battlefield Elegy ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,tar...
gpl-3.0
UnknownX7/darkstar
scripts/globals/spells/bio_iii.lua
26
2604
----------------------------------------- -- Spell: Bio III -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Bio III value per point is '30' This is a constant set in the ...
gpl-3.0
maikuru23/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Rattling_Rain_IM.lua
8
2961
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Rattling Rain, I.M. -- Type: Border Conquest Guards -- @pos -227.956 -81.475 260.442 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua
17
4123
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: Treasure Chest -- @zone 213 ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Dynamis-Buburimu/bcnms/dynamis_Buburimu.lua
14
1269
----------------------------------- -- Area: dynamis_Buburimu -- Name: dynamis_Buburimu ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaBuburimu]UniqueID",os.time()); SetServerVariable("[DynaBubur...
gpl-3.0
wangqi/gameserver
server/src/gensrc/lua/BceChgShootMode_pb.lua
1
1147
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BceChgShootMode_pb', package.seeall) local BCECHGSHOOTMODE = protobuf.Descriptor(); local BCECHGSHOOTMODE_SHOOTMODE_FIELD = protobuf.FieldDescriptor(); BCECHGSHOOTMODE_SHOOTMODE_FIELD.name = "shootmode" BCECHGSHOOTMODE_SHOOTMODE_F...
apache-2.0
chihyaoma/Activity-Recognition-with-CNN-and-RNN
RNN/main.lua
1
6787
---------------------------------------------------------------- -- Activity-Recognition-with-CNN-and-RNN -- https://github.com/chihyaoma/Activity-Recognition-with-CNN-and-RNN -- -- -- This is a testing code for implementing the RNN model with LSTM -- written by Chih-Yao Ma. -- -- The code will take feature ve...
mit
maikuru23/darkstar
scripts/zones/Northern_San_dOria/npcs/Mevaloud.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mevaloud -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Port_Bastok/npcs/Agapito.lua
14
1947
----------------------------------- -- Area: Port Bastok -- NPC: Agapito -- Start & Finishes Quest: The Stars of Ifrit -- @zone 236 -- @pos -72.093 -3.097 9.309 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
alxhh/piratenluci
modules/admin-full/luasrc/controller/admin/network.lua
1
2370
--[[ LuCI - Lua Configuration Interface 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 may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- modu...
apache-2.0
UnknownX7/darkstar
scripts/globals/weaponskills/ruinator.lua
22
1675
----------------------------------- -- Ruinator -- Axe weapon skill -- Skill level: 357 -- Description: Delivers a four-hit attack. params.accuracy varies with TP -- In order to obtain Ruinator, the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all additional hit...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua
22
1131
----------------------------------- -- Area: Dynamis Valkurm -- MOB: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); -----------...
gpl-3.0
maikuru23/darkstar
scripts/globals/items/pumpkin_cake.lua
36
1213
----------------------------------------- -- ID: 5631 -- Item: Pumpkin Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +2 -- MP Recovered while healing +4 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
maikuru23/darkstar
scripts/zones/Cape_Teriggan/Zone.lua
2
1966
----------------------------------- -- -- Zone: Cape_Teriggan (113) -- ----------------------------------- package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Cape_Teriggan/TextIDs"); require("scripts/globals/icanheararainbow"); require("sc...
gpl-3.0
maikuru23/darkstar
scripts/globals/items/bowl_of_riverfin_soup.lua
36
1822
----------------------------------------- -- ID: 6069 -- Item: Bowl of Riverfin Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Accuracy % 14 Cap 90 -- Ranged Accuracy % 14 Cap 90 -- Attack % 18 Cap 80 -- Ranged Attack % 18 Cap 80 -- Amorph Killer 5 -----------------------------------...
gpl-3.0
maikuru23/darkstar
scripts/zones/Northern_San_dOria/npcs/Ulycille.lua
12
1894
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ulycille -- Type: Woodworking Adv. Synthesis Image Support -- @pos -183.320 9.999 269.651 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
zozaiq1/KING_BOTS1
plugins/stats.lua
8
4015
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_pri...
gpl-3.0
robooo/luarocks
spec/pack_spec.lua
7
2102
local test_env = require("test/test_environment") local lfs = require("lfs") local run = test_env.run local testing_paths = test_env.testing_paths test_env.unload_luarocks() local extra_rocks = { "/luasec-0.6-1.rockspec", "/luassert-1.7.0-1.src.rock", "/luasocket-3.0rc1-2.src.rock", "/luasocket-3.0rc1-2.r...
mit
UnknownX7/darkstar
scripts/zones/Port_San_dOria/npcs/Ambleon.lua
14
1059
----------------------------------- -- Area: Port San d'Oria -- NPC: Ambleon -- Type: NPC World Pass Dealer -- @zone 232 -- @pos 71.622 -17 -137.134 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -----...
gpl-3.0
either1/prosody-modules
mod_auth_custom_http/mod_auth_custom_http.lua
32
1346
-- Prosody IM -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local new_sasl = require "util.sasl".new; local json_encode = require "util.json"; local http = require "socket.http"; local options = module:get...
mit
maikuru23/darkstar
scripts/globals/mobskills/Thundris_Shriek.lua
6
1047
--------------------------------------------- -- Thundris Shriek -- -- Description: Deals heavy lightning damage to targets in area of effect. Additional effect: Terror -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Players will begin to be intimidated by the dvergr af...
gpl-3.0
wland/quick3.6
cocos/scripting/lua-bindings/auto/api/InnerActionFrame.lua
19
2736
-------------------------------- -- @module InnerActionFrame -- @extend Frame -- @parent_module ccs -------------------------------- -- -- @function [parent=#InnerActionFrame] getEndFrameIndex -- @param self -- @return int#int ret (return value: int) -------------------------------- -- -- @function [paren...
mit
alxhh/piratenluci
libs/nixio/axTLS/www/lua/download.lua
180
1550
#!/usr/local/bin/lua require"luasocket" function receive (connection) connection:settimeout(0) local s, status = connection:receive (2^10) if status == "timeout" then coroutine.yield (connection) end return s, status end function download (host, file, outfile) --local f = assert (io.open (outfile, "w")) loc...
apache-2.0
kaeza/minetest_game
mods/default/init.lua
15
1623
-- Minetest 0.4 mod: default -- See README.txt for licensing and other information. -- The API documentation in here was moved into game_api.txt -- Definitions made by this mod that other mods can use too default = {} default.LIGHT_MAX = 14 -- GUI related stuff default.gui_bg = "bgcolor[#080808BB;true]" default.gui...
lgpl-2.1
Tatuy/UAServer
data/actions/scripts/uatibia/sell_addon.lua
1
7701
--Selling rares items-- function onUse(cid, item, frompos, item2, topos) if item.actionid == 3428 then if doPlayerRemoveItem(cid, 5899, 1) then -- doPlayerAddItem(cid, 2152, 3) doSendMagicEffect(topos, CONST_ME_MAGIC_BLUE) else doPlayerSendCancel(cid, "You dont have the item addon...
gpl-2.0
maikuru23/darkstar
scripts/zones/Mhaura/npcs/Phoochuchu.lua
19
1441
----------------------------------- -- Area: Mhaura -- NPC: Phoochuchu -- Involved in Quest: A Thief in Norg!? -- @pos -4 -4 69 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Mh...
gpl-3.0
wland/quick3.6
quick/samples/drag/src/app/Utility.lua
8
5183
---获取大小宽高,或者宽高的一半 --常用代码段,用于返回不需要处理的node , #if not node then return nil end# --获取大小的方法对于gui也适用。 SIZE = function(node) if not node then return nil end local size = node:getContentSize() if size.width == 0 and size.height == 0 then local w,h = node:getLayoutSize() return cc.size(w,h) else return size end ...
mit
maikuru23/darkstar
scripts/zones/Qufim_Island/npcs/Sasa_IM.lua
6
3038
----------------------------------- -- Area: Qufim Island -- NPC: Sasa, I.M. -- Type: Outpost Conquest Guards -- @pos -245.366 -20.344 299.502 126 ------------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ------------------------------------- require("scripts/globals/c...
gpl-3.0
rev2004/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
UnknownX7/darkstar
scripts/globals/magicburst.lua
33
3436
require("scripts/globals/status") SC_NONE = 0 -- Lv0 None SC_TRANSFIXION = 1 -- Lv1 Light SC_COMPRESSION = 2 -- Lv1 Dark SC_LIQUEFACTION = 3 -- Lv1 Fire SC_SCISSION = 4 -- Lv1 Earth SC_REVERBERATION = 5 -- Lv1 Water SC_DETONATION = 6 -- Lv1 Wind SC_INDURATION = 7 -- Lv1 Ice SC_IMPACTIO...
gpl-3.0
maikuru23/darkstar
scripts/globals/spells/bio_iv.lua
6
2049
----------------------------------------- -- Spell: Bio III -- Deals dark damage that weakens an enemy's attacks and gruadually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
UnknownX7/darkstar
scripts/globals/items/broiled_carp.lua
12
1384
----------------------------------------- -- ID: 4586 -- Item: Broiled Carp -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -1 -- Ranged ATT % 14 (cap 45) ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Jugner_Forest/npcs/Mionie.lua
14
1907
----------------------------------- -- Area: Jugner Forest -- NPC: Mionie -- Type: Outpost Vendor -- @pos 54 0 -11 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest...
gpl-3.0
123ARMAN123/NOD32
plugins/inpm.lua
59
3138
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
UnknownX7/darkstar
scripts/globals/mobskills/Crosswind.lua
35
1039
--------------------------------------------- -- Crosswind -- -- Description: Deals Wind damage to enemies within a fan-shaped area. Additional effect: Knockback -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: --------------------------------------------- require("script...
gpl-3.0
maikuru23/darkstar
scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua
36
1753
----------------------------------- -- Area: Port Windurst -- NPC: Hohbiba-Mubiba -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst...
gpl-3.0
sasan1/galaxy
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
maikuru23/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua
34
1248
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pelftrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Windurst...
gpl-3.0
maikuru23/darkstar
scripts/globals/effects/warcry.lua
35
1071
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 ------...
gpl-3.0
UnknownX7/darkstar
scripts/globals/items/fish_mithkabob.lua
12
1464
----------------------------------------- -- ID: 4398 -- Item: fish_mithkabob -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 90 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
Tatuy/UAServer
data/npc/FORGOTTENSERVER-ORTS/scripts/Jean Pierre.lua
1
37280
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) npcHan...
gpl-2.0
UnknownX7/darkstar
scripts/zones/Port_Jeuno/npcs/Challoux.lua
17
1132
----------------------------------- -- Area: Port Jeuno -- NPC: Challoux -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade A...
gpl-3.0
Tatuy/UAServer
data/npc/FORGOTTENSERVER-ORTS/scripts/Ghost Of A Priest.lua
1
4088
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
UnknownX7/darkstar
scripts/globals/items/simit_+1.lua
12
1251
----------------------------------------- -- ID: 5597 -- Item: simit_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 18 -- Vitality 4 -- Defense 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
maikuru23/darkstar
scripts/zones/Horlais_Peak/bcnms/horns_of_war.lua
6
1766
----------------------------------- -- Area: Horlias peak -- Name: horns of war -- KSNM99 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/Horl...
gpl-3.0
maikuru23/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/qm2.lua
11
1497
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: ??? (qm2) -- Involved in Quest: Yomi Okuri -- @pos -176 10 -60 213 ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); re...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Valkurm_Dunes/npcs/Fighting_Ant_IM.lua
14
3326
----------------------------------- -- Area: Valkurm Dunes -- NPC: Fighting Ant, I.M. -- Border Conquest Guards -- @pos 908.245 -1.171 -411.504 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
TeleDALAD/DALADteam
plugins/ingroup.lua
202
31524
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
maikuru23/darkstar
scripts/globals/abilities/pets/lightning_breath.lua
6
1265
--------------------------------------------------- -- Lightning Breath --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --------------------------------------------------- function OnAb...
gpl-3.0
Tatuy/UAServer
data/actions/scripts/uatibia/quest80/traperboots.lua
1
1433
function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) < 80 then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,"Sorry, you are under lvl 80.") return 1 end if item.actionid == 21235 then queststatus = getPlayerStorageValue(cid,21235) if queststatus == -1 or queststatus == 0 then ...
gpl-2.0
kararahmed/karar.dev
plugins/en-lock-bot.lua
9
2082
local function isAntiBotEnabled (chatId) local hash = 'bot:lock:'..chatId local lock = redis:get(hash) return lock end local function enableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:set(hash, true) end local function disableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:del(hash) end local ...
gpl-2.0
546457a/AirCraftBot
config.lua
1
6476
return { bot_api_key = '211341194:AAEa9yDEr5H6BaQDGX7XkL-QAdhcjZnmvfE', version = '1', cmd = '^[/!#$]', db = 2, --default redis db: 0 superadmins = {285548729}, log_chat = -1001084595551, log_admin = 285548729, bot_settings = { cache_time = { adminlist = 7200, --2 hours (7200s) }, multipurpose_mode = t...
gpl-2.0
UnknownX7/darkstar
scripts/zones/Temple_of_Uggalepih/mobs/Manipulator.lua
17
2255
---------------------------------- -- Area: Temple of Uggalipeh -- NM: Manipulator -- Notes: Paths around the 2 staircases ----------------------------------- local path = { -17.930, -8.500, -93.215, -18.553, -7.713, -91.224, -20.226, -6.250, -89.091, -21.651, -5.005, -87.401, -23.137, -3.917, ...
gpl-3.0
UnknownX7/darkstar
scripts/globals/items/midwinter_dream.lua
12
1575
----------------------------------------- -- ID: 5543 -- Item: midwinter_dream -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP 10 -- MP 8% Cap 60 -- Intelligence 2 -- HP Recovered while healing 2 -- MP Recovered while healing 2 -------------------------------------...
gpl-3.0
maikuru23/darkstar
scripts/globals/items/shogun_rice_ball.lua
14
1764
----------------------------------------- -- ID: 4278 -- Item: shogun_rice_ball -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +20, Dex +4, Vit +4, Chr +4. (Atk +50, Def +30, DA% +5) * number of enhancing gear ----------------------------------------- require("scripts/globals...
gpl-3.0
UnknownX7/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Brazier.lua
14
4015
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Brazier -- Involved in Quests: Save my Sister -- @pos 101 -33 -59 195 (F-9) -- @pos 259 -33 99 195 (H-7) -- @pos 99 -33 98 195 (F-7) -- @pos 259 -33 -58 195 (H-9) ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Ne...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua
14
1031
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm4 (???) -- Notes: Opens west door @ J-9 -- @pos 92.542 -25.907 26.548 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ...
gpl-3.0
psydev/OpenRA
mods/cnc/maps/nod06a/nod06a.lua
25
7746
NodStartUnitsRight = { 'ltnk', 'bike', 'e1', 'e1', 'e3', 'e3' } NodStartUnitsLeft = { 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3' } Chn1Units = { 'e1', 'e1', 'e1', 'e1', 'e1' } Chn2Units = { 'e2', 'e2', 'e2', 'e2', 'e2' } Obj2Units = { 'ltnk', 'bike', 'e1', 'e1', 'e1' } Chn3CellTriggerActiva...
gpl-3.0
maikuru23/darkstar
scripts/zones/Metalworks/npcs/Mythily.lua
17
2002
----------------------------------- -- Area: Metalworks -- NPC: Mythily -- Type: Immigration NPC -- @pos 94 -20 -8 237 ----------------------------------- require("scripts/globals/conquest"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(play...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Xarcabard/Zone.lua
11
2954
----------------------------------- -- -- Zone: Xarcabard (112) -- ----------------------------------- package.loaded[ "scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Xarcabard/TextIDs"); require("scripts/globals/icanheararainbow"); require("scripts/globals/keyitems...
gpl-3.0
maikuru23/darkstar
scripts/globals/items/piscators_skewer.lua
36
1339
----------------------------------------- -- ID: 5983 -- Item: Piscator's Skewer -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 3 -- Vitality 4 -- Defense % 26 Cap 155 ----------------------------------------- require("scripts/globals/status"); ------------------------------...
gpl-3.0
shahabsaf1/testapibot
plugins/terminal.lua
1
1877
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' yo...
gpl-2.0
mohammad25253/yasha
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
migmig00/lolo
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
sarumjanuch/prosody
plugins/mod_pep.lua
2
9972
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; local st = require ...
mit
wangqi/gameserver
server/src/gensrc/lua/BseVisit_pb.lua
1
3625
-- Generated By protoc-gen-lua Do not Edit local protobuf = require "protobuf" module('BseVisit_pb', package.seeall) local BSEVISIT = protobuf.Descriptor(); local BSEVISIT_VISITED_UID_FIELD = protobuf.FieldDescriptor(); local BSEVISIT_TYPE_FIELD = protobuf.FieldDescriptor(); local BSEVISIT_LIVING_ROOM_FIELD = protobu...
apache-2.0
oanastratulat/Task
share/lua/meta/art/02_frenchtv.lua
48
2666
--[[ Gets an artwork from amazon $Id$ Copyright © 2007 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 of the License, or (at your option) any later version...
lgpl-2.1
thresheek/vlc
share/lua/playlist/break.lua
11
1988
--[[ $Id$ Copyright © 2007 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 of the License, or (at your option) any later version. This program is distribut...
gpl-2.0
deggesim/cqui
Assets/UI/diplomacyribbon.lua
5
31100
-- =========================================================================== -- Leader container list on top of the HUD -- =========================================================================== include("InstanceManager"); include("TeamSupport"); -- ===============================================================...
mit
UnknownX7/darkstar
scripts/zones/AlTaieu/npcs/_0x0.lua
14
2215
----------------------------------- -- Area: Al'Taieu -- NPC: Crystalline Field -- @pos .1 -10 -464 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/missions"); ------...
gpl-3.0
UnknownX7/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua
14
2481
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sorrowful Sage -- Type: Assault Mission Giver -- @pos 134.096 0.161 -30.401 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0