Subversion Repository Public Repository


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

Commits for fonline_sdk/Binaries/Client/Web/FOnline_Debug.js.mem

Diff revisions: vs.
Revision Author Commited Message
812 Diff Diff cvet picture cvet Mon 24 Sep, 2018 16:25:14 +0000

Fixed Web version crash due to memory exceeds.
Fixed crash after Server finish in some case.
Fixed Mapper run command system.
Trying to fix BAM colors glitch.

809 Diff Diff cvet picture cvet Fri 21 Sep, 2018 13:48:59 +0000

Added ‘#undef’ directive.
Added ‘filesystem’ script class.
Fixed ‘ModelName’ change handling.
Fixed crash when pressing Maps/Locations in server gui.
Fixed build pipeline on non Windows machines.
Fixed scripts loading order for correct defines loading.

807 Diff Diff cvet picture cvet Wed 19 Sep, 2018 13:26:46 +0000

Critter property ModelName now change 3d model instantly.

806 Diff Diff cvet picture cvet Wed 19 Sep, 2018 07:04:55 +0000

Minor fixes.

805 Diff Diff cvet picture cvet Tue 18 Sep, 2018 09:10:47 +0000

Data base data now stored in its types not all in strings
Fixed mapper startup

803 Diff Diff cvet picture cvet Wed 12 Sep, 2018 14:26:58 +0000

Client cache moved to single file ‘Cache.bin’.
Fixed deferred calls timing again.

800 Diff Diff cvet picture cvet Mon 10 Sep, 2018 15:32:23 +0000

Improved new world saving system – now entities save not in single call, but when their change.
Mac builds temporary excluded due to loss of mac book.

799 Diff Diff cvet picture cvet Fri 15 Dec, 2017 14:51:39 +0000

Different fixes.

798 Diff Diff cvet picture cvet Sat 09 Sep, 2017 11:55:42 +0000

Engine skip empty resource folders.
Current documentation moved to Obsolete subfolder due to not actual.
Rain assets moved to sdk core.

796 Diff Diff cvet picture cvet Wed 06 Sep, 2017 13:30:40 +0000

Profiler crash fix.
Hash resolving crash fix.

Improved line splitters “ \” for key value text format.
Line must ends with space or tab + revert slash (\).
All begin/end spaces are trimmed.
For example line
MyKey = 0 \
1 \
2 \
will become
MyKey = 0 1 2 3

794 Diff Diff cvet picture cvet Mon 04 Sep, 2017 13:54:54 +0000

Improved properties component system.

To declare component use this syntax:
#pragma property Entity Component ComponentName

Example of declaration:
#pragma property "Item Component Drug"
#pragma property "Item Public uint Drug.Duration"
#pragma property "Item Public bool Drug.IsForFun"
#pragma property "Item Component Fuel"
#pragma property "Item Public bool Fuel.IsBio"

And using:
if( item.Drug != null && item.Drug.IsForFun )
Log( “Fun drugs!” );
if( item.Fuel == null )

For assigning components to entities need type their in proto files
$Components = Drug Fuel # Special field for describe components list
IsHidden = false # Regular properties
Drug.Duration = 100 # Component properties
Drug.IsForFun = true
Fuel.IsBio = true

On this system will be moved item types and different things.
This useful for grouping variables under one space and restrict accidental access to non correct properties for this entity.
All possible Ammo_Caliber, Ammo_MaxCount, AmmoCount will be changed to Ammo.Caliber, Ammo.MaxCount, Ammo.Count and etc.
And if you try access to Ammo.Caliber in item which not contains Ammo component then Null pointer access will happen.

793 Diff Diff cvet picture cvet Sat 02 Sep, 2017 12:09:41 +0000

Fix for mapper maps saving (bug since 790).
Added Temporary property flag for ignore storing it on disk.
Added python script for launching test web server ( for web version testing.

791 Diff Diff cvet picture cvet Thu 31 Aug, 2017 16:43:04 +0000

Mapper start fix.
Added script dict string as key.
Fixed work with corruption of blockers in BlockLines.

Fixed -run option in compiler.
Workable global functions in compiler run:
void Assert(bool condition)
void ThrowException(string message)
int Random(int min, int max)
void Log(string text)
bool StrToInt(string text, int& result)
bool StrToFloat(string text, float& result)
uint GetDistantion(uint16 hexX1, uint16 hexY1, uint16 hexX2, uint16 hexY2)
uint8 GetDirection(uint16 fromHexX, uint16 fromHexY, uint16 toHexX, uint16 toHexY)
uint8 GetOffsetDir(uint16 fromHexX, uint16 fromHexY, uint16 toHexX, uint16 toHexY, float offset)
uint GetTick()
uint GetAngelScriptProperty(int property)
void SetAngelScriptProperty(int property, uint value)
hash GetStrHash(string str)
string GetHashStr(hash h)
uint DecodeUTF8(string text, uint& length)
string EncodeUTF8(uint ucs)
string[] GetFolderFileNames(string path, string extension, bool includeSubdirs)
bool DeleteFile(string fileName)
void CreateDirectoryTree(string path)
string SHA1(string text)
string SHA2(string text)
int SystemCall(string command)
int SystemCall(string command, string& output)
void OpenLink(string link)

790 Diff Diff cvet picture cvet Tue 29 Aug, 2017 11:44:30 +0000

A lot of refactoring.
Fix for ‘_Raw’ resources subfolder copying.
Changing of mapper item properties now give side effects (PicMap, Light*, Block/Shoot flags, etc).
In Mapper MapperMap class now just Map.
Added string Map::FileDir property that holds directory of fomap file.
Excluded Critter::MoveRandom().
Fixed crashing on non-3d critter loads with enabled 3d rendering.
Fixed crashing on 3d effect loading from cache.

789 Diff Diff cvet picture cvet Mon 03 Apr, 2017 13:29:06 +0000

bool __RtAlwaysRun excluded from engine.

788 Diff Diff cvet picture cvet Mon 13 Mar, 2017 10:00:52 +0000

Disabled multiwindow checking.
Now possible to run multiple instances of client.

786 Diff Diff cvet picture cvet Mon 06 Mar, 2017 17:32:49 +0000

Excluded stuff related to AI.

Added some stuff for control movements:
void Critter::MoveToCritter(Critter@+ cr, uint cut, bool isRun) - init moving to critter;
void Critter::MoveToHex(uint16 hexX, uint16 hexY, uint cut, bool isRun) - init moving to hex;
MovingState Critter::GetMovingState() const – current state;
void Critter::ResetMovingState(uint& gagId) - reset state to Success and return id of critter/item for GagCritter/GagItem states;

784 Diff Diff cvet picture cvet Mon 13 Feb, 2017 10:37:38 +0000

Fixed bug in Web build.

783 cvet picture cvet Mon 13 Feb, 2017 07:22:52 +0000

Fixed Web build that was broken few updates ago.
Added debug version of Web build to diagnose problems.