Resolve "Merge the best from 7.40 branch"
6
.gitignore
vendored
@ -17,3 +17,9 @@ vc14/.vs/
|
||||
/.vs
|
||||
/vc14/Debug
|
||||
/vc14/UpgradeLog.htm
|
||||
/TibianusOTClientEncrypted
|
||||
/vc14/UpgradeLog2.htm
|
||||
/Sabrehaven.zip
|
||||
/theforgottenserver.7z
|
||||
/theforgottenserver.zip
|
||||
/SabrehavenOTClient/tibianus.log
|
||||
|
@ -1 +1 @@
|
||||
next: 17739
|
||||
next: 17743
|
22
SabrehavenOTClient/LICENSE
Normal file
@ -0,0 +1,22 @@
|
||||
OTClientV8 is made available under the MIT License
|
||||
|
||||
Copyright (c) 2010-2017 OTClient <https://github.com/edubart/otclient>
|
||||
Copyright (c) 2018-2021 OTClientV8 <https://github.com/OTCv8/otclientv8>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
99
SabrehavenOTClient/README.md
Normal file
@ -0,0 +1,99 @@
|
||||
# OTClientV8
|
||||
|
||||
OTClientV8 is highly optimized, cross-platform tile based 2d game engine built with c++17, lua, physfs, OpenGL ES 2.0 and OpenAL.
|
||||
It has been created as alternative client for game called [Tibia](https://tibia.com/), but now it's much more functional and powerful.
|
||||
It works well even on 12 years old computers. In April 2021 it reached 290k unique installations, including 80k android installations.
|
||||
|
||||
Supported platforms:
|
||||
- Windows (min. Windows 7)
|
||||
- Android (min. 5.0)
|
||||
|
||||
On Windows you may need to install https://aka.ms/vs/16/release/vc_redist.x86.exe to make it work.
|
||||
|
||||
### Forum: http://otclient.net
|
||||
### Discord: https://discord.gg/feySup6
|
||||
### Website: http://otclient.ovh
|
||||
### Wiki: https://github.com/OTCv8/otclientv8/wiki
|
||||
|
||||
## Version for developers
|
||||
|
||||
In this repository, you can find clean, always up-to-date, ready to use version of OTClientv8. Most commits from version 3.0 are automatic using GitHub Actions. If you want to help with development, please visit repository for developers - https://github.com/OTCv8/otcv8-dev
|
||||
|
||||
## FEATURES
|
||||
- Rewritten and optimized rendering (60 fps on 11 years old computer)
|
||||
- Better DirectX9 and DirectX11 support
|
||||
- Adaptive rendering (automated graphics optimizations)
|
||||
- Rewritten and optimized light rendering
|
||||
- Rewritten path finding and auto walking
|
||||
- Rewritten walking system with animations
|
||||
- HTTP/HTTPS lua API with JSON support
|
||||
- WebSocket lua API
|
||||
- Auto updater with failsafe (recovery) mode
|
||||
- New filesystem
|
||||
- File encryption and compression
|
||||
- Automatic diagnostic system
|
||||
- Refreshed interface
|
||||
- New crash and error handler
|
||||
- New HTTP login protocol
|
||||
- Ingame shop
|
||||
- Updated hotkey manager
|
||||
- Updated and optimized battle list
|
||||
- Crosshair, floor fading, extra health/mana bars and panels
|
||||
- Much more client options
|
||||
- Removed a lot of useless and outdated things
|
||||
- Advanced bot
|
||||
- Linux version
|
||||
- Full tibia 11.00 support
|
||||
- Layouts
|
||||
- New login server (with ingame account and character creation)
|
||||
- Support for proxies to lower latency and protect against DDoS (extra paid option)
|
||||
- Bot protection (extra paid option)
|
||||
|
||||
### And hundreds of smaller features, optimizations and bug fixes!
|
||||
### Check out [Wiki page](https://github.com/OTCv8/otclientv8/wiki) to see how activate and use new features
|
||||
|
||||
### Old tools, like updater and tutorials has been moved to: [OTCv8/otcv8-tools](https://github.com/OTCv8/otcv8-tools)
|
||||
### There's github repo of tfs 1.3 with otclientv8 features: [OTCv8/otclientv8-tfs](https://github.com/OTCv8/forgottenserver)
|
||||
|
||||
## Quick Start for players
|
||||
|
||||
Download whole repository and run one of binary file.
|
||||
|
||||
## Quick Start for server owners
|
||||
|
||||
Open `init.lua` and edit:
|
||||
|
||||
```
|
||||
-- CONFIG
|
||||
APP_NAME = "otclientv8" -- important, change it, it's name for config dir and files in appdata
|
||||
APP_VERSION = 1337 -- client version for updater and login to indentify outdated client
|
||||
DEFAULT_LAYOUT = "retro"
|
||||
|
||||
-- If you don't use updater or other service, set it to updater = ""
|
||||
Services = {
|
||||
website = "http://otclient.ovh", -- currently not used
|
||||
updater = "http://otclient.ovh/api/updater.php",
|
||||
news = "http://otclient.ovh/api/news.php",
|
||||
stats = "",
|
||||
crash = "http://otclient.ovh/api/crash.php",
|
||||
feedback = "http://otclient.ovh/api/feedback.php"
|
||||
}
|
||||
|
||||
-- Servers accept http login url or ip:port:version
|
||||
Servers = {
|
||||
OTClientV8 = "http://otclient.ovh/api/login.php",
|
||||
OTClientV8proxy = "http://otclient.ovh/api/login.php?proxy=1",
|
||||
OTClientV8classic = "otclient.ovh:7171:1099",
|
||||
OTClientV8cwithfeatures = "otclient.ovh:7171:1099:25:30:80:90",
|
||||
}
|
||||
ALLOW_CUSTOM_SERVERS = true -- if true it will show option ANOTHER on server list
|
||||
-- CONFIG END
|
||||
```
|
||||
|
||||
Also remember to add your sprite and data file to data/things
|
||||
|
||||
That's it, you're ready to use OTClientV8.
|
||||
|
||||
DirectX version requires 3 dlls: libEGL.dll libGLESv2.dll d3dcompiler_47.dll
|
||||
|
||||
If it can't start (missing dlls) then user need to install visual studio 2019 redistributable x86: https://aka.ms/vs/16/release/vc_redist.x86.exe
|
13
SabrehavenOTClient/data/cursors/cursors.otml
Normal file
@ -0,0 +1,13 @@
|
||||
Cursors
|
||||
target:
|
||||
image: targetcursor
|
||||
hot-spot: 9 9
|
||||
horizontal:
|
||||
image: horizontalcursor
|
||||
hot-spot: 9 4
|
||||
vertical:
|
||||
image: verticalcursor
|
||||
hot-spot: 4 9
|
||||
text:
|
||||
image: textcursor
|
||||
hot-spot: 4 9
|
BIN
SabrehavenOTClient/data/cursors/horizontalcursor.png
Normal file
After Width: | Height: | Size: 230 B |
BIN
SabrehavenOTClient/data/cursors/targetcursor.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
SabrehavenOTClient/data/cursors/textcursor.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
SabrehavenOTClient/data/cursors/verticalcursor.png
Normal file
After Width: | Height: | Size: 238 B |
6
SabrehavenOTClient/data/fonts/cipsoftFont.otfont
Normal file
@ -0,0 +1,6 @@
|
||||
Font
|
||||
name: cipsoftFont
|
||||
texture: cipsoftFont
|
||||
height: 8
|
||||
glyph-size: 8 8
|
||||
space-width: 2
|
BIN
SabrehavenOTClient/data/fonts/cipsoftFont.png
Normal file
After Width: | Height: | Size: 14 KiB |
6
SabrehavenOTClient/data/fonts/sans-bold-16px.otfont
Normal file
@ -0,0 +1,6 @@
|
||||
Font
|
||||
name: sans-bold-16px
|
||||
texture: sans-bold-16px_cp1252
|
||||
height: 20
|
||||
glyph-size: 24 24
|
||||
space-width: 3
|
BIN
SabrehavenOTClient/data/fonts/sans-bold-16px_cp1252.png
Normal file
After Width: | Height: | Size: 17 KiB |
7
SabrehavenOTClient/data/fonts/small-9px.otfont
Normal file
@ -0,0 +1,7 @@
|
||||
Font
|
||||
name: small-9px
|
||||
texture: small-9px
|
||||
height: 9
|
||||
glyph-size: 9 9
|
||||
space-width: 3
|
||||
spacing: 1 0
|
BIN
SabrehavenOTClient/data/fonts/small-9px.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
8
SabrehavenOTClient/data/fonts/terminus-10px.otfont
Normal file
@ -0,0 +1,8 @@
|
||||
Font
|
||||
name: terminus-10px
|
||||
texture: terminus-10px
|
||||
height: 12
|
||||
y-offset: 0
|
||||
glyph-size: 16 16
|
||||
fixed-glyph-width: 6
|
||||
space-width: 6
|
BIN
SabrehavenOTClient/data/fonts/terminus-10px.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
8
SabrehavenOTClient/data/fonts/terminus-14px-bold.otfont
Normal file
@ -0,0 +1,8 @@
|
||||
Font
|
||||
name: terminus-14px-bold
|
||||
texture: terminus-14px-bold
|
||||
height: 16
|
||||
y-offset: 2
|
||||
glyph-size: 16 16
|
||||
fixed-glyph-width: 8
|
||||
space-width: 8
|
BIN
SabrehavenOTClient/data/fonts/terminus-14px-bold.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
@ -0,0 +1,7 @@
|
||||
Font
|
||||
name: verdana-11px-antialised
|
||||
texture: verdana-11px-antialised_cp1252
|
||||
height: 14
|
||||
glyph-size: 16 16
|
||||
space-width: 4
|
||||
default: true
|
BIN
SabrehavenOTClient/data/fonts/verdana-11px-antialised_cp1250.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
SabrehavenOTClient/data/fonts/verdana-11px-antialised_cp1252.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
@ -0,0 +1,6 @@
|
||||
Font
|
||||
name: verdana-11px-monochrome
|
||||
texture: verdana-11px-monochrome_cp1252
|
||||
height: 14
|
||||
glyph-size: 16 16
|
||||
space-width: 3
|
BIN
SabrehavenOTClient/data/fonts/verdana-11px-monochrome_cp1250.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
SabrehavenOTClient/data/fonts/verdana-11px-monochrome_cp1252.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
@ -0,0 +1,8 @@
|
||||
Font
|
||||
name: verdana-11px-rounded
|
||||
texture: verdana-11px-rounded_cp1252
|
||||
height: 16
|
||||
glyph-size: 16 16
|
||||
y-offset: -2
|
||||
spacing: -1 -3
|
||||
space-width: 4
|
BIN
SabrehavenOTClient/data/fonts/verdana-11px-rounded_cp1250.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
SabrehavenOTClient/data/fonts/verdana-11px-rounded_cp1252.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
8
SabrehavenOTClient/data/fonts/verdana-9px-bold.otfont
Normal file
@ -0,0 +1,8 @@
|
||||
Font
|
||||
name: verdana-9px-bold
|
||||
texture: verdana-9px-bold
|
||||
height: 12
|
||||
glyph-size: 13 13
|
||||
space-width: 4
|
||||
spacing: 0 0
|
||||
|
BIN
SabrehavenOTClient/data/fonts/verdana-9px-bold.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
6
SabrehavenOTClient/data/fonts/verdana-9px-italic.otfont
Normal file
@ -0,0 +1,6 @@
|
||||
Font
|
||||
name: verdana-9px-italic
|
||||
texture: verdana-9px-italic
|
||||
height: 12
|
||||
glyph-size: 13 13
|
||||
space-width: 3
|
BIN
SabrehavenOTClient/data/fonts/verdana-9px-italic.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
7
SabrehavenOTClient/data/fonts/verdana-9px.otfont
Normal file
@ -0,0 +1,7 @@
|
||||
Font
|
||||
name: verdana-9px
|
||||
texture: verdana-9px
|
||||
height: 13
|
||||
glyph-size: 13 13
|
||||
space-width: 3
|
||||
spacing: 0 -4
|
BIN
SabrehavenOTClient/data/fonts/verdana-9px.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
SabrehavenOTClient/data/images/background.png
Normal file
After Width: | Height: | Size: 442 KiB |
BIN
SabrehavenOTClient/data/images/bars/health1.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
SabrehavenOTClient/data/images/bars/mana1.png
Normal file
After Width: | Height: | Size: 158 B |
BIN
SabrehavenOTClient/data/images/clienticon.png
Normal file
After Width: | Height: | Size: 518 B |
BIN
SabrehavenOTClient/data/images/crosshair/default.png
Normal file
After Width: | Height: | Size: 372 B |
BIN
SabrehavenOTClient/data/images/crosshair/full.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
SabrehavenOTClient/data/images/flags/de.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
SabrehavenOTClient/data/images/flags/en.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
SabrehavenOTClient/data/images/flags/es.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
SabrehavenOTClient/data/images/flags/pl.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
SabrehavenOTClient/data/images/flags/pt.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
SabrehavenOTClient/data/images/flags/sv.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
SabrehavenOTClient/data/images/game/actionbarslot.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
SabrehavenOTClient/data/images/game/battle/battle_monsters.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
SabrehavenOTClient/data/images/game/battle/battle_npcs.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
SabrehavenOTClient/data/images/game/battle/battle_party.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
SabrehavenOTClient/data/images/game/battle/battle_players.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
SabrehavenOTClient/data/images/game/battle/battle_skulls.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
SabrehavenOTClient/data/images/game/circle/left_empty.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
SabrehavenOTClient/data/images/game/circle/left_full.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
SabrehavenOTClient/data/images/game/circle/right_empty.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
SabrehavenOTClient/data/images/game/circle/right_full.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
SabrehavenOTClient/data/images/game/combatmodes/chasemode.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.1 KiB |
BIN
SabrehavenOTClient/data/images/game/combatmodes/mount.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
SabrehavenOTClient/data/images/game/combatmodes/pvp.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
SabrehavenOTClient/data/images/game/combatmodes/redfistmode.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
SabrehavenOTClient/data/images/game/combatmodes/safefight.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
BIN
SabrehavenOTClient/data/images/game/console/channels.png
Normal file
After Width: | Height: | Size: 245 B |
BIN
SabrehavenOTClient/data/images/game/console/clearchannel.png
Normal file
After Width: | Height: | Size: 669 B |
BIN
SabrehavenOTClient/data/images/game/console/closechannel.png
Normal file
After Width: | Height: | Size: 300 B |
BIN
SabrehavenOTClient/data/images/game/console/ignore.png
Normal file
After Width: | Height: | Size: 474 B |
BIN
SabrehavenOTClient/data/images/game/console/leftarrow.png
Normal file
After Width: | Height: | Size: 271 B |
BIN
SabrehavenOTClient/data/images/game/console/rightarrow.png
Normal file
After Width: | Height: | Size: 285 B |
BIN
SabrehavenOTClient/data/images/game/console/say.png
Normal file
After Width: | Height: | Size: 255 B |
BIN
SabrehavenOTClient/data/images/game/console/whisper.png
Normal file
After Width: | Height: | Size: 255 B |
BIN
SabrehavenOTClient/data/images/game/console/yell.png
Normal file
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 283 B |
BIN
SabrehavenOTClient/data/images/game/creaturetype/summon_own.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
SabrehavenOTClient/data/images/game/dangerous.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
SabrehavenOTClient/data/images/game/emblems/emblem_blue.png
Normal file
After Width: | Height: | Size: 385 B |
BIN
SabrehavenOTClient/data/images/game/emblems/emblem_green.png
Normal file
After Width: | Height: | Size: 381 B |
BIN
SabrehavenOTClient/data/images/game/emblems/emblem_member.png
Normal file
After Width: | Height: | Size: 333 B |
BIN
SabrehavenOTClient/data/images/game/emblems/emblem_other.png
Normal file
After Width: | Height: | Size: 319 B |
BIN
SabrehavenOTClient/data/images/game/emblems/emblem_red.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
SabrehavenOTClient/data/images/game/imbuing/100percent.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
SabrehavenOTClient/data/images/game/imbuing/clear.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
SabrehavenOTClient/data/images/game/imbuing/imbue_empty.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
SabrehavenOTClient/data/images/game/imbuing/imbue_green.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
SabrehavenOTClient/data/images/game/imbuing/slot.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
SabrehavenOTClient/data/images/game/imbuing/slot_disabled.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
SabrehavenOTClient/data/images/game/imbuing/slot_inactive.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
SabrehavenOTClient/data/images/game/minimap/cross.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag0.png
Normal file
After Width: | Height: | Size: 335 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag1.png
Normal file
After Width: | Height: | Size: 397 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag10.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag11.png
Normal file
After Width: | Height: | Size: 397 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag12.png
Normal file
After Width: | Height: | Size: 412 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag13.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag14.png
Normal file
After Width: | Height: | Size: 392 B |
BIN
SabrehavenOTClient/data/images/game/minimap/flag15.png
Normal file
After Width: | Height: | Size: 399 B |