When everyone has built the Trinitycore 3.3.5 version of the World of Warcraft server (see:Trinitycore Series World of Warcraft Trinitycore 3.3.5 Version Building for Dummies) and the npcbot robot has been added (see:Trinitycore series 3.3.5 version adds npcbots robots), then the next step is how to operate and control the robot in the game. There is a detailed npcbot command description on github, you can check it directly, the link is as follows:https://github.com/trickerer/Trinity-Bots.
However, firstly, it is difficult to access it domestically, and secondly, the English version is not comfortable to read, so I have pasted some commonly used commands and Chinese comments below as a memo. After all, if you log in occasionally, you will definitely have almost forgotten the commands when you need to use them.
[vip]
COMMAND : .npcbot, .npcb – (player command) itself will list all available syntaxes
lookup
= Class ID (ie 1 for WARRIOR). .npcbot lookup( .npcbot lookup) (without parameters) lists the class IDs
Example usage:
.npcbot lookup 1 (list all fighters)
.npcbot lookup 2 (list all paladins)
.npcbot lookup 3 (list all hunters)
.npcbot lookup 4 (list all stalkers)
.npcbot lookup 5 (list all priests)
.npcbot lookup 6 (lists all death knights)
.npcbot lookup 7 (list all shamans)
.npcbot lookup 8 (list all mages)
.npcbot lookup 9 (lists all warlocks)
.npcb loo 11 (lists all druids)
1: Human
2. Orc
3. Dwarf
4. Night Elf
5. Undead
6. Tauren
7. Gnome
8. Troll
10. Blood Elf
11. Draenei
add_TARGET_ – (GM command) The selected NPCBot becomes yours, bypassing the price condition. Only works for NPCBots without an owner.
TARGET = selected NPCBot
Example usage:
.npcbot add
.npcb add
remove _TARGET_ – (GM command) Remove control of an NPCBot
TARGET = selected NPCBot (turn off selected NPCBot)
TARGET = Selected player (disband all NPCBots)
Example usage:
.npcbot remove
.npcb rem
spawn
= ID of NPCBot (can be obtained from the lookup list)
= Bio template link added by shift-clicking (from the lookup list)
Usage example: - (spawn NPCBot with ID 70001) – (spawn NPCBot with ID 70002) – (
Spawn an NPCBot via link).npcbot spawn 70001
.npcb sp 70002
.npcb sp [Haromm]
spawned – (GM command) List all spawned robots in the world, their locations and quick status
Example usage:
-.npcbot spawned
move
= NPCBot ID
= Bio template link added by shift-clicking (from the lookup list)
TARGET = selected NPCBot
Example usage:
.npcbot move 70001 (Moves the NPCBot with ID 70001 to your location)
delete _TARGET_ – (GM command) Deletes the NPCBot from the world. The NPCBot is deleted from its owner (if any) and from the database.
TARGET = selected NPCBot
Example usage:
.npcbot delete
.npcb del
set (general instruction)
faction _TARGET_ – Sets the faction for the selected NPCBot
a = 1802 (Alliance team)
h = 1801 (Tribe Team)
m = 14 (monster, hostile to everyone)
f = 35 (friendly to everyone)
factionID = ID from FactionTemplate.dbc (experts only). This is not what you get with the .lookup faction command
TARGET = selected NPCBot
Example usage:
.npcbot set faction (will show the faction's subcommand list)
.npcb sfm (sets the selected NPCBot's faction to HostileToAll)
owner
GUID = player database guid
NAME = Player's name
TARGET = selected NPCBot
Example usage:
.npcbot set owner 312 (sets the selected NPCBot's owner to the player with guid 312)
.npcb so Myplayer (sets the selected NPCBot's owner to the player Myplayer by name)
spec
NUMBER = a number between 1 and 30
TARGET = selected NPCBot
Example usage:
.npcbot set spec 2 (The selected NPCBot will be immediately reassigned to the Fury talent tree; the talent will only apply to the Warrior NPCBot)
revive _TARGET_– (GM command) Resurrect NPCBot(s)
TARGET = selected NPCBot (Resurrect this NPCBot)
TARGET = selected player (revive all NPCBots of the selected player)
Example usage:
.npcbot revive
.npcb rev
reloadconfig – (GM command) Reload NPCBot system settings
(no parameters)
Example usage:
`.npcbot reload configuration
command
command = command string
Follow, f = Follow mode
Still, standing = STAY mode
Stop, Stop = Idle mode
walk, w = walking mode (toggle)
TARGET = selected (your) NPCBot (command affects this NPCBot)
TARGET = any other unit or none selected (command affects all NPCBots)
Example usage:
.npcbot command standstill (NPCBot stops moving and remains in place)
.npcb c sta (same as above)
.npcbot command stopfully (NPCBot will interrupt all actions and stop without any response)
.npcbot command follow (NPCBot will follow you if it hasn't already)
info _TARGET_ – (Player command) Displays information about the owned robot
TARGET = selected group player or yourself (display information of this player)
Example usage:
.npcbot info
.npcb in
hide – (Player command) Forces the NPCBot to temporarily disappear. They will teleport off the map and out of the world until allowed back in. Cannot be used in combat.
(no parameters)
Example usage:
.npcbot hide
.npcb h
unhide|show– (Player command) Antonym of command.npcbot hide; your NPCBot will appear shortly. Cannot be used in combat
(no parameters) Example usage:
.npcbot unhide
.npcbot show
recall – (Player command) Forces the NPCBot to move directly to your location. Works even after you die. Primarily designed for situations where you die and your NPCBot is stuck under a texture while you're in combat.
TARGET = selected NPCBot (Move a single NPCBot)
TARGET = self (move all NPCBots)
Example usage:
.npcbot recall
kill|suicide – (Player command) Forces the NPCBot to die. Designed for troubleshooting situations where the NPCBot is not functioning properly. This can be caused by rare bugs that cause the mob to retain its unit state. If this doesn't work, try using /tickle
TARGET = selected NPCBot (kill single NPCBot troublemaker)
TARGET = self (kill all NPCBots)
Example usage:
.npcbot kill
.npcbot suicide
order – (Player Command) allows you to issue orders to your NPCBot. Orders take precedence over any other actions. Each bot can have up to 3 queued orders at a time (which itself will display a list of subcommands)
cast
BOT_NAME OR CLASS_NAME = Your bot name in the client locale, case-insensitive or the bot class name in English, lowercase
SPELL_NAME = The spelling name in the client locale. All spaces must be replaced with underscores. Case-insensitive.
TARGET_TOKEN = Optional target identifier string. If left empty, the bot will target itself. Case-insensitive. Possible values:
bot, self= self-investment
me, master = the robot owner (you)
target = the current target of the bot (has no effect if the bot has no target)
mytarget = your current target (will not work if you don't have a target)
Example usage:
.npcbot order cast javad lesser_healing_wave me
.npcbot order cast javad purge mytarget
distance _ATTACK_
ATTACK = If skip you set the follow distance (default), if set to "attack" you set the attack distance
Value = the desired value for the selected distance type (within the standard distance range)
Example usage:
.npcbot distance 75
.npcbot distance attack 20
vehicle eject – (Player command) allows you to kick an NPCBot out of a vehicle (the bot will not automatically get out of the vehicle during combat)
Example usage:
– .npcbot vehicle eject
-.npcb veh e
dump – (Admin command) allows you to migrate bot data, similar to pdump for players (which itself will show a list of subcommands)
write
FILENAME = The name of the file to be created. It will be saved in the server root folder (Windows) or home directory (Linux). If no file extension is provided, .sql will be omitted.
Example usage:
.npcbot dump write bots_backup (write to bots_backup.sql)
.npcb du w 1.txt (write to 1.txt)
load
FILENAME = The name of your backup file. It must be stored in the server root folder (Windows) or home directory (Linux). If you do not provide a file extension, .sql will be omitted.
Example usage:
.npcbot dump load bots_backup (load from bots_backup.sql)
.npcb du l 1.txt (loaded from 1.txt)
createnew
NAME = The name of the NPCBot you create. Note that the first letter will always be capitalized.
CLASS = This refers to the NPCBot class. Use the .npcbot lookup command to list all available classes.
RACE = You must provide a race for your new NPCbot unless you are creating a special class of NPCbot whose race is predefined, among other details.
1: Human
2. Orc
3. Dwarf
4. Night Elf
5. Undead
6. Tauren
7. Gnome
8. Troll
10. Blood Elf
11. Draenei
GENDER = Same as RACE, for regular courses you must choose one.
0: Male
1: female
SKIN, FACE, HEARSTYLE, HAIRCOLOR, FEATURES = Appearance details, 0 and above. Different race/gender combinations have different restrictions, ranging from a minimum of 0-3 (female minotaur face) to a maximum of 0-23 (female human hairstyle).
SOUNDSET = NPC voice variants for use by bots. Each race has 3 variants; the selection is random by default.
Example usage:
.npcbot createnew Selendris 2 10 1 6 4 3 2 4 (Creates a female red-haired blood elf mage NPCbot)
.npcb cre Selendris 2 10 1 6 4 3 2 4 (Creates a female red-haired blood elf mage NPCbot)
[/vip]