Most visitors online was 17251 , on 24 May 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Hey someone can explane How can be hacked credits on v1.16.3 F.I Server Is not Opened But Users Can Register and Use They WebPanels , And I See now Some of them hawe Credits but they dont buy any think and dont Vote to! So How they can get credits? :O
HI guys, i have Webzen template for MVCore..
LINK:You must be registered to see links
I'm use SQL 2008 and not connect database
All working...
your need rewrite COLUMN + TABLE right in databasehow to make this site load faster? for this version
someone can upload xampp 1.7.1 Modified V3?
V3? why not use xampp 1.7.7 or higher?
the go-en 1.7.7 and 1.7.3 on plain , you do not need modified version ... . Use calmly 1.7.7 .. =)your need rewrite COLUMN + TABLE right in database
<?php
//ALL CREDITS TO AMIROSLO @ HTTP://HABBOZONE.ORG
//DONT REMOVE CREDIT PLEASE AND SHOW SOME RESPECT!
//EDITED PAYGOL SCRIPT TO WORK WITH FORTUMO
//Probably you have to change this depending on your database connection and files
include("config.php");
//Connect to DB
$connection = mysql_connect($host, $username, $password);
$db= mysql_select_db($dbname);
// check that the request comes from Fortumo server
if(!in_array($_SERVER['REMOTE_ADDR'],
array('81.20.151.38', '81.20.148.122', '79.125.125.1', '209.20.83.207'))) {
header("HTTP/1.0 403 Forbidden");
die("Error: Unknown IP");
}
a
// read the get from system
$sender = $_GET['sender'];//phone num.
$amount = $_GET['amount'];//credit
$payment_id = $_GET['payment_id'];//unique id
$username = $_GET[custom];
$country = $_GET[country];
$currency = $_GET[currency];
$operator = $_GET[operator];
$price = $_GET[price];
//UPDATE to be VIP
$sql = "UPDATE users SET vip = '1' WHERE username = '$username'";
mysql_query($sql);
$days = 30;//Insert subscription for 30 days
$vip_ini = time();
$vip_end = time() + ($days*24*3600);
//Get id of user
$sql = "SELECT id FROM users WHERE username='$username'";
$result= mysql_query($sql);
$row = mysql_fetch_assoc($result);
//user id
$userid = $row[id];
//check first if user exist
$sql = "SELECT user_id, timestamp_expire FROM user_subscriptions WHERE user_id=$userid AND subscription_id='habbo_vip' ORDER BY timestamp_expire DESC LIMIT 1";
$result = mysql_query($sql);
$total_records = mysql_num_rows($result);
if ($total_records>0){
$row = mysql_fetch_assoc($result);
$current_exp = $row['timestamp_expire'];
//if user still have some days with subscription then add the time to his account
if($current_exp > time()){
$vip_end = $vip_end + ($current_exp - time());
}
//delete all recrods in subscriptions table for this user
$sql = "DELETE FROM user_subscriptions WHERE user_id=$userid AND subscription_id='habbo_vip'";
mysql_query($sql);
}
//Insert a new subscription with the corresponding time
$sql = "INSERT INTO user_subscriptions(user_id, subscription_id, timestamp_activated, timestamp_expire) VALUES ($userid, 'habbo_vip', $vip_ini, $vip_end)";
mysql_query($sql);
?>
guys pls re-upload this , link death
You must be registered to see links
You must be registered to see links