Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Scripting Releases / Re: Zitro Stats & Ranks 3.1 (Steam / HWID)
« Last post by Ratman on November 22, 2022, 11:39:47 pm »
I'll give this a test run on an active server, I remember our biggest issue with the last release (ZF 2) was constant lag spikes when a large number of profiles were created.
72
General Discussions / Re: We should move drama again to forums
« Last post by Ratman on November 18, 2022, 12:09:35 pm »
 ;D Soldat will never die with all these bitter old guys (probably me included)
73
General Discussions / We should move drama again to forums
« Last post by Rattle.Head on November 18, 2022, 09:39:37 am »
as title say. Discord is way to volatile IMO.

some dramas:

rbk's admin
Sarev vs Ynwie -> oficial vs gayground
Shreder 70% win ratio - > rakk suscpecting him
vrb muted
tim and hellsik exile
shion auto lvl 3 since admin
drk top 1 on sa and europe till his friends take him down
drk/tarr wife problems bc of soldat
soldat 2 influx of players from ninja.io that will be the end of soldat 1?
rakk is making a NA gather to unite both europe and south amerrica destroying ynwie and sarev
opensoldat vs sarevsoldat who will bring the new version first?
extrackt stream career end?
 AGI_69 vs Oneshots public servers drama
kaanguro playing on gayground instead of official popcornd every drama
rusku posting nazi propaganda on oficial
farruko anal problems
 
 
74
News / Re: SOLDAT 2 RELEASED!
« Last post by Rattle.Head on November 18, 2022, 09:31:30 am »
thanks you sir
75
News / Re: SOLDAT 2 RELEASED!
« Last post by V Commander on November 14, 2022, 02:49:25 am »
Holy shit! I thought the game was dead since it's been ages since I've played it so I was wondering if my old key would still work.
I'll still give it a try at Soldat 2 see if it brings back the memories.
76
Need Help? Report Bugs! / open gl problem suddenly no idea what i should do
« Last post by pahSibla on October 30, 2022, 11:51:37 pm »
i played soldat with no problems until just now and suddenly it wants me to update drivers, wtf.
77
The Lounge / Re: Wake up!
« Last post by You Got Served! on October 07, 2022, 08:04:58 pm »
😴
78
The Lounge / Re: Wake up!
« Last post by soulblade on October 06, 2022, 06:59:23 pm »
:)
79
Scripting Releases / procedure Sort_TStringList_By_Values()
« Last post by soldat-game on September 09, 2022, 10:30:29 am »
Procedure name: Sort_TStringList_By_Values
Script description: The procedure will let you sort the tstringlist string using values. It allows you to sort your lists very quickly and efficiently by "values".
Version: 1.0
Author: dominikk26
Compile test: Passed
Core version: 2.8.2+
Download: Attachment! Click here
Full description: Unfortunately, script core does not allow you to use the full potential of pascal.
And alternative methods are inefficient. That's why I created a library. This is a very simple code that you will find below. Test on windows 11 and linux debian 11.
Code: [Select]
library Sort_By_Values;

{$mode objfpc}{$H+}

uses
  SysUtils, Classes;

function StringListSortProc(List: TStringList; Index1, Index2: Integer): Integer;
var i1, i2: Integer;
begin
i1 := StrToInt(List.ValueFromIndex[Index1]);
i2 := StrToInt(List.ValueFromIndex[Index2]);
Result := i2 - i1;
end;

procedure Sort_TStringList_By_Values(Where: string);
var Data_To_Sort: TStringList;
begin
Data_To_Sort := TStringList.Create;
try
Data_To_Sort.LoadFromFile(Where);
Data_To_Sort.CustomSort(@StringListSortProc);
Data_To_Sort.SaveToFile(Where);
finally
Data_To_Sort.Free;
end;
end;

exports
Sort_TStringList_By_Values;

begin
end.

How use? Example:
Code: [Select]
interface

procedure Sort_TStringList_By_Values(Where: string);
external {$IFDEF WIN32} 'Sort_TStringList_By_Values@sort.dll'      {$ELSE} 'Sort_TStringList_By_Values@sort.so'      {$ENDIF};

begin

procedure Sort_Rank_By_Values();
begin
Rank_List.SaveToFile(Script.Dir+'/data/temp');
Rank_List.Free;
Sort_TStringList_By_Values(Script.Dir+'/data/temp');
Rank_List := File.CreateStringListFromFile(Script.Dir+'/data/temp');
File.Delete(Script.Dir+'/data/temp');
end;

end.
80
The Lounge / Re: Wake up!
« Last post by jrgp on August 30, 2022, 12:06:08 am »
:(
Pages: 1 ... 6 7 [8] 9 10