• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum
1 2 3 4 5 Next »
fl-DarkStat

Server Time (24h)

Players Online

Active Events - Scoreboard
Gallic Royal Navy Forces - 83 / 10,000
Gallic Royal Navy Forces - 107 / 10,000
Liberty-Bretonia Combined Fleet - 33 / 10,000
Liberty-Bretonia Combined Fleet - 38 / 10,000

Latest activity

Pages (6): « Previous 1 2 3 4 5 6
fl-DarkStat
Offline darkwind
01-06-2025, 01:51 AM, (This post was last modified: 01-06-2025, 01:54 AM by darkwind.)
#51
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

(01-05-2025, 10:50 PM)darkwind Wrote:
(01-01-2025, 08:37 AM)sanuske4 Wrote: Local non-ARM Windows version simply crashes out when attempting to run. File placed in C:\Users\XXXXX\AppData\Local\Discovery Freelancer 5.00.8. Tested under EXE subdirectory as well. When ran through CMD returns error:

C:\Users\XXXXXXX\AppData\Local\Discovery Freelancer 5.00.8>darkstat-windows-amd64.exe
panic: failed to read file from embeded fs of files\docs_coordinates_in_trade_routes.png
...

I reproduced the error. It shall be fixed. adding into priority todo list to take care of it.
Funny filesystem differences between Linux and Windows hmm. probably just a matter of fixing paths \ to //
Task fl-darkstat#74 is registered

@sanuske4, the bug is resolved since 1.48.5 version
darkstat is once again compatible with windows for local usage.


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline sanuske4
01-07-2025, 03:18 AM,
#52
Member
Posts: 5
Threads: 2
Joined: Aug 2014

(01-06-2025, 01:51 AM)darkwind Wrote:
(01-05-2025, 10:50 PM)darkwind Wrote:
(01-01-2025, 08:37 AM)sanuske4 Wrote: Local non-ARM Windows version simply crashes out when attempting to run. File placed in C:\Users\XXXXX\AppData\Local\Discovery Freelancer 5.00.8. Tested under EXE subdirectory as well. When ran through CMD returns error:

C:\Users\XXXXXXX\AppData\Local\Discovery Freelancer 5.00.8>darkstat-windows-amd64.exe
panic: failed to read file from embeded fs of files\docs_coordinates_in_trade_routes.png
...

I reproduced the error. It shall be fixed. adding into priority todo list to take care of it.
Funny filesystem differences between Linux and Windows hmm. probably just a matter of fixing paths \ to //
Task fl-darkstat#74 is registered

@sanuske4, the bug is resolved since 1.48.5 version
darkstat is once again compatible with windows for local usage.

Awesome thanks
Reply  
Offline darkwind
02-03-2025, 02:13 AM, (This post was last modified: 02-03-2025, 02:13 AM by darkwind.)
#53
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

new release for fl-darkstat v1.64.3 - Sharing all the data through API ^_^
  • Darkstat shares all data it posses in json format with swagger documentation for the api
  • All endpoints where designed to share data in Bulk, as fast as possible, but with some reasonability to pulled data size
  • Exposed every entity basically almost as darkstat has tabs for.
  • the json API is cross language friendly format, but if you utilize Golang, there is extra option of hooking yourself to RPC way to Pull data in addition (this one has sort of always correct client library avaiable to just import code)
  • The json API and RPC are both available through https. Plus you can always run darkstat locally, in this case you can get 3 times performance boost to pull data by using Unix Sockets if it is running on Linux! (sun)

Link to online version for Freelancer Discovery



Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
02-10-2025, 03:12 AM, (This post was last modified: 02-10-2025, 02:13 PM by darkwind.)
#54
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

new release for fl-darkstat v1.69.1 - Sharing through gRPC and json api gateway

I come to your with technology from 2050 year.

  • Darkstat now offers to share all its data through API 2.0 built on gRPC (with json api gateway fallback). It has benefit of able to autogenerate precise client libraries for many languages, including C#/.Net, C++, Dart, Go, Java, Kotlin, Node, Objective-C, PHP, Python and Ruby. The technology was made mature by large company Google and made specifically to simplify communications between services written in different languages
  • This has benefits of... not writing client lib code, i take care of it at proto file stuff. You will be able to keep up with changes through code regeneration and seeing anything that was added or changed or removed through static typing features ^_^ Basically client lib is written by me for your any language through this feature.
  • To generate client lib in your language, u need to use get started with gRPC and utilize Darkstat's Proto file to generate the client. For user friendliness i kept all stuff to a single file, and made things available without TSL and with TSL at the same time
  • Find up to date recommendations in README of repository
  • Migrated pretty much all the data
  • As fallback gRPC all the rpc calls are available over regular json api! automatically syncnorized with stuff available in grpc. grpc-gateway api generator make it automated ^_^ Technically same proto generated data structs can be used to deserialize json incoming data
  • Covered with auto testing (sun)
  • P.S. regular json API 1.0 remained available too.
  • If u will be using darkstat locally, u can access gRPC port at localhost:50051 , alternatively you can access stuff with performance boosts over Unix Domain Socket /tmp/darkstat/grpc.sock if at linux.
  • NOTE: By default Grpc goes through grpc endpoint and uses compression of Protocol Buffers. Ability to go Json in API Gateway (for which Swagger documentation is provided) is ONLY FALLBACK for situations when people unable to go gRPC native way. If you will go through gRPC getting started instruction, u will receive automatically for your language client generated to utilize Protocol Buffers

You can check the available of the new technology on two docker deployed backends of darkstat
  • Freelancer Discovery, connectable over grpc at darkgrpc.dd84ai.com
  • Freelancer Vanilla, connectable over grpc at darkgrpc-vanilla.dd84ai.com

Link to online version for Freelancer Discovery




Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
02-10-2025, 12:31 PM, (This post was last modified: 02-10-2025, 12:38 PM by darkwind.)
#55
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

I realized fascinating idea... The beauty of gRPC technology in ability to generate precise data structs for serializations/deserializations across languages in a mature way... and it comes embedded with capabilities for json serialization....

...Nothing really stopping generating those data structs, and using them to deserializer/deserializer, send/receive data from JSON api gateway mentioned there. the gateway is fully synchronized to be exactly matching them

So itself gRPC protocol to compress data is not obligatory. This technology breaks barriers between languages even at json level.
Official documentation for gRPC technology is clearly full of examples where it is abused for json usage too.

That makes it in theory perfect for communications of backend even with web frontend, where simple jsons are still preferable for the sake of sanity in debugging.

Thus barriers across language communications become completely unchained.



Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Online Lythrilux
02-10-2025, 12:43 PM,
#56
Edgy Worlds
Posts: 10,338
Threads: 738
Joined: Jan 2013

The POB Goods feature is truly brilliant. I strongly feel that it is so good that it needs some kind of separate/standalone tab on the forums (Galactic Market or something?) for maximum visibility. In an ideal world, if there was some way to get it in-game, it would be incredible.

[Image: Lythrilux.gif]
Reply  
Offline darkwind
03-16-2025, 09:12 AM, (This post was last modified: 03-16-2025, 09:13 AM by darkwind.)
#57
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

(02-10-2025, 12:43 PM)Lythrilux Wrote: The POB Goods feature is truly brilliant. I strongly feel that it is so good that it needs some kind of separate/standalone tab on the forums (Galactic Market or something?) for maximum visibility. In an ideal world, if there was some way to get it in-game, it would be incredible.

[Image: mYdGlVJ.gif]



Also:
new release for fl-darkstat v1.74.0 - Color coding pob goods base sells condition

- That should help to speed up comprehension of PoB goods tab by magnitude. On example of Military Salvage, plentifully of bases having Quantity amount even up to 26 thousands units, yet they don't sell it. With color coding u should be able to grasp info more rapidly.
- Slightly adjusted dark coloring scheme, giving separate color for column headers, and making less visible table borders between cells. That should help less having all elements blurring together. Easier distinguishing.

Link to online version for Freelancer Discovery



Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline JadeTornado
04-14-2025, 09:12 AM,
#58
Man-Eater
Posts: 316
Threads: 23
Joined: Apr 2018

Hi. How is the average efficiency of a weapon calculated?

(01-01-2024, 12:15 PM)Ravenna Nagash Wrote: In a live role playing environment, you are not owed or mandated to be given a duel. Fights develop differently every time and people have varying degree of time to log on their hands or have their own plans.

[Image: 028346256bdf56a43850d9b16c9d89ce.png]
Cap PVP discord server
Reply  
Offline darkwind
05-04-2025, 11:54 AM, (This post was last modified: 05-04-2025, 11:55 AM by darkwind.)
#59
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

(04-14-2025, 09:12 AM)JadeTornado Wrote: Hi. How is the average efficiency of a weapon calculated?

@JadeTornado simple as
https://github.com/darklab8/fl-darkstat/...ns.go#L291
Code:
    power_usage_for_calcs := gun.PowerUsage
    if power_usage_for_calcs == 0 {
        power_usage_for_calcs = 1
    }
    gun.AvgEfficiency = (float64(gun.HullDamage) + float64(gun.AvgShieldDamage)) / (power_usage_for_calcs * 2)
    gun.HullEfficiency = float64(gun.HullDamage) / power_usage_for_calcs
    gun.ShieldEfficiency = float64(gun.AvgShieldDamage) / power_usage_for_calcs
    gun.EnergyDamageEfficiency = float64(gun.EnergyDamage) / power_usage_for_calcs

There is only unusual part about Shield Effiency, since it is calculated from Avg Shield Damage which is calculated as
Shield Damage average, multiplied by Average Damage Bonuses against shields buyable from shops.

Code:
    avg_shield_modifier := 0.0
    shield_modifier_count := 0
    for _, damage_bonus := range gun.DamageBonuses {
        if _, ok := buyable_ship_tech[damage_bonus.Type]; !ok {
            continue
        }
        avg_shield_modifier += damage_bonus.Modifier
        shield_modifier_count += 1
    }
    if shield_modifier_count == 0 {
        shield_modifier_count = 1
        avg_shield_modifier = 1
    }

    avgShieldModifier := avg_shield_modifier / float64(shield_modifier_count)


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
05-04-2025, 12:00 PM,
#60
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

new release for fl-darkstat v1.77.14 - Sticky bottom table filters
  • in joined collaboration with @LaWey bottom table filters were fixed to remain sticked to the top part of the interface, when u scroll down bottom table
    • https://github.com/darklab8/fl-darkstat/pull/128
    • https://github.com/darklab8/fl-darkstat/pull/129
Link to online version for Freelancer Discovery



Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Pages (6): « Previous 1 2 3 4 5 6


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode