MFS Team Web 0.5 Free

Page 6 of 7 FirstFirst 1234567 LastLast
Results 76 to 90 of 104
  1. #76
    Valued Member realhunter is offline
    MemberRank
    Apr 2010 Join Date
    109Posts

    Re: MFS Team Web 0.5 Free

    why? its says like this...


    Loading php_gd2.dll Failed!
    Please Enable php_gd2.dll in your php.ini");} $connect = mssql_connect($host,$user,$password); $db = mssql_select_db($database,$connect); if(!$db) die('
    Connection with SQL Server failed!
    '); ?>
    Fatal error: Call to undefined function mssql_query() in C:\xampp\htdocs\config.php on line 87



    i already remove the ; on my php_gd2.dll

    ---------- Post added at 03:56 PM ---------- Previous post was at 03:13 PM ----------

    I already enable my php_gd2.dll but nothings happen site is not working why?

  2. #77

    Re: MFS Team Web 0.5 Free

    There is Add Stats Module but can you make one that will allow players to edit their stats? Like, they can deduct stat points and these points will then be added automatically to their free stat points. tyvm

  3. #78

    Re: MFS Team Web 0.5 Free

    Also, can you post here a simple script that will allow players to view their stats and resets of all their characters after they logged in their account?

    Because right now, there is no way they can see how many resets they got.

  4. #79
    Valued Member omriz1 is offline
    MemberRank
    Dec 2005 Join Date
    129Posts

    Re: MFS Team Web 0.5 Free

    any security holes bro ?
    thanks for sharing

  5. #80
    MFS Team Owner diablo71 is offline
    MemberRank
    Jan 2007 Join Date
    BulgariaLocation
    876Posts

    Re: MFS Team Web 0.5 Free

    Quote Originally Posted by bushwhack_77 View Post
    Also, can you post here a simple script that will allow players to view their stats and resets of all their characters after they logged in their account?

    Because right now, there is no way they can see how many resets they got.
    it cant by the simply metod dont have login panel
    about the security no backdoor scripts

  6. #81

    Re: MFS Team Web 0.5 Free

    Whenever a player resets a character in website, all items in store are lost. How do we fix this?

  7. #82

    Re: MFS Team Web 0.5 Free

    Also, why is it that when I correct the misspelled word "Reachest" to "Richest", weird symbols appear on top.
    Attached Thumbnails Attached Thumbnails website-error.jpg  

  8. #83
    MFS Team Owner diablo71 is offline
    MemberRank
    Jan 2007 Join Date
    BulgariaLocation
    876Posts

    Re: MFS Team Web 0.5 Free

    Quote Originally Posted by bushwhack_77 View Post
    Whenever a player resets a character in website, all items in store are lost. How do we fix this?
    check config.php clear_skills, clear_inv
    $reset_clear_inv = "no"; // Clear Inventory after reset
    $reset_clear_skill = "no"; // Clear Skills after reset

    about the screenshot dont have any problem if you had changed something then you got this problem, by default everything works

  9. #84

    Re: MFS Team Web 0.5 Free

    1. config.php is currently set at "no", "no" but still items on store are lost while items in inventory are intact.

    2. i simply replaced "ea" with "i". sir, maybe you can repost the file or the code for hall.php with the corrected word.

    tyvm.

  10. #85
    MFS Team Owner diablo71 is offline
    MemberRank
    Jan 2007 Join Date
    BulgariaLocation
    876Posts

    Re: MFS Team Web 0.5 Free

    here is fix for you:
    open: _inc/mfs_class.php
    find: function reset_character()
    replace the function with this:
    Code:
    function reset_character()
    {
    global $resetmoney;
    global $resvid;
    global $bonus_points;
    global $reset_clear_inv;
    global $reset_clear_skill;
    global $max_resove;
    global $resetlevel;
    
    $character = secure($_POST['character']);
    $account = secure($_POST['login']);
    $password = secure($_POST['password']);
    
    check_inject();
    
    $query = mssql_query("Select clevel,resets,money,leveluppoint from Character where Name='$character'");
    $row = mssql_fetch_row($query);
    
    $newmoney = $row[2]-$resetmoney;
    $newresets = $row[1] + 1;
    
    if($row[1] >= 1) { $newpoints = $row[1] * $bonus_points; }
    
    $newleveluppoints = $row[3] + $bonus_points;
    
    $queryaccount = mssql_query("Select * from MEMB_INFO where memb___id='$account'");
    $accountcheck = mssql_num_rows($queryaccount);
    
    $queryonline = mssql_query("Select * from MEMB_STAT where memb___id='$account' and connectstat='1'");
    $onlinecheck = mssql_num_rows($queryonline);
    
    $querypassword = mssql_query("Select * from MEMB_INFO where memb___id='$account' and memb__pwd='$password'");
    $passwordcheck = mssql_num_rows($querypassword);
    
    $querychar = mssql_query("Select * from Character where Name='$character'");
    $charcheck = mssql_num_rows($querychar);
    
    if(empty($character) or empty($account) or empty($password)) { echo"<font color='red'>You cannot leave any fields blank!</font><br>"; $error=1; }
    elseif($accountcheck <= 0) { echo"<font color='red'>Your Login does not exist in our database. Please go back and try again!</font><br>"; $error=1; }
    elseif($passwordcheck <= 0) { echo"<font color='red'>Your Password does not exist in our database. Please go back and try again!</font><br>"; $error=1; }
    elseif($charcheck <= 0) { echo"<font color='red'>Your Character does not exist in our database. Please go back and try again!</font><br>"; $error=1; }
    else
    {
    if($newmoney < 0) { echo"<font color='red'>Character $character dones not have enough money to reset!</font><br>"; $error=1;}
    if($row[0] < $resetlevel) { echo"<font color='red'>Character $character must be $resetlevel in order to reset!</font><br>"; $error=1;}
    if($newresets > $max_resove) { echo"<font color='red'>Character $character is maximum resets!</font><br>"; $error=1;}
    if($onlinecheck  >= 1) { echo"<font color='red'>Account $account is online!Please LogOff First!</font><br>"; $error=1;}
    
    if($error != 1)
    {
    echo"<font color='green'>Character $character has been succesfully restarted.</font><br>";
    
    if($resvid == keep)
    {
    $a = mssql_query("Update Character Set Money='$newmoney',clevel='1',Experience='0',Resets='$newresets' where name='$character'");
    }
    elseif($resvid == bonus)
    {
    $a = mssql_query("Update Character Set Money='$newmoney',clevel='1',Experience='0',Resets='$newresets',LevelUpPoint='$newpoints' where name='$character'");
    }
    elseif($resvid == reset)
    {
    $a = mssql_query("Update Character Set Strength='25',Dexterity='25',Vitality='25',Energy='25' ,Money='$newmoney',clevel='1',Experience='0',Resets='$newresets',LevelUpPoint='$newpoints' where name='$character'");
    }
    if($reset_clear_inv == yes) { $b = mssql_query("UPDATE Character set Inventory=CONVERT(varbinary(1080), null) WHERE Name='$character'"); }
    if($reset_clear_skill == yes) { $c = mssql_query("Update Character set magiclist= CONVERT(varbinary(60), null) WHERE Name='$character'"); }
    }
    }
    }
    now should work normal & tested on 97d-1.0L works perfect, should work on new versions as well

  11. #86
    Apprentice MadMan1 is offline
    MemberRank
    Mar 2011 Join Date
    6Posts

    Re: MFS Team Web 0.5 Free

    i have problem i use xampp 1.7.3 /season 3 file problem:
    Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\config.php on line 87

  12. #87
    Enthusiast BambaVirus is offline
    MemberRank
    Oct 2009 Join Date
    ISRLocation
    30Posts

    Re: MFS Team Web 0.5 Free

    oh ..
    i download this web by MFS forum ,
    well i work some times on it ,
    was fixed ranking *
    added char search
    added top 5 chars;guild , where launguge .
    and i dont remmber what more ..
    added some security functions ,
    anyway,
    love ya MFS :)

  13. #88

    Re: MFS Team Web 0.5 Free

    @bambavirus -- maybe you can share the scripts here. It would be very helpful im sure.

  14. #89

    Re: MFS Team Web 0.5 Free

    Does this work on Windows Server 2003 Web Edition? I get the error "Connection with SQL Server failed!"

  15. #90
    Enthusiast guemebr123 is offline
    MemberRank
    Feb 2006 Join Date
    TurkeyLocation
    38Posts

    Re: MFS Team Web 0.5 Free

    Good site thanks...


    _________________________________________________



Page 6 of 7 FirstFirst 1234567 LastLast

Advertisement