Compiling with rule violation
I'm trying to compile the server with rule violations, already added the parameters, but I'm getting this error:
This is the line:
I've tried to change it to (Player*) and (Player* gamemaster), still getting errors :/ Can anyone help me? Thanks!
I'm trying to compile the server with rule violations, already added the parameters, but I'm getting this error:
Code:
C:\The Forgotten Server\game.cpp In member function `bool Game::playerOpenChannel(uint32_t, uint16_t)':
1580 C:\The Forgotten Server\game.cpp no matching function for call to `Protocol80::sendRuleViolationChannel()'
note C:\The Forgotten Server\protocol80.h:279 candidates are: void Protocol80::sendRuleViolationChannel(Player*)
C:\The Forgotten Server\Makefile.win [Build Error] [game.o] Error 1
This is the line:
Code:
player->client->sendRuleViolationChannel();
I've tried to change it to (Player*) and (Player* gamemaster), still getting errors :/ Can anyone help me? Thanks!
Last edited: