Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
f73624d
Merge pull request #5 from Windower/dev
tehkrizz Jul 11, 2018
1c712cd
battlemod: Englishier monster level upon check
posimagi Apr 5, 2020
e46e0aa
Strings: Added string.encode
z16 Apr 7, 2020
36d45b3
Packets: Added encoding mechanism to packets.build
z16 Apr 7, 2020
193ada7
Packets: Fixed encoded string handling
z16 Apr 7, 2020
8e648af
Merge pull request #1859 from posimagi/battlemod-check-level
z16 Apr 8, 2020
1c3e6f6
Strings: Fixed various encoding issues
z16 Apr 8, 2020
5306c0d
Merge remote-tracking branch 'refs/remotes/Windower/dev'
tehkrizz Apr 10, 2020
8d9ccc9
Merge branch 'master' of https://github.com/tehkrizz/Lua
tehkrizz Apr 10, 2020
401fb76
Salvage2 Update
tehkrizz Apr 10, 2020
4554c09
DynamisHelper Update
tehkrizz Apr 10, 2020
dffbb02
Merge pull request #6 from Windower/dev
tehkrizz Apr 10, 2020
ed30313
Revert "DynamisHelper Update"
tehkrizz Apr 10, 2020
9e451bb
Packets: Fixed VLA field injection
z16 Apr 10, 2020
dea63f8
Packets: Fixed bit packed string encoding
z16 Apr 10, 2020
618d9af
Packets: Fixed bit packed string decoding
z16 Apr 10, 2020
f6f0b8c
Fields/0x017: Fixed field definitions
z16 Apr 10, 2020
68d0cdf
Delete settings.xml
tehkrizz Apr 10, 2020
1810b61
Delete settings.xml
tehkrizz Apr 10, 2020
f062cbe
Merge branch 'master' of https://github.com/tehkrizz/Lua
tehkrizz Apr 10, 2020
cab7299
Salvage2 Tabs to Spaces
tehkrizz Apr 10, 2020
d8e413f
Fields/LS: Fixed bit packed ctype
z16 Apr 10, 2020
0ed801b
Packets: Fixed incorrect null terminator
z16 Apr 10, 2020
e61dc31
Fields/0x017: Fixed message ctype
z16 Apr 10, 2020
72b75f6
EmpyPopTracker 2.3.0 - added colorless soul NMs.
xurion Apr 14, 2020
0de616a
Merge pull request #1861 from xurion/dev
z16 Apr 14, 2020
acd8f0d
Salvage2 and THTracker parenthesis and tabs
tehkrizz Apr 15, 2020
e8639b3
Merge pull request #1860 from tehkrizz/master
z16 Apr 15, 2020
c17a661
Added NoCampaignMusic addon.
xurion Apr 18, 2020
b6ede10
NCM: Added toggle for notifications.
xurion Apr 18, 2020
af2a94b
NCM: Optimised incoming chunk logic.
xurion Apr 18, 2020
976f767
Merge pull request #1862 from xurion/dev
z16 Apr 18, 2020
b8f21d3
Added buy status packet type for incoming AH confirmation packet.
AkadenTK Apr 18, 2020
15b092c
Merge pull request #1863 from baharms/dev
z16 Apr 19, 2020
3542597
Porter: Add new find command and resources lib
Ivaar Apr 19, 2020
aeda825
NCM: Fix error on mount in non-campign areas.
xurion Apr 20, 2020
e81f12a
Merge pull request #1865 from xurion/dev
z16 Apr 20, 2020
6652a86
Update AutoRA.lua
lili-ffxi Apr 23, 2020
8c1c415
Merge pull request #1866 from lili-ffxi/dev
z16 Apr 23, 2020
2cb0ce4
Merge pull request #1864 from Ivaar/dev
z16 Apr 23, 2020
ffa5a6a
fields: tractor enums and 0x0F9 field update
Ivaar Apr 24, 2020
b8d9539
Merge pull request #1867 from Ivaar/dev
z16 Apr 25, 2020
1e28977
Merge pull request #1 from Windower/dev
lili-ffxi Apr 25, 2020
61788a8
Update fields.lua
lili-ffxi Apr 25, 2020
2a07f69
Merge pull request #1868 from lili-ffxi/dev
z16 Apr 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/AutoRA/AutoRA.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ end
local haltontp = function()
settings.HaltOnTp = not settings.HaltOnTp

if settings.HaltonTp then
if settings.HaltOnTp then
windower.add_to_chat(17, 'AutoRA will halt upon reaching 1000 TP')
else
windower.add_to_chat(17, 'AutoRA will no longer halt upon reaching 1000 TP')
Expand Down
2 changes: 1 addition & 1 deletion addons/EmpyPopTracker/EmpyPopTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
_addon.name = 'Empy Pop Tracker'
_addon.author = 'Dean James (Xurion of Bismarck)'
_addon.commands = { 'ept', 'empypoptracker' }
_addon.version = '2.2.2'
_addon.version = '2.3.0'

config = require('config')
res = require('resources')
Expand Down
6 changes: 6 additions & 0 deletions addons/EmpyPopTracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ Originally developed to track Abyssea Empyrean weapon NMs, hence the name. Key i

All text colours are configurable via the auto-generated settings.xml file.

## Installation

Empy Pop Tracker is now available via the Windower 4 addons list.

## Load

`//lua load empypoptracker`

Note: You won't have to do this if you obtained this addon via Windower.

## Track an NM

`//ept track glavoid` tracks Glavoid pop items/key items.
Expand Down
50 changes: 50 additions & 0 deletions addons/EmpyPopTracker/nms/brulo.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
--[[
Copyright © 2020, Dean James (Xurion of Bismarck)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Empy Pop Tracker nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Dean James (Xurion of Bismarck) BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]

return {
name = 'Brulo',
pops = { {
id = 1652, --Emerald demilune abyssite
type = 'key item',
dropped_from = {
name = 'Koios (Conflux #5)',
pops = { {
id = 1565, --Colorful demilune abyssite
type = 'key item',
dropped_from = {
name = 'Fire/Earth Elemental',
pops = { {
id = 1564, --Clear demilune abyssite
type = 'key item',
dropped_from = { name = 'Any Cruor Prospector' }
} }
}
} }
}
} }
}
3 changes: 3 additions & 0 deletions addons/EmpyPopTracker/nms/index.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ local nms = {
'arch dynamis lord',
'azdaja',
'briareus',
'brulo',
'bukhis',
'carabosse',
'chloris',
Expand All @@ -41,6 +42,8 @@ local nms = {
'isgebind',
'itzpapalotl',
'kukulkan',
'maere',
'ogopogo',
'orthrus',
'sedna',
'sobek',
Expand Down
50 changes: 50 additions & 0 deletions addons/EmpyPopTracker/nms/maere.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
--[[
Copyright © 2020, Dean James (Xurion of Bismarck)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Empy Pop Tracker nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Dean James (Xurion of Bismarck) BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]

return {
name = 'Maere',
pops = { {
id = 1654, --Indigo demilune abyssite
type = 'key item',
dropped_from = {
name = 'Gamayun (Conflux #8)',
pops = { {
id = 1565, --Colorful demilune abyssite
type = 'key item',
dropped_from = {
name = 'Air/Dark Elemental',
pops = { {
id = 1564, --Clear demilune abyssite
type = 'key item',
dropped_from = { name = 'Any Cruor Prospector' }
} }
}
} }
}
} }
}
50 changes: 50 additions & 0 deletions addons/EmpyPopTracker/nms/ogopogo.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
--[[
Copyright © 2020, Dean James (Xurion of Bismarck)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Empy Pop Tracker nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Dean James (Xurion of Bismarck) BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]

return {
name = 'Ogopogo',
pops = { {
id = 1653, --Vermillion demilune abyssite
type = 'key item',
dropped_from = {
name = 'Chione (Conflux #7)',
pops = { {
id = 1565, --Colorful demilune abyssite
type = 'key item',
dropped_from = {
name = 'Ice/Water Elemental',
pops = { {
id = 1564, --Clear demilune abyssite
type = 'key item',
dropped_from = { name = 'Any Cruor Prospector' }
} }
}
} }
}
} }
}
129 changes: 129 additions & 0 deletions addons/NoCampaignMusic/NoCampaignMusic.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
--[[
Copyright © 2020, Dean James (Xurion of Bismarck)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of No Campaign Music nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Dean James (Xurion of Bismarck) BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]

_addon.name = 'No Campaign Music'
_addon.author = 'Dean James (Xurion of Bismarck)'
_addon.version = '2.0.1'
_addon.commands = {'nocampaignmusic', 'ncm'}

packets = require('packets')
config = require('config')

defaults = {
Notifications = false,
}

settings = config.load(defaults)

campaign_id = 247
solo_id = 101
party_id = 215
solo_dungeon_id = 115
party_dungeon_id = 216

zone_music_map = {}
zone_music_map[80] = { 254, 254, solo_id, party_id } --Southern San d'Oria [S]
zone_music_map[81] = { 251, 251, solo_id, party_id } --East Ronfaure [S]
zone_music_map[82] = { 0, 0, solo_id, party_id } --Jugner Forest [S]
zone_music_map[83] = { 0, 0, solo_id, party_id } --Vunkerl Inlet [S]
zone_music_map[84] = { 252, 252, solo_id, party_id } --Batallia Downs [S]
zone_music_map[85] = { 44, 44, solo_dungeon_id, party_dungeon_id } --La Vaule [S]
zone_music_map[87] = { 180, 180, solo_id, party_id } --Bastok Markets [S]
zone_music_map[88] = { 253, 253, solo_id, party_id } --North Gustaberg [S]
zone_music_map[89] = { 0, 0, solo_id, party_id } --Grauberg [S]
zone_music_map[90] = { 0, 0, solo_id, party_id } --Pashhow Marshlands [S]
zone_music_map[91] = { 252, 252, solo_id, party_id } --Rolanberry Fields [S]
zone_music_map[92] = { 44, 44, solo_dungeon_id, party_dungeon_id } --Beadeaux [S]
zone_music_map[94] = { 182, 182, solo_id, party_id } --Windurst Waters [S]
zone_music_map[95] = { 141, 141, solo_id, party_id } --West Sarutabaruta [S]
zone_music_map[96] = { 0, 0, solo_id, party_id } --Fort Karugo-Narugo [S]
zone_music_map[97] = { 0, 0, solo_id, party_id } --Meriphataud Mountains [S]
zone_music_map[98] = { 252, 252, solo_id, party_id } --Sauromugue Champaign [S]
zone_music_map[99] = { 44, 44, solo_dungeon_id, party_dungeon_id } --Castle Oztroja [S]
zone_music_map[136] = { 0, 0, solo_id, party_id } --Beaucedine Glacier [S]
zone_music_map[137] = { 42, 42, solo_id, party_id } --Xarcabard [S]
zone_music_map[138] = { 43, 43, solo_dungeon_id, party_dungeon_id } --Castle Zvahl Baileys [S]
zone_music_map[155] = { 43, 43, solo_dungeon_id, party_dungeon_id } --Castle Zvahl Keep [S]
zone_music_map[164] = { 0, 0, solo_dungeon_id, party_dungeon_id } --Garlaige Citadel [S]
zone_music_map[171] = { 0, 0, solo_dungeon_id, party_dungeon_id } --Crawlers' Nest [S]
zone_music_map[175] = { 0, 0, solo_dungeon_id, party_dungeon_id } --The Eldieme Necropolis [S]

windower.register_event('incoming chunk', function(id, data)
if id ~= 0x00A and id ~= 0x05F then return end

local parsed = packets.parse('incoming', data)
local zone_music = zone_music_map[parsed['Zone'] or windower.ffxi.get_info().zone]

if not zone_music then return end

if id == 0x00A then --Zone update (zoned in)
if parsed['Day Music'] == campaign_id and zone_music then
parsed['Day Music'] = zone_music[1]
parsed['Night Music'] = zone_music[2]
parsed['Solo Combat Music'] = zone_music[3]
parsed['Party Combat Music'] = zone_music[4]

return packets.build(parsed)
end
else --Music update (campaign possibly started/finished)
local info = windower.ffxi.get_info()
if parsed['Song ID'] == campaign_id then

if settings.Notifications and parsed['BGM Type'] == 0 then --only log to the chat once
windower.add_to_chat(8, 'Prevented campaign music.')
end

parsed['Song ID'] = zone_music[parsed['BGM Type'] + 1]
return packets.build(parsed)
end
end
end)

commands = {}

commands.notify = function()
settings.Notifications = not settings.Notifications
settings:save()
windower.add_to_chat(8, 'Campaign notifications: ' .. tostring(settings.Notifications))
end

commands.help = function()
windower.add_to_chat(8, 'No Campaign Music:')
windower.add_to_chat(8, ' //ncm notify - toggles campaign notifications (default false)')
windower.add_to_chat(8, ' //ncm help - shows this help')
end

windower.register_event('addon command', function(command)
command = command and command:lower() or 'help'

if commands[command] then
commands[command]()
else
commands.help()
end
end)
27 changes: 27 additions & 0 deletions addons/NoCampaignMusic/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# FFXI - No Campaign Music

Prevents all campaign battle music from playing in Final Fantasy XI, so you can listen to that sweet music that is normally obnoxiously interrupted.

## Load

```
//lua load ncm
```

## Campaign notifications

If you want to know when campaign is happening, you can toggle notifications:

```
//ncm notify
```

## Note

When campaign music is prevented from playing (whether it's as you zone in, or campaign starts in the zone) a message will log to the chatlog stating "Prevented campaign music." This not only confirms the addon is working, but shows you there's a campaign active should you want to take part.

## Contributing

If you notice something not quite right, please [raise an issue](https://github.com/xurion/ffxi-no-campaign-music/issues).

Or better yet, [pull requests](https://github.com/xurion/ffxi-no-campaign-music/pulls) are welcome!
9 changes: 8 additions & 1 deletion addons/addons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,13 @@
<bugtracker>https://github.com/Windower/Lua/issues</bugtracker>
<support>https://discord.gg/b275nMv</support>
</addon>
<addon>
<name>NoCampaignMusic</name>
<description>Prevents campaign battle music from playing in Shadowreign areas.</description>
<author>Dean James (Xurion of Bismarck)</author>
<bugtracker>https://github.com/xurion/ffxi-no-campaign-music/issues</bugtracker>
<support>https://www.ffxiah.com/forum/topic/52507/sick-of-campaign-music-prevent-it-with-this-addon/</support>
</addon>
<addon>
<name>Nostrum</name>
<description>Creates a click-able on-screen macro to help avoid targeting problems while curing.</description>
Expand Down Expand Up @@ -815,5 +822,5 @@
<description>Block graphical effects from Geomancer's Indi- spells.</description>
<bugtracker>https://github.com/Windower/Lua/issues</bugtracker>
<support>https://github.com/lili-ffxi</support>
</addon>
</addon>
</addons>
4 changes: 2 additions & 2 deletions addons/battlemod/battlemod.lua
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ windower.register_event('incoming chunk',function (id,original,modified,is_injec

if am.message_id > 169 and am.message_id <179 then
if am.param_1 > 2147483647 then
skill = 'like level -1 ('..ratings_arr[am.param_2-63]..')'
skill = 'to be level -1 ('..ratings_arr[am.param_2-63]..')'
else
skill = 'like level '..am.param_1..' ('..ratings_arr[am.param_2-63]..')'
skill = 'to be level '..am.param_1..' ('..ratings_arr[am.param_2-63]..')'
end
end
local outstr = (res.action_messages[am.message_id][language]
Expand Down
Loading