Subversion Repository Public Repository

fonline_sdk

This repository has no backups
This repository's network speed is throttled to 100KB/sec

@ HEAD
Entry Size Revision Updated
Binaries 828 Sun 21 Oct, 2018 15:15:31 +0000
Documentation 798 Sat 09 Sep, 2017 11:55:42 +0000
Modules 826 Fri 19 Oct, 2018 20:06:02 +0000
FOnline.cfg 2.8K 817 Wed 03 Oct, 2018 14:42:28 +0000
License.txt 9.3K 610 Mon 23 May, 2016 16:22:23 +0000
ReadMe.txt 485 bytes 829 Sat 27 Oct, 2018 08:30:29 +0000

Commits for fonline_sdk/

Revision Author Commited Message
829 cvet picture cvet Sat 27 Oct, 2018 08:30:29 +0000

Repository moved to
https://svn.fonline.ru - web shell
https://svn.fonline.ru/sdk - checkout url

828 cvet picture cvet Sun 21 Oct, 2018 15:15:31 +0000

Fixed disconnection for server client connection.
Added unsubscribe for events by delegate inner function.

827 cvet picture cvet Fri 19 Oct, 2018 22:17:13 +0000

Fixed cache compression issue from previous commit.

826 cvet picture cvet Fri 19 Oct, 2018 20:06:02 +0000

Fixed update files renaming if its already exists.
Fixed events cache clearing that gives crashing.
Skip items fade on entering to map.
Added EventScreenScroll client callback.
Different fixes to improve stability.

825 cvet picture cvet Tue 16 Oct, 2018 11:43:58 +0000

Web request options tweaking.

824 cvet picture cvet Tue 16 Oct, 2018 09:19:40 +0000

Added additional function for web requests
void YieldWebRequest(string url, const array<string>@+ headers, string post, bool& success, string& result)

Added function for retrieving unix timestamp
uint GetUnixTime()

Mapper items now deleted instantly.

823 cvet picture cvet Thu 11 Oct, 2018 16:57:02 +0000

Returned Mac OS builds.

cURL updated to 7.61.1.
Added mbedTLS 2.13.0 that enable YieldWebRequest HTTPS requests.

822 cvet picture cvet Wed 10 Oct, 2018 20:47:29 +0000

Server now also writes log file.
Time in log represents current local time not since start.

821 cvet picture cvet Tue 09 Oct, 2018 23:59:22 +0000

Added soft scrolling for critter following.
Signature of function
void LockScreenScroll(Critter cr, bool unlockIfSame = false)
changed to
void LockScreenScroll(Critter cr, bool softLock, bool unlockIfSame = false)

Fixed 32bit client crashing.

820 cvet picture cvet Tue 09 Oct, 2018 20:19:33 +0000

From engine excluded hardcoded specific item protos and item types/components.
New items flags
bool IsStatic – determine that item not generated and still in single instance for all map instances;
bool IsWall – determine that is wall for mapper interface, contour drawing, lowest draw order, for correct lighting calculations and minimap;
bool IsScenery – determine that is scenery for mapper interface, minimap, contour drawing and lowest draw order against other items on hex;
bool IsCanOpen – engine handles item open/close state and affect bool Opened property (doors and containers);
bool IsScrollBlock – instead of special hex now used this flag;
bool IsHiddenPicture – used for hide picture on client but send item, because now IsHidden static items not send to client;
bool IsTrigger – set this flag for dynamic or static items if you want to catch them in EventItemWalk or EventStaticItemWalk;
bool IsHiddenInStatic – hide static items in resulted functions like GetStaticItem/GetStaticItems for performance boost.

Properties
TriggerNum Weapon.Anim1 Grid.ToMap Grid.ToMapEntire Grid.ToMapDir
are excluded from engine.

Removed following methods
void Critter::TransitToMap(Map map, hash entire)
Item Map::GetDoor(uint16 hexX, uint16 hexY)
uint Map::CountEntire(hash entire) const
array<hash> Map::GetAllEntires() const
bool Map::GetEntireCoords(hash entire, uint skip, uint16& hexX, uint16& hexY) const
bool Map::GetEntireCoords(hash entire, uint skip, uint16& hexX, uint16& hexY, uint8& dir) const
uint Map::GetEntireCoords(hash entire, array<uint16> hexX, array<uint16> hexY, array<uint8> dirs) const
bool Map::GetNearEntireCoords(hash& entire, uint16& hexX, uint16& hexY) const
bool Map::GetNearEntireCoords(hash& entire, uint16& hexX, uint16& hexY, uint8& dir) const

Renamed
Map::GetScenery -> Map::GetStaticItem
Map::GetSceneries -> Map::GetStaticItems