[Feature] Implement OP_CashReward (#2307)

* Implement OP_CashReward

Tit opcode needs verifying still, I think it's correct.

Added Perl and lua client CashReward functions

* Forgot AddMoneyToPP call somehow

* Switch QuestManager::givecash to CashReward packet

* Fix extra comma
This commit is contained in:
Michael Cook (mackal)
2022-07-14 22:17:44 -04:00
committed by GitHub
parent ce74ac9913
commit 139845f971
14 changed files with 45 additions and 16 deletions
+1
View File
@@ -311,6 +311,7 @@ OP_SendFindableNPCs=0x34c3
OP_FindPersonRequest=0x2f3b
OP_FindPersonReply=0x44f7
OP_Sound=0x3cec
OP_CashReward=0x17a5
OP_PetBuffWindow=0x7197
OP_LevelAppearance=0x7c4d
OP_Translocate=0x6f01
+1
View File
@@ -312,6 +312,7 @@ OP_SendFindableNPCs=0x4613
OP_FindPersonRequest=0x5cea
OP_FindPersonReply=0x7e58
OP_Sound=0x1a30
OP_CashReward=0x5f7a
OP_PetBuffWindow=0x5882
OP_LevelAppearance=0x3bc9
OP_Translocate=0x6580
+1
View File
@@ -307,6 +307,7 @@ OP_SendFindableNPCs=0x5360
OP_FindPersonRequest=0x3168 # C
OP_FindPersonReply=0x1ac8 # C
OP_Sound=0x303e # C
OP_CashReward=0x3703
OP_PetBuffWindow=0x2dd3 # C
OP_LevelAppearance=0x6dc3 # C
OP_Translocate=0x2042 # C
+1
View File
@@ -299,6 +299,7 @@ OP_Stun=0x55BF #Derision 2009
OP_FindPersonRequest=0x07F0 #Derision 2009
OP_FindPersonReply=0x7770 #Derision 2009
OP_Sound=0x2B02 #Derision 2009
OP_CashReward=0x5e80
OP_PetBuffWindow=0x124A #Derision 2009
OP_LevelAppearance=0x3EC8 #Derision 2009
OP_Translocate=0x1F0F #Derision 2009
+1
View File
@@ -437,6 +437,7 @@ OP_FindPersonReply=0x5711 # ShowEQ 10/27/05
OP_ForceFindPerson=0x0000
OP_LoginComplete=0x0000
OP_Sound=0x541e
OP_CashReward=0x4c8c #maybe
#OP_Zone_MissingName01=0x0000 #remove on recompile
OP_MobRename=0x0498 # ShowEQ 10/27/05
OP_BankerChange=0x6a5b
+1
View File
@@ -316,6 +316,7 @@ OP_SendFindableNPCs=0x6193 # C
OP_FindPersonRequest=0x1e04 # C
OP_FindPersonReply=0x7cae # C
OP_Sound=0x737a # C
OP_CashReward=0x039d
OP_PetBuffWindow=0x7b87 # C
OP_LevelAppearance=0x1bd4 # C
OP_Translocate=0x3d9c # C