<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=ScriptCore_v2</id>
		<title>ScriptCore v2 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=ScriptCore_v2"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=ScriptCore_v2&amp;action=history"/>
		<updated>2026-05-26T02:25:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=ScriptCore_v2&amp;diff=185&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;'''Important v2 Features:&lt;br&gt;'''  * Multiple Script Loading (No need to use combiners!)   To load multiple scripts into your server, all you need to do is create   a new folde...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=ScriptCore_v2&amp;diff=185&amp;oldid=prev"/>
				<updated>2012-08-15T11:45:05Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Important v2 Features:&amp;lt;br&amp;gt;&amp;#039;&amp;#039;&amp;#039;  * Multiple Script Loading (No need to use combiners!)   To load multiple scripts into your server, all you need to do is create   a new folde...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Important v2 Features:&amp;lt;br&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
* Multiple Script Loading (No need to use combiners!)&lt;br /&gt;
  To load multiple scripts into your server, all you need to do is create&lt;br /&gt;
  a new folder in your server's /script/ folder, and copy the *.pas files&lt;br /&gt;
  and Includes.txt into the that new folder. The script will then&lt;br /&gt;
  automatically load when you start the server next. Create more folders&lt;br /&gt;
  in the /scripts/ folder to load more scripts. Each loaded script will NOT&lt;br /&gt;
  be able to interact with each other's functions/variables.&lt;br /&gt;
  NOTE: You can still use the single-script engine by placing all your&lt;br /&gt;
        *.pas files directly in the /scripts/ folder. But if you have any&lt;br /&gt;
        sub-folders in that folder, the v2 engine will be loaded.&lt;br /&gt;
&lt;br /&gt;
'''Example Directory Structure:&amp;lt;br&amp;gt;'''&lt;br /&gt;
  - /soldatserver/&lt;br /&gt;
  |&lt;br /&gt;
    - &amp;gt; /scripts/ (Any *.pas files located here will not be loaded)&lt;br /&gt;
    |&lt;br /&gt;
      - &amp;gt; /DefaultScript/ (Core.pas/NetworkCore.pas etc will be here)&lt;br /&gt;
    |&lt;br /&gt;
      - &amp;gt; /Sub Admin/ (SubAdmin.pas Includes.txt etc will be here)&lt;br /&gt;
&lt;br /&gt;
  With this structure, &amp;quot;DefaultScript&amp;quot; and &amp;quot;Sub Admin&amp;quot; will both be loaded&lt;br /&gt;
  into the SoldatServer. Using multiple scripts will increase server CPU&lt;br /&gt;
  usage and memory usage, so please be considerate if you use a rental&lt;br /&gt;
  company. System Admin's may specify a maximum number of scripts to load&lt;br /&gt;
  using the -sl parameter when starting a SoldatServer.&lt;br /&gt;
  When releasing a script, please include it as a ZIP file and have the&lt;br /&gt;
  ZIP containt a folder named &amp;quot;MyScriptName&amp;quot; and have your files inside there.&lt;br /&gt;
  So all the user has to do is extract the sub-folder into their /scripts/ folder.&lt;br /&gt;
&lt;br /&gt;
* Less wasted space in .pas files!&lt;br /&gt;
  The new engine will no longer spit out errors when your script does&lt;br /&gt;
  not include any of the default evens such as OnJoinTeam and OnAdminConnect.&lt;br /&gt;
  You may remove any unused procedures/functions from your script and it wont&lt;br /&gt;
  cause any problems. Although I do recommend(not required) you keep the&lt;br /&gt;
  functions that give a result, such as OnPlayerDamage/OnRequestGame.&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>