[Req] Script Request

gunur

New Member
Joined
Aug 27, 2008
Messages
5
Reaction score
0
I want a script to BattleZone website, which give credits for the webshop when i RESET my char.i tryed with script from muweb 0.8,but not results.TNX
 
I want a script to BattleZone website, which give credits for the webshop when i RESET my char.i tryed with script from muweb 0.8,but not results.TNX
PHP:
$broikrediti='5';



                           $character_check = $db->Execute("SELECT Name FROM Character WHERE Name=? and AccountID=?",array($charactername,$loginid)); 
                           $character_check_ = $character_check->numrows();
                           $online_check = $db->Execute("SELECT ConnectStat FROM MEMB_STAT WHERE memb___id=?",array($loginid));
                           $row2 = $online_check->fetchrow();

                           $result = $db->Execute("Select Clevel,Resets,Money,LevelUpPoint,class From Character where Name=?",array($charactername));
                           $row = $result->fetchrow();
               $kredit= mssql_query("select credits from memb_credits where memb___id='$loginid'");
               $krediti = mssql_fetch_row($kredit);


                           $resetup=$row[1] + (1);
                           $resetmoeny=$row[2]-($muweb['resetmoney']);
                           $resetpt=$row[3] + ($muweb['resetpoints']);
                           $resetpt1=$muweb['resetpoints'] * ($row[1] + 1);
               $novikrediti=$krediti[0] + ($broikrediti);
               $dobavikrediti="Update memb_credits set credits='$novikrediti' where memb___id='$loginid'";
 
should i create another .php file? or just insert this right away to the reset.php or doreset.php. i read the thread about this but i cant understand cuz i dont know bulgarian language. please help ;c