M2 Docs
cmd_gm.cpp File Reference

Macros

#define ENABLE_CMD_IPURGE_EX
 it adds /ipurge window target as 1st arg More...
 
#define ENABLE_SET_STATE_WITH_TARGET
 enable /set_state target as 3rd arg More...
 
#define ENABLE_STATPLUS_NOLIMIT
 disable the limit of only 90 points addable for con+/int+/str+/dex+ commands More...
 

Functions

void() do_stun (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the stun status to player [name] More...
 
void() do_slow (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the slow status to player [name] More...
 
void() do_transfer (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 you will warp to player [name] More...
 
void() do_goto (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 1) if both [map_x] and [map_y] are specified, you will warp into those specified map coordinates (no uiloading refresh);
2) if only [map_name] is specified, you will warp to the [map_name] alias (it must not start with a number) specified in settings.lua by the lua function add_goto_info(map_name, empire, world_x, world_y),
if [empire] is also specified with [map_name], it will warp to an alias [map_name] that has the empire set as yours or simply 0 More...
 
void() do_warp (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 1) if only [name] is specified, you will warp close to player [name];
2) if both [world_x] and [world_y] are specified, you will warp into those specified world coordinates More...
 
void() do_rewarp (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 you will rewarp to yourself More...
 
void() do_item (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn in your inventory the item [item_vnum] with [count] as count; instead of [item_vnum], you can specify the item name under "" More...
 
void() do_group_random (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn the [group_group_id] group group close to you More...
 
void() do_group (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn the [group_id] group close to you More...
 
void() do_mob_coward (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn per [count] times the specified [mob_vnum] mob close to you but running away; instead of [mob_vnum], you can specify the mob name under "" More...
 
void() do_mob_map (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn the specified [mob_vnum] mob in a random location of your current map (the spawn will fail if spawned in mountains or similar) More...
 
void() do_mob_aggresive (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn per [count] times the specified [mob_vnum] mob close to you but aggroed; instead of [mob_vnum], you can specify the mob name under "" More...
 
void() do_mob (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn per [count] times the specified [mob_vnum] mob close to you; instead of [mob_vnum], you can specify the mob name under "" More...
 
void() do_mob_ld (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn the specified [mob_vnum] mob in the current map; instead of [mob_vnum], you can specify the mob name under "" More...
 
void() do_purge (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will clear the mobs close to you; if the additional [flag]="all" is specified, it will clear every mob in the map More...
 
void() do_item_purge (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will clear the items in the inventory based on which [window] has been specified
if [window]=="all", it will clear inventory, equipment, dragonsoul, and belt inventories
if [window]=="inventory" or "inv", it will clear the inventory
if [window]=="equipment" or "equip", it will clear the equipment inventory
if [window]=="dragonsoul" or "ds", it will clear the dragon soul inventory
if [window]=="belt", it will clear the belt inventory More...
 
void() do_state (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print all the status information (bonuses as well) of [name]; if [name] starts with '#', it will search the player's vid More...
 
void() do_notice (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a global notice [text] announcement More...
 
void() do_map_notice (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a notice [text] announcement in your map More...
 
void() do_big_notice (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a global big notice [text] announcement More...
 
void() do_map_big_notice (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a notice [text] announcement in your map More...
 
void() do_notice_test (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a notice [text] announcement readable only by you More...
 
void() do_big_notice_test (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a big notice [text] announcement readable only by you More...
 
void() do_monarch_notice (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make a monarch notice [text] announcement to your relative monarch's empire More...
 
void() do_who (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the count of the users online in the server (it will be wrong if the state_user_count file is not symlinked in each game core folder) More...
 
void() do_user (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the count of the users online (related to this game core) More...
 
void() do_disconnect (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will disconnect the player [name] ([name] can't be you for core crashing reasons) More...
 
void() do_kill (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will kill the player [name] More...
 
void() do_poison (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the poison status to player [name] More...
 
void() do_bleeding (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the bleeding status to player [name] More...
 
void() do_set (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set to player [name] the specific [field] to [value];
if [field]="gold", it will add [value] yang to the player [name]
if [field]="race", it will change the race of the player [name] to value
if [field]="sex", it will change the sex of the player [name] to value
if [field]="job", it will change the job (skill_group) of the player [name] to value
if [field]="exp", it will add [value] exp to the player [name]
if [field]="max_hp", it will set [value] to the player [name]'s max_hp
if [field]="max_sp", it will set [value] to the player [name]'s max_sp (mp)
if [field]="skill", it will add [value] skill points to the player [name]
if [field]="align" or "alignment", it will add [value] karma to the player [name] More...
 
void() do_reset (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will refill your hp/mp More...
 
void() do_advance (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the player [name]'s level to [level]; skill and subskill points won't be reset like /level More...
 
void() do_respawn (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will respawn all the monsters close to you; if [mode]=all is specified, all the monsters in the map will be respawned More...
 
void() do_safebox_size (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the safebox size to [size] (value between 0~3) More...
 
void() do_makeguild (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will create a guild called [guild_name] More...
 
void() do_deleteguild (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will delete your guild More...
 
void() do_greset (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will refill the sp gauge in your guild More...
 
void() do_refine_rod (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will refine your fishrod, if equipped More...
 
void() do_refine_pick (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will give full exp to your pickaxe and refine it, if equipped More...
 
void() do_max_pick (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will give full exp to your pickaxe, if equipped More...
 
void() do_fishing_simul (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set (or unset if present) you the (gm) invisibility affect More...
 
void() do_invisibility (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set (or unset if present) you the (gm) invisibility affect More...
 
void() do_event_flag (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the event flag [event_name] as [value] More...
 
void() do_get_event_flag (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the [quest_flag].__status of the current quest More...
 
void() do_private (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the [quest_flag].__status of the current quest More...
 
void() do_qf (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the [quest_flag].__status of the current quest state More...
 
void() do_book (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will give you a skill book (vnum 50300) for the skill [skill_id]; instead of [skill_id] you can also use the full skill name under "" More...
 
void() do_setskillother (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set player [name]' skill [skill_id] to the level [skill_level]; instead of [skill_id] you can also use the full skill name under "" More...
 
void() do_setskill (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set your skill [skill_id] to the level [skill_level]; instead of [skill_id] you can also use the full skill name under "" More...
 
void() do_set_skill_point (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set your skill points to [value] More...
 
void() do_set_skill_group (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set your skill group to [value], and then clear the skills More...
 
void() do_reload (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 if [type] isn't specified, it will refresh the protos, the string table and the state_user_count;
if [type] is 'u', it will only refresh state_user_count;
if [type] is 'p', it will only refresh the proto tables;
if [type] is 's', it will only refresh the string table;
if [type] is 'q', it will only refresh the quests;
if [type] is 'f', it will only refresh the fishing files;
if [type] is 'a', it will only refresh the admin list;
if [type] is 'c', it will only refresh the cube files; More...
 
void() do_cooltime (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will disable the skill cooltime More...
 
void() do_level (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will level you to [level] and reset status, skills and subskill points More...
 
void() do_gwlist (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the list of the current guild wars More...
 
void() do_stop_guild_war (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will stop the guild war between guild [guild_id1] and guild [guild_id2] More...
 
void() do_cancel_guild_war (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will cancel the guild war between guild [guild_id1] and guild [guild_id2] More...
 
void() do_guild_state (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print GuildID, GuildMasterPID, and IsInWar for the guild [guild_name] More...
 
void() do_weaken (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will weaken all the monsters close to you; if the additional [flag]="all" is specified, it will weaken every mob in the map More...
 
void() do_getqf (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print all the quest flags of player [name] More...
 
void() do_set_state (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the quest [questname]' state to [statename] from player [name] or yourself if not specified More...
 
void() do_setqf (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the quest flag [flagname] to [value] from player [name] or yourself if not specified More...
 
void() do_delqf (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will delete the quest flag [flagname] from player [name] or yourself if not specified More...
 
void() do_forgetme (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will let all the monsters forget about attacking you, and you will be in REVIVE_INVISIBLE for 5 seconds More...
 
void() do_aggregate (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will aggro against you all the monsters close to you More...
 
void() do_attract_ranger (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the BOW_DISTANCE to 150 for 3 minutes to the monsters close to you More...
 
void() do_pull_monster (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will attract to you the monsters close to you More...
 
void() do_polymorph (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will transform you into [mob_vnum] and additionally keep the status if [maintain_status] is specified (to switch normal, transform yourself to 0) More...
 
void() do_polymorph_item (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn and give you a polymorph item (vnum 70104) for the mob [mob_vnum] (stored in socket0) More...
 
void() do_priv_empire (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the priv rates to the specific [empire] by [type]=[value]% for [duration] hours; More...
 
void() do_priv_guild (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set via "ADMIN_QUEST" quest the priv rates for [guild_id] (experimental command, don't use it) More...
 
void() do_mount_test (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will let you ride the mount [vnum] More...
 
void() do_observer (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set you on observer mode More...
 
void() do_socket_item (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will create and give you an item [vnum] with socket_pct as [socket_count] More...
 
void() do_xmas (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the relative [flag] to the specified command's flag;
/xmas_boom will switch day/night (0: day without event helper, 1: night with event helper, 2: day with event helper)
/xmas_snow will switch snow/not snow (0: not snow, 1: snow)
/xmas_snow will de/spawn santa (0: despawn santa, 1: spawn santa) More...
 
void() do_block_chat_list (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the list of all the blocked chats More...
 
void() do_vote_block_chat (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 disabled, but it would have been blocked the player [name]'s chat for 10 seconds in game More...
 
void() do_block_chat (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will block the player [name]'s chat for [time] seconds in game
the [time] can also be a formatted string such as "7d 1h 25m 50s" (check parse_time_str in Utils.cpp) More...
 
void() do_build (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will handle the building constructions (hardcoded in python);
if [mode] is 'c', it will create buildings;
if [mode] is 'd', it will destroy buildings;
if [mode] is 'w' it will create walls;
if [mode] is 'e' it will delete walls;
if [mode] is 'W' it will create wall blocks;
if [mode] is 'E' it will delete wall blocks; More...
 
void() do_clear_quest (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will clear all of your [quest_name]'s states More...
 
void() do_horse_state (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the level, health and stamina of your horse More...
 
void() do_horse_level (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the horse level as [level] to player [name] More...
 
void() do_horse_ride (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will let you ride your horse More...
 
void() do_horse_summon (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will summon your horse More...
 
void() do_horse_unsummon (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will unsummon your horse More...
 
void() do_horse_set_stat (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the horse status as hp=[hp] and stamina=[stamina] More...
 
void() do_save_attribute_to_image (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will save the attribute of the specific [map_index] as [filename] (tga format) More...
 
void() do_affect_remove (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 if specified only [player_name], it will print the affect list of [player_name];
if specified both [affect_type] and [point_type], it will remove one of your affects having type [affect_type] and point [point_type] More...
 
void() do_change_attr (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will switch he normal bonuses in your equipped weapon More...
 
void() do_add_attr (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will add a normal bonus in your equipped weapon More...
 
void() do_add_socket (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will add a new usable slot in your equipped weapon (only for items which socket_pct is less than 3) More...
 
void() do_change_rare_attr (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will switch the rare bonuses in your equipped weapon More...
 
void() do_add_rare_attr (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will add a rare bonus in your equipped weapon More...
 
void() do_show_arena_list (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print all the available musician's arenas More...
 
void() do_end_all_duel (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will stop all the duels in the musician's arena More...
 
void() do_end_duel (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make the player [name] stop duelling in the musician's arena More...
 
void() do_duel (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will make the players [name1] and [name2] have a duel in the musician's arena More...
 
void() do_stat_plus_amount (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will increase the relative status type (based on the command you used) by the specific [amount]; the relative status points will decrease by [amount] as well More...
 
void() do_break_marriage (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will remove the marriage between [pid1] and [pid2] More...
 
void() do_effect (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will add the effect [type] to you More...
 
void() do_threeway_war_info (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the event flags, the killscore and userscore of every empire in the threeway war More...
 
void() do_threeway_war_myinfo (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print your deadcount in the threeway war More...
 
void() do_rmcandidacy (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will remove the specific [name] as monarch candidacy More...
 
void() do_setmonarch (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the specific monarch [name] More...
 
void() do_rmmonarch (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will delete the specific monarch [name] More...
 
void() do_check_monarch_money (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the money of the specific [empire] More...
 
void() do_reset_subskill (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will reset the subskills of the player [name] More...
 
void() do_siege (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set for the specific [empire] an amount of [tower_count] towers in the siege event; the [tower_count] must be between 5~10, otherwise it will take a random number between 5~10 More...
 
void() do_temp (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set to the specific monarch [empire] the amount [money] More...
 
void() do_frog (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn the frog in the specific [empire] castle when the castle event is active and you are in a castle map More...
 
void() do_flush (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will flush the cache of the specific [player_id] in the database More...
 
void() do_eclipse (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set the eclise flag to 1 if [flag] is 1, otherwise 0; the eclipse flag can change the day/night mode without removing the event helper npc More...
 
void() do_weeklyevent (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will start the weekly event for the empire [empire]; if [empire] is not between 1~3, it will choose a random empire More...
 
void() do_event_helper (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will spawn the event helper npc if [mode] is 1, otherwise it will despawn it More...
 
void() do_get_mob_count (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the mob count of your current map More...
 
void() do_clear_land (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will clear the guild land where you stands over More...
 
void() do_special_item (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will convert the special_drop_item.txt to the new syntax (it will remove the korean item names and put the vnum) More...
 
void() do_set_stat (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set to player [name] the specific type (based on which command you used, except for /set_state which does nothing) of status points by [amount] More...
 
void() do_get_item_id_list (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will print the list of items present in inventory and equipment More...
 
void() do_set_socket (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set to the specific [item_id] in pos [socket_id] the value [socket_value] More...
 
void() do_can_dead (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set a temporary flag (until relogin) to allow/prevent you to receive damage/die More...
 
void() do_all_skill_master (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will set you all the skills at maximum level More...
 
void() do_item_full_set (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will equip you a full set with hardcoded values (lvl75+9 set), and unequip the previous equipped set More...
 
void() do_attr_full_set (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will full bonus you the equipped items with hardcoded bonuses More...
 
void() do_full_set (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will give you all the skills at maximum level, and a full bonussed equipment set lvl75+9 More...
 
void() do_use_item (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will use the item in pos [pos] in your inventory More...
 
void() do_clear_affect (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it will clear all your affects More...
 
void() do_dragon_soul (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it activates your ds deck if [value] is 'a' and deactives if 'd' More...
 
void() do_ds_list (LPCHARACTER ch, const char *argument, int32_t cmd, int32_t subcmd)
 it prints the list of the ds items you have in the ds inventory More...
 

Detailed Description

CMD "GM" functions

Macro Definition Documentation

◆ ENABLE_CMD_IPURGE_EX

#define ENABLE_CMD_IPURGE_EX

it adds /ipurge window target as 1st arg

Defines:
it adds /ipurge window target as 1st arg
NewStuff:
it adds /ipurge window target as 1st arg
New Defines:
it adds /ipurge window target as 1st arg

◆ ENABLE_SET_STATE_WITH_TARGET

#define ENABLE_SET_STATE_WITH_TARGET

enable /set_state target as 3rd arg

Defines:
enable /set_state target as 3rd arg
NewStuff:
enable /set_state target as 3rd arg
New Defines:
enable /set_state target as 3rd arg

◆ ENABLE_STATPLUS_NOLIMIT

#define ENABLE_STATPLUS_NOLIMIT

disable the limit of only 90 points addable for con+/int+/str+/dex+ commands

Defines:
disable the limit of only 90 points addable for con+/int+/str+/dex+ commands
NewStuff:
disable the limit of only 90 points addable for con+/int+/str+/dex+ commands
New Defines:
disable the limit of only 90 points addable for con+/int+/str+/dex+ commands