[Bug Fix] Remove possible Duel exploit. (#1911)

* [Duels] Cleanup duel response/request logic.

* Fixes and function name cleanup.

* Patch file name changes.
This commit is contained in:
Kinglykrab
2022-01-02 22:06:31 -05:00
committed by GitHub
parent 9815f50efa
commit 645251992d
15 changed files with 89 additions and 46 deletions
+2 -2
View File
@@ -307,8 +307,8 @@ OP_RecipeAutoCombine=0x0353
OP_TradeSkillCombine=0x0b40
OP_RequestDuel=0x0000
OP_DuelResponse=0x0000
OP_DuelResponse2=0x0000 #when accepted
OP_DuelDecline=0x0000
OP_DuelAccept=0x0000 #when accepted
OP_RezzComplete=0x0000 #packet wrong on this
OP_RezzRequest=0x0000 #packet wrong on this
+2 -2
View File
@@ -288,8 +288,8 @@ OP_YellForHelp=0x0017
OP_LoadSpellSet=0x38b4
OP_Bandolier=0x2b6f
OP_PotionBelt=0x2d1b # Was 0x4d3b
OP_DuelResponse=0x0dee
OP_DuelResponse2=0x5e04
OP_DuelDecline=0x0dee
OP_DuelAccept=0x5e04
OP_SaveOnZoneReq=0x36b1
OP_ReadBook=0x383c
OP_Dye=0x62d8
+2 -2
View File
@@ -287,8 +287,8 @@ OP_YellForHelp=0x4e56
OP_LoadSpellSet=0x261d
OP_Bandolier=0x7677
OP_PotionBelt=0x1a3e
OP_DuelResponse=0x6a46
OP_DuelResponse2=0x68d3
OP_DuelDecline=0x6a46
OP_DuelAccept=0x68d3
OP_SaveOnZoneReq=0x600d
OP_ReadBook=0x72df
OP_Dye=0x23b9
+2 -2
View File
@@ -281,7 +281,7 @@ OP_YellForHelp=0x6f79 # C
OP_LoadSpellSet=0x7113 # C
OP_Bandolier=0x441c # C
OP_PotionBelt=0x5db5 # C
OP_DuelResponse=0x1ebb # C
OP_DuelDecline=0x1ebb # C
OP_SaveOnZoneReq=0x6eff # C
OP_ReadBook=0x2444 # C
OP_Dye=0x3672 # C
@@ -299,7 +299,7 @@ OP_DoGroupLeadershipAbility=0x540b # C
OP_GroupLeadershipAAUpdate=0x0c33
OP_DelegateAbility=0x0322 # C
OP_SetGroupTarget=0x521c # C
OP_DuelResponse2=0x52b5 # C
OP_DuelAccept=0x52b5 # C
OP_Charm=0x7108 # C
OP_Stun=0x2a6d # C
OP_SendFindableNPCs=0x5360
+2 -2
View File
@@ -275,7 +275,7 @@ OP_YellForHelp=0x4F4A #Trevius 03/19/09
OP_LoadSpellSet=0x05B5 #Trevius 03/19/09
OP_Bandolier=0x3FD4 #Trevius 03/19/09
OP_PotionBelt=0x16F3 #Trevius 03/19/09
OP_DuelResponse=0x5E59 #Derision 2009
OP_DuelDecline=0x5E59 #Derision 2009
OP_SaveOnZoneReq=0x1103 #Trevius 03/20/09
OP_ReadBook=0x424a #Xinu 03/19/09
OP_Dye=0x3611 #Xinu 03/19/09
@@ -292,7 +292,7 @@ OP_ClearRaidNPCMarks=0x56a9 #
OP_DoGroupLeadershipAbility=0x5a64 #Derision 2009
OP_DelegateAbility=0x57e3 #Derision 2009
OP_SetGroupTarget=0x1651 #Derision 2009
OP_DuelResponse2=0x2A85 #Derision 2009
OP_DuelAccept=0x2A85 #Derision 2009
OP_Charm=0x2F32 #Derision 2009
OP_Stun=0x55BF #Derision 2009
OP_FindPersonRequest=0x07F0 #Derision 2009
+2 -2
View File
@@ -356,8 +356,8 @@ OP_RecipeAutoCombine=0x0353
OP_TradeSkillCombine=0x0b40
OP_RequestDuel=0x28e1
OP_DuelResponse=0x3bad
OP_DuelResponse2=0x1b09 #when accepted
OP_DuelDecline=0x3bad
OP_DuelAccept=0x1b09 #when accepted
OP_RezzComplete=0x4b05
OP_RezzRequest=0x1035
+2 -2
View File
@@ -290,8 +290,8 @@ OP_YellForHelp=0x55a8 # C
OP_LoadSpellSet=0x6617 # C
OP_Bandolier=0x510c # C
OP_PotionBelt=0x0651 # C
OP_DuelResponse=0x41a6 # C
OP_DuelResponse2=0x6d60 # C
OP_DuelDecline=0x41a6 # C
OP_DuelAccept=0x6d60 # C
OP_SaveOnZoneReq=0x2913 # C
OP_ReadBook=0x465e # C
OP_Dye=0x2137 # C