Code: Show/Hide if (player exists) { if (player may not pass blocks AND is not banfreed) { if (player is banned) { // give the player the name ^Banned and kick him out after 15000ms // Reply: PRMEANING_ENTER // Then user->Kick(15000, ban->BanID, ban->BanID); } if (player has an invalid TZB) { // give the player the name ^Banned and kick him out after 15000ms // Reply: PRMEANING_ENTER // Then user->Kick(15000, ban->BanID, ban->BanID); } } if (player has not connected in the last 90 days AND his password is still valid) { // let player enter // Reply: PRMEANING_ENTER } else { // don't let player enter, let him know he entered an incorrect password // Reply: PRMEANING_BADPW } } else if (biller does not accept new users) { // don't let player enter, tell him the biller is not accepting new users // Reply: PRMEANING_NONEW } else { if (player is banned) { // give the player the name ^Banned and kick him out after 15000ms // Reply: PRMEANING_ENTER // Then user->Kick(15000, ban->BanID, ban->BanID); } if (player has an invalid MachineID) { // give the player the name ^Banned and kick him out after 15000ms // Reply: PRMEANING_ENTER // Then user->Kick(15000, ban->BanID, ban->BanID); } if (player has an invalid TZB) { // give the player the name ^Banned and kick him out after 15000ms // Reply: PRMEANING_ENTER // Then user->Kick(15000, ban->BanID, ban->BanID); } if (player has not registered OR biller should not ask new users to consider registering) { // give the new user a registration form // Reply: PRMEANING_REGFORM } else { // ask the new user to consider registering // Reply: PRMEANING_ASK } } |
line 644 in rpc.h wrote: |
MakePlayerResponse(buffer, // Destination buffer
PRMEANING_ENTER, // Meaning GetLong(Packet->Message, 70), // PlayerID "^Banned", // Player name // ... |
declares.h wrote: |
enum Login_Params
{ PRMEANING_ENTER, // Implemented PRMEANING_ASK, // Implemented PRMEANING_BADPW, // Implemented PRMEANING_IPBLOCK, // Implemented PRMEANING_NONEW, // Implemented PRMEANING_BADNAME, // Implemented PRMEANING_REGFORM, // Implemented PRMEANING_BUSY, // Implemented PRMEANING_DEMO // Unused }; |
Contempt+ wrote: |
Can someone ban Quan? |