1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-03 17:27:47 +00:00
Commit graph

746 commits

Author SHA1 Message Date
ShelbyZ
e8b25f1562 Silence unchecked iterators for server_rest
- couldnt't find a better way to find the subpath or a root
- can't pass other iter length or it fails to view them as main and
subdir
2017-10-30 19:11:54 -07:00
Maru
42c3becd8f Small acc creation fixes; 2017-10-30 01:17:49 -02:00
Mordred
42df7b7d13 Removed old database class entirely, some minor cleanups 2017-10-28 22:47:25 +02:00
Mordred Admin
19decb8e39 Simplified usage of new database class 2017-10-27 14:01:50 +02:00
Mordred Admin
50c68c4468 Removed unnused includes 2017-10-27 09:06:16 +02:00
Mordred
db5cf9c45c Almost done porting... 2017-10-27 00:10:13 +02:00
Mordred Admin
dff1a5a28e Ported DebugCommandHandler naively 2017-10-26 15:22:58 +02:00
Mordred Admin
7e3c03ca32 Removed reference to database where unused 2017-10-26 14:40:58 +02:00
Mordred Admin
ff859cebfb Old db class removed entirely from REST server. Also some cleanups 2017-10-26 12:16:34 +02:00
Mordred Admin
f6354736da Fixed a overflow warning and return type error 2017-10-26 08:33:05 +02:00
Mordred
a8c1741964 PlayerMinimal almost completely ported 2017-10-26 00:13:41 +02:00
Mordred
00e717491b Initial inventory container creation ported 2017-10-25 23:24:47 +02:00
Mordred Admin
ec72cf6836 Merge http://www.github.com/SapphireMordred/Sapphire into SQL_REWRITE_OWN
Conflicts:
	CMakeLists.txt
	src/servers/Server_Common/Network/PacketDef/Ipcs.h
	src/servers/Server_Zone/Actor/PlayerQuest.cpp
	src/servers/Server_Zone/Actor/PlayerSql.cpp
2017-10-25 14:49:35 +02:00
Mordred
5c69e98c46 Merge pull request #159 from ShelbyZ/unbork_rest
Path comparison is causing issues
2017-10-24 22:59:49 +02:00
ShelbyZ
b202703afb Path comparison is causing issues
- don't be too smart without running through some testing
2017-10-24 10:51:51 -07:00
Mordred
64eac677a5 Merge pull request #157 from ShelbyZ/static_cast_round_2
More static_cast
2017-10-24 07:52:43 +02:00
Mordred
3564964a8a fixed an issue with binary fields bit read incorrectly 2017-10-23 23:55:25 +02:00
ShelbyZ
24f937fd61 Fixing linkshellid to uint64_t
updating methods, internal collection, and sql representation
2017-10-23 08:33:47 -07:00
Mordred
86cd16f5c1 Merge pull request #155 from ShelbyZ/unchecked_iters
Addressing unchecked iterator issues with core project
2017-10-23 08:08:28 +02:00
ShelbyZ
c9a53b5d2b 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
818f617661 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
b15fc7164c 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
c2223f52b5 Merge pull request #151 from ShelbyZ/compiler_flags
Fix up Flags around Edit and Continue
2017-10-22 11:02:46 +02:00
ShelbyZ
e50fd76062 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
f8796e1ecc Remove unreferenced parameters
- exceptions had unused parameters
2017-10-21 20:47:50 -07:00
GokuWeedLord
7707b4a750 !unlock and !help debug commands 2017-10-21 23:41:09 +11:00
GokuWeedLord
8957e1672b compiler warning fix 2017-10-21 23:40:51 +11:00
GokuWeedLord
adc33d8612 fix aetheryte_index being incorrect and causing a server crash 2017-10-21 23:40:36 +11:00
GokuWeedLord
72e8b86239 expose isincombat to scripts - isInCombat doesn't work though 2017-10-21 22:24:04 +11:00
GokuWeedLord
c79affb137 fix a compile warning 2017-10-21 22:23:28 +11:00
GokuWeedLord
5d9ab6fe48 gm command fix, quest debug output change 2017-10-21 19:21:43 +11:00
ShelbyZ
279563b90f Fixing spacing issues for casts 2017-10-20 14:12:24 -07:00
ShelbyZ
a73721764f 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
922d89d45f Merge pull request #142 from goaaats/master
Initial mounts implementation, nicer debug packet printing
2017-10-19 19:01:08 +02:00
Mordred
4284072267 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
Biscuit Boy
c54b0e2974 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
abb2ccdbe4 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
Mordred
25b75043c5 More sql updates and conversions 2017-10-18 20:49:37 +02:00
ShelbyZ
cbfee8ff79 Moving to uint8_t 2017-10-18 09:19:05 -07:00
amibu
69e82b80f1 Formatting 2017-10-18 18:08:51 +02:00
amibu
e62b712dce Mount debug command; 2017-10-18 18:06:25 +02:00
amibu
e586a119e0 Cleanup, mount DB saving; 2017-10-18 17:54:17 +02:00
amibu
f289837b00 ActionMount; 2017-10-18 15:49:19 +02:00
ShelbyZ
4833225459 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
3775c7730f Replicating retail packet flow for testing 2017-10-17 23:03:47 +02:00
amibu
951dabb58a Formatting 2017-10-17 22:52:12 +02:00
amibu
4bb0cd0f7b Cleanup 2017-10-17 22:49:33 +02:00
amibu
b0a2eb853a Base for mounts, needs to be in a ActionCast; 2017-10-17 21:31:00 +02:00
amibu
a555f91883 Ported beautiful packet printing from classic 2017-10-17 20:13:01 +02:00
amibu
57d21257a4 Fix chat opcode + packet struct; 2017-10-17 18:33:36 +02:00