Recent changes

Jump to navigation Jump to search

Track the most recent changes to the wiki on this page.

Recent changes options Show last 50 | 100 | 250 | 500 changes in last 1 | 3 | 7 | 14 | 30 | 60 | 90 | 120 days
Hide registered users | Hide anonymous users | Show my edits | Show bots | Show minor edits
Show new changes starting from 13:37, 26 May 2024
   
List of abbreviations:
N
This edit created a new page (also see list of new pages)
m
This is a minor edit
b
This edit was performed by a bot
(±123)
The page size changed by this number of bytes

26 May 2024

N    12:12  PathIsDirectory diffhist +1,630 Tracer talk contribs (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a directory.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsDirectory ( string path ) </syntaxhighlight> {{OOP||path:isDirectory}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a directory, '''false''' otherwise. ==Example==...")
N    12:10  String.repeat diffhist +943 Tracer talk contribs (Created page with "{{Useful Function}} __NOTOC__ This function repeats a substring n times. ==Syntax== <syntaxhighlight lang="lua"> string string.repetition ( string what, int n ) </syntaxhighlight> ===Required Arguments=== * '''what''': String you want to repeat * '''n''': Number of times you want the string to repeat ===Returns=== Returns repeated string ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.repetition(what, n)...")
     12:02  Template:Useful Functions‎‎ 3 changes history +410 [Tracer‎ (3×)]
     
12:02 (cur | prev) +116 Tracer talk contribs (Added new function: `string.repeat`)
     
11:22 (cur | prev) +137 Tracer talk contribs (Added `string.startsWith`)
     
10:42 (cur | prev) +157 Tracer talk contribs (Added String functions)
N    11:32  PathIsFile diffhist +861 Tracer talk contribs (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a file.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsFile ( string path ) </syntaxhighlight> {{OOP||path:isFile}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a file, '''false''' otherwise. ==Example== <section name="Share...")
N    11:25  String.startsWith diffhist +842 Tracer talk contribs (Created page with "{{Useful Function}} __NOTOC__ This function checks if a string starts with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.startsWith ( string prefix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Prefix you want to check your string against ===Returns=== Returns true if string starts with a prefix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.startsWith...")
N    11:20  PathListDir diffhist +1,631 Tracer talk contribs (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470| Reads a specified directory and returns all entries inside of it. }} ==Syntax== <syntaxhighlight lang="lua"> table pathListDir ( string path ) </syntaxhighlight> {{OOP||path:listDir}} ===Required Arguments=== *'''path:''' A string containing a path you want to get entries from ===Returns=== Returns table with all entries in a specified directory. ==Example== <section name="Client" clas...")
N    10:48  String.endsWith diffhist +871 Tracer talk contribs (Created page with "{{Useful Function}} __NOTOC__ This function checks if a string ends with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.endsWith ( string suffix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Suffix you want to check your string against ===Returns=== Returns true if string ends with a suffix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string:endsWith(suffix)...")
N    10:33  Template:Shared path functions diffhist +182 Tracer talk contribs (Created page with "<ul> {{New items|3.0161|1.6.0| <li>pathListDir</li> <li>pathIsFile</li> <li>pathIsDirectory</li> |22470}} </ul> <noinclude> Category:Functions templates </noinclude>")
     10:32  Shared Scripting Functions diffhist +46 Tracer talk contribs (Added path functions)
N    10:30  GetAccountType diffhist +1,199 Tracer talk contribs (Created page with "__NOTOC__ {{Server function}} {{New feature/item|3.0161|1.6.0|22470|This function returns an account type.}} ==Syntax== <syntaxhighlight lang="lua"> string getAccountType ( account theAccount ) </syntaxhighlight> {{OOP|This function is a static function underneath the Account class.|Account.getType||}} ===Required Arguments=== *'''theAccount:''' An account you want to get info from ===Returns=== Returns ''string'' containing the type of the account if t...")
N    10:02  OnAccountRemove diffhist +833 Tracer talk contribs (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is removed}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was removed ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa...")
N    10:01  OnAccountCreate diffhist +811 Tracer talk contribs (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is created}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was created ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa...")
     09:49  Changes in 1.6.1 diffhist 0 Tracer talk contribs

25 May 2024

     17:05 User creation log User account Felix5k talk contribs was created ‎
N    15:11  RestoreAllGameBuildings‎‎ 2 changes history +410 [TheNormalnij‎ (2×)]
     
15:11 (cur | prev) −1 TheNormalnij talk contribs
N    
15:10 (cur | prev) +411 TheNormalnij talk contribs (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function cancels RemoveAllGameBuildings efffect}} {{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}} ==Syntax== <syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}")
N    15:05  RemoveAllGameBuildings‎‎ 2 changes history +393 [TheNormalnij‎ (2×)]
     
15:05 (cur | prev) +94 TheNormalnij talk contribs (Add note)
N    
14:59 (cur | prev) +299 TheNormalnij talk contribs (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} ==Syntax== <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}")