• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Modern AAC] Delete Chars From WEbsite

Wartio

Any game ideas?
Joined
Apr 2, 2010
Messages
457
Reaction score
29
Location
Sweden
I have Modern AAC Set up perfect. Everything works magically beautiful. Only problem is, when I log into my account, and try to delete all these test chars I have made, it doesn't delete them from the account or the database. When I log into the game, the deleted chars don't show up. But I want to be able to delete them on the website AND the database. so when I player decides to delete a character from there account, I want all traces of that character removed. Any help?
 
Do this:

1- Goto C:\xampp\htdocs\system\application\models

2- Find
Code:
publicfunction deletePlayer($id){
$this->db->update('players', array('deleted'=>1), array('id'=> $id));}

3- Change for this
Code:
publicfunction deletePlayer($id){
//$this->db->update('players', array('deleted' => 1), array('id' => $id));
$this->db->delete('players', array('id'=> $id));}
 
Back
Top