01-03-2009, 03:09 AM
Nean Wrote:You're not adding
andCode:SGold
in the client enum. Do that and the problem should be fixed.Code:CGold
Yup I noticed that after I posted it. lol. That still did not resolve it though.
Robin Wrote:You're not calling;
HandlePlayerGold
Look at the top of modHandleData. You should see all the CallByAddresses. These call different subs depending on the packet's header.
Add an extra call so HandlePlayerGold is called if the packet's header is SGold
Within the Select Case statement? I have now, I believe and still get the same error.
Server:
Code:
Case CGold
HandlePlayerGold Index, Parse