Reader small image

You're reading from  Torque 3D Game Development Cookbook

Product typeBook
Published inJan 2013
Reading LevelIntermediate
PublisherPackt
ISBN-139781849693547
Edition1st Edition
Languages
Right arrow
Author (1)
DAVID WYAND
DAVID WYAND
author image
DAVID WYAND

David Wyand has been using GarageGames' Torque Game Engine for the past 10 years. Among his other interestes are 3D graphics applications, computer networking and Artificial Intelligence for computer games.
Read more about DAVID WYAND

Right arrow

Kicking and banning people from the server


Sometimes a player in our multiplayer game doesn't play by the rules, and hence, needs to be temporarily kicked from the game. Sometimes, a player may do this repeatedly and needs to be banned from the game.

In this recipe, we will learn how to kick or ban a player from our game's server.

Getting ready

We will be using a project based on the Torque 3D's Full template using the Empty Terrain level. If you haven't already, use the Torque Project Manager (Project Manager.exe) to create a new project from the Full template. Give this project a name of MyGame; it will be found under the My Projects directory.

How to do it...

In the following steps, we will demonstrate how to kick a player from a game server:

  1. Start a Windows command prompt. You can find it by going to the Windows Start menu, and choosing All Programs | Accessories | Command Prompt.

  2. Using the command prompt, change to the directory that contains our game's executable MyGame.exe. This path...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Torque 3D Game Development Cookbook
Published in: Jan 2013Publisher: PacktISBN-13: 9781849693547

Author (1)

author image
DAVID WYAND

David Wyand has been using GarageGames' Torque Game Engine for the past 10 years. Among his other interestes are 3D graphics applications, computer networking and Artificial Intelligence for computer games.
Read more about DAVID WYAND