Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Apr 27, 2021
0 parents commit da96e1f
Show file tree
Hide file tree
Showing 5,616 changed files with 742,149 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
58 changes: 58 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
image: Visual Studio 2019

shallow_clone: true

# set clone depth
clone_depth: 1

# environment:
# APPVEYOR_SAVE_CACHE_ON_ERROR: true

platform:
- x64

configuration:
- Release

matrix:
fast_finish: true

only_commits:
files:
- src/
- vc14/
- .appveyor.yml
- cmake/
- CMakeLists.txt

install:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- cd C:\Tools\vcpkg
- git pull
- .\bootstrap-vcpkg.bat
- .\vcpkg integrate install
- cd %APPVEYOR_BUILD_FOLDER%

before_build:
- cmd: |-
if not exist build mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=C:\Tools\vcpkg\scripts\buildsystems\vcpkg.cmake ..
cmake --build . --config Release
build:
project: C:\projects\otservbr-global\build\otbr.sln
verbosity: minimal
parallel: true

after_build:
- cd %APPVEYOR_BUILD_FOLDER%\build\bin
- 7z a -tzip otservbr-global.zip Release\

cache:
- C:\projects\otservbr-global\build\vcpkg_installed\
- C:\Users\appveyor\AppData\Local\vcpkg\archives

artifacts:
- path: \build\bin\otservbr-global.zip
40 changes: 40 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
root = true

# General configuration
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

# Lua, XML
[*.{lua,xml}]
indent_style = tab
indent_size = 2

# SQL
[**.{sql}]
indent_style = space
indent_size = 2

#cmake
[CMakeLists.txt]
indent_style = tab
indent_size = 2

# Google Style
[*.{cpp,hpp,h}]
indent_style = tab
indent_size = 2
indent_brace_style = K&R
spaces_around_brackets = none

[*.{yml,yaml,json}]
indent_style = space
indent_size = 2

# CMake
[CMakeLists.txt]
indent_style = space
indent_size = 2
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: [
'https://opentibiabr.github.io/donation/',
]
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 'Help / Support'
url: 'https://discord.gg/3NxYnyV?utm_source=Github'
about: If you have support question or need help, please use our Discord Server.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/i-want-to-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: I have a snippet to share
about: If you have any lua, xml or cpp code that you want to share to be added to the server
---

If you have a piece of code to contribute and want to share with OTServBR, **please do it with a pull request instead**. Refrain from opening issues for simple code changes, it makes everything slower while you could be contributing to the community and improving the life of every player that uses this server.

If you don't know how to contribute in GitHub, you don't even need to know Git: can try to edit the files that you want to change directly from the web interface. If you need to change more files you need to create a complete pull request, [you can learn how to do that with this tutorial](https://github.com/firstcontributions/first-contributions).

Please don't be afraid if this is your first contribution, we are all here to help you if you are willing to invest the time :)
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/map-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Report map issues
about: Any problems, missing places or wrong content in the map
title: 'MAP: '
labels: 'Where: Map'
assignees: ''

---

## READ BEFORE PROCEEDING: OUR SERVER IS UPDATED DAILY. IF POSSIBLE MAKE SURE TO UPDATE TO THE LATEST VERSION BEFORE REPORTING.

#### What are the coordinates of the place where the issue with the map was found?
- X:
- Y:
- Z:

#### What kind of issue you found (respawns missing, details, large areas...)?
-

#### Screenshots
> Please include screenshots or recordings of the place in the map
#### What was expected to be in place?
> A clear and concise description of what you expected to see on the place you described.
#### Environment
- OS (e.g. Windows):
- OTServ Version (e.g. commit):
- Tibia Version (e.g. 12.52):

#### Additional context
> Add any other context about the problem here.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/missing-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Feature request
about: Request larger pieces of feature. Eg. actions, interactions, mechanics, ...
title: 'FEATURE: '
labels: "Type: Enhancement"
assignees: ''
---

## READ BEFORE PROCEEDING: OUR SERVER IS UPDATED DAILY. IF POSSIBLE MAKE SURE TO UPDATE TO THE LATEST VERSION BEFORE REPORTING.

#### Describe your feature request
> A clear and concise description of what the request is about. Ex. I'm always frustrated when [...]
#### Describe the solution you'd like
> A clear and concise description of what you expected to happen.
#### Describe alternatives you've considered
> A clear and concise description of any alternative solutions or features you've considered.
#### Links
> If applicable, add links to help explain how this feature works.
#### Screenshots
> If applicable, add screenshots to help explain your feature request
#### Additional context
> Add any other context about the problem here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/missing-wrong-content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Missing content
about: Report missing or wrong content in the server. Eg. NPCs, quests, items, monsters...
title: 'CONTENT: '
labels: "Type: Missing Content"
assignees: ''
---

## READ BEFORE PROCEEDING: OUR SERVER IS UPDATED DAILY. IF POSSIBLE MAKE SURE TO UPDATE TO THE LATEST VERSION BEFORE REPORTING.

#### Describe the wrong or missing content
> A clear and concise description of what content is wrong or missing
#### Describe the correct content
> A clear and concise description of what would be the correct content in place
#### Links
> If applicable, add links to help references of how the content
#### Screenshots
> If applicable, add screenshots to help explain the content
#### Additional context
> Add any other context about the problem here
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/z-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Report a problem
about: Any issues that you have found while using the server
title: 'BUG: '
labels: 'Type: Bug'
assignees: ''

---

## READ BEFORE PROCEEDING: OUR SERVER IS UPDATED DAILY. IF POSSIBLE MAKE SURE TO UPDATE TO THE LATEST VERSION BEFORE REPORTING.

#### Describe the bug
> A clear and concise description of what the bug is.
#### How to Reproduce?
> If you cannot reproduce an issue by redoing the same steps, we also will not be able :)
> Give us all details to reproduce the behavior:
> 1. Walk to city '...'
> 2. Click on item '....'
> 3. Drag it to backpack '....'
> 4. See error
#### Logs or errors
> Please include any errors or logs that are relevant
#### Expected behavior
> A clear and concise description of what you expected to happen.
#### Screenshots
> If applicable, add screenshots to help explain your problem.
#### Environment
- OS (e.g. Windows):
- OTServ Version (e.g. commit):
- Tibia Version (e.g. 12.52):

#### Additional context
> Add any other context about the problem here.
49 changes: 49 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

## Behaviour
### **Actual**

Do this and that doesn't happens

### **Expected**

Do this and that happens

## Fixes

\# (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B

**Test Configuration**:

- Server Version:
- Client:
- Operating System:

## Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I checked the PR checks reports
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
12 changes: 12 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
source:
- any: ['src/**/*']

data:
- any: ['data/**/*', '!data/world/*']

map:
- any: ['data/world/*']

docker:
- any: ['docker/**/*']
Loading

0 comments on commit da96e1f

Please sign in to comment.