Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions docs/commands-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@

## Account Commands

| Command Group | Command | Example | Description |
| -------------- | -------------- | ----------------------------------- | ---------------------------------------------- |
| Account Group | `show` | `!account show test@` | Shows information about given account |
| | `add` | `!account add test@ 123456 test` | Allows you to add a new user account |
| | `setpassword` | `!account setpassword test@ 123654` | Allows you to set a new password for account |
| | `setbtag` | `!account setbtag test@ NonTest` | Allows you to change battle tag for account |
| | `setuserlevel` | `!account setuserlevel admin` | Allows you to set a new user level for account |
| Mute Command | `mute` | `!mute test@` | Disable chat functions for user |
| Command Group | Command | Example | Description |
| -------------- | -------------- | --------------------------------------| ---------------------------------------------- |
| Account Group | `show` | `!account show test@` | Shows information about given account |
| | `add` | `!account add test@ 12345678 test` | Allows you to add a new user account |
| | `setpassword` | `!account setpassword test@ 12345678` | Allows you to set a new password for account |
| | `setbtag` | `!account setbtag test@ NonTest` | Allows you to change battle tag for account |
| | `setuserlevel` | `!account setuserlevel admin test@` | Allows you to set a new user level for account |
| Mute Command | `mute` | `!mute test@` | Disable chat functions for user |

## Game Commands

| Command Group | Command | Example | Description |
| ----------------------- | ----------- | ------------------------ | ------------------------------------------------------------ |
| Spawn command | `spawn` | `!spawn 6632` | Spawn a mob by ID |
| Level up command | `levelup` | `!levelup 2` | Levels you character |
| Unlock Artisans command | `unlockart` | `!unlockart` | Unlock all artisans for you in Campaign |
| Platinum command | `platinum` | `!platinum 100` | Platinum for you |
| Gold command | `gold` | `!gold 100` | Gold for you? |
| Item command | `item` | `!item p71_ethereal_10` | Get any Item by Name |
| Teleport command | `tp` | `!tp 71150` | Teleport character to World by ID |
| SpeedHack command | `speed` | `!speed 2` | Increase you speed character |
| Lookup Command | `lookup` | `!lookup item axe` | Display all founded in game objects with entered text in Name |
| | | `!lookup world Tristram` | |
| | | `!lookup actor zombie` | |
| | | `!lookup power Punch` | |
| Command Group | Command | Example | Description |
| ----------------------- | ----------- | ------------------------ | ---------------------------------------------------------------|
| Spawn command | `spawn` | `!spawn 6632` | Spawn a mob by ID |
| Level up command | `levelup` | `!levelup 2` | Levels you character |
| Unlock Artisans command | `unlockart` | `!unlockart` | Unlock all artisans for you in Campaign |
| Platinum command | `platinum` | `!platinum 100` | Platinum for you |
| Gold command | `gold` | `!gold 100` | Gold for you? |
| Item command | `item` | `!item p71_ethereal_10` | Get any Item by Name see the file items-identification-doc.md |
| Teleport command | `tp` | `!tp 71150` | Teleport character to World by ID |
| SpeedHack command | `speed` | `!speed 2` | Increase you speed character |
| Lookup Command | `lookup` | `!lookup item axe` | Display all founded in game objects with entered text in Name |
| | | `!lookup world Tristram` | |
| | | `!lookup actor zombie` | |
| | | `!lookup power Punch` | |

# All Commands
Available commands from `!commands`:
Expand Down
12 changes: 8 additions & 4 deletions src/DiIiS-NA/D3-GameServer/GSSystem/ActorSystem/Spawner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using DiIiS_NA.GameServer.GSSystem.MapSystem;
using DiIiS_NA.GameServer.GSSystem.PlayerSystem;
using DiIiS_NA.GameServer.MessageSystem;
using System;

namespace DiIiS_NA.GameServer.GSSystem.ActorSystem
{
Expand Down Expand Up @@ -48,9 +49,12 @@ public Spawner(World world, ActorSno sno, TagMap tags)
protected override void QuestProgress()
{
if (SNO == ActorSno._spawner_zolt_centerpiece) return;
//Spawn if this is spawner
try
{

ActorToSpawnSNO = new SNOHandle(SNOGroup.Actor, (int)SNO);

//Spawn if this is spawner
try
{
if (World.Game.QuestManager.IsInQuestRange(_questRange) && !triggered)
{
Spawn();
Expand All @@ -74,7 +78,7 @@ public void Spawn()
{

triggered = true;
if (ActorToSpawnSNO == null)
if (ActorToSpawnSNO == null)
{
Logger.Trace("Triggered spawner with no ActorToSpawnSNO found.");
//Try revealing this
Expand Down
Loading