Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Gold System
#4
Nean Wrote:You're not adding

Code:
SGold
and
Code:
CGold
in the client enum. Do that and the problem should be fixed.

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
I added that.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)