mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 11:42:36 +00:00
Compare commits
4 Commits
d2ccf04e03
...
5d68659cea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d68659cea | ||
|
|
4c7964524d | ||
|
|
5843ff0524 | ||
|
|
9b3f9f356d |
@ -93,6 +93,8 @@ set(common_sources
|
|||||||
spdat.cpp
|
spdat.cpp
|
||||||
spdat_bot.cpp
|
spdat_bot.cpp
|
||||||
strings.cpp
|
strings.cpp
|
||||||
|
strings_legacy.cpp
|
||||||
|
strings_misc.cpp
|
||||||
struct_strategy.cpp
|
struct_strategy.cpp
|
||||||
textures.cpp
|
textures.cpp
|
||||||
timer.cpp
|
timer.cpp
|
||||||
|
|||||||
@ -48,14 +48,9 @@
|
|||||||
#include <random>
|
#include <random>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
//Const char based
|
|
||||||
#include "strings_legacy.cpp" // legacy c functions
|
|
||||||
#include "strings_misc.cpp" // anything non "Strings" scoped
|
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <algorithm>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::string Strings::Random(size_t length)
|
std::string Strings::Random(size_t length)
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
module should-release
|
module should-release
|
||||||
|
|
||||||
go 1.23.0
|
go 1.24.0
|
||||||
|
|
||||||
toolchain go1.23.5
|
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/google/go-github/v41 v41.0.0
|
github.com/google/go-github/v41 v41.0.0
|
||||||
@ -11,5 +9,5 @@ require (
|
|||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/google/go-querystring v1.1.0 // indirect
|
github.com/google/go-querystring v1.1.0 // indirect
|
||||||
golang.org/x/crypto v0.36.0 // indirect
|
golang.org/x/crypto v0.45.0 // indirect
|
||||||
)
|
)
|
||||||
|
|||||||
@ -10,8 +10,8 @@ github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD
|
|||||||
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
|
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
|
||||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||||
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||||
golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34=
|
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
|
||||||
golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc=
|
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
|
||||||
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
|
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
|
||||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
|
|||||||
@ -111,6 +111,7 @@ set(zone_sources
|
|||||||
xtargetautohaters.cpp
|
xtargetautohaters.cpp
|
||||||
zone.cpp
|
zone.cpp
|
||||||
zone_config.cpp
|
zone_config.cpp
|
||||||
|
zone_loot.cpp
|
||||||
zonedb.cpp
|
zonedb.cpp
|
||||||
zone_base_data.cpp
|
zone_base_data.cpp
|
||||||
zone_event_scheduler.cpp
|
zone_event_scheduler.cpp
|
||||||
@ -310,6 +311,68 @@ set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE
|
|||||||
set(gm_command_sources
|
set(gm_command_sources
|
||||||
command.cpp
|
command.cpp
|
||||||
bot_command.cpp
|
bot_command.cpp
|
||||||
|
bot_commands/bot_actionable.cpp
|
||||||
|
bot_commands/bot_appearance.cpp
|
||||||
|
bot_commands/bot_apply_poison.cpp
|
||||||
|
bot_commands/bot_apply_potion.cpp
|
||||||
|
bot_commands/bot_attack.cpp
|
||||||
|
bot_commands/bot_behind_mob.cpp
|
||||||
|
bot_commands/bot_blocked_buffs.cpp
|
||||||
|
bot_commands/bot_bot.cpp
|
||||||
|
bot_commands/bot_bot_settings.cpp
|
||||||
|
bot_commands/bot_cast.cpp
|
||||||
|
bot_commands/bot_class_race_list.cpp
|
||||||
|
bot_commands/bot_click_item.cpp
|
||||||
|
bot_commands/bot_copy_settings.cpp
|
||||||
|
bot_commands/bot_default_settings.cpp
|
||||||
|
bot_commands/bot_depart.cpp
|
||||||
|
bot_commands/bot_discipline.cpp
|
||||||
|
bot_commands/bot_distance_ranged.cpp
|
||||||
|
bot_commands/bot_find_aliases.cpp
|
||||||
|
bot_commands/bot_follow.cpp
|
||||||
|
bot_commands/bot_guard.cpp
|
||||||
|
bot_commands/bot_heal_rotation.cpp
|
||||||
|
bot_commands/bot_help.cpp
|
||||||
|
bot_commands/bot_hold.cpp
|
||||||
|
bot_commands/bot_illusion_block.cpp
|
||||||
|
bot_commands/bot_inventory.cpp
|
||||||
|
bot_commands/bot_item_use.cpp
|
||||||
|
bot_commands/bot_max_melee_range.cpp
|
||||||
|
bot_commands/bot_name.cpp
|
||||||
|
bot_commands/bot_owner_option.cpp
|
||||||
|
bot_commands/bot_pet.cpp
|
||||||
|
bot_commands/bot_pick_lock.cpp
|
||||||
|
bot_commands/bot_pickpocket.cpp
|
||||||
|
bot_commands/bot_precombat.cpp
|
||||||
|
bot_commands/bot_pull.cpp
|
||||||
|
bot_commands/bot_release.cpp
|
||||||
|
bot_commands/bot_set_assistee.cpp
|
||||||
|
bot_commands/bot_sit_hp_percent.cpp
|
||||||
|
bot_commands/bot_sit_in_combat.cpp
|
||||||
|
bot_commands/bot_sit_mana_percent.cpp
|
||||||
|
bot_commands/bot_spell.cpp
|
||||||
|
bot_commands/bot_spell_aggro_checks.cpp
|
||||||
|
bot_commands/bot_spell_announce_cast.cpp
|
||||||
|
bot_commands/bot_spell_delays.cpp
|
||||||
|
bot_commands/bot_spell_engaged_priority.cpp
|
||||||
|
bot_commands/bot_spell_holds.cpp
|
||||||
|
bot_commands/bot_spell_idle_priority.cpp
|
||||||
|
bot_commands/bot_spell_max_hp_pct.cpp
|
||||||
|
bot_commands/bot_spell_max_mana_pct.cpp
|
||||||
|
bot_commands/bot_spell_max_thresholds.cpp
|
||||||
|
bot_commands/bot_spell_min_hp_pct.cpp
|
||||||
|
bot_commands/bot_spell_min_mana_pct.cpp
|
||||||
|
bot_commands/bot_spell_min_thresholds.cpp
|
||||||
|
bot_commands/bot_spell_pursue_priority.cpp
|
||||||
|
bot_commands/bot_spell_resist_limits.cpp
|
||||||
|
bot_commands/bot_spell_target_count.cpp
|
||||||
|
bot_commands/bot_spelltypes.cpp
|
||||||
|
bot_commands/bot_summon.cpp
|
||||||
|
bot_commands/bot_suspend.cpp
|
||||||
|
bot_commands/bot_taunt.cpp
|
||||||
|
bot_commands/bot_timer.cpp
|
||||||
|
bot_commands/bot_track.cpp
|
||||||
|
bot_commands/bot_view_combos.cpp
|
||||||
gm_commands/acceptrules.cpp
|
gm_commands/acceptrules.cpp
|
||||||
gm_commands/advnpcspawn.cpp
|
gm_commands/advnpcspawn.cpp
|
||||||
gm_commands/aggrozone.cpp
|
gm_commands/aggrozone.cpp
|
||||||
|
|||||||
@ -863,65 +863,3 @@ void SendSpellTypeWindow(Client* c, const Seperator* sep) {
|
|||||||
c->SendPopupToClient("Spell Types", popup_text.c_str());
|
c->SendPopupToClient("Spell Types", popup_text.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "bot_commands/actionable.cpp"
|
|
||||||
#include "bot_commands/appearance.cpp"
|
|
||||||
#include "bot_commands/apply_poison.cpp"
|
|
||||||
#include "bot_commands/apply_potion.cpp"
|
|
||||||
#include "bot_commands/attack.cpp"
|
|
||||||
#include "bot_commands/behind_mob.cpp"
|
|
||||||
#include "bot_commands/blocked_buffs.cpp"
|
|
||||||
#include "bot_commands/bot.cpp"
|
|
||||||
#include "bot_commands/bot_settings.cpp"
|
|
||||||
#include "bot_commands/cast.cpp"
|
|
||||||
#include "bot_commands/class_race_list.cpp"
|
|
||||||
#include "bot_commands/click_item.cpp"
|
|
||||||
#include "bot_commands/copy_settings.cpp"
|
|
||||||
#include "bot_commands/default_settings.cpp"
|
|
||||||
#include "bot_commands/depart.cpp"
|
|
||||||
#include "bot_commands/discipline.cpp"
|
|
||||||
#include "bot_commands/distance_ranged.cpp"
|
|
||||||
#include "bot_commands/find_aliases.cpp"
|
|
||||||
#include "bot_commands/follow.cpp"
|
|
||||||
#include "bot_commands/guard.cpp"
|
|
||||||
#include "bot_commands/heal_rotation.cpp"
|
|
||||||
#include "bot_commands/help.cpp"
|
|
||||||
#include "bot_commands/hold.cpp"
|
|
||||||
#include "bot_commands/illusion_block.cpp"
|
|
||||||
#include "bot_commands/inventory.cpp"
|
|
||||||
#include "bot_commands/item_use.cpp"
|
|
||||||
#include "bot_commands/max_melee_range.cpp"
|
|
||||||
#include "bot_commands/name.cpp"
|
|
||||||
#include "bot_commands/owner_option.cpp"
|
|
||||||
#include "bot_commands/pet.cpp"
|
|
||||||
#include "bot_commands/pick_lock.cpp"
|
|
||||||
#include "bot_commands/pickpocket.cpp"
|
|
||||||
#include "bot_commands/precombat.cpp"
|
|
||||||
#include "bot_commands/pull.cpp"
|
|
||||||
#include "bot_commands/release.cpp"
|
|
||||||
#include "bot_commands/set_assistee.cpp"
|
|
||||||
#include "bot_commands/sit_hp_percent.cpp"
|
|
||||||
#include "bot_commands/sit_in_combat.cpp"
|
|
||||||
#include "bot_commands/sit_mana_percent.cpp"
|
|
||||||
#include "bot_commands/spell.cpp"
|
|
||||||
#include "bot_commands/spell_aggro_checks.cpp"
|
|
||||||
#include "bot_commands/spell_announce_cast.cpp"
|
|
||||||
#include "bot_commands/spell_delays.cpp"
|
|
||||||
#include "bot_commands/spell_engaged_priority.cpp"
|
|
||||||
#include "bot_commands/spell_holds.cpp"
|
|
||||||
#include "bot_commands/spell_idle_priority.cpp"
|
|
||||||
#include "bot_commands/spell_max_hp_pct.cpp"
|
|
||||||
#include "bot_commands/spell_max_mana_pct.cpp"
|
|
||||||
#include "bot_commands/spell_max_thresholds.cpp"
|
|
||||||
#include "bot_commands/spell_min_hp_pct.cpp"
|
|
||||||
#include "bot_commands/spell_min_mana_pct.cpp"
|
|
||||||
#include "bot_commands/spell_min_thresholds.cpp"
|
|
||||||
#include "bot_commands/spell_pursue_priority.cpp"
|
|
||||||
#include "bot_commands/spell_resist_limits.cpp"
|
|
||||||
#include "bot_commands/spell_target_count.cpp"
|
|
||||||
#include "bot_commands/spelltypes.cpp"
|
|
||||||
#include "bot_commands/summon.cpp"
|
|
||||||
#include "bot_commands/suspend.cpp"
|
|
||||||
#include "bot_commands/taunt.cpp"
|
|
||||||
#include "bot_commands/timer.cpp"
|
|
||||||
#include "bot_commands/track.cpp"
|
|
||||||
#include "bot_commands/view_combos.cpp"
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
#include "../bot_command.h"
|
#include "../bot_command.h"
|
||||||
|
#include "../doors.h"
|
||||||
|
|
||||||
void bot_command_pick_lock(Client *c, const Seperator *sep)
|
void bot_command_pick_lock(Client *c, const Seperator *sep)
|
||||||
{
|
{
|
||||||
@ -1,5 +1,7 @@
|
|||||||
#include "../../client.h"
|
#include "../../client.h"
|
||||||
|
|
||||||
|
uint8 GetCommandStatus(std::string command_name);
|
||||||
|
|
||||||
void FindSpell(Client *c, const Seperator *sep)
|
void FindSpell(Client *c, const Seperator *sep)
|
||||||
{
|
{
|
||||||
if (SPDAT_RECORDS <= 0) {
|
if (SPDAT_RECORDS <= 0) {
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
#include "../../client.h"
|
#include "../../client.h"
|
||||||
|
|
||||||
|
uint8 GetCommandStatus(std::string command_name);
|
||||||
|
|
||||||
void FindTask(Client *c, const Seperator *sep)
|
void FindTask(Client *c, const Seperator *sep)
|
||||||
{
|
{
|
||||||
if (!RuleB(TaskSystem, EnableTaskSystem)) {
|
if (!RuleB(TaskSystem, EnableTaskSystem)) {
|
||||||
|
|||||||
@ -1,5 +1,21 @@
|
|||||||
#include "../client.h"
|
#include "../client.h"
|
||||||
|
|
||||||
|
void SendFixMobSubCommands(Client* c)
|
||||||
|
{
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob beard [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob beard_color [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob drakkin_details [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob drakkin_heritage [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob drakkin_tattoo [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob face [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob gender [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob hair [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob hair_color [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob helm [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob race [Next|Previous]");
|
||||||
|
c->Message(Chat::White, "Usage: #fixmob texture [Next|Previous]");
|
||||||
|
}
|
||||||
|
|
||||||
void command_fixmob(Client *c, const Seperator *sep)
|
void command_fixmob(Client *c, const Seperator *sep)
|
||||||
{
|
{
|
||||||
const int arguments = sep->argnum;
|
const int arguments = sep->argnum;
|
||||||
@ -269,18 +285,3 @@ void command_fixmob(Client *c, const Seperator *sep)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendFixMobSubCommands(Client *c)
|
|
||||||
{
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob beard [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob beard_color [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob drakkin_details [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob drakkin_heritage [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob drakkin_tattoo [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob face [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob gender [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob hair [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob hair_color [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob helm [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob race [Next|Previous]");
|
|
||||||
c->Message(Chat::White, "Usage: #fixmob texture [Next|Previous]");
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
#include "../../client.h"
|
#include "../../client.h"
|
||||||
|
#include "../../worldserver.h"
|
||||||
|
|
||||||
|
extern WorldServer worldserver;
|
||||||
|
|
||||||
void SetZoneData(Client *c, const Seperator *sep)
|
void SetZoneData(Client *c, const Seperator *sep)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3584,5 +3584,3 @@ std::vector<std::string> Zone::GetTimers()
|
|||||||
|
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "zone_loot.cpp"
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user