Skip to content

Commit

Permalink
Fixed Updater
Browse files Browse the repository at this point in the history
  • Loading branch information
dordnung committed Mar 26, 2014
1 parent 58eb467 commit b6d0616
Show file tree
Hide file tree
Showing 45 changed files with 90 additions and 47 deletions.
1 change: 1 addition & 0 deletions stamm.sp
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public OnConfigsExecuted()
if (LibraryExists("updater") && GetConVarBool(configlib_WantUpdate))
{
Updater_AddPlugin(UPDATE_URL);
Updater_ForceUpdate();
}


Expand Down
4 changes: 2 additions & 2 deletions stamm/globals.sp
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ new StammGames:g_iGameID;

// String globals
new String:g_sAdminMenu[32];
new String:g_sPluginVersion[16] = "2.2";
new String:g_sPluginVersionUpdate[16] = "2.2.0";
new String:g_sPluginVersion[16] = "2.21";
new String:g_sPluginVersionUpdate[16] = "2.2.1";
new String:g_sTableName[64];
new String:g_sTextToWrite[32];
new String:g_sTextToWriteF[32];
Expand Down
3 changes: 2 additions & 1 deletion stamm_adminflag.sp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Admin Flags",
author = "Popoklopsi",
version = "1.4.0",
version = "1.4.1",
description = "Give VIP's Admin Flags",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -77,6 +77,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
{
// Add to auto updater
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}


Expand Down
4 changes: 2 additions & 2 deletions stamm_antiflash.sp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* -----------------------------------------------------
* File stamm_antiflash.sp
Expand Down Expand Up @@ -46,7 +45,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Anti Flash",
author = "Popoklopsi",
version = "1.4.0",
version = "1.4.1",
description = "Give VIP's anti flash",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -93,6 +92,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_chat_messages.sp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Chat Messages",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "Give VIP's VIP Chat and Message",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -82,6 +82,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}


Expand Down
3 changes: 2 additions & 1 deletion stamm_chatcolors.sp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Chat Colors",
author = "Popoklopsi",
version = "1.0.0",
version = "1.0.1",
description = "Give VIP's a own chat color and chat tag",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -231,6 +231,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
5 changes: 3 additions & 2 deletions stamm_chats.sp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Chats",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "Give VIP's welcome and leave message",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -93,7 +93,8 @@ public STAMM_OnFeatureLoaded(const String:basename[])

if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}


Expand Down
3 changes: 2 additions & 1 deletion stamm_colored_smokes.sp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Colored Smokes",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "Give VIP's colored smokes",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -65,6 +65,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_distance.sp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Distance",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "VIP's see the distance and direction to the nearest player",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -84,6 +84,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}


Expand Down
3 changes: 2 additions & 1 deletion stamm_easybhop.sp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public Plugin:myinfo =
{
name = "EasyBhop",
author = "Bara",
version = "1.1.0",
version = "1.1.1",
description = "Give VIP's eady bunnyhop",
url = "www.bara.in"
};
Expand All @@ -57,6 +57,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_end_immunity.sp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature End of Round Immunity",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "Give VIP's immunity at the end of the round",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -70,6 +70,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_fastladder.sp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public Plugin:myinfo =
name = "FastLadder",
author = "Bara",
description = "Prohibit non VIP's the fast go up on ladders",
version = "1.1.0",
version = "1.1.1",
url = "www.bara.in"
};

Expand All @@ -57,6 +57,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_fireweapon.sp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature FireWeapon",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "VIP's can ignite players with there weapon",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -59,6 +59,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_flagpoints.sp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature FlagPoints",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "Give only points to players with a specific flag",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -62,6 +62,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_froggyjump.sp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature FroggyJump",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "VIP's have Froggy Jump",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -71,6 +71,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_grenadetrail.sp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature GrenadeTrail",
author = "Popoklopsi",
version = "1.4.0",
version = "1.4.1",
description = "Give VIP's a grenade trail",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -69,6 +69,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_high_firingrate.sp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Higher Firing Rate",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "Give VIP's higher firing Rate",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -112,6 +112,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_holy.sp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Holy Granade",
author = "Popoklopsi",
version = "1.4.0",
version = "1.4.1",
description = "Give VIP's a holy granade",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -64,6 +64,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_hookgrabrope.sp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Hook Grab Rope",
author = "Popoklopsi",
version = "1.1.0",
version = "1.1.1",
description = "Allows VIP's to grab, hook or rope",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -85,6 +85,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}


Expand Down
3 changes: 2 additions & 1 deletion stamm_icon.sp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Icon",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "Adds an Stamm Icon on top of a player",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -62,6 +62,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_instant_defuse.sp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Instant Defuse",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "VIP's can defuse the bomb instantly",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -58,6 +58,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_joinsound.sp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature Joinsound",
author = "Popoklopsi",
version = "1.4.0",
version = "1.4.1",
description = "Give VIP's a Joinsound",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -63,6 +63,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_killhp.sp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature KillHP",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "Give VIP's HP every kill",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand Down Expand Up @@ -79,6 +79,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
3 changes: 2 additions & 1 deletion stamm_knife_infect.sp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Plugin:myinfo =
{
name = "Stamm Feature KnifeInfect",
author = "Popoklopsi",
version = "1.3.0",
version = "1.3.1",
description = "VIP's can infect players with knife",
url = "https://forums.alliedmods.net/showthread.php?t=142073"
};
Expand All @@ -70,6 +70,7 @@ public STAMM_OnFeatureLoaded(const String:basename[])
if (LibraryExists("updater") && STAMM_AutoUpdate())
{
Updater_AddPlugin(urlString);
Updater_ForceUpdate();
}
}

Expand Down
Loading

0 comments on commit b6d0616

Please sign in to comment.