mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 15:47:46 +00:00
dupe the last entry in level table to make sure we are not reading invalid memory.
also disable some old opcode
This commit is contained in:
parent
0e01894264
commit
b5b3e086dc
2 changed files with 19 additions and 9 deletions
|
@ -295,13 +295,13 @@ enum ServerZoneIpcType :
|
||||||
DailyQuests = 0x2EF, // updated 6.58 hotfix 2
|
DailyQuests = 0x2EF, // updated 6.58 hotfix 2
|
||||||
DailyQuestRepeatFlags = 0x134, // updated 6.58 hotfix 2
|
DailyQuestRepeatFlags = 0x134, // updated 6.58 hotfix 2
|
||||||
|
|
||||||
MapUpdate = 0xa3, // updated 6.48
|
MapUpdate = 0xF0A3, // updated 6.48
|
||||||
MapUpdate4 = 0x345, // updated 6.48
|
MapUpdate4 = 0xF345, // updated 6.48
|
||||||
MapUpdate8 = 0x10c, // updated 6.48
|
MapUpdate8 = 0xF10c, // updated 6.48
|
||||||
MapUpdate16 = 0x360, // updated 6.48
|
MapUpdate16 = 0xF360, // updated 6.48
|
||||||
MapUpdate32 = 0x1b1, // updated 6.48
|
MapUpdate32 = 0xF1b1, // updated 6.48
|
||||||
MapUpdate64 = 0x325, // updated 6.48
|
MapUpdate64 = 0xF325, // updated 6.48
|
||||||
MapUpdate128 = 0x9c, // updated 6.48
|
MapUpdate128 = 0xF09c, // updated 6.48
|
||||||
|
|
||||||
/// Doman Mahjong //////////////////////////////////////
|
/// Doman Mahjong //////////////////////////////////////
|
||||||
MahjongOpenGui = 0x02A4, // only available in mahjong instance
|
MahjongOpenGui = 0x02A4, // only available in mahjong instance
|
||||||
|
@ -414,7 +414,7 @@ enum ClientZoneIpcType :
|
||||||
WithinRangeEventHandler = 0x1b9, // updated 6.48
|
WithinRangeEventHandler = 0x1b9, // updated 6.48
|
||||||
OutOfRangeEventHandler = 0x263, // updated 6.48
|
OutOfRangeEventHandler = 0x263, // updated 6.48
|
||||||
EnterTeriEventHandler = 0x105, // updated 6.58 hotfix 2
|
EnterTeriEventHandler = 0x105, // updated 6.58 hotfix 2
|
||||||
ShopEventHandler = 0x0384, // updated 5.58h
|
ShopEventHandler = 0xF384, // updated 5.58h
|
||||||
ReturnEventHandler = 0x07D, // updated 6.58 hotfix 2
|
ReturnEventHandler = 0x07D, // updated 6.58 hotfix 2
|
||||||
TradeReturnEventHandler = 0x37D, // updated 6.58 hotfix 2
|
TradeReturnEventHandler = 0x37D, // updated 6.58 hotfix 2
|
||||||
TradeReturnEventHandler2 = 0x354, // updated 6.48
|
TradeReturnEventHandler2 = 0x354, // updated 6.48
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
using namespace Sapphire::Math;
|
using namespace Sapphire::Math;
|
||||||
using namespace Sapphire::Entity;
|
using namespace Sapphire::Entity;
|
||||||
|
|
||||||
const int levelTable[81][6] =
|
const int levelTable[91][6] =
|
||||||
{
|
{
|
||||||
// MAIN,SUB,DIV,HP,ELMT,THREAT
|
// MAIN,SUB,DIV,HP,ELMT,THREAT
|
||||||
{ 1, 1, 1, 1, 1, 1 },
|
{ 1, 1, 1, 1, 1, 1 },
|
||||||
|
@ -102,6 +102,16 @@ const int levelTable[81][6] =
|
||||||
{ 330, 376, 3034, 3600, 295, 466 },
|
{ 330, 376, 3034, 3600, 295, 466 },
|
||||||
{ 335, 378, 3164, 3600, 295, 466 },
|
{ 335, 378, 3164, 3600, 295, 466 },
|
||||||
{ 340, 380, 3300, 3600, 569, 569 },
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
|
{ 340, 380, 3300, 3600, 569, 569 },
|
||||||
};
|
};
|
||||||
|
|
||||||
std::random_device CalcStats::dev;
|
std::random_device CalcStats::dev;
|
||||||
|
|
Loading…
Add table
Reference in a new issue