Soldat Fans > Developers Corner

Soldat.IDE - would you use it?

<< < (2/9) > >>

ManSoft|Warlord:
kk - i will do it ;)

ManSoft|Warlord:
added / modified screenshots ;)

DorkeyDear:
I suggest for some sort of method to modify "events" so that we can change, or add things:
(Such as AppOnIdle, I prefer having Ticks being cardinal; and other scripts may call home-made events)
Is there going to be functions that are not listed in the enesce.com/help page (InttoStr, ForwardClient, etc.)?

--- Code: ---function inttostr(i: Int64): string;
function inttostr(i: Integer): string;
function strtoint(s: string): Longint;
function strtointdef(s: string; def: Longint): Longint;
function copy(s: string; ifrom, icount: Longint): string
function pos(substr, s: string): Longint;
procedure delete(var s: string; ifrom, icount: Longint);
procedure insert(s: string; var s2: string; ipos: Longint);
function getarraylength: integer;
Function StrGet(var S : String; I : Integer) : Char;
procedure StrSet(c : Char; I : Integer; var s : String);
Function WStrGet(var S : WideString; I : Integer) : WideChar;
procedure WStrSet(c : WideChar; I : Integer; var s : WideString);
Function StrGet2(S : String; I : Integer) : Char;
Function AnsiUppercase(s : string) : string;
Function AnsiLowercase(s : string) : string;
Function Uppercase(s : string) : string;
Function Lowercase(s : string) : string;
Function Trim(s : string) : string;
function Length(s : string) : Integer;
procedure SetLength;
function Low: Int64;
function High: Int64;
procedure Dec;
procedure Inc;
Function Sin(e : Extended) : Extended;
Function Cos(e : Extended) : Extended;
Function Sqrt(e : Extended) : Extended;
Function Round(e : Extended) : Longint;
Function Trunc(e : Extended) : Longint;
Function Int(e : Extended) : Extended;
Function Pi : Extended;
Function Abs(e : Extended) : Extended;
function StrToFloat(s: string): Extended;
Function FloatToStr(e : Extended) : String;
Function Padl(s : string;I : longInt) : string;
Function Padr(s : string;I : longInt) : string;
Function Padz(s : string;I : longInt) : string;
Function Replicate(c : char;I : longInt) : string;
Function StringOfChar(c : char;I : longInt) : string;
function Unassigned: Variant;
function VarIsEmpty(const V: Variant): Boolean;
function Null: Variant;
function VarIsNull(const V: Variant): Boolean;
function VarType(const V: Variant): TVarType;
procedure RaiseLastException;
procedure RaiseException(Ex: TIFException; Param: string);
function ExceptionType: TIFException;
function ExceptionParam: string;
function ExceptionProc: Cardinal;
function ExceptionPos: Cardinal;
function ExceptionToString(er: TIFException; Param: string): string;
function StrToInt64(s: string): int64;
function Int64ToStr(i: Int64): string;
function SizeOf: Longint;
function IDispatchInvoke(Self: IDispatch; PropertySet: Boolean; const Name: String; Par: array of variant): variant;

type
  IDispatch
  IUnknown

function GetTickCount(): cardinal;
function CheckWeaponAllowed(WeaponNum: byte): boolean;
function Chr(Character: byte): char;
function LogN(base, value:Extended):Extended;
function ForwardClient(PlayerIP: string; PlayerPort: integer; ServerIP: string; ServerPort: integer; Message: string
--- End code ---
List of functions not mentioned, may find tihs useful. There are probably more.

EnEsCe:
Yeah have the entire function list load from a file or something, would help me with testing development of new functions. Especially with v3 in progress

jrgp:
Yes, open source it so we can scrutinize your code to make sure you aren't doing anything evil, since it is very important for something like this to not have any security vulnerabilities.

And I'd also like to see if I could rewrite some of it to have it use GTK+ instead of the Windows API so I could make a linux version. I'd find that fun.

But yeah, might make me script again after a two year break from it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version