Commit graph

40 commits

Author SHA1 Message Date
MowFord
791eb00f1a
Some cleanup to xi.transports related to event timing 2025-10-21 09:29:30 -05:00
MowFord
570c26efc1
Setup framework for selb/mhaura pirates event
Co-Authored-By: Mattyg <mattygs@gmail.com>
Co-authored-by: Aerec <ezschneider1@gmail.com>
2025-09-30 23:41:03 -05:00
MowFord
ba703e911a
add: Carpenters' Landing barge
Co-authored-by: Ampitere <ampitere@live.com>
Co-authored-by: Frankie-hz <105882754+Frankie-hz@users.noreply.github.com>
Co-authored-by: Abdiah <62350957+dallano@users.noreply.github.com>
2025-09-25 11:35:06 -05:00
claywar
3b0ea09db8
Update transport database for shifts 2024-04-06 09:09:53 -04:00
Corey Sotiropoulos
f202e592e7 [sql] Speed up Aria table inserts
See:
https://mariadb.com/kb/en/aria-storage-engine/
2024-01-11 22:33:23 -05:00
Zach Toogood
24f35c4c5e [sql] Replace MyISAM engine with Aria 2024-01-04 18:43:36 +00:00
Zach Toogood
ca3bdd22fe [SQL] Add COLLATE=utf8mb4_general_ci to all tables 2024-01-04 18:25:12 +00:00
Corey Sotiropoulos
5f7cbe67e8 [dbtool] Fix DB dump to respect float formatting 2023-08-27 22:23:21 -04:00
Corey Sotiropoulos
d92c54d1b4 [dbtool] Add function to dump DB to SQL files
Queries database then scans corresponding SQL file, replacing values
in INSERT statements with data from the database.

Is not smart about which INSERT statement gets which data; line-end
comments can get shuffled around if SQL file INSERTs are out of order
or missing. If you're doing INSERT or DELETE operations, make sure
to add a blank "INSERT INTO `table` VALUES ();" or manually remove
the INSERT statement respectively before dumping tables.
2023-08-23 22:50:08 -04:00
Corey Sotiropoulos
0c55ce78ff [SQL] Whitespace changes 2023-08-20 19:47:38 -04:00
Zach Toogood
edc817a2d7 [db] Make all tables CHARSET=utf8mb4 2023-02-05 21:13:32 +00:00
claywar
0b71f391d6
[sql] Update transport.sql for NPC shifts 2022-11-10 12:09:09 -05:00
Zach Toogood
05b1a7f961 [chore] Clean up some formatting in SQL files 2022-07-05 12:49:26 +03:00
Aerec
9674ea2ce9 Fixes Pirate Ship Crashes
Co-Authored-By: Mattyg <mattygs@gmail.com>
2022-06-29 14:24:31 -04:00
TeoTwawki
dd02066118 Convert tables that are never written to back to MyISAM. Only tables we write to need InnoDB.
MyISAM = table level locking, fast but not safe for multiple simultaneous writes
InnoDB = row level locking, slow, but is safe for multiple simultaneous writes

```
Features                            MyISAM                        InnoDB
Type                                Non-Transactional             Transactional
Locking                             Table locking                 Row-level locking
Foreign keys                        No                            Yes
Table, index, data storage          Three separate files          Combined Tablespace
ACID                                No                            Yes
```
2021-11-10 08:09:45 -05:00
TeoTwawki
2589da530c Merge branch 'topaz' of https://github.com/DerpyProjectGroup/topaz into freedom
# Resolved Conflicts:
#	sql/job_points.sql
2021-04-18 13:49:29 -04:00
Ixion
c460a89139 Ixion is Come!
- Rebranding.
- Migrate to GitLab.
- Add support for database updates when using Docker.
- Give purpose to version.h (adjust minor version with client updates).
- Add an in-game `!ver` command.
- Remove references to AGPL.
2021-04-17 18:24:14 -04:00
TeoTwawki
276cf1a095 Merge branch 'canary' of https://github.com/topaz-next/topaz into freedom 2021-04-10 22:55:57 -04:00
TeoTwawki
de3066a3cb Remove even more banding references. The name "topaz" remains in places but all of "tpz" should be gone now. 2021-04-01 16:14:56 -04:00
Zach Toogood
9e4993893d Migrate all SQL tables from MyISAM to InnoDB 2021-02-05 17:07:08 +02:00
kaincenteno
898fe2c850 Fixing Ferries in Mhaura
* Offset was wrong and time at dock was also wrong. This was fixed.
* Issue with docking position for Ferries is still wrong, but pos in table is now retail accurate.
* NPC at dock in Mhaura now moves when ferry arrives and departs, also tells you about it,
not 100% retail accurate as it needs to rotate when it reaches final location. Leaving it as a TODO
for someone else to complete it.
2020-03-11 21:51:39 -07:00
Topaz
3eb1c1570f Remove DSP branding (copyright notices retained) 2019-12-02 12:40:02 -08:00
ffxijuggalo
67b1d78d54 Whitegate Transport Fix 2016-12-28 21:13:05 -06:00
TeoTwawki
8209f73159 Line ends, round 2. Fight! 2016-01-16 01:26:33 -05:00
Joe
fc93cf3a06 Update transport.sql 2015-01-25 18:05:34 -05:00
starlightknight
9d4d38a71b December Update: NPC ID Updates
Npc List SQL: These updates were done by the new next-gen npc id job. This job is way more accurate than the previous version due to the changes we made in reformatting npc_list.sql. A handful of zones were detected as shifted. Since this is the first run of the new job, I tried to do some manual spot checking in each shifted zone, and from the npcs I spot checked, things were looking correct to me. With that said, it's still possible there are bugs. If anyone finds any, please tag me in the issue or change so that I can look at why the job did not update it correctly. I apologize in advance for any incorrect ids :p

Scripts/Transport/Elevators - These were done by a post processing script, which shifts any ids the npc list job shifted in any lua xcript or transport/elevators SQL. This is just done by doing an ordered by descending find/replace. What this means is, if the script was out of sync with the npc ids before this change, it will still have the wrong id and need to be fixed manually - otherwise it will have obtained the new id as according to the batch job. Any scripts that get manually corrected due to being out of sync should be automatically picked up next time its id shifts. Help in verifying these is appreciated - if we get them all in sync, this job should be able to keep them in sync.

Very interested in any bugs that may be found so that we can improve the jobs further. If anyone is interested in the jobs, check the darkstar-utils repo.
2014-12-09 22:54:20 -05:00
starlightknight
26e5b3c143 SCRIPTS/SQL: November Update - Misc Id Shifts
Attempts to locate and shift script ids to match new npc ids as necessary

I double checked any that were noted in a comment, but otherwise largely assumed they shifted by one, since all zones shifted by 1 with the addition of UnityMaster npc.

This means that if the npc was broken before from neglect, it probably still is, but otherwise its likely fixed.

I couldn't possibly test everything myself so please help test and report remaining issues.
2014-11-18 19:22:12 -05:00
starlightknight
9962afd158 SQL: Fix Manaclipper Transport Ids after Bibiki Bay Updates 2014-04-27 09:57:37 -04:00
gedads
840754f633 Database corrected npcid nashmau + transport id 2014-04-10 23:13:22 +02:00
gedads
19b266ac1c database corrected transport door from whitegate + npcid whitegate al zhabi 2014-04-10 21:21:39 +02:00
gedads
831072a2a5 Database: transport.sql corrected doors for manaclipper in bibiki bay 2013-12-20 22:10:54 +00:00
teschnei
05c8bbaafa SQL: added and corrected many mob types
fixed NPC IDs in Lufaise Meadows, Tavnazian Safehold, Aht Urhgan Whitegate, Nashmau, Valkurm Dunes, San d'Oria, Bastok, Windurst, Selbina and Mhaura
fixed transports IDs (thanks gedads for all the sql changes)
CORE: added base MP to mob MP calculations (so level 1 mobs don't have 0 MP)
2013-12-18 19:41:34 +00:00
PrBlahBlahtson
256ba1ba40 Final Ferry Upgrade
SQL: Nashmau ferry ghosting issue, and that's all.

Getting the ferry NPCs to give the time dialog leads to them turning, and I can't do the dock NPCs speaking if the ferry arrives/departs without the player entity, so I guess I'm done for now ^^
2013-05-24 06:05:44 +00:00
PrBlahBlahtson
93af003773 Ferry upgrade Part 1
SQL: Rescheduled Selbina-Mhaura, Mhaura-Aht Urghan, and Aht Urghan-Nashmau ferries to use closer to retail timing.
SCRIPTS: Ferries departing from Mhaura will no longer disconnect players. (Bug 868)
- Dock NPCs in Selbina and Aht Urghan will now give estimates for ferry activities, while Mhaura will also identify which ferry is passing through.

Need to fix Nashmau's NPC.  I will probably add timing checks to the ferry captains as well, since I'm already overhauling the system.
2013-05-24 02:03:35 +00:00
lemaire_michel
75bb4de568 ADD: Manaclipper with "ticket system" and some transport fix (thx gedads)
script: NPC Rytaal .
2013-02-06 10:21:36 +00:00
bluekirby0
eb79ac59ad Fixed transport table so it aligns with the updated npc table properly 2013-01-06 12:59:26 +00:00
diatanato
bdf6c6ae91 транспорт Mhaura <-> Aht Ulhgan Whitegate 2012-04-01 09:11:52 +00:00
diatanato
a4ef210948 ship Selbina <---> Mhaura 2012-03-18 07:57:07 +00:00
diatanato
0350c5b95c транспорт: Selbina-Mhaura, Mhaura-Selbina, Mhaura-Whitegate (корабли без скриптов, путешествовать на них не получится) 2012-02-25 11:02:54 +00:00
diatanato
0ee8865fc9 SQL: transport table 2012-01-05 10:40:46 +00:00