Character Problem

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! -Rob3r- is offline
    MemberRank
    Oct 2006 Join Date
    RomaniaLocation
    525Posts

    Character Problem

    I select buton for created character i type name etc...



    And i press ok ....


    Help me please
    Last edited by -Rob3r-; 27-01-07 at 01:51 PM.


  2. #2
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts
    um...you press ok...then what? cant login?
    no closth(thats nomal)? what?

  3. #3
    Account Upgraded | Title Enabled! -Rob3r- is offline
    MemberRank
    Oct 2006 Join Date
    RomaniaLocation
    525Posts
    all armor she's disaparead (srry for very bad english)

  4. #4
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts
    thats a bug no one has fixed yet

  5. #5
    Member pahapoisu is offline
    MemberRank
    Jan 2007 Join Date
    56Posts
    just go to shop and buy new ones...whats so hard in it?

  6. #6
    Proficient Member jer0m3 is offline
    MemberRank
    Nov 2005 Join Date
    Sky?Heaven?Paradise?Location
    162Posts
    Lol that was normal...because the default starting char was not modified...

  7. #7
    Account Upgraded | Title Enabled! MackInTosh is offline
    MemberRank
    Nov 2004 Join Date
    339Posts
    Figure it out, and rewrite your remove proc so it updates CharIndex

    Code:
    function charIndex($name)
    {
    	$query = mssql_query("SELECT AID FROM Character WHERE Name ='".$name."'");
    	$aid = mssql_fetch_row($query);
    	
    	// Walk through Character list and fix CharIndex's
    	$query = mssql_query("SELECT * FROM Character WHERE AID='".$aid[0]."'");
    	$num = mssql_num_rows($query);
    	
    		
    	// Approx. time for CharIndex fix 0.01 seconds
    	for($i = 0; $i < $num; ++$i)
    	{
    		$result = mssql_fetch_array($query);
    		mssql_query("UPDATE Character SET CharIndex = $i WHERE Name = '".$result['Name']."'");
    	}
    }



Advertisement