• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Request-move character to other world

Kudzu

Active Member
Joined
Apr 9, 2008
Messages
512
Reaction score
38
Location
localhost
I see in one site faniaots.pl moving character. How I can add that same in my acc maker?
 
Code:
if (!$_POST)
{
	echo "<form method=\"post\" action=\"".$_SERVER['PHP_SELF']."\">
		Player Name:
		<br />
		<input type=\"text\" name=\"player\" />
		<br /><br />
		<input type=\"submit\" name=\"Change world to #2.\" />
		</form>";
}
else
	mysql_query("UPDATE `players` SET `world_id` = 2 WHERE `name` = '".$_POST['player']."';");
 
I have done first page:
Code:
		<h1>Przenoszenie Postaci</h1>Ten system także znajduje się tylko na naszym serwerze! Na tej stronie po zalogowaniu będziesz mógł przenieść postać pomiędzy światami.<br/>
<br/>
Ograniczenia ogólne:
<ul>
<li>Jeden gracz może przenieść się raz na 1 miesiąc</li>
<li>Koszt transferu wynosi 500 punktów premium</li>
<li>Postać nie może mieć red skulla, ani black skulla</li>
<li>Przed transferem postać musi porzucić dom</li>
<li>Wszystkie depozyty zostaną opróżnione</li>

<li>Status konta bankowego, skille oraz questy zostaną również przeniesione na nowy serwer</li>
</ul>
<br/>
Ograniczenia przedmiotów:
<ul>
<li>Razem z postacią będziesz mógł zabrać 1.000 przedmiotów. <b>Wszystkie należy zostawić na postaci.</b> Proszę pamiętać, że przedmioty w "kupce" np. cc są liczone pojedyńczo. Jeśli limit zostanie osiągnięty, wszystkie inne przedmioty zostaną usunięte</li>
<li>Wiele itemów ma limit 1 na postać. Wlicza się w to wartościowy ekwipunek, np. 1 Dragon Scale Mail itp.</li>
<li>Udoskonalone bronie (enchanted) zostaną usunięte</li>
</ul>

<br/><br/>
<br/><br/><form action="?subtopic=world-transfer&action=movecharacter" method="post" ><div class="TableContainer" >  <table class="Table3" cellpadding="0" cellspacing="0" >    <div class="CaptionContainer" >      <div class="CaptionInnerContainer" ><span class="CaptionEdgeLeftTop" style="background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);" /></span><span class="CaptionEdgeRightTop" style="background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);" /></span><span class="CaptionBorderTop" style="background-image:url(layouts/tibiacom/images/content/table-headline-border.gif);" ></span><span class="CaptionVerticalLeft" style="background-image:url(layouts/tibiacom/images/content/box-frame-vertical.gif);" /></span><div class="Text" >Przenoszenie Postaci</div>        <span class="CaptionVerticalRight" style="background-image:url(layouts/tibiacom/images/content/box-frame-vertical.gif);" /></span><span class="CaptionBorderBottom" style="background-image:url(layouts/tibiacom/images/content/table-headline-border.gif);" ></span><span class="CaptionEdgeLeftBottom" style="background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);" /></span><span class="CaptionEdgeRightBottom" style="background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);" /></span></div>    </div><tr>      <td>        <div class="InnerTableContainer" >          <table style="width:100%;" ><tr><td><div class="TableShadowContainerRightTop" >  <div class="TableShadowRightTop" style="background-image:url(layouts/tibiacom/images/content/table-shadow-rt.gif);" ></div></div><div class="TableContentAndRightShadow" style="background-image:url(layouts/tibiacom/images/content/table-shadow-rm.gif);" >  
				<div class="TableContentContainer" ><table class="TableContent" width="100%" ><tr class="LabelH" ><td style="width:50%;" >
				<span >Name</td><td style="width:50%;" >
				<span >Premium Points</td></tr><tr class="Even" ><td>

				<input id="charname" name="charname" value="" size="50" maxlength="49" >
				<BR><font size="1" face="verdana,arial,helvetica"><div id="name_check">Please enter your character name.</div></font></td>
				<td>
				<font color="red"><b>BŁĄD, masz za mało punktów: 0/500.</b></font></td>
				</tr></table></div></div></table></div>   <div class="InnerTableContainer" >          <table style="width:100%;" ><tr><td><div class="TableShadowContainerRightTop" >  <div class="TableShadowRightTop" style="background-image:url(layouts/tibiacom/images/content/table-shadow-rt.gif);" ></div></div><div class="TableContentAndRightShadow" style="background-image:url(layouts/tibiacom/images/content/table-shadow-rm.gif);" >  
				<div class="TableContentContainer" ><table class="TableContent" width="100%" >
				
				<tr class="LabelH">

				<td><b>Świat docelowy</b></td><td><b>Location</b></td><td><b>Additional Information</b></td></tr><tr class="Even"><td><input type="radio" name="gameworld" value="1"> World One</td><td><center>FR <img src="flags/fr.png"/></td><td><center>PvP</center></td></tr><tr class="Even"><td><input type="radio" name="gameworld" value="2"> World Two</td><td><center>FR <img src="flags/fr.png"/></td><td><center>Non-PvP</center></td></tr></table></div></div></td></tr></table></div>
				
				</table></div></td></tr><br/><table style="width:100%;" ><tr align="center" ><td><table border="0" cellspacing="0" cellpadding="0" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url(layouts/tibiacom/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit22" alt="Submit" src="layouts/tibiacom/images/buttons/_sbutton_submit.gif" ></div></div></td><tr></form></table></td><td><table border="0" cellspacing="0" cellpadding="0" ><form action="?subtopic=accountmanagement" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url(layouts/tibiacom/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Back" alt="Back" src="layouts/tibiacom/images/buttons/_sbutton_back.gif" ></div></div></td></tr></form></table></td></tr></table><br/>
<div align="right">Copyright &copy; <a href="http://otibia.net">otland.net</a>, Kudzu.</div>

       </div>
      </div>
    </div>

What next?
 
Hope it works...
PHP:
<?php echo "<h1>Przenoszenie Postaci</h1>Ten system takze znajduje sie tylko na naszym serwerze! Na tej stronie po zalogowaniu bedziesz mógl przeniesc postac pomiedzy swiatami.<br />
<br />
Ograniczenia ogólne:
<ul>
<li>Jeden gracz moze przeniesc sie raz na 1 miesiac</li>
<li>Koszt transferu wynosi 500 punktów premium</li>
<li>Postac nie moze miec red skulla, ani black skulla</li>
<li>Przed transferem postac musi porzucic dom</li>
<li>Wszystkie depozyty zostana opróznione</li>

<li>Status konta bankowego, skille oraz questy zostana równiez przeniesione na nowy serwer</li>
</ul>
<br />
Ograniczenia przedmiotów:
<ul>
<li>Razem z postacia bedziesz mógl zabrac 1.000 przedmiotów. <b>Wszystkie nalezy zostawic na postaci.</b> Prosze pamietac, ze przedmioty w \"kupce\" np. cc sa liczone pojedynczo. Jesli limit zostanie osiagniety, wszystkie inne przedmioty zostana usuniete</li>
<li>Wiele itemów ma limit 1 na postac. Wlicza sie w to wartosciowy ekwipunek, np. 1 Dragon Scale Mail itp.</li>
<li>Udoskonalone bronie (enchanted) zostana usuniete</li>
</ul>

<br /><br />
<br /><br />";
if (!$_POST)
{
echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\" ><div class=\"TableContainer\" >  <table class=\"Table3\" cellpadding=\"0\" cellspacing=\"0\" >    <div class=\"CaptionContainer\" >      <div class=\"CaptionInnerContainer\" ><span class=\"CaptionEdgeLeftTop\" style=\"background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);\" /></span><span class=\"CaptionEdgeRightTop\" style=\"background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);\" /></span><span class=\"CaptionBorderTop\" style=\"background-image:url(layouts/tibiacom/images/content/table-headline-border.gif);\" ></span><span class=\"CaptionVerticalLeft\" style=\"background-image:url(layouts/tibiacom/images/content/box-frame-vertical.gif);\" /></span><div class=\"Text\" >Przenoszenie Postaci</div>        <span class=\"CaptionVerticalRight\" style=\"background-image:url(layouts/tibiacom/images/content/box-frame-vertical.gif);\" /></span><span class=\"CaptionBorderBottom\" style=\"background-image:url(layouts/tibiacom/images/content/table-headline-border.gif);\" ></span><span class=\"CaptionEdgeLeftBottom\" style=\"background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);\" /></span><span class=\"CaptionEdgeRightBottom\" style=\"background-image:url(layouts/tibiacom/images/content/box-frame-edge.gif);\" /></span></div>    </div><tr>      <td>        <div class=\"InnerTableContainer\" >          <table style=\"width:100%;\" ><tr><td><div class=\"TableShadowContainerRightTop\" >  <div class=\"TableShadowRightTop\" style=\"background-image:url(layouts/tibiacom/images/content/table-shadow-rt.gif);\" ></div></div><div class=\"TableContentAndRightShadow\" style=\"background-image:url(layouts/tibiacom/images/content/table-shadow-rm.gif);\" >  
				<div class=\"TableContentContainer\" ><table class=\"TableContent\" width=\"100%\" ><tr class=\"LabelH\" ><td style=\"width:50%;\" >
				<span >Name</td><td style=\"width:50%;\" >
				<span >Premium Points</td></tr><tr class=\"Even\" ><td>

				<input id=\"charname\" name=\"charname\" value=\"\" size=\"50\" maxlength=\"49\" >
				<br /><font size=\"1\" face=\"verdana,arial,helvetica\"><div id=\"name_check\">Please enter your character name.</div></font></td>
				<td>
				<font color=\"red\"><b>BLAD, masz za malo punktów: 0/500.</b></font></td>
				</tr></table></div></div></table></div>   <div class=\"InnerTableContainer\" >          <table style=\"width:100%;\" ><tr><td><div class=\"TableShadowContainerRightTop\" >  <div class=\"TableShadowRightTop\" style=\"background-image:url(layouts/tibiacom/images/content/table-shadow-rt.gif);\" ></div></div><div class=\"TableContentAndRightShadow\" style=\"background-image:url(layouts/tibiacom/images/content/table-shadow-rm.gif);\" >  
				<div class=\"TableContentContainer\" ><table class=\"TableContent\" width=\"100%\" >
				
				<tr class=\"LabelH\">

				<td><b>Swiat docelowy</b></td><td><b>Location</b></td><td><b>Additional Information</b></td></tr><tr class=\"Even\"><td><input type=\"radio\" name=\"gameworld\" value=\"1\"> World One</td><td><center>FR <img src=\"flags/fr.png\"/></td><td><center>PvP</center></td></tr><tr class=\"Even\"><td><input type=\"radio\" name=\"gameworld\" value=\"2\"> World Two</td><td><center>FR <img src=\"flags/fr.png\"/></td><td><center>Non-PvP</center></td></tr></table></div></div></td></tr></table></div>
				
				</table></div></td></tr><br /><table style=\"width:100%;\" ><tr align=\"center\" ><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" ><tr><td style=\"border:0px;\" ><div class=\"BigButton\" style=\"background-image:url(layouts/tibiacom/images/buttons/sbutton.gif)\" ><div onMouseOver=\"MouseOverBigButton(this);\" onMouseOut=\"MouseOutBigButton(this);\" ><div class=\"BigButtonOver\" style=\"background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);\" ></div><input class=\"ButtonText\" type=\"image\" name=\"Submit22\" alt=\"Submit\" src=\"layouts/tibiacom/images/buttons/_sbutton_submit.gif\" ></div></div></td><tr></form></table></td><td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" ><form action=\"?subtopic=accountmanagement\" method=\"post\" ><tr><td style=\"border:0px;\" ><div class=\"BigButton\" style=\"background-image:url(layouts/tibiacom/images/buttons/sbutton.gif)\" ><div onMouseOver=\"MouseOverBigButton(this);\" onMouseOut=\"MouseOutBigButton(this);\" ><div class=\"BigButtonOver\" style=\"background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);\" ></div><input class=\"ButtonText\" type=\"image\" name=\"Back\" alt=\"Back\" src=\"layouts/tibiacom/images/buttons/_sbutton_back.gif\" ></div></div></td></tr></form></table></td></tr></table><br />
				";}
				else
	mysql_query("UPDATE `players` SET `world_id` = 2 WHERE `name` = '".$_POST['player']."';");
echo "<div align=\"right\">Copyright &copy; <a href=\"http://otibia.net\">otland.net</a>, Kudzu.</div>

       </div>
      </div>
    </div>" ?>

Fixed your HTML mistakes.
Added the PHP script by Chojrak.
Converted from .HTML to .PHP.
 
Last edited:
Still nothing :(

127ac94848424768.jpg

Look here:FaniaOTS.pl - Przenoszenie postaci
 
Back
Top