Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

SMS Script For Resets [Mobio]

Go down

SMS Script For Resets [Mobio]

Post  m4s4cru on Tue Aug 02, 2011 12:06 pm

Wow i had edited the Evo's SMS Script For zen and i made it for resets i haven't test it .. if someone want to ..

PHP Code:
$item = $_REQUEST["item"];
$fromnum = $_REQUEST["fromnum"];
$extid = $_REQUEST["extid"];

$mobio_remote_addr = "";
$servID = "7362";

$db_serv = '';
$db_user = 'sa';
$db_pass = ' ';
$db_name = 'MuOnline';
$res_to_add = '20;

if($_SERVER['REMOTE_ADDR'] == $mobio_remote_addr) {

$sms_reply = 'Greshka.Spazvaite tochno instrukciite.';
$conn = mssql_connect($db_serv, $db_user, $db_pass);
if($conn) {
$res = mssql_query("SELECT Reset FROM Character WHERE Name='$item'");
if(mssql_num_rows($res)>0) {
mssql_query("UPDATE Character SET Resets=Resets+'$res_to_add' WHERE Name='$item'");
mssql_query("INSERT INTO Character (Name, Reset) VALUES('$item', '$res_to_add')");

$res = mssql_query("SELECT Reset FROM Character WHERE Name='$item");
if(mssql_num_rows($res)>0) {
$row = mssql_fetch_row($res);
$sms_reply = "FeakMu-Vashiqte Resets sa uspeshno zakupeni. Imate {$row[0]} Resets.";

file("$servID&tonum=$fromnum&extid= $extid&message=".urlencode($sms_reply));
This script is For SCF Files .. If id don't work try to change Reset With Resets

SMS Script For Zen By Evo
Edited By eXTenTioN

Mesaje : 172
Data de inscriere : 2011-07-29
Varsta : 27

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum