Updating the emulator

This commit is contained in:
Pagani Walter
2022-06-23 02:04:19 -03:00
parent ef10efb7f4
commit 815c329c0c
8 changed files with 15 additions and 50 deletions

View File

@@ -1,49 +1,12 @@
name: core-build name: core-build
on: on:
push: push:
branches:
- 'master'
pull_request: pull_request:
jobs: jobs:
build: build:
strategy: uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
fail-fast: false
matrix:
compiler: [clang]
runs-on: ubuntu-latest
name: ${{ matrix.compiler }}
env:
COMPILER: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v2
with: with:
repository: 'azerothcore/azerothcore-wotlk' module_repo: ${{ github.event.repository.name }}
ref: 'master'
submodules: 'recursive'
- uses: actions/checkout@v2
with:
submodules: 'recursive'
path: 'modules/skeleton-module'
- name: Cache
uses: actions/cache@v2
with:
path: /home/runner/.ccache
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.compiler }}:${{ github.ref }}
ccache:${{ matrix.compiler }}
- name: Configure OS
run: source ./acore.sh install-deps
env:
CONTINUOUS_INTEGRATION: true
- name: Create conf/config.sh
run: source ./apps/ci/ci-conf.sh
- name: Import db
run: source ./apps/ci/ci-import-db.sh
- name: Build
run: source ./apps/ci/ci-compile.sh
- name: Dry run
run: source ./apps/ci/ci-worldserver-dry-run.sh
- name: Check startup errors
run: source ./apps/ci/ci-error-check.sh
- name: Run unit tests
run: source ./apps/ci/ci-run-unit-tests.sh

View File

@@ -1,7 +0,0 @@
CREATE TABLE IF NOT EXISTS `custom_reagent_bank` (
`character_id` int(11) NOT NULL,
`item_entry` int(11) NOT NULL,
`item_subclass` int(11) NOT NULL,
`amount` int(11) NOT NULL,
PRIMARY KEY (`character_id`,`item_entry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS `custom_reagent_bank` (
`character_id` int(11) NOT NULL,
`item_entry` int(11) NOT NULL,
`item_subclass` int(11) NOT NULL,
`amount` int(11) NOT NULL,
PRIMARY KEY (`character_id`,`item_entry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -1,6 +1,8 @@
SET SET
@Entry = 190011, @Entry = 190011,
@Name = "Ling"; @Name = "Ling";
DELETE FROM `creature_template` WHERE `entry` = @Entry; DELETE FROM `creature_template` WHERE `entry` = @Entry;
INSERT INTO `creature_template` (`entry`, `modelid1`, `modelid2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `scale`, `rank`, `dmgschool`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `AIName`, `MovementType`, `HoverHeight`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES INSERT INTO `creature_template` (`entry`, `modelid1`, `modelid2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `scale`, `rank`, `dmgschool`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `AIName`, `MovementType`, `HoverHeight`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES

View File

@@ -12,4 +12,3 @@ void Addmod_reagent_bankScripts()
{ {
AddSC_mod_reagent_bank(); AddSC_mod_reagent_bank();
} }