Skip to content

Commit f365e4d

Browse files
authored
Merge pull request #14 from Hedius/test
Release v8.1.4.0
2 parents 5caafbd + c3220c0 commit f365e4d

File tree

4 files changed

+74
-63
lines changed

4 files changed

+74
-63
lines changed

AdKats.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
* Work on fork by Hedius (Version >= 8.0.0.0)
2222
*
2323
* AdKats.cs
24-
* Version 8.1.3.2
25-
* 06-MAY-2022
24+
* Version 8.1.4.0
25+
* 15-AUG-2022
2626
*
2727
* Automatic Update Information
28-
* <version_code>8.1.3.2</version_code>
28+
* <version_code>8.1.4.0</version_code>
2929
*/
3030

3131
using System;
@@ -68,7 +68,7 @@ public class AdKats : PRoConPluginAPI, IPRoConPluginInterface
6868
{
6969

7070
//Current Plugin Version
71-
private const String PluginVersion = "8.1.3.2";
71+
private const String PluginVersion = "8.1.4.0";
7272

7373
public enum GameVersionEnum
7474
{
@@ -9690,7 +9690,7 @@ private void FetchPluginDocumentation()
96909690
{
96919691
try
96929692
{
9693-
_pluginLinks = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/links?cacherand=" + Environment.TickCount);
9693+
_pluginLinks = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/LINKS.md?cacherand=" + Environment.TickCount);
96949694
Log.Debug(() => "Plugin links fetched from backup location.", 1);
96959695
}
96969696
catch (Exception)
@@ -9709,7 +9709,7 @@ private void FetchPluginDocumentation()
97099709
{
97109710
try
97119711
{
9712-
_pluginDescription = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/readme?cacherand=" + Environment.TickCount);
9712+
_pluginDescription = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/README.md?cacherand=" + Environment.TickCount);
97139713
Log.Debug(() => "Plugin readme fetched from backup location.", 1);
97149714
}
97159715
catch (Exception)
@@ -9728,7 +9728,7 @@ private void FetchPluginDocumentation()
97289728
{
97299729
try
97309730
{
9731-
_pluginChangelog = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/changelog?cacherand=" + Environment.TickCount);
9731+
_pluginChangelog = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/CHANGELOG.md?cacherand=" + Environment.TickCount);
97329732
Log.Debug(() => "Plugin changelog fetched from backup location.", 1);
97339733
}
97349734
catch (Exception)
@@ -9765,7 +9765,7 @@ private void FetchPluginDocumentation()
97659765
<h2 style='color:#DF0101;'>
97669766
You are running an outdated version! Version " + latestStableVersion + @" is available for download!
97679767
</h2>
9768-
<a href='https://myrcon.net/files/file/30-advanced-in-game-admin-and-ban-enforcer-adkats/' target='_blank'>
9768+
<a href='https://github.com/Hedius/E4GLAdKats/' target='_blank'>
97699769
Download Version " + latestStableVersion + @"!
97709770
</a><br/>
97719771
Download link below.";
@@ -40137,7 +40137,7 @@ private Boolean runDBSetupScript()
4013740137
{
4013840138
try
4013940139
{
40140-
command.CommandText = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/sqlsetup?cacherand=" + Environment.TickCount);
40140+
command.CommandText = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/adkats.sql?cacherand=" + Environment.TickCount);
4014140141
Log.Debug(() => "SQL setup script fetched from backup location.", 1);
4014240142
}
4014340143
catch (Exception)
@@ -51282,7 +51282,7 @@ private ArrayList FetchAdKatsReputationDefinitions()
5128251282
{
5128351283
try
5128451284
{
51285-
repInfo = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/reputation" + "?cacherand=" + Environment.TickCount);
51285+
repInfo = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/adkatsreputationstats.json" + "?cacherand=" + Environment.TickCount);
5128651286
Log.Debug(() => "Reputation definitions fetched from backup location.", 1);
5128751287
}
5128851288
catch (Exception)
@@ -51353,7 +51353,7 @@ private List<ASpecialGroup> FetchASpecialGroupDefinitions()
5135351353
{
5135451354
try
5135551355
{
51356-
groupInfo = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/specialgroups" + "?cacherand=" + Environment.TickCount);
51356+
groupInfo = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/adkatsspecialgroups.json" + "?cacherand=" + Environment.TickCount);
5135751357
Log.Debug(() => "Special group definitions fetched from backup location.", 1);
5135851358
}
5135951359
catch (Exception)
@@ -51562,7 +51562,7 @@ private List<ASQLUpdate> FetchSQLUpdates()
5156251562
{
5156351563
try
5156451564
{
51565-
updateInfo = Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/sqlupdates" + "?cacherand=" + Environment.TickCount);
51565+
updateInfo = Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/adkatsupdates.json" + "?cacherand=" + Environment.TickCount);
5156651566
Log.Debug(() => "SQL updates fetched from backup location.", 1);
5156751567
}
5156851568
catch (Exception)
@@ -53134,8 +53134,8 @@ public void CheckForPluginUpdates(Boolean manual)
5313453134
{
5313553135
try
5313653136
{
53137-
string stableURL = "https://api.myrcon.net/plugins/adkats/branch/main" + "?cacherand=" + Environment.TickCount;
53138-
string testURL = "https://api.myrcon.net/plugins/adkats/branch/test" + "?cacherand=" + Environment.TickCount;
53137+
string stableURL = "https://adkats.e4gl.com/AdKats.cs" + "?cacherand=" + Environment.TickCount;
53138+
string testURL = "https://adkats.e4gl.com/test/AdKats.cs" + "?cacherand=" + Environment.TickCount;
5313953139
if (_pluginVersionStatus == VersionStatus.OutdatedBuild)
5314053140
{
5314153141
pluginSource = Util.ClientDownloadTimer(client, stableURL);
@@ -63007,7 +63007,7 @@ private Hashtable FetchAWeaponNames()
6300763007
{
6300863008
try
6300963009
{
63010-
downloadString = _plugin.Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/weaponnames" + "?cacherand=" + Environment.TickCount);
63010+
downloadString = _plugin.Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/adkatsweaponnames.json" + "?cacherand=" + Environment.TickCount);
6301163011
_plugin.Log.Debug(() => "Weapon names fetched from backup location.", 1);
6301263012
}
6301363013
catch (Exception)
@@ -63642,7 +63642,7 @@ private Hashtable FetchWeaponDefinitions()
6364263642
{
6364363643
try
6364463644
{
63645-
weaponInfo = Plugin.Util.ClientDownloadTimer(client, "https://api.myrcon.net/plugins/adkats/weapons" + "?cacherand=" + Environment.TickCount);
63645+
weaponInfo = Plugin.Util.ClientDownloadTimer(client, "https://adkats.e4gl.com/adkatsblweaponstats.json" + "?cacherand=" + Environment.TickCount);
6364663646
Plugin.Log.Debug(() => "Weapon statistic definitions fetched from backup location.", 1);
6364763647
}
6364863648
catch (Exception)

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,3 +1508,22 @@ Added small improvements to fuzzy player match response text.</li>
15081508
<li><b>No upgrade SQL required.</b></li>
15091509
</ul>
15101510

1511+
<h4>8.1.4.0 (15-AUG-2022)</h4>
1512+
<b>Enhancements</b><br/>
1513+
<ul>
1514+
<li>None</li>
1515+
</ul>
1516+
<b>Changes</b><br/>
1517+
<ul>
1518+
<li>Use adkats.e4gl.com as a backup source if GitHub is down. Otherwise, our plugin might be overwritten with an old release from myrcon.net.</li>
1519+
<li>Update Documentation to match the new repo.</li>
1520+
</ul>
1521+
<b>Bugs Fixed</b><br/>
1522+
<ul>
1523+
<li>None</li>
1524+
</ul>
1525+
<b>Upgrade SQL from 4.0.0.0 - Current</b><br/>
1526+
<ul>
1527+
<li><b>No upgrade SQL required.</b></li>
1528+
</ul>
1529+

LINKS.md

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,62 +3,57 @@
33
</p>
44
<p>
55
<a href="https://myrcon.net/topic/451-on-spawn-loadout-enforcer-for-infantryvehicles-adkatslrt/" name=thread>
6-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Loadout.jpg" alt="AdKats Thread">
6+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Loadout.jpg" alt="AdKats Thread">
77
</a>
88
</p>
99
<HR>
1010
<p>
11-
<a href="https://github.com/AdKats/AdKats#manual" target="_blank" name=manual>
12-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_UserManual.jpg" alt="AdKats User Manual">
11+
<a href="https://github.com/Hedius/E4GLAdKats#manual" target="_blank" name=manual>
12+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_UserManual.jpg" alt="AdKats User Manual">
1313
</a>
1414
</p>
1515
<p>
16-
<a href="https://github.com/AdKats/AdKats#dependencies" target="_blank" name=dependencies>
17-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Dependencies.jpg" alt="AdKats Dependencies">
16+
<a href="https://github.com/Hedius/E4GLAdKats#dependencies" target="_blank" name=dependencies>
17+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Dependencies.jpg" alt="AdKats Dependencies">
1818
</a>
1919
</p>
2020
<p>
21-
<a href="https://github.com/AdKats/AdKats#install" target="_blank" name=install>
22-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Install.jpg" alt="AdKats Install">
21+
<a href="https://github.com/Hedius/E4GLAdKats#install" target="_blank" name=install>
22+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Install.jpg" alt="AdKats Install">
2323
</a>
2424
</p>
2525
<p>
26-
<a href="https://github.com/AdKats/AdKats#faq" target="_blank" name=faq>
27-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_FAQ.jpg" alt="AdKats FAQ">
26+
<a href="https://github.com/Hedius/E4GLAdKats#faq" target="_blank" name=faq>
27+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_FAQ.jpg" alt="AdKats FAQ">
2828
</a>
2929
</p>
3030
<p>
31-
<a href="https://github.com/AdKats/AdKats#features" target="_blank" name=features>
32-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Features.jpg" alt="AdKats Features">
31+
<a href="https://github.com/Hedius/E4GLAdKats#features" target="_blank" name=features>
32+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Features.jpg" alt="AdKats Features">
3333
</a>
3434
</p>
3535
<p>
36-
<a href="https://github.com/AdKats/AdKats#commands" target="_blank" name=commands>
37-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Commands.jpg" alt="AdKats Commands">
36+
<a href="https://github.com/Hedius/E4GLAdKats#commands" target="_blank" name=commands>
37+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Commands.jpg" alt="AdKats Commands">
3838
</a>
3939
</p>
4040
<p>
41-
<a href="https://github.com/AdKats/AdKats#webrequests" target="_blank" name=webrequests>
42-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Web.jpg" alt="AdKats Web">
41+
<a href="https://github.com/Hedius/E4GLAdKats#webrequests" target="_blank" name=webrequests>
42+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Web.jpg" alt="AdKats Web">
4343
</a>
4444
</p>
4545
<p>
46-
<a href="https://github.com/AdKats/AdKats#settings" target="_blank" name=settings>
47-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Settings.jpg" alt="AdKats Settings">
46+
<a href="https://github.com/Hedius/E4GLAdKats#settings" target="_blank" name=settings>
47+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Settings.jpg" alt="AdKats Settings">
4848
</a>
4949
</p>
5050
<p>
51-
<a href="https://github.com/AdKats/AdKats#servercommands" target="_blank" name=settings>
52-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Server.jpg" alt="AdKats Settings">
51+
<a href="https://github.com/Hedius/E4GLAdKats#servercommands" target="_blank" name=settings>
52+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Server.jpg" alt="AdKats Settings">
5353
</a>
5454
</p>
5555
<p>
5656
<a href="https://myrcon.net/topic/459-advanced-in-game-admin-and-ban-enforcer-adkats/" target="_blank" name=thread>
57-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Thread.jpg" alt="AdKats Thread">
58-
</a>
59-
</p>
60-
<p>
61-
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=danielgradinjan%40gmail%2ecom&lc=US&item_name=AdKats%20-%20Advanced%20In-Game%20Admin%20for%20Procon%20Frostbite%20-%20Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted" target="_blank">
62-
<img src="https://raw.githubusercontent.com/AdKats/AdKats/master/images/AdKats_Docs_Donate.jpg">
57+
<img src="https://raw.githubusercontent.com/Hedius/E4GLAdKats/main/images/AdKats_Docs_Thread.jpg" alt="AdKats Thread">
6358
</a>
6459
</p>

0 commit comments

Comments
 (0)