Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.2 Release Candidate #3917

Merged
merged 55 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
fdaaba3
def null for conditions (#3799)
nekiro Nov 26, 2021
fc706f5
Fix parameters count check in luaPlayerAddItem (#3831)
marmichalski Dec 7, 2021
1802210
Use nextUseStaminaTime only player gain experience (#3779)
ramon-bernardo Dec 9, 2021
561ade7
Send world light level only when it has changed (#3832)
marmichalski Dec 6, 2021
eef8df2
Set default values on initialization instead of constructor body (#3776)
ranisalt Nov 29, 2021
4225148
Fixed Player.onItemMoved not being called when switching items in inv…
MillhioreBT Nov 28, 2021
7d739a7
Don't allow ammo to be dressed in weapon slot (#3806)
Zbizu Nov 28, 2021
73885c4
Reset idle time on reconnect (#3805)
nekiro Nov 27, 2021
04761a4
Fix invalid NPC items on trade (#3782)
lucasgrizante Nov 13, 2021
b7c06b5
Update modules.lua (#3792)
EPuncker Nov 16, 2021
7e8ab9e
#3768 - Fixing use of item on the house door (#3786)
ArturKnopik Nov 15, 2021
9e8b826
fix disappearing backpack during trade (#3750)
Zbizu Nov 3, 2021
178ac8b
updating login message time format (#3769)
Zbizu Nov 3, 2021
32c6b6e
Use min skill level on Vocation::getReqSkillTries (#3730)
ramon-bernardo Nov 1, 2021
21fba7f
Fixing mistake when removing charm item (#3891)
andremiles1 Jan 9, 2022
a6e35f6
Fix respawn taking twice as long as expected (#3886)
marmichalski Jan 6, 2022
84e2024
Add summon max count in MonsterType:addSummon (#3883)
marmichalski Jan 5, 2022
2256bb3
moved Player:getTotalMoney() to more accessible place (#3875)
omarcopires Dec 27, 2021
da8a657
Fix int_fast16_t overflow (#3740)
ramon-bernardo Dec 21, 2021
da9e888
Update clay_lump.lua (#3802)
EPuncker Dec 14, 2021
61dacd4
Updated Visual Studio project file (#3794)
EPuncker Dec 14, 2021
bc7d862
Move minimum skil level (#3721)
ramon-bernardo Oct 9, 2021
a6617df
Bump engine version to 1.4.2
Znote Jan 30, 2022
7438ac7
Remove Player.updateKillTracker
Znote Jan 30, 2022
740ae58
Fixing The Pale Count's looktype and corpse ID (#3894)
andremiles1 Jan 13, 2022
2c29702
Fixed double declared variable at bank NPC (#3897)
Diego-OT Jan 16, 2022
7b997bd
Avoid search for C compiler (#3907)
ranisalt Jan 25, 2022
1bcece0
Fix incorrect argument to Player:onItemMoved event (#3913)
Erza Jan 27, 2022
c40f46d
Fix containers not decaying in houses after server startup (#3911)
Erza Jan 27, 2022
e7a5550
FIX: Item::equals issue with custom attributes (#3803)
MillhioreBT Jan 27, 2022
f88fb96
Fix unused function warning on Linux (#3908)
Erza Jan 28, 2022
83d9121
Fixes to MoveItem & OnItemMoved events (#3916)
Erza Jan 30, 2022
c11befc
Fix OnItemMoved event when the last item of a stackable stack is move…
Erza Jan 31, 2022
d85c736
Fix whereever slot bugs (#3923)
nekiro Feb 5, 2022
ec866fb
Fix certain scenarios where the house protection would fail to apply …
Erza Feb 5, 2022
ec6b189
ci: remove Travis CI and AppVeyor
DSpeichert Jan 24, 2022
35495e2
ci: build releases
DSpeichert Jan 24, 2022
974558b
Dont hardcode size for depot locker (#3924)
nekiro Feb 6, 2022
91a0063
Say without echo in onHear event (#3031)
MillhioreBT Feb 6, 2022
24bc264
getNumber: check unsigned integers for underflow and overflow (#3197)
nekiro Feb 6, 2022
90a5d25
Fixed bug in #3197 (#3926)
DSpeichert Feb 6, 2022
86580eb
Check if item has been removed before firing OnItemMoved events (#3925)
Erza Feb 6, 2022
c40ccc9
ci: Run `apt-get update` before installing packages (#3929)
kornholi Feb 9, 2022
1ea07de
Fix missing green skull on current character (#3931)
EPuncker Feb 10, 2022
dc52093
Move party exp-share range to constexpr (#3720)
ramon-bernardo Oct 31, 2021
cd7aec9
more detailed shared exp messages (#3934)
EPuncker Feb 13, 2022
7693eb1
Fix Lua getNumber range check (#3928)
nekiro Feb 14, 2022
b4e0f2e
Fix trade stacking items (#3248)
nekiro Feb 14, 2022
cbed26e
build: Update alpine to 3.15 (#3937)
kornholi Feb 14, 2022
137f538
rsa: tolerate whitespaces better (#3940)
DSpeichert Feb 17, 2022
f09e320
Merge ioguild into guild (#3949)
ranisalt Feb 17, 2022
57d6db4
Fix compiler error on MSVC with c++latest (#3954)
EPuncker Feb 18, 2022
a99780f
Fix summon memory leak (#3736)
ramon-bernardo Feb 19, 2022
6edc763
Add AUTHORS file and remade source header (#3969)
EPuncker Feb 22, 2022
2a75da7
Update src/luascript.h
EPuncker Feb 24, 2022
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
4 changes: 1 addition & 3 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- master
- v*

tags:
- v*

paths:
- cmake/**
- src/**
Expand All @@ -29,6 +26,7 @@ jobs:

- name: Install dependencies
run: >
sudo apt-get update &&
sudo apt-get install git cmake build-essential libluajit-5.1-dev libmysqlclient-dev
libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev
libpugixml-dev libcrypto++-dev libfmt-dev
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- master
- v*

tags:
- v*

paths:
- cmake/**
- src/**
Expand Down Expand Up @@ -85,15 +82,16 @@ jobs:
echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV

- name: Run vcpkg
uses: lukka/run-vcpkg@3f40d51892f553ccc1279e943640527bde14635b
uses: lukka/run-vcpkg@v7
with:
vcpkgArguments: ${{ matrix.packages }}
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
vcpkgTriplet: ${{ matrix.triplet }}
appendedCacheKey: ${{ matrix.name }}${{ matrix.buildtype }}${{ matrix.luajit }}
vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092

- name: Build with CMake
uses: lukka/run-cmake@37910ad41ea9667b241360328d9414b62c7feee1
uses: lukka/run-cmake@v3
with:
useVcpkgToolchainFile: true
buildDirectory: ${{ runner.workspace }}/build
Expand Down Expand Up @@ -160,15 +158,16 @@ jobs:
echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV

- name: Run vcpkg
uses: lukka/run-vcpkg@3f40d51892f553ccc1279e943640527bde14635b
uses: lukka/run-vcpkg@v7
with:
vcpkgArguments: ${{ matrix.packages }}
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
vcpkgTriplet: ${{ matrix.triplet }}
appendedCacheKey: ${{ matrix.name }}${{ matrix.buildtype }}${{ matrix.luajit }}
vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092

- name: Build with CMake
uses: lukka/run-cmake@37910ad41ea9667b241360328d9414b62c7feee1
uses: lukka/run-cmake@v3
with:
useVcpkgToolchainFile: true
buildDirectory: ${{ runner.workspace }}/build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lua-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
paths:
- data/**.lua
push:
branches:
- master
paths:
- data/**.lua

Expand Down
192 changes: 192 additions & 0 deletions .github/workflows/release-vcpkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
name: Release builds with vcpkg

on:
push:
tags:
- v*

jobs:
unix:
name: ${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
max-parallel: 8
matrix:
name: [ubuntu-gcc, macos-clang]
buildtype: [Release]
luajit: [on]
include:
- name: ubuntu-gcc
os: ubuntu
cxx: g++
cc: gcc
triplet: x64-linux
packages: >
boost-asio boost-iostreams boost-system boost-filesystem boost-variant boost-lockfree
lua libmariadb pugixml cryptopp fmt
- name: macos-clang
os: macos
cxx: clang++
cc: clang
triplet: x64-osx
packages: >
boost-asio boost-iostreams boost-system boost-filesystem boost-variant boost-lockfree
lua libmariadb pugixml cryptopp fmt

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Unshallow
run: git fetch --prune --unshallow

- name: Get latest CMake
# Using 'latest' branch, the latest CMake is installed.
uses: lukka/get-cmake@latest

- name: Ubuntu - install luajit, remove libmysqlclient-dev
run: |
sudo apt-get install libluajit-5.1-dev
sudo apt-get remove -y libmysqlclient-dev
if: contains( matrix.os, 'ubuntu')

- name: MacOS - install luajit pkgconfig
run: brew install luajit pkgconfig
if: contains( matrix.os, 'macos')

- name: Set Environment vars
run: |
echo "CXX=${{ matrix.cxx }}" >> $GITHUB_ENV
echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV

- name: Run vcpkg
uses: lukka/run-vcpkg@v7
with:
vcpkgArguments: ${{ matrix.packages }}
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
vcpkgTriplet: ${{ matrix.triplet }}
appendedCacheKey: ${{ matrix.name }}${{ matrix.buildtype }}${{ matrix.luajit }}
vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092

- name: Build with CMake
uses: lukka/run-cmake@v3
with:
useVcpkgToolchainFile: true
buildDirectory: ${{ runner.workspace }}/build
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE="${{ matrix.buildtype }}" -DUSE_LUAJIT="${{ matrix.luajit }}"'

- name: dir
run: find $RUNNER_WORKSPACE
shell: bash

- name: Prepare datapack contents
run: |
pwd
ls -al
find . -maxdepth 1 ! -name data ! -name config.lua.dist ! -name key.pem ! -name LICENSE ! -name README.md ! -name schema.sql -exec rm -r {} \;
mv ../build/tfs .
shell: bash

- name: Zip the release files
uses: thedoctor0/zip-release@master
with:
type: tar
filename: tfs-${{ github.ref_name }}-${{ matrix.name }}.tar.gz
path: forgottenserver
directory: ../

- name: Upload release artifact
uses: ncipollo/release-action@v1
with:
artifacts: ../tfs-${{ github.ref_name }}-${{ matrix.name }}.tar.gz
generateReleaseNotes: true
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}

windows:
name: ${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.buildtype }}-luajit=on
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
max-parallel: 8
matrix:
name: [windows-msvc]
buildtype: [Release]
include:
- name: windows-msvc
os: windows
cxx: cl.exe
cc: cl.exe
triplet: x64-windows
packages: >
boost-asio boost-iostreams boost-system boost-filesystem boost-variant boost-lockfree
lua luajit libmariadb pugixml cryptopp fmt

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Unshallow
run: git fetch --prune --unshallow

- name: Get latest CMake
# Using 'latest' branch, the latest CMake is installed.
uses: lukka/get-cmake@latest

- name: Windows - remove C:/mysql*
run: rm -r -fo C:/mysql*

- name: Set Environment vars
run: |
echo "CXX=${{ matrix.cxx }}" >> $GITHUB_ENV
echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV

- name: Run vcpkg
uses: lukka/run-vcpkg@v7
with:
vcpkgArguments: ${{ matrix.packages }}
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
vcpkgTriplet: ${{ matrix.triplet }}
appendedCacheKey: ${{ matrix.name }}${{ matrix.buildtype }}${{ matrix.luajit }}
vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092

- name: Build with CMake
uses: lukka/run-cmake@v3
with:
useVcpkgToolchainFile: true
buildDirectory: ${{ runner.workspace }}/build
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeAppendedArgs: '-G Ninja -DCMAKE_BUILD_TYPE="${{ matrix.buildtype }}" -DUSE_LUAJIT="on"'

- name: dir
run: find $RUNNER_WORKSPACE
shell: bash

- name: Prepare datapack contents
run: |
pwd
ls -al
find . -maxdepth 1 ! -name data ! -name config.lua.dist ! -name key.pem ! -name LICENSE ! -name README.md ! -name schema.sql -exec rm -r {} \;
mv ../build/tfs.exe* .
mv ../build/*.dll .
shell: bash

- name: Zip the release files
uses: thedoctor0/zip-release@master
with:
type: zip
filename: tfs-${{ github.ref_name }}-${{ matrix.name }}.zip
path: forgottenserver
directory: ../

- name: Upload release artifact
uses: ncipollo/release-action@v1
with:
artifacts: ../tfs-${{ github.ref_name }}-${{ matrix.name }}.zip
generateReleaseNotes: true
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/xml-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
paths:
- data/**.xml
push:
branches:
- master
paths:
- data/**.xml

Expand Down
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

70 changes: 70 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
The Forggoten Server contributors/developers

Allan Ference <f.fallen45@gmail.com>
andypsylon <github.com@tfm24.de>
Bruno Carvalho <comedinhass@gmail.com>
brunominervino <brunominervino1993@gmail.com>
cbrm <eihrenjar@live.com>
Chandler Gressman <admin@gmghosting.net>
codinablac <codinablack@gmail.com>
comedinha <comedinhass@gmail.com>
conde2 <joao_pc23@hotmail.com>
cosmosbr <xande1994@terra.com.br>
Crypton33 <crypton01@gmail.com>
dalkon <dalkon@live.se>
Damian Jarek <damian.jarek93@gmail.com>
Daniel Björkholm <danielbjorkholm@live.se>
Daniel Speichert <DSpeichert@users.noreply.github.com>
devcod <mm.chyla@gmail.com>
djayk1 <shinobiartonline@gmail.com>
Dominique Verellen <dominique120@users.noreply.github.com>
Edgar Garcia <zeromiedoproductionss@gmail.com>
Eduardo Júnio Santos Macêdo <eduardojunio@users.noreply.github.com>
EPuncker <epuncker@gmail.com>
Esfomeado <vps1992@live.com.pt>
EvanMC <evancole82590@gmail.com>
Faith2531 <Faith2531@users.noreply.github.com>
Fernando Matos <fernando@pixele.com.br>
fsbcorrea <fsbcorrea@gmail.com>
Gustavo <gugahoa@hotmail.com>
Gustavo Stor <gsa2@cin.ufpe.br>
Jesus Fernandez <jfevia@gmail.com>
Jovial1991 <jovial1991@hotmail.com>
jpmagg <jamison.usa@hotmail.com>
Kamil Chojnowski <diath@zodiaclabs.org>
Kamil Wąż <sn3ejk@outlook.com>
Kornelijus Survila <kornholijo@gmail.com>
Luckey1729 <admin@gmghosting.net>
LuisPro <ramayahero@wp.pl>
Marcin <nekiroboy@gmail.com>
Marcin Michalski <evulmastah@gmail.com>
margohq <muno376@gmail.com>
Mark Samman <mark.samman@gmail.com>
Markus Elfring <elfring@users.sourceforge.net>
mattyx14 <martin_jojo@hotmail.com>
Mithryll <guianm@outlook.com>
Nailson <nailsonnego@gmail.com>
nawyrus <nawyrus@users.noreply.github.com>
nclx <januario.nclx@gmail.com>
octavio007 <octavioargenis_11@hotmail.com>
paulosalvatore <paulo.salvatore@hotmail.com.br>
PrinterLUA <roberto_potrus@hotmail.com>
Ranieri Althoff <ranisalt@gmail.com>
raymondtfr <raymond.ek@hotmail.com>
Rey Aleman <rey.aleman@outlook.com>
Roland <gunzo@gunzo.eu>
Ron <elronaldpetit@gmail.com>
Royalot <Royalot@users.noreply.github.com>
Sam <sum9900@web.de>
Shawak <Shawak@users.noreply.github.com>
Skillert <peter.mollberg@gmail.com>
Stefan A. Brannfjell <stefan_brannfjell@live.no>
Techrlz <techrlz@yahoo.com>
TheSumm <sum9900@web.de>
Tovar <petertova@hotmail.com>
tshain <tdshain@gmail.com>
Turhan Yağız Merpez <yagizmerpez@gmail.com>
vankk <nwtr.otland@hotmail.com>
Vichoko <vicenteoyanedel@gmail.com>
wgrriffel <wgrriffel@gmail.com>
WibbenZ <wibbenz@gmail.com>
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10)
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)

project(tfs)
project(tfs CXX)

add_subdirectory(src)
add_executable(tfs ${tfs_SRC})
Expand Down
Loading