repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
nesstea/darkstar
scripts/zones/Promyvion-Holla/Zone.lua
13
8017
----------------------------------- -- -- Zone: Promyvion-Holla (16) -- ----------------------------------- package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/missions"); req...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/spells/diaga.lua
5
2174
----------------------------------------- -- Spell: Diaga -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ------------------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/items/mercanbaligi.lua
18
1261
----------------------------------------- -- ID: 5454 -- Item: Mercanbaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Windurst_Walls/npcs/HomePoint#2.lua
12
1254
----------------------------------- -- Area: Windurst Walls -- NPC: HomePoint#2 -- @pos -212 0.001 -99 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Walls/TextIDs"); require("scripts...
gpl-3.0
hamed9898/maxbot
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
mrkulk/inverse-graphics-networks
checkgradients.lua
1
2388
-- numerical gradient tests function checkEncoderGrads(criterion, model, data) criterion:forward(model:forward(data), data) model:backward(data, criterion:backward(model.output, data)) local EPSILON = 1e-7--0.0001 grad_diff = 0 local enc = model.modules[1].modules[4] local enc_truegrad_weight = torch.zer...
apache-2.0
nesstea/darkstar
scripts/zones/Maquette_Abdhaljs-Legion/Zone.lua
30
1150
----------------------------------- -- -- Zone: Maquette Abdhaljs-Legion -- ----------------------------------- package.loaded["scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"); --...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Metalworks/npcs/Franziska.lua
13
1168
----------------------------------- -- Area: Metalworks -- NPC: Franziska -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); -------------------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/PsoXja/npcs/_091.lua
8
1608
----------------------------------- -- Area: Pso'Xja -- NPC: _091 (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
UnfortunateFruit/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fj.lua
34
1109
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Leviathan's Gate -- @pos 88 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextID...
gpl-3.0
nesstea/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
27
2156
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 -- @pos -259 -30 276 178 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); re...
gpl-3.0
plajjan/snabbswitch
src/lib/lua/class.lua
15
3587
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Support for basic OO programming. Apart from the usual -- incantations of setmetatable(), it implements a simple mechanism to -- avoid table allocations by recycling objects that have been -- explicitely declared to no longer be in use....
apache-2.0
nesstea/darkstar
scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua
13
3093
----------------------------------- -- Area: King Ranperre's Tomb -- NPC: Tombstone -- Involved in Quest: Grave Concerns -- @pos 1 0.1 -101 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
cbarrett/etc
hammerspoon/init.lua
1
1650
--| Modes -- TODO add timeouts function submode(m, mods, key) local n = hs.hotkey.modal.new(nil, nil, nil) function n:exited() m:exit() end m:bind(mode, key, function () n:enter() end, nil, nil) return n end slash = hs.hotkey.modal.new({"cmd"}, "\\", nil) p = submode(slash, nil, "p") p:bind(nil, "f", f...
unlicense
UnfortunateFruit/darkstar
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
36
1471
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Dark.lua
12
2257
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Dark -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals...
gpl-3.0
Atcold/torch7
CmdLine.lua
3
7177
local CmdLine = torch.class('torch.CmdLine') local function strip(str) return string.match(str, '%-*(.*)') end local function pad(str, sz) return str .. string.rep(' ', sz-#str) end function CmdLine:error(msg) print('') io.stderr:write(msg) print('') self:help() os.exit(1) end function CmdLine:...
bsd-3-clause
nesstea/darkstar
scripts/zones/Norg/npcs/Verctissa.lua
7
3120
----------------------------------- -- Area: Norg -- NPC: Verctissa -- Starts Quest: Trial Size Trial By Water -- @pos -13 1 -20 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Port_Bastok/npcs/Powhatan.lua
36
3269
----------------------------------- -- Area: Port Bastok -- NPC: Powhatan -- Starts & Ends Quest: Welcome to Bastok, Guest of Hauteur ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
nesstea/darkstar
scripts/globals/spells/foe_requiem_vi.lua
26
1736
----------------------------------------- -- Spell: Foe Requiem VI ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
abasshacker/extreme
plugins/stats.lua
56
3988
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
nesstea/darkstar
scripts/globals/items/slice_of_giant_sheep_meat.lua
18
1350
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
FailcoderAddons/supervillain-ui
SVUI_Skins/components/blizzard/chat.lua
2
11048
--[[ ############################################################################## S V U I By: Failcoder ############################################################################## --]] --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select; local string = _G.string; local math =...
mit
UnfortunateFruit/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Treasure_Chest.lua
12
3003
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Treasure Chest -- @zone 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("...
gpl-3.0
jj918160/cocos2d-x-samples
samples/FantasyWarrior3D/src/cocos/network/DeprecatedNetworkFunc.lua
39
1074
--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():getTargetPlatform() if (kTargetIphone == targetPlatf...
mit
emadni/botteamtele
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
UnfortunateFruit/darkstar
scripts/zones/Kuftal_Tunnel/TextIDs.lua
5
1264
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6382; -- Obtained: <item> GIL_OBTAINED = 6383; -- Obtained <number> gil KEYITEM_OBTAINED = 6385; -- Obtain...
gpl-3.0
nesstea/darkstar
scripts/zones/Port_Windurst/npcs/Goltata.lua
13
1407
----------------------------------- -- Area: Port Windurst -- NPC: Goltata -- Involved in Quests: Wonder Wands -- Working 100% ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scri...
gpl-3.0
nesstea/darkstar
scripts/zones/Dynamis-Jeuno/Zone.lua
21
2379
----------------------------------- -- -- Zone: Dynamis-Jeuno -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-Jeuno/TextIDs"); -----------------------------------...
gpl-3.0
nesstea/darkstar
scripts/globals/items/serving_of_salmon_roe.lua
18
1326
----------------------------------------- -- ID: 5218 -- Item: serving_of_salmon_roe -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Magic 8 -- Dexterity 2 -- Mind -1 ----------------------------------------- require("scripts/globals/status"); --------------------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Bastok_Markets/npcs/Visala.lua
19
1167
----------------------------------- -- Area: Bastok Markets -- NPC: Visala -- Guild Merchant NPC: Goldsmithing Guild -- @pos -202.000 -7.814 -56.823 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
dpino/snabbswitch
src/lib/hash/murmur.lua
15
6965
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- Implementation of the MurmurHash3 hash function according to the -- reference implementation -- https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp -- -- This implementation does not include the variant MurmurMash3_x86...
apache-2.0
bowlofstew/Macaroni
Main/App/Source/test/lua/Tests.lua
2
5337
-------------------------------------------------------------------------------- -- Copyright 2011 Tim Simpson -- -- 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.a...
apache-2.0
nesstea/darkstar
scripts/globals/spells/paralyga.lua
21
1694
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpell...
gpl-3.0
nesstea/darkstar
scripts/zones/Northern_San_dOria/npcs/Mevaloud.lua
13
1411
----------------------------------- -- 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"); requi...
gpl-3.0
Olipro/Payday-2-BLT_Club-Sandwich-Edition
mods/base/lua/NetworkGame.lua
1
1540
CloneClass(NetworkGame) Hooks:Register("NetworkGameOnEnteredLobby") function NetworkGame.on_entered_lobby(self) self.orig.on_entered_lobby(self) local local_peer = managers.network:session():local_peer() local id = local_peer:id() Hooks:Call("NetworkGameOnEnteredLobby", local_peer, id) end Hooks:Register("Network...
mit
nesstea/darkstar
scripts/zones/Northern_San_dOria/npcs/Excenmille.lua
13
1072
----------------------------------- -- Area: Northern San d'Oria -- NPC: Excenmille -- Type: Ballista Pursuivant -- @zone: 231 -- @pos -229.344 6.999 22.976 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/mobskills/High-Tension_Discharger.lua
7
1246
--------------------------------------------------- -- High-Tension_Discharger -- Description: -- Type: Magical -- additional effect : Stun --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -----...
gpl-3.0
nesstea/darkstar
scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua
7
1407
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action -------...
gpl-3.0
Sravan2j/DIGITS
tools/torch/Optimizer.lua
1
3169
--[[ Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. Copyright (c) 2004 Elad Hoffer 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...
bsd-3-clause
nesstea/darkstar
scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua
13
3327
----------------------------------- -- Area: Yhoator Jungle -- NPC: Etaj-Pohtaj, W.W. -- Outpost Conquest Guards -- @pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
FailcoderAddons/supervillain-ui
SVUI_!Core/system/_reports/template.lua
2
2434
--[[ ############################################################################## S V U I By: Failcoder ############################################################################## ########################################################## LOCALIZED LUA FUNCTIONS #################################################...
mit
Whit3Tig3R/BestSpammbot1
plugins/invite.lua
63
1107
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) or is_gbanned(result.id) then -- Ignore bans and globall bans send_large_msg(chat, 'User is banned.') else ...
gpl-2.0
nesstea/darkstar
scripts/zones/Kuftal_Tunnel/npcs/qm5.lua
13
1458
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Northern_San_dOria/npcs/Miageau.lua
17
2458
----------------------------------- -- Area: Northern San d'Oria -- NPC: Miageau -- Type: Quest Giver NPC -- @zone: 231 -- @pos 115 0 108 -- -- Starts and Finishes: Waters of Cheval ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/items/slice_of_diatryma_meat.lua
18
1290
----------------------------------------- -- ID: 5290 -- Item: Slice of Diatryma Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +3 -- Intelligence -5 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
MuhammadWang/MCServer
MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua
8
1545
return { HOOK_BLOCK_SPREAD = { CalledWhen = "Called when a block spreads based on world conditions", DefaultFnName = "OnBlockSpread", -- also used as pagename Desc = [[ This hook is called when a block spreads.</p> <p> The spread carries with it the type of its source - whether it's a block spreads. ...
apache-2.0
nesstea/darkstar
scripts/globals/weaponskills/garland_of_bliss.lua
6
1933
----------------------------------- -- Garland Of Bliss -- Staff weapon skill -- Skill level: N/A -- Lowers target's defense. Duration of effect varies with TP. Nirvana: Aftermath effect varies with TP. -- Reduces enemy's defense by 12.5%. -- Available only after completing the Unlocking a Myth (Summoner) quest. -- Ali...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Quicksand_Caves/npcs/qm7.lua
8
1900
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? -- Involved in Mission: The Mithra and the Crystal (Zilart 12) -- @pos -504 20 -419 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
UnfortunateFruit/darkstar
scripts/globals/abilities/call_beast.lua
10
1072
----------------------------------- -- Ability: Call Beast -- Calls a beast to fight by your side. -- Obtained: Beastmaster Level 23 -- Recast Time: 5:00 -- Duration: Dependent on jug pet used. ----------------------------------- require("scripts/globals/common"); require("scripts/globals/status"); ---------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Ruhotz_Silvermines/Zone.lua
36
1131
----------------------------------- -- -- Zone: Ruhotz_Silvermines -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Ruhotz_Silvermines/TextIDs"] = nil; require("scripts/zones/Ruhotz_Silvermines/TextIDs"); ----------------------------------- -- onI...
gpl-3.0
nesstea/darkstar
scripts/zones/Temenos/bcnms/Central_Temenos_1st_Floor.lua
35
1135
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[C_Temenos_1st]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1303...
gpl-3.0
Lavoista/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
UnfortunateFruit/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Aligi-Kufongi.lua
15
2993
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Aligi-Kufongi -- Title Change NPC -- @pos -23 -21 15 26 ----------------------------------- require("scripts/globals/titles"); local title2 = { TAVNAZIAN_SQUIRE ,PUTRID_PURVEYOR_OF_PUNGENT_PETALS , MONARCH_LINN_PATROL_GUARD , SIN_HUNTER_...
gpl-3.0
nesstea/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
nesstea/darkstar
scripts/zones/Castle_Oztroja/npcs/relic.lua
13
1848
----------------------------------- -- Area: Castle Oztroja -- NPC: <this space intentionally left blank> -- @pos -104 -73 85 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); -----...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Lightning.lua
12
2289
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Lightning -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/gl...
gpl-3.0
nesstea/darkstar
scripts/globals/abilities/hasso.lua
27
1129
----------------------------------- -- Ability: Hasso -- Grants a bonus to attack speed, accuracy, and Strength when using two-handed weapons, but increases recast and casting times. -- Obtained: Samurai Level 25 -- Recast Time: 1:00 -- Duration: 5:00 ----------------------------------- require("scripts/globals/settin...
gpl-3.0
nesstea/darkstar
scripts/commands/addcurrency.lua
11
1322
--------------------------------------------------------------------------------------------------- -- func: @addcurrency <currency type> <amount> <target player> -- desc: Adds the specified currency to the player --------------------------------------------------------------------------------------------------- cmdpr...
gpl-3.0
dhruvparamhans/torch7
Tensor.lua
57
16339
-- additional methods for Storage local Storage = {} -- additional methods for Tensor local Tensor = {} -- types local types = {'Byte', 'Char', 'Short', 'Int', 'Long', 'Float', 'Double'} -- Lua 5.2 compatibility local log10 = math.log10 or function(x) return math.log(x, 10) end -- tostring() functions for Tensor an...
bsd-3-clause
nesstea/darkstar
scripts/globals/abilities/curing_waltz_iii.lua
19
2193
----------------------------------- -- Ability: Curing Waltz III -- Heals HP to target player. -- Obtained: Dancer Level 45 -- TP Required: 50% -- Recast Time: 00:10 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAb...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua
17
1068
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Slaughterman ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------...
gpl-3.0
nesstea/darkstar
scripts/globals/mobskills/Final_Retribution.lua
31
1048
--------------------------------------------- -- Final Retribution -- Family: Corse -- Description: Damages enemies in an area of effect. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1-3 shadows -- Range: Radial -- Notes: Only used by some notorious monsters like Xolotl. ------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Throne_Room/Zone.lua
32
1638
----------------------------------- -- -- Zone: Throne_Room (165) -- ----------------------------------- package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Throne_Room/TextIDs"); ------------------------...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fd.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 110 -34 -60 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
Mashape/kong
kong/plugins/response-ratelimiting/access.lua
2
2738
local policies = require "kong.plugins.response-ratelimiting.policies" local timestamp = require "kong.tools.timestamp" local kong = kong local next = next local pairs = pairs local tostring = tostring local EMPTY = {} local HTTP_INTERNAL_SERVER_ERROR = 500 local HTTP_TOO_MANY_REQUESTS = 429 local RATELIMIT_REMAINI...
apache-2.0
nesstea/darkstar
scripts/zones/Port_Bastok/npcs/Rafaela.lua
13
1083
----------------------------------- -- Area: Port Bastok -- NPC: Rafaela -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------------------------------- -- onTrade Action -----------------------------...
gpl-3.0
nesstea/darkstar
scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua
26
3747
----------------------------------- -- Area: Windurst Walls -- NPC: Ojha Rhawash -- Starts and Finishes Quest: Flower Child -- @zone 239 -- @pos -209 0 -134 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windu...
gpl-3.0
nesstea/darkstar
scripts/zones/Davoi/npcs/_45g.lua
13
2253
----------------------------------- -- Area: Davoi -- NPC: Groaning Pond -- Used In Quest: Whence Blows the Wind -- @pos 101 0.1 60 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
nesstea/darkstar
scripts/zones/Residential_Area/npcs/Moogle.lua
13
1094
----------------------------------- -- Area: Residential Area -- NPC: Moogle -- Defunct Script - Should not be called by anything anymore -- Moogle scripts are in each zone, calling a function from moghouse.lua ----------------------------------- require("scripts/globals/moghouse") -----------------------------------...
gpl-3.0
Mashape/kong
spec/03-plugins/23-rate-limiting/04-access_spec.lua
1
25017
local helpers = require "spec.helpers" local timestamp = require "kong.tools.timestamp" local cjson = require "cjson" local REDIS_HOST = helpers.redis_host local REDIS_PORT = 6379 local REDIS_PASSWORD = "" local REDIS_DATABASE = 1 local fmt = string.format local proxy_client = helpers.p...
apache-2.0
UnfortunateFruit/darkstar
scripts/zones/Windurst_Waters/npcs/Fuepepe.lua
19
3656
----------------------------------- -- Area: Windurst Waters -- NPC: Fuepepe -- Starts and Finishes Quest: Teacher's Pet -- Involved in Quest: Making the grade, Class Reunion -- @zone = 238 -- @pos = 161 -2 161 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;...
gpl-3.0
nesstea/darkstar
scripts/globals/spells/dia_ii.lua
26
2226
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------------------...
gpl-3.0
p00ria/Signal
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
dpino/snabbswitch
src/lib/lpm/ip6.lua
9
3597
module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local lib = require("core.lib") local htons = lib.htons local ntohs = lib.ntohs IP6 = {} ip6_t = ffi.typeof([[ union { uint64_t u64[2]; uint16_t u16[8]; uint8_t u8[16]; } ]]) local function colons (str) local i = 0 for _ in string.g...
apache-2.0
nesstea/darkstar
scripts/zones/Windurst_Woods/npcs/Hayah_Dahbalesahma.lua
13
1064
----------------------------------- -- Area: Windurst Woods -- NPC: Hayah Dahbalesahma -- Type: Standard NPC -- @zone: 241 -- @pos -50.363 -1.292 -147.883 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ...
gpl-3.0
Mashape/kong
spec/03-plugins/16-jwt/06-schema_spec.lua
3
1347
local schema_def = require "kong.plugins.jwt.schema" local v = require("spec.helpers").validate_plugin_config_schema describe("Plugin: jwt (schema)", function() it("validates 'maximum_expiration'", function() local ok, err = v({ maximum_expiration = 60, claims_to_verify = { "exp", "nbf" }, }, sc...
apache-2.0
UnfortunateFruit/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p0.lua
25
2664
----------------------------------- -- 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/Misare...
gpl-3.0
UnfortunateFruit/darkstar
scripts/zones/Southern_San_dOria/npcs/Pourette.lua
30
2210
----------------------------------- -- Area: Southern San d'Oria -- NPC: Pourette -- Only sells when San d'Oria controlls Derfland Region ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
mynameiscraziu/thisismilad
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
VurtualRuler98/kswep2-NWI
lua/ins_sounds/sounds_rpk.lua
1
1804
if (SERVER) then AddCSLuaFile() end --RPK sound.Add({ name="Weapon_RPK.Single", volume = 1.0, pitch = {100,105}, sound = "weapons/RPK/RPK_fp.wav", level = 145, channel = CHAN_STATIC }) sound.Add({ name="Weapon_RPK.SingleSilenced", volume = 1.0, pitch = {100,105}, sound = "weapons/RPK/RPK_suppressed_fp.wav", ...
apache-2.0
UnfortunateFruit/darkstar
scripts/zones/Throne_Room/mobs/Zeid2.lua
7
1635
----------------------------------- -- Area: Throne Room -- NPC: Zeidpart2 -- Mission 9-2 BASTOK BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/globals/monstertpmoves"); ------------------------...
gpl-3.0
0xd4d/iced
src/rust/iced-x86-lua/lua/types/iced_x86/ConstantOffsets.lua
1
2093
-- SPDX-License-Identifier: MIT -- Copyright (C) 2018-present iced project and contributors -- ⚠️This file was generated by GENERATOR!🦹‍♂️ ---@meta ---@diagnostic disable unused-local ---Contains the offsets of the displacement and immediate. --- ---Call `Decoder:get_constant_offsets()` or `Encoder:get_constant_off...
mit
UnfortunateFruit/darkstar
scripts/zones/Nashmau/npcs/Yohj_Dukonlhy.lua
24
1449
----------------------------------- -- Area: Nashmau -- NPC: Yohj Dukonlhy -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
nesstea/darkstar
scripts/zones/Upper_Jeuno/npcs/Champalpieu.lua
12
1225
----------------------------------- -- Area: Upper Jeuno -- NPC: Champalpieu -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
lissarae/sumatrapdf
premake5.files.lua
8
19183
function files_in_dir(dir, files_in_dir) local paths = {} for _, file in ipairs(files_in_dir) do -- TODO: don't add "/" if dir ends with it of file starts with it local path = dir .. "/" .. file table.insert(paths, path) end files(paths) end function zlib_files() files_in_dir("ext/zlib...
gpl-3.0
nesstea/darkstar
scripts/globals/items/lizard_egg.lua
18
1161
----------------------------------------- -- ID: 4362 -- Item: lizard_egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 5 -- Magic 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
vonflynee/opencomputersserver
world/opencomputers/689b9f29-1d36-4106-bf0e-c06a2ebfb1ef/lib/filesystem.lua
15
13264
local component = require("component") local unicode = require("unicode") local filesystem, fileStream = {}, {} local isAutorunEnabled = nil local mtab = {name="", children={}, links={}} local function segments(path) path = path:gsub("\\", "/") repeat local n; path, n = path:gsub("//", "/") until n == 0 local p...
mit
vonflynee/opencomputersserver
world/opencomputers/ce2455cc-66a6-412b-bce0-a153d60bdbf8/lib/filesystem.lua
15
13264
local component = require("component") local unicode = require("unicode") local filesystem, fileStream = {}, {} local isAutorunEnabled = nil local mtab = {name="", children={}, links={}} local function segments(path) path = path:gsub("\\", "/") repeat local n; path, n = path:gsub("//", "/") until n == 0 local p...
mit
kirangonella/torch7
FFI.lua
69
6117
local ok, ffi = pcall(require, 'ffi') local function checkArgument(condition, fn, ud, msg, level) local level = level or 3 if not condition then error("bad argument #" .. ud .. " to '" .. fn .. "' (" .. msg .. ")", level) end end local function checkArgumentType(expected, actual, fn, ud, level) loca...
bsd-3-clause
nesstea/darkstar
scripts/zones/Castle_Oztroja/npcs/_47f.lua
13
1250
----------------------------------- -- Area: Castle Oztroja -- NPC: _47f (Handle) -- Notes: Opens door _471 -- @pos -182 -15 -19 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); ...
gpl-3.0
nesstea/darkstar
scripts/zones/Cloister_of_Flames/mobs/Ifrit_Prime.lua
7
1779
----------------------------------------------------- -- Area: Cloister of Flames -- MOB: Ifrit Prime -- Involved in Quest: Trial by Fire -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems");...
gpl-3.0
nesstea/darkstar
scripts/zones/Wajaom_Woodlands/mobs/Hydra.lua
6
1292
----------------------------------- -- Area: Wajaom Woodlands -- MOB: Hydra -- @pos -282 -24 -1 51 ----------------------------------- require("scripts/globals/titles"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; function onMobFight(mo...
gpl-3.0
hamed9898/maxbot
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
jodemaey/MAOOAM-lyap-WIP
lua/inprod_analytic.lua
2
11032
-- inprod_analytic.lua -- (C) 2013-2016 Lesley De Cruz & Jonathan Demaeyer -- See LICENSE.txt for license information. ------------------------------------------------------------------------ -- Inner products between the truncated set of basis functions for the -- ocean and atmosphere streamfunction fields. -- These ...
mit
Mashape/kong
kong/plugins/rate-limiting/policies/init.lua
1
8137
local policy_cluster = require "kong.plugins.rate-limiting.policies.cluster" local timestamp = require "kong.tools.timestamp" local reports = require "kong.reports" local redis = require "resty.redis" local kong = kong local pairs = pairs local null = ngx.null local shm = ngx.shared.kong_rate_limiting_counters local ...
apache-2.0
Mashape/kong
spec/01-unit/01-db/01-schema/06-routes_spec.lua
1
36059
local routes = require "kong.db.schema.entities.routes" local routes_subschemas = require "kong.db.schema.entities.routes_subschemas" local services = require "kong.db.schema.entities.services" local Schema = require "kong.db.schema" local certificates = require "kong.db.schema.entities.certificates" local Entity ...
apache-2.0
brisberg/TameTallbirds
mod/scripts/lang/es.lua
1
1241
return { -- Display name of the tame birds TAMETALLBIRD_NAME = "Pájaralto Domado", TAMETALLBIRD_DESCRIBE = { -- Birds are friendly when well fed FULL = "Sorprendentemente amable con un estómago lleno.", -- Generic inspect string for the bird GENERIC = "Muy alto y muy leal.", ...
mit
heyuqi/wxFormBuilder
build/premake/4.3/tests/actions/vstudio/test_vs200x_vcproj_linker.lua
6
2518
-- -- tests/actions/vstudio/test_vs200x_vcproj_linker.lua -- Automated tests for Visual Studio 2002-2008 C/C++ linker block. -- Copyright (c) 2009, 2010 Jason Perkins and the Premake project -- T.vs200x_vcproj_linker = { } local suite = T.vs200x_vcproj_linker local vcproj = premake.vstudio.vcproj -- -- Setup/Tear...
gpl-2.0
UnfortunateFruit/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua
38
1043
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ragyaya -- Type: Standard NPC -- @zone: 94 -- @pos -95.376 -3 60.795 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ------...
gpl-3.0