Rebirth System.

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Rebirth System.

    Self explanatory.

    Drop menu with Character names of the account logged in with. Your player selects one of his characters and hits Rebirth. If Level != 99, return false, else change level to 1 and xp to 0, and throw up 100 coins on his account.

    Credits
    Moi.
    Attached Files Attached Files
    Last edited by Vusion; 27-01-12 at 09:22 PM.


  2. #2
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Rebirth System

    Lol i love the fact i created the rebirth script about a year ago and it's only just been released.
    Freestyle fucking copied me.

  3. #3
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: Rebirth System

    Man there for a second I thought it was rebirth WITHIN the game
    itself, I was getting super hyped.

    nice release all the same ;D

  4. #4
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Rebirth System

    Quote Originally Posted by Joe9099 View Post
    Lol i love the fact i created the rebirth script about a year ago and it's only just been released.
    Freestyle fucking copied me.
    Well, I really never knew so. I just saw many servers bragging about it, but I knew it was just nothing. So, I made one.

  5. #5
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Rebirth System

    Ye it as a feature is too easy to make and sucks, whereas if it was implemented in game to do it automatically or pop asking whether u want to rebirth, now thats a proper system.

    Anyways not judging ur script or anything, just basing it on my opinion gj though.

  6. #6
    Member sart123 is offline
    MemberRank
    Jun 2009 Join Date
    The NetherlandsLocation
    68Posts

    Re: Rebirth System

    Wow amazing release!

    Is there any chance you could implant this into the BlueB website for me?
    http://forum.ragezone.com/f245/blueb-website-747491/

  7. #7
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Rebirth System

    Quote Originally Posted by sart123 View Post
    Wow amazing release!

    Is there any chance you could implant this into the BlueB website for me?
    http://forum.ragezone.com/f245/blueb-website-747491/
    Maybe in my free time, it's a matter of copy pasting.

  8. #8
    Apprentice nehflame is offline
    MemberRank
    Jan 2012 Join Date
    10Posts

    Re: Rebirth System

    Thx 100% work
    Liked.

  9. #9
    Member Aviatorr is offline
    MemberRank
    Aug 2011 Join Date
    72Posts

    Re: Rebirth System

    Quote Originally Posted by Joe9099 View Post
    Lol i love the fact i created the rebirth script about a year ago and it's only just been released.
    Freestyle fucking copied me.
    What can you do..... this shit happens to everyone.

  10. #10
    Member sart123 is offline
    MemberRank
    Jun 2009 Join Date
    The NetherlandsLocation
    68Posts

    Re: Rebirth System

    Quote Originally Posted by Vusion View Post
    Maybe in my free time, it's a matter of copy pasting.
    I thought so but your release has a build in login system and I want it to work with the login system of the BlueB website.

  11. #11
    Apprentice nehflame is offline
    MemberRank
    Jan 2012 Join Date
    10Posts

    Re: Rebirth System

    Quote Originally Posted by sart123 View Post
    I thought so but your release has a build in login system and I want it to work with the login system of the BlueB website.
    just create a shortcut lol

  12. #12
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Rebirth System

    Quote Originally Posted by sart123 View Post
    I thought so but your release has a build in login system and I want it to work with the login system of the BlueB website.
    Get the session name of the username and edit mine, and add it in the templates folder or something. I'll do it right now.
    Last edited by Vusion; 27-01-12 at 03:33 PM.

  13. #13
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: Rebirth System

    Quote Originally Posted by Joe9099 View Post
    Lol i love the fact i created the rebirth script about a year ago and it's only just been released.
    Freestyle fucking copied me.
    FYI, we didn't copy/steal the idea of you. We didn't even know you had such function back those days. (Almost a year ago?)

    We got the idea of CoD MW (some kind of Prestige).

  14. #14
    Apprentice nehflame is offline
    MemberRank
    Jan 2012 Join Date
    10Posts

    Re: Rebirth System

    Quote Originally Posted by SuperWaffle View Post
    FYI, we didn't copy/steal the idea of you. We didn't even know you had such function back those days. (Almost a year ago?)

    We got the idea of CoD MW (some kind of Prestige).
    it exists in the evil gunz more than 2 years

  15. #15
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Rebirth System

    Updated the attachment, I had something wrong with it.

    As for the BlueB thing, here it is:

    templates/template_character.php
    PHP Code:
                <?php
                
    if(!$_SESSION['userid'])
                {
                  die();
                }
                
                
    $value 100;
                
                if(isset(
    $_POST['rebirth']))
                {
                    
    $q mssql_query("SELECT * FROM Character WHERE Name = '".clean($_POST['lul'])."'");
                    if(
    mssql_result($q0'Level') != 99)
                    {
                        
    alert"Character selected is not level 99." );
                        
    //return false;
                    
    }
                    else
                    {
                        
    $q mssql_query("UPDATE Character SET Level = 1, XP = 0 WHERE Name = '".clean($_POST['lul'])."'");
                        
    $q2 mssql_query("UPDATE Account SET Coins = Coins + ".$value."");
                        
                        
    alert"The character ".$_POST['lul']." successfully rebirthed." );
                        
    //return true;
                    
    }
                }
                
    ?>
                <div id="content5">
                    <h1><?php echo $gunzname?> - Character(s)</h1>
                    <p><br />
                        <table border="0" class="charhome">
                            <tr><td class="titlestrong" width="80px">Name</td><td class="titlestrong" width="50px">Level</td><td class="titlestrong" width="80px">EXP</td><td class="titlestrong" width="80px">Kill Count</td><td class="titlestrong" width="90px">Death count</td></tr>
                            <?php $sqlf->getchars($_SESSION['userid']); ?>
                        </table>
                        <p><strong>Change Gender:</strong>
                            <form action="" method="post" class="cgender">
                                <table border="0">
                                    <tr><td>Name:</td> <td><select name="char"><?php $sqlf->getcharscid($_SESSION['userid']); ?></select></td></tr>
                                    <tr><td>To:</td>   <td><select name="gender"><option value="male">Male</option><option value="female">Female</option></select></td></tr>
                                    <tr><td></td>      <td><input type="submit" name="changegender" value="Change" /></td></tr>
                                </table>
                            </form> </p>


                    </p>
                <?php
                
    if($_SESSION['userid'] != "")
                {
                    
    $aid_q mssql_query("SELECT * FROM Account WHERE UserID = '".$_SESSION['userid']."'");
                    
    $aid mssql_result($aid_q0'AID');
                    
                    
    $q mssql_query("SELECT * FROM Character WHERE AID = '".$aid."'");

                    echo 
    "<p><strong>Rebirth a Character:</strong><form method='post' action=''>";
                    echo  
    "<table border='0'><tr><td>Character:</td><td><select name='lul'>";

                    while(
    $fetch mssql_fetch_array($q))
                    {
                        echo 
    "<option value=".$fetch['Name'].">".$fetch['Name']." Lv.".$fetch['Level']."</option>";
                    }

                    echo 
    "</select></td></tr>";
                    echo 
    "<tr><td></td><td><input type='submit' name='rebirth' value='Rebirth' /></td></tr></table>";
                    echo 
    "</form></p>";
                }
                
    ?>
                </div>
    Last edited by Vusion; 27-01-12 at 09:20 PM.



Page 1 of 2 12 LastLast

Advertisement