My name is Dr-Batcher and i have developed a little faction change for One Ultimate actually i work for new webpage faction change with new choise faction
My script is easy for using and easy to code
you copy this in your indexInternal.es?action=internalStart for exemple
// Dr-Batcher script for instant change faction ( temporaly script )
PHP Code:
<form name="firmchange" action="firmchange.php?factionId=1&playerID=<?php echo $Users->DataRow['playerID']; ?>" method="post">
<input type="submit" value=" MMO "/></form><br>
<form name="firmchange" action="firmchange.php?factionId=2&playerID=<?php echo $Users->DataRow['playerID']; ?>" method="post">
<input type="submit" value=" EIC "/></form><br>
<form name="firmchange" action="firmchange.php?factionId=3&playerID=<?php echo $Users->DataRow['playerID']; ?>" method="post">
<input type="submit" value=" VRU "/></form><br>
and your create firmchange.php with this code
PHP Code:
<?php
require('config.php');
function do_alert($msg){
echo '<script type="text/javascript">alert("' . $msg . '"); </script>';
}
mysql_connect($dbhost, $dbuser, $password)or error("Could not connect: ".mysql_error());
mysql_select_db($dbname) or error(mysql_error());
$sql = mysql_query("UPDATE server_1_players SET factionId='".$_REQUEST["factionId"]."' where playerID='".$_REQUEST["playerID"]."'");
if($sql)
{
echo do_alert("Faction is changed when not contact Dr-Batcher Good Game");
}
header("Location: indexInternal.es?action=internalStart");
?>
Dr-Batcher New php developper for One Ultimate






