1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 07:07:45 +00:00
Commit graph

1671 commits

Author SHA1 Message Date
Mordred
ca2691d45c Merge pull request #155 from ShelbyZ/unchecked_iters
Addressing unchecked iterator issues with core project
2017-10-23 08:08:28 +02:00
ShelbyZ
05e5221f2e More static_cast
- expand some types
- gnarly std::pair issue with short to int8_t
- getLinkshellById now uses uint32_t
2017-10-22 20:51:25 -07:00
ShelbyZ
6ed2a850c7 Quantity treated as uint32_t at packet level
- move tryAddItem/AddItem to uint32_t from uint16_t
2017-10-22 18:53:58 -07:00
ShelbyZ
5f38a17663 Addressing unchecked iterator issues with core project
- std::equal can take a 2nd iterator end
- use _SCL_SECURE_NO_WARNINGS for std::copy issues in exd_common_gen
2017-10-22 18:11:00 -07:00
Mordred
876e6045df Merge pull request #151 from ShelbyZ/compiler_flags
Fix up Flags around Edit and Continue
2017-10-22 11:02:46 +02:00
ShelbyZ
9065b4ccea Fix up Flags around Edit and Continue
- remove /SAFESEH:NO
- apply /INCREMENTAL /ZI (debug only)
- remove sprinkling of /INCREMENTAL /ZI
2017-10-21 22:09:03 -07:00
ShelbyZ
35906f3af3 Remove unreferenced parameters
- exceptions had unused parameters
2017-10-21 20:47:50 -07:00
Mordred
013a875a8d Merge pull request #149 from GokuWeedLord/feature/debugfixes
misc bugfixes and improvements
2017-10-21 16:51:23 +02:00
GokuWeedLord
7db9ea07d6 !unlock and !help debug commands 2017-10-21 23:41:09 +11:00
GokuWeedLord
bebde300f1 compiler warning fix 2017-10-21 23:40:51 +11:00
GokuWeedLord
a36282a7fa fix aetheryte_index being incorrect and causing a server crash 2017-10-21 23:40:36 +11:00
GokuWeedLord
471b5d7220 expose isincombat to scripts - isInCombat doesn't work though 2017-10-21 22:24:04 +11:00
GokuWeedLord
bb42a771eb fix a compile warning 2017-10-21 22:23:28 +11:00
GokuWeedLord
cd1b51f23f gm command fix, quest debug output change 2017-10-21 19:21:43 +11:00
Mordred
98544ba5fb Merge pull request #147 from takhlaq/pcb
fixed map export legit this time
2017-10-21 09:20:37 +02:00
Mordred
0fa116219a Merge pull request #145 from ShelbyZ/static_casting_warnings
Fixing some type alignments via casting
2017-10-20 23:57:59 +02:00
Tahir Akhlaq
d499d53e5a fixed map export legit this time 2017-10-20 22:50:21 +01:00
ShelbyZ
54548e1928 Fixing spacing issues for casts 2017-10-20 14:12:24 -07:00
Mordred
0b25ec89ae Merge pull request #146 from takhlaq/pcb
cleaned up some compiler warnings in pcb_reader
2017-10-20 21:27:59 +02:00
Tahir Akhlaq
c7a2023df4 legit why the fuck are we missing stairs in towers (pcb) 2017-10-20 17:56:01 +01:00
Tahir Akhlaq
b11f5e492f cleaned up some compiler warnings in pcb_reader
- fixed loading some gimmick entries
2017-10-20 13:34:03 +01:00
ShelbyZ
3b42b1df9b Fixing some type alignments via casting
- static_cast for reasonable values
- at least one stray float
2017-10-19 16:18:16 -07:00
Mordred
9df21f92eb Merge pull request #142 from goaaats/master
Initial mounts implementation, nicer debug packet printing
2017-10-19 19:01:08 +02:00
Mordred
d2d6c05429 Merge pull request #141 from takhlaq/pcb
pcb stuff (missing some objects)
2017-10-19 19:00:21 +02:00
Tahir Akhlaq
4f557340c5 fix linux build for pcb reader 2017-10-19 17:49:08 +01:00
Tahir Akhlaq
3b2b3c7349 fix pcb linux build 2017-10-19 17:26:01 +01:00
Mordred
834a8b3271 Merge pull request #144 from AcedArmy/master
Added Version and Git Hash to Lobby, Zone Startup Info Banners
2017-10-19 18:25:53 +02:00
Tahir Akhlaq
842199b735 fixed collision dumping
- added saintcoinach's sgb parsing
2017-10-19 16:38:06 +01:00
Biscuit Boy
4a8883a0fa Add Verison and Git Hash to printBanner
Added Version and Git Hash to printBanner in Zone and Lobby Server
2017-10-20 02:23:45 +11:00
ShelbyZ
32a9d976f7 signed/unsigned mismatch issues
- Move for...loop int to size_t
- Move int32_t to uint32_t
2017-10-19 07:12:09 -07:00
Tahir Akhlaq
acbc33063a const all the things for readability
- removed .mdl collision loading since game doesnt use it

fixed style issues in pcb_reader
2017-10-19 09:39:05 +01:00
Tahir Akhlaq
7b127e20df fixed issue with missing objects 2017-10-19 09:38:53 +01:00
Tahir Akhlaq
c35795a9f3 slightly cleaned up PCB reader, added some exception logging 2017-10-19 09:38:52 +01:00
Tahir Akhlaq
edd529297c cleaned up collision map exporter
- export by object
2017-10-19 09:38:51 +01:00
Tahir Akhlaq
4e2bcbfa9c exported collision maps correctly now (i think) 2017-10-19 09:38:50 +01:00
Mordred
c7a864335f hopefully fixed issues with pcb 2017-10-19 09:38:49 +01:00
Tahir Akhlaq
87447d1a73 added wavefront obj dump (doesnt work yet) 2017-10-19 09:38:49 +01:00
Tahir Akhlaq
04c53a9181 added list.pcb file mapping
- added LGB parser (all credit for LGB to contributor<https://github.com/ufx/SaintCoinach/blob/master/SaintCoinach/Graphics/Lgb/>, lgb.h is simply their work ported to c++)
- todo: correct object placement
2017-10-19 09:38:48 +01:00
Mordred
e246c0a880 More sql updates and conversions 2017-10-18 20:49:37 +02:00
ShelbyZ
3e48b8002e Moving to uint8_t 2017-10-18 09:19:05 -07:00
amibu
19ca139413 Formatting 2017-10-18 18:08:51 +02:00
amibu
1f3d0112a5 Mount debug command; 2017-10-18 18:06:25 +02:00
amibu
77717d29f3 Cleanup, mount DB saving; 2017-10-18 17:54:17 +02:00
amibu
240e06a634 ActionMount; 2017-10-18 15:49:19 +02:00
ShelbyZ
238a1c17a6 Potential Truncation - value over signed char
In PacketHandlers.cpp ~line453 - we are trying to insert a hex value
(128) x80 and will cause an underflow to -128.  Suggestion is to move to
unsigned char to capture the intended value.
2017-10-17 17:14:11 -07:00
amibu
30aa9fe211 Replicating retail packet flow for testing 2017-10-17 23:03:47 +02:00
amibu
dfde3ed820 Formatting 2017-10-17 22:52:12 +02:00
amibu
fbae114aa0 Cleanup 2017-10-17 22:49:33 +02:00
amibu
e8c2fc81a5 Base for mounts, needs to be in a ActionCast; 2017-10-17 21:31:00 +02:00
amibu
4428ad3033 Ported beautiful packet printing from classic 2017-10-17 20:13:01 +02:00