Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
coolzoom committed Dec 26, 2022
0 parents commit e336be3
Show file tree
Hide file tree
Showing 3,576 changed files with 1,206,192 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
<!-- A clear and concise description of what the bug is. -->

**To Reproduce**
Steps to reproduce the behavior:
1.
2.
3.
4.

**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->

**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->

**Branch**
<!--which branch are you currently using eg: master/eluna/elunacfbg -->

**Eluna**
- [ ] Enabled
- [ ] Disabled

**Script**
<!--Script name assigned to the object/creature -->

**Crash**
<!--Crash log please upload a .txt file do not paste in here -->

**Additional context**
<!-- Add any other context about the problem here. -->

**HASH/COMMIT:**
<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! NEVER WRITE "LATEST", ALWAYS PUT THE ACTUAL VALUE INSTEAD.
Find the commit hash (unique identifier) by running "git log" on your own clone of Oregoncore or by looking at here https://github.com/talamortis/OregonCore/commits/master -->

<!-- PLEASE NOTE: IF THIS IS NOT FILLED OUT CORRECTLY YOU ISSUE WILL BE CLOSED -->
65 changes: 65 additions & 0 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

name: linux build

on:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/ISSUE_TEMPLATE.md'
- '.github/PULL_REQUEST_TEMPLATE.md'
- 'sql/**'
- '.drone.yml'
- 'README.md'
- 'LICENSE'
- '.gitignore'
- 'CONTRIBUTING.md'

pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/ISSUE_TEMPLATE.md'
- '.github/PULL_REQUEST_TEMPLATE.md'
- 'sql/**'
- '.drone.yml'
- 'README.md'
- 'LICENSE'
- '.gitignore'
- 'CONTRIBUTING.md'


# This is what will cancel the previous workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
#matrix declaration
matrix:
os: [ubuntu-latest]
compiler: [gcc, clang]

steps:

#git checkout
- uses: actions/checkout@v2

- name: ubuntu dependencies
#ubuntu dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get -qq install libmysql++-dev libace-dev libtbb-dev
sudo apt-get -qq install cmake build-essential cppcheck git make libiberty-dev openssl libssl-dev
#build and install
#ubuntu
- name: ubuntu build & install
run: |
mkdir build
mkdir _install
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=../_install -DWITH_WARNINGS=0 -DUSE_EXTRACTORS=0 -DACE_USE_EXTERNAL=1 -DTBB_USE_EXTERNAL=1
make -j2
make install
91 changes: 91 additions & 0 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@

name: windows build

on:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/ISSUE_TEMPLATE.md'
- '.github/PULL_REQUEST_TEMPLATE.md'
- 'sql/**'
- '.drone.yml'
- 'README.md'
- 'LICENSE'
- '.gitignore'
- 'CONTRIBUTING.md'

pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/ISSUE_TEMPLATE.md'
- '.github/PULL_REQUEST_TEMPLATE.md'
- 'sql/**'
- '.drone.yml'
- 'README.md'
- 'LICENSE'
- '.gitignore'
- 'CONTRIBUTING.md'

# This is what will cancel the previous workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
#matrix declaration
matrix:
include:
- os: windows-2019

steps:

#git checkout
- uses: actions/checkout@v2

#windows dependencies
- name: windows dependencies
#Sets versions for ACE/TBB
env:
ACE_VERSION: 6.5.11
ACE_VERSION2: 6_5_11
TBB_VERSION: 2020.3

run: |
#directory variables
export ACE_ROOT=$GITHUB_WORKSPACE/ACE_wrappers
export TBB_ROOT_DIR=$GITHUB_WORKSPACE/tbb
#wget
choco install -y wget --version 1.20
#ACE package download
wget http://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-$ACE_VERSION2/ACE-$ACE_VERSION.zip
unzip ACE-$ACE_VERSION.zip
rm ACE-$ACE_VERSION.zip
#configuration of ACE header
echo "#include \"ace/config-win32.h\"" >> $ACE_ROOT/ace/config.h
#TBB package download
wget https://github.com/oneapi-src/oneTBB/releases/download/v$TBB_VERSION/tbb-$TBB_VERSION-win.zip
unzip tbb-$TBB_VERSION-win.zip
rm tbb-$TBB_VERSION-win.zip
#openssl
choco install -y openssl --version=1.1.1.500
#git bash shell
shell: bash

#build and install
#windows
- name: windows build & install
run: |
#directory variables
export ACE_ROOT=$GITHUB_WORKSPACE/ACE_wrappers
cd $GITHUB_WORKSPACE/ACE_wrappers
/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe "ACE_wrappers_vs2019.sln" //p:Configuration=Release //p:Platform=x64 //t:ACE //m:2
cd $GITHUB_WORKSPACE
mkdir build
cd build
cmake -D TBB_ROOT_DIR=$GITHUB_WORKSPACE/tbb -DWITH_WARNINGS=0 -DUSE_EXTRACTORS=0 -G "Visual Studio 16 2019" -A x64 ..
/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe "HellfireCore.sln" //p:Platform=x64 //p:Configuration=Release //m:2
#git bash shell
shell: bash
117 changes: 117 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git-ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Normal rules
#
.*
*.o
*.o.*

*.so
*.so.dbg
*.bin
*.gz

# Visual studio solution files
*.tlog
*.vcxproj
*.vcxproj.filters
*.sln
*.db
*.opendb
*.exp
*.res
CMakeSettings.json
/out/

# CLion files
cmake-build-debug

#
# Top-level generic files
#
bin
build
tags
TAGS
!.gitignore
!.gitattributes

#
# Build generated files
#
autom4te.cache

#
# Editors / debuggers / other output files
#
*~
*.bak
*.orig
*.patch
callgrind.out.*

#
# Git stuff
#
# stgit directories
patches-*

#
# Github stuff
#
!.github/

#
# VS binaries output
#
bin/*
win/*

#
# VS temporary files
#
*.ncb
*.suo
*.sdf
*.opensdf
*.sln.cache
*.vsp
ipch
*.user


#
# CMake temporary files
#
CMakeFiles
CMakeCache.txt
cmake_install.cmake

#
# OS specific
#
# MacOS
.DS_Store

# Nostalrius
newsletter
patch
php

sql/migrations/*.py
sql/migrations/characters_db_updates.sql
sql/migrations/logon_db_updates.sql
sql/migrations/logs_db_updates.sql
sql/migrations/world_db_updates.sql

# Generating by CMake
revision.h
migrations_list.h
Progression.h
Loading

0 comments on commit e336be3

Please sign in to comment.