[help] How to get clan war points to save?

I have fixed mine.

dbo.spWinTheClanGame:

Find:
PHP:
UPDATE Clan SET Losses=Losses+1, Point= game.fnGetMax(0, Point+(@LoserPoint)) WHERE CLID=@LoserCLID

Replace to:
PHP:
UPDATE Clan SET Losses=Losses+1, Point= dbo.fnGetMax(0, Point+(@LoserPoint)) WHERE CLID=@LoserCLID

Reason: User Game does not exist, causing the game to crash.
Wizkid said change game.fnGetMax to game.GetMax, which made MatchServer find no function, causing MatchServer to crash.
 
Upvote 0
Back