8000 GitHub - hermensbas/azerothcore_installer: Simple classic installer with playerbots and ah-bot for solo / friends play
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hermensbas/azerothcore_installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azerothcore_installer

For development and play

Intro!

Server setup

  • VMWARE player
  • ubuntu-24.04-live-server-amd64.iso (minimal setup)
  • 100GB disk
  • 64 GB memory
  • 16 cores (AMD 7945HX)
  • network (bridged mode)

mysql 8.4.3

mysql --help | grep my.cnf
sudo nano /etc/mysql/my.cnf
sudo systemctl restart mysql
SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
# error while restart?
sudo journalctl -xeu mysql.service --no-pager | tail -n 30

/etc/mysql/my.cnf

[mysqld]
# ------------------ Memory Usage ------------------
innodb_buffer_pool_size = 24G          
innodb_buffer_pool_instances = 8
innodb_log_buffer_size = 512M
innodb_redo_log_capacity = 6G

# ------------------ I/O & NVMe Tuning ------------------
innodb_flush_method = O_DIRECT              # Avoid OS cache — best for NVMe
innodb_use_fdatasync = ON
innodb_flush_log_at_trx_commit = 2          # Fast + safe enough with battery/UPS
innodb_io_capacity = 2000                   # Pushes high IOPS for writes
innodb_io_capacity_max = 8000               # Maximize during bursts

# ------------------ Temp Tables & Buffers ------------------
tmp_table_size = 256M
max_heap_table_size = 256M
join_buffer_size = 2M
sort_buffer_size = 4M
read_buffer_size = 2M
read_rnd_buffer_size = 1M

# ------------------ Concurrency / Threads ------------------
thread_handling = one-thread-per-connection
thread_cache_size = 64
max_connections = 300
table_open_cache = 4000
open_files_limit = 65535

# ------------------ Locking/Deadlocks ------------------
innodb_lock_wait_timeout = 10
innodb_deadlock_detect = ON

# ------------------ File & Table Management ------------------
innodb_file_per_table = 1

# ------------------ Logging / Debug ------------------
slow_query_log = 1
slow_query_log_file = /var/log/mysql/mysql-slow.log
long_query_time = 1
log_queries_not_using_indexes = 1

How to start

Step 1

sudo apt update -y && sudo apt upgrade -y && sudo apt install -y git net-tools nano

git clone https://github.com/hermensbas/azerothcore_installer.git
cd azerothcore_installer.git
chmod +x *.sh

ifconfig (in order to find your ip)
nano settings.env (update ur settings)

./setup.sh
 source ~/.bashrc

update
build
compile

Step 2

disable playerbots

nano config/modules/playerbots.config
AiPlayerbot.Enabled = 0

disable ahbot

nano config/modules/mod_ahbot.config
AuctionHouseBot.Account = 0
AuctionHouseBot.GUID = 0
AuctionHouseBot.EnableSeller = 0
AuctionHouseBot.EnableBuyer = 0

Step 3

Start the server

config
start

Create accounts

> account create ahbot mypass 
> acccount create admin mypass
> account set gmlevel admin 3 -1 

Step 4

Logon the server with 'ahbot' and create lvl 1 char and logoff again.

Find ah-bot character settings

./script/find-character.sh ahbot
accountId       characterName   characterId
1       Yappe   1
Find character executed...

Configure and enable ahbot

nano config/modules/mod_ahbot.config
AuctionHouseBot.Account = 1
AuctionHouseBot.GUID = 1
AuctionHouseBot.EnableSeller = 1
AuctionHouseBot.EnableBuyer = 1

Enable playerbots

nano config/modules/playerbots.config
AiPlayerbot.Enabled = 1

Step 5

Stop server, re-apply configuration, and start server

ctrl + z
stop
config
start

Client

  • 3.3.5a (Chromiecraft.com)
  • Chromiecraft HD patch optional or huge patch 2024 23GB graphic patch

Personally i prefere the chromiecraft HD patch without the T-patch, blizzlike :)

ip server config

Configure your server IP in 'data/enUS/realmlist.wtf' files

Addons (download):

Router port-forward if public

Use the above (ifconfig) IP for the following router poort-forwarding and/or firewall rules settings.

# 3724 TCP AUTH-SERVER
# 8085 TCP WORLD-SERVER

useful AC GM commands

Wiki reference

.server info (shows latency and amount of bots)
.modify speed <default 1>
.gm fly on | off
.modify money
.appear
.server shutdown 5
.maxskill
.learn all my class
.level <amount of levels to add>
.character level <name> <level>
.teleport orgrimmar or .tel orgrimmar)
.leave (when you want the group to leave you alone!)
.addItem itemName (or ctrl+click the item)
.lookup item ThunderFury
.lookup event moonfair
.event start|stop id
.distance (amount of yards between you and selected target)

useful bot commands

Code references

# Unbot has init=auto but that doesnt always work, esp when ur level 1 (for now) alternativy use
# the following or when the bots are to strong you can lower the equipment.

.playerbot bot init=white | common | uncommon | rare | epic | legendary
.playerbot bot init=MaxItemLevel
.playerbot rndbot init (re-randomize all bots again)
     (rndbot stats/update/reset/init/refresh/add/remove)

autogear (whenever init is broken, max equipment levelItem configured in playerbot.conf)
maintenance ( e.g. clears quest log, smart destroy items in inventory etc)

# let alt bots attack other bot on sight in pvp zone
nc +pvp
nc -pvp

# equip urself
.playerbot bot self, whisper yourself autogear and then use .playerbot bot self

# After init or talents respec make sure you reset bot AI (see unbot).
.playerbot bot add <name-of-character-on-account> (or account name instead of character name to add all characters on an account

# while in BG
.playerbots debug bg showpath=all 

Tank attack @dps attack in 10 seconds

@tank attack
/in 10 @dps attack

or use
you could also use co +passive to get the dps to not attack until you use co -passive

About

Simple classic installer with playerbots and ah-bot for solo / friends play

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0