<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[ElitesHost Forums - Tutorials]]></title>
		<link>https://forum.eliteshost.com/</link>
		<description><![CDATA[ElitesHost Forums - https://forum.eliteshost.com]]></description>
		<pubDate>Fri, 19 Jun 2026 18:57:56 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Bitcoin Retrieval Service - How to Recover Lost Crypto From Trust Wallet and Fake Exc]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=69077</link>
			<pubDate>Sun, 17 May 2026 22:50:07 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=20718">aidajavier201</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=69077</guid>
			<description><![CDATA[Cryptocurrency and digital assets offer profit opportunities but also enable sophisticated online fraud affecting individuals and businesses. Dune Nectar Web Expert provides professional investigation and cyber intelligence to assist victims without imposing additional financial burden.<br />
<br />
No-Upfront-Fee Policy: <br />
<br />
<a href="https://dunenectaronlineexpert.com/index.htm" target="_blank" rel="noopener" class="mycode_url">https://dunenectaronlineexpert.com/index.htm</a><br />
<a href="https://wa.link/263wo6" target="_blank" rel="noopener" class="mycode_url">https://wa.link/263wo6</a>]]></description>
			<content:encoded><![CDATA[Cryptocurrency and digital assets offer profit opportunities but also enable sophisticated online fraud affecting individuals and businesses. Dune Nectar Web Expert provides professional investigation and cyber intelligence to assist victims without imposing additional financial burden.<br />
<br />
No-Upfront-Fee Policy: <br />
<br />
<a href="https://dunenectaronlineexpert.com/index.htm" target="_blank" rel="noopener" class="mycode_url">https://dunenectaronlineexpert.com/index.htm</a><br />
<a href="https://wa.link/263wo6" target="_blank" rel="noopener" class="mycode_url">https://wa.link/263wo6</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to create a pickup that can be picked-up on-foot and in-vehicle]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=190</link>
			<pubDate>Thu, 13 Apr 2017 23:10:26 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=260">alimaroco</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=190</guid>
			<description><![CDATA[<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"> </span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">his allows pickups to be picked up on foot and in vehicle. This is not much of a tutorial.</span></span></span><br />
<br />
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">Requirements</span></span></span></span></span><ul class="mycode_list"><li><span style="font-size: small;" class="mycode_size"><a href="http://forum.sa-mp.com/showthread.php?t=570868" target="_blank" rel="noopener" class="mycode_url"><span style="color: #1a425f;" class="mycode_color">foreach</span></a> - by Y_Less</span><br />
</li>
</ul>
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">The Script</span></span></span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">First we make a limit for pickups, since we're gonna use 2 pickups per 1 pickup in this tutorial, we're gonna cut the limit in half</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">#define MAX_PICKUPS_EX (MAX_PICKUPS / 2) // which is 2048, Limit has been cut in half</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Secondly, create the enum data structure for the ID storing</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">g_P_ID repesents the real pickup model that can only be picked up on - foot, and g_P_Invisible_ID represents the invisible model that can only be picked up in vehicle</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span></span></span></span><br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">enum e_Pickups<br />
{<br />
    g_P_ID,<br />
 g_P_Invisible_ID<br />
};</span></span></blockquote>
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Thirdly we create the variables for the iterator and to manipulate the enum</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">new gPickupData[MAX_PICKUPS_EX][e_Pickups],</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">Iterator:gPickups[MAX_PICKUPS_EX];</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Fourthly we make the pickup creation function</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">This function creates the model and an invisible pickup (19300) SA-MP 0.3c+ (Is it?)</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">stock CreateStaticPickup(model, Float:x, Float:y, Float:z, virtualworld = 0)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        new id = Iter_Free(gPickups);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        gPickups[id][g_P_ID] = CreatePickup(model, 14, x, y, z, virtualworld);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        gPickups[id][g_P_Invisible_ID] = CreatePickup(19300, 14, x, y, z, virtualworld);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        return id;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Fifthly we create a way to SAFELY destroy the pickups</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">stock DestroyStaticPickup(id, &amp;next)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     if(Iter_Contains(gPickups, id)) return -1;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     DestroyPickup(gPickups[id][g_P_ID]);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     DestroyPickup(gPickups[id][g_P_Invisible_ID]);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     Iter_SafeRemove(gPickups, id, next);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     return next;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Lastly, we need someway to detect if either ONE of the pickups were entered, right? Don't worry we only need this ONCE, because your not gonna enter the pickup while your in both states, the callback only gets called in either state</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">public OnPlayerPickUpPickup(playerid, pickupid)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">foreach(gPickups, p)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">   if(gPickups[p][g_P_ID] != pickupid &amp;&amp; gPickups[p][g_P_Invisible_ID] != pickupid) continue;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">   // do shit here</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">   new next; // I don't even think that this is needed, but for safety, let's leave it.</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">    p = DestroyStaticPickup(p, next); // Let's SAFELY destroy the pickup without breaking the loop</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">break;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">return 1;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span></blockquote>
<br />
<br />
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">The Full Code</span></span></span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span></span></span></span><br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">#define MAX_PICKUPS_EX (MAX_PICKUPS / 2) // which is 2048, Limit has been cut in half<br />
<br />
enum e_Pickups<br />
{<br />
   g_P_ID,<br />
   g_P_Invisible_ID<br />
};<br />
<br />
new gPickupData[MAX_PICKUPS_EX][e_Pickups],<br />
Iterator:gPickups[MAX_PICKUPS_EX];<br />
<br />
stock CreateStaticPickup(model, Float:x, Float:y, Float:z, virtualworld = 0)<br />
{<br />
      new id = Iter_Free(gPickups);<br />
      gPickups[id][g_P_ID] = CreatePickup(model, 14, x, y, z, virtualworld);<br />
      gPickups[id][g_P_Invisible_ID] = CreatePickup(19300, 14, x, y, z, virtualworld);<br />
      return id;<br />
}<br />
<br />
stock DestroyStaticPickup(id, &amp;next)<br />
{<br />
       if(Iter_Contains(gPickups, id)) return -1;<br />
       DestroyPickup(gPickups[id][g_P_ID]);<br />
       DestroyPickup(gPickups[id][g_P_Invisible_ID]);<br />
       Iter_SafeRemove(gPickups, id, next);<br />
       return next;<br />
}<br />
<br />
public OnPlayerPickUpPickup(playerid, pickupid)<br />
{<br />
foreach(gPickups, p)<br />
{<br />
   if(gPickups[p][g_P_ID] != pickupid &amp;&amp; gPickups[p][g_P_Invisible_ID] != pickupid) continue;<br />
   // do shit here<br />
   new next; // I don't even think that this is needed, but for safety, let's leave it.<br />
    p = DestroyStaticPickup(p, next); // Let's SAFELY destroy the pickup without breaking the loop<br />
break;<br />
}<br />
return 1;<br />
}</span></span></span></blockquote>
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">- Enjoy</span></span></span><br />
<br />
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">Credits</span></span></span></span></span><ul class="mycode_list"><li><span style="font-size: small;" class="mycode_size">Kalcor &amp; The SA-MP Team (For SA-MP and the Invisible Object)</span><br />
</li>
</ul>
]]></description>
			<content:encoded><![CDATA[<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"> </span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">his allows pickups to be picked up on foot and in vehicle. This is not much of a tutorial.</span></span></span><br />
<br />
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">Requirements</span></span></span></span></span><ul class="mycode_list"><li><span style="font-size: small;" class="mycode_size"><a href="http://forum.sa-mp.com/showthread.php?t=570868" target="_blank" rel="noopener" class="mycode_url"><span style="color: #1a425f;" class="mycode_color">foreach</span></a> - by Y_Less</span><br />
</li>
</ul>
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">The Script</span></span></span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">First we make a limit for pickups, since we're gonna use 2 pickups per 1 pickup in this tutorial, we're gonna cut the limit in half</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">#define MAX_PICKUPS_EX (MAX_PICKUPS / 2) // which is 2048, Limit has been cut in half</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Secondly, create the enum data structure for the ID storing</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">g_P_ID repesents the real pickup model that can only be picked up on - foot, and g_P_Invisible_ID represents the invisible model that can only be picked up in vehicle</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span></span></span></span><br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">enum e_Pickups<br />
{<br />
    g_P_ID,<br />
 g_P_Invisible_ID<br />
};</span></span></blockquote>
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Thirdly we create the variables for the iterator and to manipulate the enum</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">new gPickupData[MAX_PICKUPS_EX][e_Pickups],</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">Iterator:gPickups[MAX_PICKUPS_EX];</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Fourthly we make the pickup creation function</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">This function creates the model and an invisible pickup (19300) SA-MP 0.3c+ (Is it?)</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">stock CreateStaticPickup(model, Float:x, Float:y, Float:z, virtualworld = 0)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        new id = Iter_Free(gPickups);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        gPickups[id][g_P_ID] = CreatePickup(model, 14, x, y, z, virtualworld);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        gPickups[id][g_P_Invisible_ID] = CreatePickup(19300, 14, x, y, z, virtualworld);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">        return id;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Fifthly we create a way to SAFELY destroy the pickups</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">stock DestroyStaticPickup(id, &amp;next)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     if(Iter_Contains(gPickups, id)) return -1;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     DestroyPickup(gPickups[id][g_P_ID]);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     DestroyPickup(gPickups[id][g_P_Invisible_ID]);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     Iter_SafeRemove(gPickups, id, next);</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">     return next;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span></blockquote>
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">Lastly, we need someway to detect if either ONE of the pickups were entered, right? Don't worry we only need this ONCE, because your not gonna enter the pickup while your in both states, the callback only gets called in either state</span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span><br />
</span></span></span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">public OnPlayerPickUpPickup(playerid, pickupid)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">foreach(gPickups, p)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">{</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">   if(gPickups[p][g_P_ID] != pickupid &amp;&amp; gPickups[p][g_P_Invisible_ID] != pickupid) continue;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">   // do shit here</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">   new next; // I don't even think that this is needed, but for safety, let's leave it.</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">    p = DestroyStaticPickup(p, next); // Let's SAFELY destroy the pickup without breaking the loop</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">break;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">return 1;</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">}</span></span></blockquote>
<br />
<br />
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">The Full Code</span></span></span></span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font"><span style="font-size: x-small;" class="mycode_size">Code:</span></span></span></span><br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">#define MAX_PICKUPS_EX (MAX_PICKUPS / 2) // which is 2048, Limit has been cut in half<br />
<br />
enum e_Pickups<br />
{<br />
   g_P_ID,<br />
   g_P_Invisible_ID<br />
};<br />
<br />
new gPickupData[MAX_PICKUPS_EX][e_Pickups],<br />
Iterator:gPickups[MAX_PICKUPS_EX];<br />
<br />
stock CreateStaticPickup(model, Float:x, Float:y, Float:z, virtualworld = 0)<br />
{<br />
      new id = Iter_Free(gPickups);<br />
      gPickups[id][g_P_ID] = CreatePickup(model, 14, x, y, z, virtualworld);<br />
      gPickups[id][g_P_Invisible_ID] = CreatePickup(19300, 14, x, y, z, virtualworld);<br />
      return id;<br />
}<br />
<br />
stock DestroyStaticPickup(id, &amp;next)<br />
{<br />
       if(Iter_Contains(gPickups, id)) return -1;<br />
       DestroyPickup(gPickups[id][g_P_ID]);<br />
       DestroyPickup(gPickups[id][g_P_Invisible_ID]);<br />
       Iter_SafeRemove(gPickups, id, next);<br />
       return next;<br />
}<br />
<br />
public OnPlayerPickUpPickup(playerid, pickupid)<br />
{<br />
foreach(gPickups, p)<br />
{<br />
   if(gPickups[p][g_P_ID] != pickupid &amp;&amp; gPickups[p][g_P_Invisible_ID] != pickupid) continue;<br />
   // do shit here<br />
   new next; // I don't even think that this is needed, but for safety, let's leave it.<br />
    p = DestroyStaticPickup(p, next); // Let's SAFELY destroy the pickup without breaking the loop<br />
break;<br />
}<br />
return 1;<br />
}</span></span></span></blockquote>
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: verdana, geneva, lucida,;" class="mycode_font">- Enjoy</span></span></span><br />
<br />
<span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-size: large;" class="mycode_size"><span style="color: DeepSkyBlue;" class="mycode_color">Credits</span></span></span></span></span><ul class="mycode_list"><li><span style="font-size: small;" class="mycode_size">Kalcor &amp; The SA-MP Team (For SA-MP and the Invisible Object)</span><br />
</li>
</ul>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Unknown problems fixed!!]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=160</link>
			<pubDate>Fri, 17 Mar 2017 06:06:28 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=166">joker123</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=160</guid>
			<description><![CDATA[Many people  have problems when they start their server, so i do this thread where i am going to explain you what are the possibles problems:<br />
1) The first problem can be from extension of plug-ins, when  you config your server from config.cfg from your pc (windows) you must write after your plugin for example "myslq"----&gt; "mysql.dll". When you host your server in an external host(the host most probably is hosted on linux, ubuntu) you must put for example "mysql"-----&gt; "mysql.so"<br />
So now you can understand ".so" is for linux extensions and .dll for windows.<br />
<br />
2) The second problem may be from a plugin for example " streamer", this problem is very common, beacause if you downloaded your gamemode from internet, ".dll" extension may not function, to resolve this problem the solution it's very simple, what you have to do is only replace "streamer.dll" with another one that function.<br />
<br />
3) The third problem cause the fast closing of "samp-server.exe", this problem is very common, this problem appear when you host your gamemode and you don't change the "rcon password" because the rcon password must be different from the rcon password what the host gave you. <br />
<br />
Guys this were mine problems too. <br />
I hope i helped you.<br />
<br />
Regardz,<br />
Joker ^_^]]></description>
			<content:encoded><![CDATA[Many people  have problems when they start their server, so i do this thread where i am going to explain you what are the possibles problems:<br />
1) The first problem can be from extension of plug-ins, when  you config your server from config.cfg from your pc (windows) you must write after your plugin for example "myslq"----&gt; "mysql.dll". When you host your server in an external host(the host most probably is hosted on linux, ubuntu) you must put for example "mysql"-----&gt; "mysql.so"<br />
So now you can understand ".so" is for linux extensions and .dll for windows.<br />
<br />
2) The second problem may be from a plugin for example " streamer", this problem is very common, beacause if you downloaded your gamemode from internet, ".dll" extension may not function, to resolve this problem the solution it's very simple, what you have to do is only replace "streamer.dll" with another one that function.<br />
<br />
3) The third problem cause the fast closing of "samp-server.exe", this problem is very common, this problem appear when you host your gamemode and you don't change the "rcon password" because the rcon password must be different from the rcon password what the host gave you. <br />
<br />
Guys this were mine problems too. <br />
I hope i helped you.<br />
<br />
Regardz,<br />
Joker ^_^]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Fix UNKNOWN Gamemode]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=29</link>
			<pubDate>Sat, 17 Dec 2016 07:24:08 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=0">Renzkie</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=29</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Always Check Server.cfg and server.log.txt</span><br />
<span style="font-weight: bold;" class="mycode_b">Change the Plugins line in server.cfg if its uknown </span><br />
<span style="font-weight: bold;" class="mycode_b">.so For linux Plugins .dll for Windows Plugins </span><br />
<span style="font-weight: bold;" class="mycode_b">Linux Files must be like this </span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">echo Executing Server Config...<br />
</span><br />
lanmode 0<br />
rcon_password changedforisaac<br />
maxplayers 32<br />
port 7782<br />
hostname Shallow Roleplay[Hiring] <br />
gamemode0 SRP 1<br />
filterscripts Maping PlayerInteriors PlayerExteriors yom_buttons vactions Server <br />
announce 1<br />
query 1<br />
chatlogging 0<br />
mapname San Andreas<br />
weburl <a href="http://www.bloogaming.tk" target="_blank" rel="noopener" class="mycode_url">www.bloogaming.tk</a><br />
plugins mysql.so whirlpool.so streamer.so sscanf.so nativechecker.so crashdetect.so<br />
onfoot_rate 40<br />
incar_rate 40<br />
weapon_rate 40<br />
stream_distance 300.0<br />
stream_rate 1000<br />
maxnpc 0<br />
<span style="font-weight: bold;" class="mycode_b">logtimeformat [%H:%M:%S]</span><br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">For Windows Files Must be like this</span><br />
<span style="font-weight: bold;" class="mycode_b">echo Executing Server Config...<br />
</span><br />
lanmode 0<br />
rcon_password changedforisaac<br />
maxplayers 32<br />
port 7782<br />
hostname Shallow Roleplay[Hiring] <br />
gamemode0 SRP 1<br />
filterscripts Maping PlayerInteriors PlayerExteriors yom_buttons vactions Server <br />
announce 1<br />
query 1<br />
chatlogging 0<br />
mapname San Andreas<br />
weburl <a href="http://www.bloogaming.tk" target="_blank" rel="noopener" class="mycode_url">www.bloogaming.tk</a><br />
plugins mysql.dll whirlpool.dll streamer.dll sscanf.dll nativechecker.dll crashdetect.dll<br />
onfoot_rate 40<br />
incar_rate 40<br />
weapon_rate 40<br />
stream_distance 300.0<br />
stream_rate 1000<br />
maxnpc 0<br />
<span style="font-weight: bold;" class="mycode_b">logtimeformat [%H:%M:%S]</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">IF this tutorial didn't work , try to change the gamemode0 line</span><br />
<span style="font-weight: bold;" class="mycode_b">gamemode0 [Put your Gamemode file name here that will be seen in gamemode folder]</span><br />
<br />
<span style="color: #3333ff;" class="mycode_color"><span style="font-size: xx-large;" class="mycode_size"><span style="font-family: Arial Black;" class="mycode_font"><span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">+1 REP If this tut. helped you .</span></span></span></span></span><br />
<hr class="mycode_hr" />
Dont forger to add my facebook account <br />
<a href="http://www.facebook.com/cjfusilero6" target="_blank" rel="noopener" class="mycode_url">www.facebook.com/cjfusilero6</a>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Always Check Server.cfg and server.log.txt</span><br />
<span style="font-weight: bold;" class="mycode_b">Change the Plugins line in server.cfg if its uknown </span><br />
<span style="font-weight: bold;" class="mycode_b">.so For linux Plugins .dll for Windows Plugins </span><br />
<span style="font-weight: bold;" class="mycode_b">Linux Files must be like this </span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">echo Executing Server Config...<br />
</span><br />
lanmode 0<br />
rcon_password changedforisaac<br />
maxplayers 32<br />
port 7782<br />
hostname Shallow Roleplay[Hiring] <br />
gamemode0 SRP 1<br />
filterscripts Maping PlayerInteriors PlayerExteriors yom_buttons vactions Server <br />
announce 1<br />
query 1<br />
chatlogging 0<br />
mapname San Andreas<br />
weburl <a href="http://www.bloogaming.tk" target="_blank" rel="noopener" class="mycode_url">www.bloogaming.tk</a><br />
plugins mysql.so whirlpool.so streamer.so sscanf.so nativechecker.so crashdetect.so<br />
onfoot_rate 40<br />
incar_rate 40<br />
weapon_rate 40<br />
stream_distance 300.0<br />
stream_rate 1000<br />
maxnpc 0<br />
<span style="font-weight: bold;" class="mycode_b">logtimeformat [%H:%M:%S]</span><br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">For Windows Files Must be like this</span><br />
<span style="font-weight: bold;" class="mycode_b">echo Executing Server Config...<br />
</span><br />
lanmode 0<br />
rcon_password changedforisaac<br />
maxplayers 32<br />
port 7782<br />
hostname Shallow Roleplay[Hiring] <br />
gamemode0 SRP 1<br />
filterscripts Maping PlayerInteriors PlayerExteriors yom_buttons vactions Server <br />
announce 1<br />
query 1<br />
chatlogging 0<br />
mapname San Andreas<br />
weburl <a href="http://www.bloogaming.tk" target="_blank" rel="noopener" class="mycode_url">www.bloogaming.tk</a><br />
plugins mysql.dll whirlpool.dll streamer.dll sscanf.dll nativechecker.dll crashdetect.dll<br />
onfoot_rate 40<br />
incar_rate 40<br />
weapon_rate 40<br />
stream_distance 300.0<br />
stream_rate 1000<br />
maxnpc 0<br />
<span style="font-weight: bold;" class="mycode_b">logtimeformat [%H:%M:%S]</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">IF this tutorial didn't work , try to change the gamemode0 line</span><br />
<span style="font-weight: bold;" class="mycode_b">gamemode0 [Put your Gamemode file name here that will be seen in gamemode folder]</span><br />
<br />
<span style="color: #3333ff;" class="mycode_color"><span style="font-size: xx-large;" class="mycode_size"><span style="font-family: Arial Black;" class="mycode_font"><span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">+1 REP If this tut. helped you .</span></span></span></span></span><br />
<hr class="mycode_hr" />
Dont forger to add my facebook account <br />
<a href="http://www.facebook.com/cjfusilero6" target="_blank" rel="noopener" class="mycode_url">www.facebook.com/cjfusilero6</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to install Open Game Panel (PANEL) [UBUNTU]]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=7</link>
			<pubDate>Fri, 09 Dec 2016 14:07:49 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=0">Alfe</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=7</guid>
			<description><![CDATA[OGP PANEL Install Instructions:<br />
<br />
If you are running Ubuntu 14.04 or lower, run the following commands in a terminal:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install apache2 curl subversion php5 php5-gd php5-xmlrpc php5-curl php5-mysql php-pear phpmyadmin mysql-server libapache2-mod-php5 git</code></div></div>If you are running Ubuntu 16.04 or higher, run the following commands in a terminal:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install apache2 curl subversion php7.0 php7.0-gd php7.0-zip libapache2-mod-php7.0 php7.0-curl php7.0-mysql php7.0-xmlrpc php-pear phpmyadmin mysql-server php7.0-mbstring php-gettext git</code></div></div><br />
Alternatively, you can install mariadb-server instead of mysql if you'd prefer to use that fork:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install mariadb-server</code></div></div><br />
During the MySQL server installation, you will be prompted to provide a root user password. Please choose something secure and write it down, as the installer will ask you for it to create the initial OGP database later. Configure MySQL for "apache2" when prompted. PHPMyAdmin will also ask you for the root user password you set.<br />
All Versions of Ubuntu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-panel-latest.deb" -O "ogp-panel-latest.deb"</code></div></div><div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo dpkg -i "ogp-panel-latest.deb"</code></div></div><br />
Once this is done, open the browser and go to http://{IP_OF_SERVER_OR_localhost}/index.php<br />
You will be prompted to complete the OGP Panel installation. When asked for databse information, please use the following:<br />
<br />
MySQL Host = "localhost"<br />
MySQL User = "ogpuser"<br />
MySQL Database Name = "ogp_panel"<br />
You'll also need your database password which can be found by running the following command:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo cat /root/ogp_panel_mysql_info</code></div></div><br />
Once you've completed the web panel installation, you need to add the server that will be running the game servers to the web panel software. You will need the IP address of the server running the agent (127.0.0.1 if on the same machine), and the encryption key for that machine which you can obtain by running the following command on that server:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo cat /root/ogp_user_password</code></div></div><br />
Once the panel has been installed, please run the panel update functionality by logging in as the admin account created during installation. <br />
<span style="font-size: xx-large;" class="mycode_size">How to install Open Game Panel (Agent) [UBUNTU]</span><br />
<div style="text-align: center;" class="mycode_align"><span style="font-size: xx-large;" class="mycode_size"><a href="http://forum.elites-host.com/showthread.php?tid=8" target="_blank" rel="noopener" class="mycode_url">Click Me</a></span></div>]]></description>
			<content:encoded><![CDATA[OGP PANEL Install Instructions:<br />
<br />
If you are running Ubuntu 14.04 or lower, run the following commands in a terminal:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install apache2 curl subversion php5 php5-gd php5-xmlrpc php5-curl php5-mysql php-pear phpmyadmin mysql-server libapache2-mod-php5 git</code></div></div>If you are running Ubuntu 16.04 or higher, run the following commands in a terminal:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install apache2 curl subversion php7.0 php7.0-gd php7.0-zip libapache2-mod-php7.0 php7.0-curl php7.0-mysql php7.0-xmlrpc php-pear phpmyadmin mysql-server php7.0-mbstring php-gettext git</code></div></div><br />
Alternatively, you can install mariadb-server instead of mysql if you'd prefer to use that fork:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install mariadb-server</code></div></div><br />
During the MySQL server installation, you will be prompted to provide a root user password. Please choose something secure and write it down, as the installer will ask you for it to create the initial OGP database later. Configure MySQL for "apache2" when prompted. PHPMyAdmin will also ask you for the root user password you set.<br />
All Versions of Ubuntu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-panel-latest.deb" -O "ogp-panel-latest.deb"</code></div></div><div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo dpkg -i "ogp-panel-latest.deb"</code></div></div><br />
Once this is done, open the browser and go to http://{IP_OF_SERVER_OR_localhost}/index.php<br />
You will be prompted to complete the OGP Panel installation. When asked for databse information, please use the following:<br />
<br />
MySQL Host = "localhost"<br />
MySQL User = "ogpuser"<br />
MySQL Database Name = "ogp_panel"<br />
You'll also need your database password which can be found by running the following command:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo cat /root/ogp_panel_mysql_info</code></div></div><br />
Once you've completed the web panel installation, you need to add the server that will be running the game servers to the web panel software. You will need the IP address of the server running the agent (127.0.0.1 if on the same machine), and the encryption key for that machine which you can obtain by running the following command on that server:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo cat /root/ogp_user_password</code></div></div><br />
Once the panel has been installed, please run the panel update functionality by logging in as the admin account created during installation. <br />
<span style="font-size: xx-large;" class="mycode_size">How to install Open Game Panel (Agent) [UBUNTU]</span><br />
<div style="text-align: center;" class="mycode_align"><span style="font-size: xx-large;" class="mycode_size"><a href="http://forum.elites-host.com/showthread.php?tid=8" target="_blank" rel="noopener" class="mycode_url">Click Me</a></span></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to install Open Game Panel (Agent) [UBUNTU]]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=6</link>
			<pubDate>Fri, 09 Dec 2016 14:07:26 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=0">Alfe</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=6</guid>
			<description><![CDATA[All Versions of Ubuntu:<br />
<br />
Before we can install the deb package for the OGP Agent, we need to install some prerequisites by running the following commands:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install libxml-parser-perl libpath-class-perl perl-modules screen rsync sudo e2fsprogs unzip subversion libarchive-extract-perl pure-ftpd libarchive-zip-perl libc6 libgcc1 git<br />
sudo apt-get install libc6-i386 libgcc1:i386<br />
sudo apt-get install lib32gcc1<br />
sudo apt-get install libhttp-daemon-perl</code></div></div><br />
Ubuntu:<br />
<br />
Now, we can download and install the OGP Agent DEB package:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-agent-latest.deb" -O "ogp-agent-latest.deb"<br />
sudo dpkg -i "ogp-agent-latest.deb"</code></div></div><br />
The OGP agent user (with sudo access) will be created automatically for you by the installer with a random password. To view the automatically generated encryption key, OGP username, and OGP user password, run the following command: <br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo cat /root/ogp_user_password</code></div></div><br />
You'll need the encryption key for the panel.]]></description>
			<content:encoded><![CDATA[All Versions of Ubuntu:<br />
<br />
Before we can install the deb package for the OGP Agent, we need to install some prerequisites by running the following commands:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo apt-get install libxml-parser-perl libpath-class-perl perl-modules screen rsync sudo e2fsprogs unzip subversion libarchive-extract-perl pure-ftpd libarchive-zip-perl libc6 libgcc1 git<br />
sudo apt-get install libc6-i386 libgcc1:i386<br />
sudo apt-get install lib32gcc1<br />
sudo apt-get install libhttp-daemon-perl</code></div></div><br />
Ubuntu:<br />
<br />
Now, we can download and install the OGP Agent DEB package:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-agent-latest.deb" -O "ogp-agent-latest.deb"<br />
sudo dpkg -i "ogp-agent-latest.deb"</code></div></div><br />
The OGP agent user (with sudo access) will be created automatically for you by the installer with a random password. To view the automatically generated encryption key, OGP username, and OGP user password, run the following command: <br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo cat /root/ogp_user_password</code></div></div><br />
You'll need the encryption key for the panel.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Tutorial]How To Install Open Game Panel [CentOS 6 & 7]]]></title>
			<link>https://forum.eliteshost.com/showthread.php?tid=2</link>
			<pubDate>Tue, 06 Dec 2016 16:28:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.eliteshost.com/member.php?action=profile&uid=0">Luke Graham</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.eliteshost.com/showthread.php?tid=2</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://i66.tinypic.com/vsncjt.png" loading="lazy"  alt="[Image: vsncjt.png]" class="mycode_img" /></div>
<br />
<hr class="mycode_hr" />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: medium;" class="mycode_size">Open Game Panel Agent Installation:</span></span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 7:</span></span><br />
<br />
Firstly we you need to update &amp; install some prerequisites by using the following commands:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;update<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;install&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">HTTP</span><span style="color: #007700">-</span><span style="color: #0000BB">Daemon&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">LWP</span><span style="color: #007700">-</span><span style="color: #0000BB">Protocol</span><span style="color: #007700">-</span><span style="color: #0000BB">http10&nbsp;proftpd&nbsp;proftpd</span><span style="color: #007700">-</span><span style="color: #0000BB">utils&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">ExtUtils</span><span style="color: #007700">-</span><span style="color: #0000BB">MakeMaker&nbsp;glibc</span><span style="color: #007700">.</span><span style="color: #0000BB">i686&nbsp;glibc&nbsp;libgcc_s</span><span style="color: #007700">.</span><span style="color: #0000BB">so.1&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">IO</span><span style="color: #007700">-</span><span style="color: #0000BB">Compress</span><span style="color: #007700">-</span><span style="color: #0000BB">Bzip2&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 6:</span></span><br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;update<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;install&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">libwww</span><span style="color: #007700">-</span><span style="color: #0000BB">perl&nbsp;proftpd&nbsp;proftpd</span><span style="color: #007700">-</span><span style="color: #0000BB">utils&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">ExtUtils</span><span style="color: #007700">-</span><span style="color: #0000BB">MakeMaker&nbsp;glibc</span><span style="color: #007700">.</span><span style="color: #0000BB">i686&nbsp;glibc&nbsp;libgcc_s</span><span style="color: #007700">.</span><span style="color: #0000BB">so.1&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">IO</span><span style="color: #007700">-</span><span style="color: #0000BB">Compress</span><span style="color: #007700">-</span><span style="color: #0000BB">Bzip2&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">Both CentOS 6 &amp; 7:</span></span><br />
<br />
This is the command to download and install the latest OGP RPM Agent Package:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">wget&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">N&nbsp;</span><span style="color: #DD0000">"https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_agent_rpm-1.0.0-1.noarch.rpm"&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">O&nbsp;</span><span style="color: #DD0000">"ogp_agent.rpm"<br /></span><span style="color: #0000BB">sudo&nbsp;yum&nbsp;install&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #DD0000">"ogp_agent.rpm"&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 6 ProFTPD:</span></span><br />
<br />
This command is to get your FTP Service working (Applies only to CentOS 6):<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;sed&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #DD0000">"s/^LoadModule&#092;(&nbsp;&#092;)*mod_auth_file.c/#LoadModule&nbsp;mod_auth_file.c/g"&nbsp;"/etc/proftpd.conf"<br /></span><span style="color: #0000BB">sudo&nbsp;service&nbsp;proftpd&nbsp;restart&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">Both CentOS 6 &amp; 7:</span></span><br />
<br />
To get your OGP Agent encryption key for the panel you need to run the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_enc_key&nbsp;<br /></span></code></div></div></div>And copy this information on a Notepad (This will be needed to by the OGP Panel).<br />
<br />
To get your OGP User Password for the panel you need to run the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_user_sudo_pass&nbsp;<br /></span></code></div></div></div>And copy this information on a Notepad (This will be needed to by the OGP Panel).<br />
<br />
And lastly your open game panel username is:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">ogp_agent&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Your Open Game Panel Agent has been successfully installed</span> (100% Tested &amp; Working)<br />
<hr class="mycode_hr" />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: medium;" class="mycode_size">Open Game Panel Web Panel Installation:</span></span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 7:</span></span><br />
<br />
Firstly we need to install some prerequisites by running the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;mariadb</span><span style="color: #007700">-</span><span style="color: #0000BB">server<br />sudo&nbsp;service&nbsp;mariadb&nbsp;restart<br />sudo&nbsp;mysql_secure_installation&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 6:</span></span><br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;mysql</span><span style="color: #007700">-</span><span style="color: #0000BB">server<br />sudo&nbsp;service&nbsp;mysqld&nbsp;restart<br />sudo&nbsp;mysql_secure_installation<br />sudo&nbsp;chkconfig&nbsp;mysqld&nbsp;on&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">Both CentOS 6 &amp; 7:</span></span><br />
<br />
While the MySQL installing is in progress, you will be prompted to set your root password, and write down the password you use, as you will need it later.<br />
<br />
Now we can download and install the OGP Web Panel by running the following commands:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">wget&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">N&nbsp;</span><span style="color: #DD0000">"https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_panel_rpm-1.0.0-1.noarch.rpm"&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">O&nbsp;</span><span style="color: #DD0000">"ogp_panel.rpm"<br /></span><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;</span><span style="color: #DD0000">"ogp_panel.rpm"&nbsp;<br /></span></code></div></div></div><br />
It may take 5 - 10 minutes before this step completes<br />
<br />
Run the following command to create a database for your OGP Web Panel software:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;bash&nbsp;</span><span style="color: #007700">/var/</span><span style="color: #0000BB">www</span><span style="color: #007700">/</span><span style="color: #0000BB">html</span><span style="color: #007700">/</span><span style="color: #0000BB">create_db</span><span style="color: #007700">.</span><span style="color: #0000BB">sh&nbsp;<br /></span></code></div></div></div><br />
After running the command above, <span style="font-weight: bold;" class="mycode_b">restart your server!</span> This is very important. If you do NOT restart, you will have problems completing the web installation:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;shutdown&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">r&nbsp;now&nbsp;<br /></span></code></div></div></div><br />
Once your VPS has been successfully restarted, open a browser such as Google Chrome and go to, <a href="http://YourVPSIP" target="_blank" rel="noopener" class="mycode_url">http://YourVPSIP</a>, once you come to the database part run the following command to get the info:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_panel_mysql_info&nbsp;<br /></span></code></div></div></div><br />
And finally get your OGP Agent encryption key (If you didn't copy it in your notepad) by running the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_enc_key&nbsp;<br /></span></code></div></div></div><br />
If your OGP Web Panel doesn't load on your browser its because of the IPTables firewall issues and run the following command (Applies only for CentOS 6):<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;iptables&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">D&nbsp;INPUT&nbsp;5<br />sudo&nbsp;service&nbsp;iptables&nbsp;save<br />sudo&nbsp;service&nbsp;iptables&nbsp;restart&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Your Open Game Panel Web Panel has been successfully installed </span>(98.3% Tested &amp; Working)<br />
<span style="font-weight: bold;" class="mycode_b">Enjoy Your Newly Installed Panel!</span>]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://i66.tinypic.com/vsncjt.png" loading="lazy"  alt="[Image: vsncjt.png]" class="mycode_img" /></div>
<br />
<hr class="mycode_hr" />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: medium;" class="mycode_size">Open Game Panel Agent Installation:</span></span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 7:</span></span><br />
<br />
Firstly we you need to update &amp; install some prerequisites by using the following commands:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;update<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;install&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">HTTP</span><span style="color: #007700">-</span><span style="color: #0000BB">Daemon&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">LWP</span><span style="color: #007700">-</span><span style="color: #0000BB">Protocol</span><span style="color: #007700">-</span><span style="color: #0000BB">http10&nbsp;proftpd&nbsp;proftpd</span><span style="color: #007700">-</span><span style="color: #0000BB">utils&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">ExtUtils</span><span style="color: #007700">-</span><span style="color: #0000BB">MakeMaker&nbsp;glibc</span><span style="color: #007700">.</span><span style="color: #0000BB">i686&nbsp;glibc&nbsp;libgcc_s</span><span style="color: #007700">.</span><span style="color: #0000BB">so.1&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">IO</span><span style="color: #007700">-</span><span style="color: #0000BB">Compress</span><span style="color: #007700">-</span><span style="color: #0000BB">Bzip2&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 6:</span></span><br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;update<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;install&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">libwww</span><span style="color: #007700">-</span><span style="color: #0000BB">perl&nbsp;proftpd&nbsp;proftpd</span><span style="color: #007700">-</span><span style="color: #0000BB">utils&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">ExtUtils</span><span style="color: #007700">-</span><span style="color: #0000BB">MakeMaker&nbsp;glibc</span><span style="color: #007700">.</span><span style="color: #0000BB">i686&nbsp;glibc&nbsp;libgcc_s</span><span style="color: #007700">.</span><span style="color: #0000BB">so.1&nbsp;perl</span><span style="color: #007700">-</span><span style="color: #0000BB">IO</span><span style="color: #007700">-</span><span style="color: #0000BB">Compress</span><span style="color: #007700">-</span><span style="color: #0000BB">Bzip2&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">Both CentOS 6 &amp; 7:</span></span><br />
<br />
This is the command to download and install the latest OGP RPM Agent Package:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">wget&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">N&nbsp;</span><span style="color: #DD0000">"https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_agent_rpm-1.0.0-1.noarch.rpm"&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">O&nbsp;</span><span style="color: #DD0000">"ogp_agent.rpm"<br /></span><span style="color: #0000BB">sudo&nbsp;yum&nbsp;install&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #DD0000">"ogp_agent.rpm"&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 6 ProFTPD:</span></span><br />
<br />
This command is to get your FTP Service working (Applies only to CentOS 6):<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;sed&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #DD0000">"s/^LoadModule&#092;(&nbsp;&#092;)*mod_auth_file.c/#LoadModule&nbsp;mod_auth_file.c/g"&nbsp;"/etc/proftpd.conf"<br /></span><span style="color: #0000BB">sudo&nbsp;service&nbsp;proftpd&nbsp;restart&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">Both CentOS 6 &amp; 7:</span></span><br />
<br />
To get your OGP Agent encryption key for the panel you need to run the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_enc_key&nbsp;<br /></span></code></div></div></div>And copy this information on a Notepad (This will be needed to by the OGP Panel).<br />
<br />
To get your OGP User Password for the panel you need to run the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_user_sudo_pass&nbsp;<br /></span></code></div></div></div>And copy this information on a Notepad (This will be needed to by the OGP Panel).<br />
<br />
And lastly your open game panel username is:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">ogp_agent&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Your Open Game Panel Agent has been successfully installed</span> (100% Tested &amp; Working)<br />
<hr class="mycode_hr" />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: medium;" class="mycode_size">Open Game Panel Web Panel Installation:</span></span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 7:</span></span><br />
<br />
Firstly we need to install some prerequisites by running the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;mariadb</span><span style="color: #007700">-</span><span style="color: #0000BB">server<br />sudo&nbsp;service&nbsp;mariadb&nbsp;restart<br />sudo&nbsp;mysql_secure_installation&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">CentOS 6:</span></span><br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;epel</span><span style="color: #007700">-</span><span style="color: #0000BB">release&nbsp;wget&nbsp;subversion&nbsp;git<br />sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;mysql</span><span style="color: #007700">-</span><span style="color: #0000BB">server<br />sudo&nbsp;service&nbsp;mysqld&nbsp;restart<br />sudo&nbsp;mysql_secure_installation<br />sudo&nbsp;chkconfig&nbsp;mysqld&nbsp;on&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">Both CentOS 6 &amp; 7:</span></span><br />
<br />
While the MySQL installing is in progress, you will be prompted to set your root password, and write down the password you use, as you will need it later.<br />
<br />
Now we can download and install the OGP Web Panel by running the following commands:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">wget&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">N&nbsp;</span><span style="color: #DD0000">"https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_panel_rpm-1.0.0-1.noarch.rpm"&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">O&nbsp;</span><span style="color: #DD0000">"ogp_panel.rpm"<br /></span><span style="color: #0000BB">sudo&nbsp;yum&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">y&nbsp;install&nbsp;</span><span style="color: #DD0000">"ogp_panel.rpm"&nbsp;<br /></span></code></div></div></div><br />
It may take 5 - 10 minutes before this step completes<br />
<br />
Run the following command to create a database for your OGP Web Panel software:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;bash&nbsp;</span><span style="color: #007700">/var/</span><span style="color: #0000BB">www</span><span style="color: #007700">/</span><span style="color: #0000BB">html</span><span style="color: #007700">/</span><span style="color: #0000BB">create_db</span><span style="color: #007700">.</span><span style="color: #0000BB">sh&nbsp;<br /></span></code></div></div></div><br />
After running the command above, <span style="font-weight: bold;" class="mycode_b">restart your server!</span> This is very important. If you do NOT restart, you will have problems completing the web installation:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;shutdown&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">r&nbsp;now&nbsp;<br /></span></code></div></div></div><br />
Once your VPS has been successfully restarted, open a browser such as Google Chrome and go to, <a href="http://YourVPSIP" target="_blank" rel="noopener" class="mycode_url">http://YourVPSIP</a>, once you come to the database part run the following command to get the info:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_panel_mysql_info&nbsp;<br /></span></code></div></div></div><br />
And finally get your OGP Agent encryption key (If you didn't copy it in your notepad) by running the following command:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;cat&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">root</span><span style="color: #007700">/</span><span style="color: #0000BB">ogp_enc_key&nbsp;<br /></span></code></div></div></div><br />
If your OGP Web Panel doesn't load on your browser its because of the IPTables firewall issues and run the following command (Applies only for CentOS 6):<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">sudo&nbsp;iptables&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">D&nbsp;INPUT&nbsp;5<br />sudo&nbsp;service&nbsp;iptables&nbsp;save<br />sudo&nbsp;service&nbsp;iptables&nbsp;restart&nbsp;<br /></span></code></div></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Your Open Game Panel Web Panel has been successfully installed </span>(98.3% Tested &amp; Working)<br />
<span style="font-weight: bold;" class="mycode_b">Enjoy Your Newly Installed Panel!</span>]]></content:encoded>
		</item>
	</channel>
</rss>