Skip to content

Instantly share code, notes, and snippets.

@Danil0v3s
Created August 18, 2022 20:59
Show Gist options
  • Save Danil0v3s/6489a6d2ab682cf08cb27f314077754d to your computer and use it in GitHub Desktop.
Save Danil0v3s/6489a6d2ab682cf08cb27f314077754d to your computer and use it in GitHub Desktop.
rAthena changes since packet 20200401
src/char/packets.hpp:37:#if PACKETVER_RE_NUM >= 20211103
src/char/packets.hpp:95:#if PACKETVER_MAIN_NUM >= 20201007 || PACKETVER_RE_NUM >= 20211103
src/char/packets.hpp:100:#if PACKETVER_MAIN_NUM >= 20201007 || PACKETVER_RE_NUM >= 20211103
src/char/packets.hpp:105:#if PACKETVER_MAIN_NUM >= 20201007 || PACKETVER_RE_NUM >= 20211103
src/config/packets.hpp:16: #define PACKETVER 20211103
src/config/packets.hpp:22: #if ( PACKETVER > 20151104 && PACKETVER < 20180704 ) || PACKETVER >= 20200902
src/map/atcommand.cpp:10744:#if !( PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724 )
src/map/clif.cpp:1804:#if PACKETVER_MAIN_NUM >= 20210303 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:2195:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:2298:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:2806:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:2920:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:3600:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:4700:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:4847:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:4893:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:7325:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:7686:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:7776:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:12756:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:13256:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:15244:#if PACKETVER < 20180221 || PACKETVER_RE_NUM >= 20200902
src/map/clif.cpp:15256:#if PACKETVER < 20180221 || PACKETVER_RE_NUM >= 20200902
src/map/clif.cpp:15784:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:16292:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:16396:#if PACKETVER_MAIN_NUM >= 20201104 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20201118
src/map/clif.cpp:16568:#if PACKETVER_MAIN_NUM >= 20201104 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20201118
src/map/clif.cpp:18756:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:19330:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:21571:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:22401:#if PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:22408:#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:22412:#if PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
src/map/clif.cpp:22806:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:22957:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:23083:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23102:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23318:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/clif.cpp:23476:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23526:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23588:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23601:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23615:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23800:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif.cpp:23808:#if PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:23825:#if PACKETVER_RE_NUM >= 20211103
src/map/clif_packetdb.hpp:2447:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/clif_packetdb.hpp:2454:#if PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
src/map/clif_shuffle.hpp:4744:#if PACKETVER_RE_NUM >= 20211103
src/map/packets.hpp:277:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
src/map/packets_struct.hpp:148:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:174:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:200:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:345:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:347:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:477:#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:479:#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:494:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:497:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:550:#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:552:#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:574:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:577:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:580:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:1277:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:1490:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:1707:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:1807:#if PACKETVER_MAIN_NUM >= 20201104 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20201118
src/map/packets_struct.hpp:1814:#endif // PACKETVER_MAIN_NUM >= 20201104 || PACKETVER_ZERO_NUM >= 20201118
src/map/packets_struct.hpp:1890:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2225:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:2232:#endif // PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:2336:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2432:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2593:#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:2595:#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:2604:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2607:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2610:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2642:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2707:#if PACKETVER_MAIN_NUM >= 20210303 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:2735:#elif PACKETVER_MAIN_NUM >= 20200819 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2892:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2961:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:2986:#else // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3012:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3014:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:3033:#else // PACKETVER_MAIN_NUM >= 20210203
src/map/packets_struct.hpp:3050:#endif // PACKETVER_MAIN_NUM >= 20210203
src/map/packets_struct.hpp:3105:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3147:#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
src/map/packets_struct.hpp:3159:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3269:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3277:#else // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3285:#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3388:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3667:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:3797:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:3975:#if PACKETVER >= 20200902
src/map/packets_struct.hpp:4480:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:4772:#if PACKETVER >= 20200902
src/map/packets_struct.hpp:4836:#if PACKETVER >= 20200902
src/map/packets_struct.hpp:5146:#if PACKETVER_ZERO_NUM >= 20210504
src/map/packets_struct.hpp:5192:#if PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
src/map/packets_struct.hpp:5197:#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
src/map/packets_struct.hpp:5199:#if PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:5205:#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:5207:#if PACKETVER_ZERO_NUM >= 20210504
src/map/packets_struct.hpp:5236:#if PACKETVER_ZERO_NUM >= 20210721
src/map/packets_struct.hpp:5244:#endif // PACKETVER_ZERO_NUM >= 20210721
src/map/packets_struct.hpp:5246:#if PACKETVER_ZERO_NUM >= 20210721
src/map/packets_struct.hpp:5254:#endif // PACKETVER_ZERO_NUM >= 20210721
src/map/packets_struct.hpp:5256:#if PACKETVER_ZERO_NUM >= 20210721
src/map/packets_struct.hpp:5264:#endif // PACKETVER_ZERO_NUM >= 20210721
src/map/packets_struct.hpp:5266:#if PACKETVER_MAIN_NUM >= 20210317 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210317
src/map/packets_struct.hpp:5273:#endif // PACKETVER_MAIN_NUM >= 20210317 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210317
src/map/packets_struct.hpp:5275:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:5281:#endif // PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/packets_struct.hpp:5291:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:5313: int32 protect_itemid; // used only for PACKETVER_RE_NUM >= 20200723 && PACKETVER_RE_NUM <= 20200819
src/map/packets_struct.hpp:5314: int32 protect_amount; // used only for PACKETVER_RE_NUM >= 20200723 && PACKETVER_RE_NUM <= 20200819
src/map/packets_struct.hpp:5327: int8 protect_flag; // used only for PACKETVER_RE_NUM >= 20200723 && PACKETVER_RE_NUM <= 20200819
src/map/packets_struct.hpp:5339:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:5349:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
src/map/packets_struct.hpp:5397:#if PACKETVER_MAIN_NUM >= 20220216
src/map/packets_struct.hpp:5409:#else // PACKETVER_MAIN_NUM >= 20220216
src/map/packets_struct.hpp:5420:#endif // PACKETVER_MAIN_NUM >= 20220216
src/map/packets_struct.hpp:5422:#if PACKETVER_MAIN_NUM >= 20220216
src/map/packets_struct.hpp:5430:#endif // PACKETVER_MAIN_NUM >= 20220216
src/map/script.cpp:26025:#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment