Since loads of people are asking about it, I'll post it here.
To get the skull and frags remover to work, you need to change the sql query in shopsystem.php
1. Go into shopsystem.php, find the line where the remove-skull sql query is. In widnet's fixed v6 it's on line 584. Search for this:
2. Now, delete that line and add those those two lines instead:
The first line removes the frags, and the second line removes the skull. So you can use both or just one of them
Works well on TFS 0.3.5, 0.3.6 and 0.4
PS. If you can't find the sql-query code, then search for this line:
and you will se the $SQL->query a few lines below.
Edit: Sorry, I forgot to mention that the character needs to be offline, else the skull remover wont work, just the frags.
To get the skull and frags remover to work, you need to change the sql query in shopsystem.php
1. Go into shopsystem.php, find the line where the remove-skull sql query is. In widnet's fixed v6 it's on line 584. Search for this:
PHP:
$SQL->query('UPDATE players SET redskull=0, redskulltime=0 WHERE id='. $my_acc_id .';');
2. Now, delete that line and add those those two lines instead:
PHP:
$SQL->query('UPDATE killers SET unjustified=0 WHERE id IN (SELECT kill_id FROM player_killers WHERE player_id='. $my_acc_id .');');
$SQL->query('UPDATE players SET skulltime=0, skull=0 WHERE id='. $my_acc_id .';');
Works well on TFS 0.3.5, 0.3.6 and 0.4
PS. If you can't find the sql-query code, then search for this line:
PHP:
elseif($buy_offer['type'] == 'redskull')
Edit: Sorry, I forgot to mention that the character needs to be offline, else the skull remover wont work, just the frags.
Last edited: