Level 120 (L1-L5): AVA2 maps, drops, dungeons, dungeon timer UI
- tools/server/level-120: sbtest install of the 120 exp table and the unsigned exp column. - tools/server/ava2-maps: the 10 AVA2 maps (pack, map data, regen, designed drops) for sbtest; Ava2MapsScript.inc, gr2 texture and mob_proto tests. - tools/server/ava2-dungeons: snow / ship defence / Meley quests ported from AVA2 (make_quests.py + install.sh). - mt_dungeon_timer (DungeonTimerScript.inc): AVA2 dungeon timer in place of the minimap (RefreshDungeonTimer) and the hydra mast HP bar (gethydrahp). - Autohunt skips a target that is hit but takes no damage for 4 s (blocked Meley statues) and keeps it skipped for 60 s; FindCloseTarget now honours the skip list. Meley full run passed on sbtest with the Mac client. Not deployed live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
657e49e52a
commit
a1e7da68a4
@@ -937,6 +937,9 @@ bool CPythonNetworkStream::RecvWarpPacket()
|
||||
|
||||
__DirectEnterMode_Set(m_dwSelectedCharacterIndex);
|
||||
|
||||
// PORT: the phase stays "Game" until the new core's GC_PHASE arrives, and a chat sent once the new socket
|
||||
// was online but before that reached the core's handshake phase; leave "Game" now so PORT_IsGamePhase drops it.
|
||||
m_strPhase = "Warp";
|
||||
CNetworkStream::Connect((DWORD)kWarpPacket.lAddr, kWarpPacket.wPort);
|
||||
|
||||
return true;
|
||||
@@ -1180,6 +1183,9 @@ bool CPythonNetworkStream::SendChatPacket(const char * c_szChat, BYTE byType)
|
||||
if (strlen(c_szChat) >= 512)
|
||||
return true;
|
||||
|
||||
if (!PORT_IsGamePhase()) // PORT: timers (e.g. /bio status) kept firing during the warp handshake.
|
||||
return false;
|
||||
|
||||
if (c_szChat[0] == '/')
|
||||
{
|
||||
if (1 == strlen(c_szChat))
|
||||
@@ -2424,6 +2430,8 @@ bool CPythonNetworkStream::RecvDamageInfoPacket()
|
||||
{
|
||||
if(DamageInfoPacket.damage >= 0)
|
||||
pInstTarget->AddDamageEffect(DamageInfoPacket.damage,DamageInfoPacket.flag,bSelf,bTarget);
|
||||
if (!bSelf)
|
||||
CPythonPlayer::Instance().AutoHunt_OnDamage(DamageInfoPacket.dwVID, DamageInfoPacket.damage); // PORT
|
||||
else
|
||||
TraceError("Damage is equal or below 0.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user