Commit graph

8618 commits

Author SHA1 Message Date
Trust
b830fea185 [Feature] LUA SQL Support (Linux)
Copy the luasql_ext.lua from global/lib/lua/5.1/ and place that in the root game folder with your eqemu_config.json and edit the database information to mirror your connection requirements.

Example lua use:

```lua
local mysql = require("luasql_ext");

for id, level, locked_out in mysql.rows(con,string.format("SELECT DISTINCT c.`id`, c.`level` FROM group_id g INNER JOIN character_data c ON c.id = g.character_id WHERE g.group_id = %s", group:GetID())) do
			if tonumber(level) <= dia_min_level then dia_min_level = tonumber(level) end
			if tonumber(level) >= dia_max_level then dia_max_level = tonumber(level) end
			dia_total_level = dia_total_level + tonumber(level);
			dia_member_count = dia_member_count + 1;
		end

```

```lua
local mysql = require("luasql_ext");

		for id,name in mysql.rows(con,"SELECT id from npc_types WHERE id >= 211000 and id < 212000 and disable_instance = 1") do
			disable_instance[id] = tonumber(id);
		end
```
2024-11-04 21:06:51 -05:00
JJ
1aaa06ab08 Fix client signal in Halloween event 2024-10-04 19:23:01 -04:00
Alex King
141c3c1cf7
Update player.pl 2024-09-30 22:20:44 -04:00
Alex King
2e56d197a6
Update #Emissary_Tinnvin.pl 2024-08-20 20:33:16 -04:00
Trust
9eb0c4c0f6 Vish Updates 2024-08-16 17:25:10 -04:00
Trust
ee73ee8ecf [Tooling] Add JSON encode/decode module to lua
Include using:
`local json = require("json");`

   - function  json.encode(obj)       encodes Lua value to JSON, returns JSON as string.
   - function  json.decode(s, pos)    decodes JSON, returns the decoded result as Lua value
2024-08-15 18:52:11 -04:00
JJ
d3e60e7789 Merge branch 'master' of https://github.com/ProjectEQ/projecteqquests 2024-08-10 22:05:42 -04:00
JJ
85e6d63fa2 [Ranger 1.5] Add return items to Ghost of Mera 2024-08-10 22:05:29 -04:00
Trust
c0c8b20d52 Ferubi Masters trash count now persists on zone shutdown via buckets. 2024-08-05 17:28:02 -04:00
JJ
96aecb796f Merge branch 'master' of https://github.com/ProjectEQ/projecteqquests 2024-08-03 16:52:48 -04:00
JJ
b5a44cd3ea Fix lua turn-in 2024-08-03 16:52:15 -04:00
Andrew Villarrubia
e1c826359c
[Bug Fix] Fix a goblin traitor in Droga to properly set flag for quest continuation. (#1402) 2024-07-30 20:20:59 -04:00
JJ
d5d5638813 Shaman 1.5 spelling fixes 2024-07-27 09:05:01 -04:00
JJ
2151c337dc Proper quest call for experience 2024-07-07 21:27:43 -04:00
JJ
1573db6b4b nil check on ENC epic in sirens 2024-07-07 21:25:52 -04:00
Trust
ec957d8a92 Charm Additions and cleanup 2024-06-28 10:17:18 -04:00
Trust
4851d963f8 [Bug] On yar`lir's death adds should depop 2024-05-13 09:45:38 -04:00
Trust
5e31f4f397 nil check 2024-05-10 07:19:17 -04:00
Fryguy
62a98b32a5
Update goblin_dojo.lua
Resolve issue with FD
2024-05-08 11:44:06 -04:00
Trust
bde8cc9b24 [Bug] Need to add checks for Zeflmin Turning only on Hate and Sky items as they are still for sale in the world and used for port spells. 2024-04-21 19:12:46 -04:00
Trust
a797ed4093 Fix space vs tab 2024-04-20 20:47:51 -04:00
Xackery
c9528faa18
Lock veteran to dragons (#1392) 2024-04-20 20:46:45 -04:00
Trust
c9ed0f3e48 Relm does not port to AirPlane until May 22 2008 (SoF expansion) 2024-04-20 20:45:46 -04:00
Xackery
71f545413d
Disable PoK popup if PoP is disabled (#1396)
* Disable PoK popup if PoP is disabled

* Change from pok to DoN

* Change to DoN
2024-04-20 20:19:55 -04:00
Xackery
82188d65b1
Fix mysterious_voice (#1393)
* Fix mysterious_voice

* Add LDoN check for mysterious voice

* Change zoneid's to shortnames
2024-04-20 20:17:32 -04:00
JJ
733ebe8f01 Finish fixing Guild Hall portal for Plane of Hate
See #1389
2024-04-20 20:07:18 -04:00
Trust
e189aeb434 Merge branch 'master' of github.com:ProjectEQ/projecteqquests 2024-04-19 10:28:39 -04:00
Trust
86d9b07d80 [Bug] Typo 2024-04-19 10:28:35 -04:00
JJ
8f39e458c8 Some nil checks on globals 2024-04-18 21:39:52 -04:00
Trust
aad7d804a3 [DoN] Remove custom congrats and timer messages. 2024-04-18 14:39:10 -04:00
Trust
168284ab7a [DoN] Kessdona Updates 2024-04-18 10:28:18 -04:00
Trust
c5e2e214ff [DoN] Updates to Vish and Yar'Lir 2024-04-18 10:20:25 -04:00
Xackery
09f7452018
Disable Translocator Gethia pre-kunark (#1395) 2024-04-14 01:12:08 -04:00
Trust
d7bfcabf23 Add .editorconfig to be a guideline for basic formatting 2024-04-13 14:21:59 -04:00
JJ
cedfe9a0b2
Update Barodreth_Firefingers.lua 2024-04-13 05:36:04 -04:00
huffin
a1e1f22624
Update #Darkened_Chanting_Woodspirit.lua
update missing mechanics
2024-03-25 07:47:18 -06:00
Alex King
b9764f4bb7
Update Manaetic_Prototype_XI.lua 2024-03-10 01:29:44 -05:00
Alex King
daca1f8be4
Update Manaetic_Prototype_X.lua 2024-03-10 01:29:29 -05:00
Alex King
596f27f4cf
Update Manaetic_Prototype_IX.lua 2024-03-10 01:29:09 -05:00
JJ
679e732992 Revert some text changes that were probably wrong on Alla's 2024-03-09 13:19:09 -05:00
JJ
cdec9b942d Missed append 2024-03-09 12:27:59 -05:00
JJ
4de2626df9 Clean up Elefan and Zimloro quests 2024-03-09 12:25:45 -05:00
Trust
c52a5474f5 Start with base init of var 2024-03-05 17:45:09 -05:00
JJ
1894901072 [Guild Hall] Ensure we catch connect
Better to do guild check first
2024-03-05 17:26:12 -05:00
Trust
b0d81a2c18 qglobal nil check 2024-03-05 13:57:00 -05:00
regneq
a1ecdab8e3 fixed teleport spell to teleport groups. 2024-03-04 17:40:55 -08:00
JJ
f657218e55 Better routing check in Guild Hall
If a Guild Hall instance expired while the client was offline, they could end up in Version 0 and not in their instance.
If a client was removed from a guild while they were offline, they could still load into the Guild Hall.
2024-03-04 20:07:29 -05:00
regneq
e33dc582b3 correct comments 2024-03-02 15:37:35 -08:00
regneq
5d4f60c0f5 succor: lavastorm v0/v1 2024-03-02 14:59:44 -08:00
regneq
9589d782b8 add ring and circle of lavastorm for v0 / v1 port location. 2024-03-02 14:55:36 -08:00