1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-22 10:07:44 +00:00
Commit graph

3138 commits

Author SHA1 Message Date
collett
442585c8bb more 5.21 stuff 2020-03-10 21:10:35 +09:00
collett
672f215fe6 opcode pickup 2020-03-10 21:10:34 +09:00
collett
8cc4b4249f 5.21 2020-03-10 21:10:20 +09:00
Adam
fa1d5fab46
Merge pull request #648 from Sophira/discover-exp
Additional EXP bonus on full map completion
2020-03-03 20:15:19 +11:00
Sophie Hamilton
12f5603b11 Check for nullptr before using returned map data
It's best to not crash the server if we can help it.
2020-03-03 08:37:19 +00:00
Sophie Hamilton
f2ab3e5e01 New Discovery/DiscoveryHandler opcodes
Add in the new opcodes for Discovery and DiscoveryHandler found by
@collett8192.
2020-03-02 09:01:00 +00:00
Sophie Hamilton
6e77fcc226 Additional EXP bonus on full map completion
When the map is fully completed, gain an additional EXP bonus equal to
10 times the regular amount.
2020-03-02 08:55:06 +00:00
Sophie Hamilton
0fd2813c5d Make Player::discover() honour passed map_id
The Sapphire::Entity::Player::discover() method never actually honoured
the passed map_id, instead always using the ID of the map the player was
currently in.
2020-03-02 08:55:06 +00:00
Adam
d04a11e9ee
Merge pull request #647 from NotAdam/develop
replace service locator
2020-03-01 13:15:03 +11:00
NotAdam
6a3dfc684a fix windows build 2020-03-01 12:16:01 +11:00
NotAdam
5ccbaea266 fix quest_parser to use new service locator 2020-03-01 11:58:26 +11:00
NotAdam
472c41cda6 fix lobby gameconnection 2020-03-01 11:58:26 +11:00
NotAdam
41e6d73ff3 move to new service locator 2020-03-01 11:58:26 +11:00
NotAdam
64828a4c8a start of new service locator impl 2020-03-01 11:58:25 +11:00
Adam
97dbbf0fc1
Merge pull request #646 from Sophira/more-quest-parser-updates
quest_parser: Fix case for constants
2020-03-01 11:24:46 +11:00
Sophie Hamilton
def639e218 quest_parser: Fix case for constants
The generated onBNpcKill and onEObjHit functions were using the wrong
case for the constants they used. Ensure that they use the same case as
the declared constants, and reduce duplicate code.

Also, fix a typo in the onEObjHit function prototype which was causing
generated scripts to not compile properly, and revert the incorrect
addition (by me in an earlier commit) of "override".
2020-02-29 17:33:55 +00:00
Adam
47d9df8ae2
Merge pull request #645 from Sophira/quest-parser-update
quest_parser template update
2020-02-29 22:01:20 +11:00
Sophie Hamilton
2167b8db1a quest_parser template update
Use correct method of determining actor, use callback variables instead
of inline functions within scenes, and use the correct namespace.
2020-02-29 10:32:35 +00:00
Adam
f0a00576a2
Merge pull request #644 from collett8192/exp_fix
Should not gain any exp past max level.
2020-02-29 18:56:28 +11:00
Adam
b92d259d89
Merge pull request #643 from collett8192/5.2_fix_part_6
Solve the mystery of second quest not showing in gridania or limsa.
2020-02-29 18:55:43 +11:00
collett
474ae240dc Should not gain any exp past max level. 2020-02-27 00:59:28 +09:00
collett
eb7b76ca2c Solve the mystery of second quest now showing in gridania or limsa. 2020-02-26 08:12:29 +09:00
NotAdam
614ef5fccd fix windows build 2020-02-25 15:55:37 +11:00
Adam
df45bebff7
Merge pull request #642 from Sophira/fix-deletecharacter
Update deleteCharacter, remove charainfofriendlist
2020-02-25 12:52:08 +11:00
Adam
8780559537
Merge pull request #641 from collett8192/5.2_fix_part_5
Fix mount.
2020-02-25 12:11:54 +11:00
collett
266cb61ee6 opcode 2020-02-25 02:17:50 +09:00
collett
0be738d990 fix mount 2020-02-25 02:15:16 +09:00
Sophie Hamilton
f023ef119e Update deleteCharacter, remove charainfofriendlist
Not all data was deleted when deleting a character, making it impossible
to play a new character with the same name. Add in delete commands for
the additional tables and remove the reference to the (non-existent)
charainfofriendlist table.
2020-02-24 16:17:09 +00:00
NotAdam
c1b11a312b fix excel structures, been a while 2020-02-24 23:04:52 +11:00
Adam
2b5773a3ab
Merge pull request #640 from collett8192/5.2_fix_part_4
More fixes on action related enums.
2020-02-24 22:00:46 +11:00
collett
420dac5d16 More fixes on action related enums. 2020-02-24 19:24:29 +09:00
Adam
05e6f868cc
Merge pull request #639 from collett8192/5.2_fix_part_3
Inventory fix and more opcode update.
2020-02-24 21:13:38 +11:00
collett
c8c29f0a3a model equip 2020-02-24 18:57:08 +09:00
collett
50755efe87 fix offset comment 2020-02-24 18:31:15 +09:00
collett
0d8b406a77 Inventory fix and more opcode update. 2020-02-24 18:23:43 +09:00
Adam
7823230f61
Merge pull request #638 from collett8192/5.2_fix_part_2
Fix combo indicator and more opcode updates.
2020-02-20 21:21:26 +11:00
collett
97a1a854dc Fix combo indicator and more opcode updates. 2020-02-20 18:32:22 +09:00
Adam
008182ecba
Merge pull request #637 from collett8192/update_5.2
5.2 packet update.
2020-02-20 11:21:39 +11:00
collett
848a451dfe chat opcode 2020-02-19 19:04:20 +09:00
collett
c6b2fdc5dd fix npcspawn 2020-02-19 18:57:25 +09:00
collett
e15212a502 more opcode picked up 2020-02-19 16:52:44 +09:00
collett
9095d5b4bb fix build 2020-02-19 16:51:31 +09:00
collett
d80d4ba1bf 5.2 packet update. 2020-02-18 23:05:24 +09:00
NotAdam
93e4ced601 fix api routing, bit nicer code for fixing urls 2020-02-17 15:57:44 +11:00
NotAdam
3373d771ac fix an issue where some versions of std::fs would handle path generation differently
this changes the builtin http server to generate more reliable paths when parsing request bodies, fixes #635
2020-02-17 15:47:49 +11:00
Adam
855d53ae93
Merge pull request #634 from collett8192/mount_fix
Missing casting flag clear after mount action.
2020-02-13 08:22:25 +11:00
collett
5ba259a4e9 Missing casting flag clear after mount action. 2020-02-13 01:37:06 +09:00
NotAdam
399d9b0dcd loads of datreader cleanup/consistency fixes 2020-02-10 14:05:04 +11:00
NotAdam
9b1e9b3aa7 make readme more lazy 2020-02-10 13:42:22 +11:00
NotAdam
8c3e037ebf fix a strange issue where some stl implementations would produce an invalid path where 2 or more / are present sequentially in a path 2020-02-10 13:39:31 +11:00