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

2357 commits

Author SHA1 Message Date
collett
672f215fe6 opcode pickup 2020-03-10 21:10:34 +09:00
collett
8cc4b4249f 5.21 2020-03-10 21:10:20 +09: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
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
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
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
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
collett
420dac5d16 More fixes on action related enums. 2020-02-24 19:24:29 +09: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
collett
97a1a854dc Fix combo indicator and more opcode updates. 2020-02-20 18:32:22 +09: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
collett
5ba259a4e9 Missing casting flag clear after mount action. 2020-02-13 01:37:06 +09:00
Adam
94cefbb658
Merge pull request #633 from collett8192/632
Fix #632.
2020-02-08 10:32:30 +11:00
NotAdam
d9d8d93279 Merge branch 'feature/vs2019' into develop 2020-02-08 09:58:30 +11:00
collett
81bbcbef23 Fix #632. 2020-02-08 00:43:49 +09:00
NotAdam
127960cd12 fix typo 2020-01-26 21:16:41 +11:00
collett
05f38dedde fix derp 2020-01-24 08:09:20 +09:00
collett
a7d527bf0a these bytes are mounts as well. 2020-01-23 23:23:44 +09:00
collett
d60dff5838 Fix moundId type. 2020-01-23 22:43:16 +09:00
collett
4839fcc577 Implement mount action. 2020-01-23 22:36:01 +09:00
collett
911349a1dd Fix update position packet. 2020-01-22 17:55:40 +09:00
collett
78e0e4d985 enum/struct/packet updates, fix dot/hot tick, remove incorrect initial delay for player autoattacks. 2020-01-19 21:20:01 +09:00
NotAdam
22b499c3f7 fix lobby error message reading from packet incorrectly 2020-01-18 12:32:17 +11:00
Adam
5d5763c74e
Merge pull request #627 from NotAdam/develop
fix some warnings & world shouldn't crash when warming up object cache
2020-01-11 18:42:19 +11:00
NotAdam
755c6b55c0 fix some warnings & world shouldn't crash when warming up object cache 2020-01-11 18:20:06 +11:00
Adam
38392be3bf
Merge pull request #625 from collett8192/crit_and_dh
Critical and direct hit.
2020-01-09 12:03:49 +11:00