Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] Stammeslimit v1.0
#1
Hallo Jungs & Mädels,

ich habe eine weitere Toolanfrage in meinem Toolservice-Thread bekommen und diese sofort umgesetzt. Ich finde die Idee persönlich gut und auch sehr sinnvoll.
Es geht um einen Stammeslimit, bei dem ihr in der Config einstellen könnt, wie viele Mitglieder in einen Stamm dürfen.
Dies ist natürlich auch ausschaltbar.

Installation:
1. Entpacken!
2. Dateien in die richtigen Verzeichnisse kopieren.
3. Fertig Smile

Features:
- Mitgliederlimit der Stämme in der Config einstellbar
- Fehlernachricht wird beim Annehmen der Einladung ausgegeben (falls der Stamm natürlich voll ist).
- Falls kein Mitgliederlimit gesetzt werden möchte, auch ausschaltbar.

Download:
Version 1.0 [Download]
[Image: download-1762.png]

Viel Spaß,
Yannici

PS: Verbesserungsvorschläge und Feedback bitte posten.
Manchmal denke ich:
Reply
#2
Sehr nett von dir Wink Ab in die AiO^^
Wenn ich dir helfen konnte, bewerte mich doch bitte!

Manche Leute sagen, 20 Stunden am Tag Tetris zu summen wäre verrückt, ich frage mich nur wieso...


Reply
#3
kannste villt paar screenshots machen?
aber echt gut, auch von der zeit her xD
Keine Sigi sonst Stress
Reply
#4
Ja das script ist der hammerSmile was vllt noch gut wäre wäre das man nur die anzahl auch einladen kann also das beim einladen die nachricht kommt
[Image: 5gkoc8pq.png]
Reply
#5
thanx man
Fatal error: Call to a member function on a non-object in F:\Tribal wars\Server\htdocs\world2\templates_c\%%BB^BBC^BBC63A06%%game_ally_no_ally.tpl.php on line 3
Reply
#6
Try to clean templates c..
[Image: 5gkoc8pq.png]
Reply
#7
i clean templates_C but nothing
have to stick something in phpmyadmin?
Reply
#8
and cache also?? if that doesn´t work I don´t know what is wrong by me it works
[Image: 5gkoc8pq.png]
Reply
#9
what version tribal wars?
Reply
#10
I use version 1.4 maybe it is only written for that version
[Image: 5gkoc8pq.png]
Reply
#11
ok

i try for version 1.4
Reply
#12
Than it must work I think...
[Image: 5gkoc8pq.png]
Reply
#13
for version 1.4 Work Thanks
Reply
#14
This is only works for v1.4!!
(21.12.2010, 15:10)ledewram Wrote: Ja das script ist der hammerSmile was vllt noch gut wäre wäre das man nur die anzahl auch einladen kann also das beim einladen die nachricht kommt

Fände ich etwas unsinnig, da man ja vllt. so viel Member wie möglich einladen will, aber halt dann nur bestimmte Anzahl annehmen kann.
Manchmal denke ich:
Reply
#15
Mhm okay meine ja nur weil es bei sds runden auch so ist..Wink Naja auch so ist es genialSmile
[Image: 5gkoc8pq.png]
Reply
#16
geil, dass du das so schnell fertig gemacht hast Big Grin
Ein missglückter Versuch eines Saltos von einem Pferd Big Grin
-Sir! Wir sind umzingelt!
-Ausgezeichnet, jetzt können wir in jeder Richtung angreifen.
Reply
#17
Man, your script is messy for god sake, why didn't you put in the game_ally_no_ally.tpl a simple if right after the <h2 class="error">{$error}</h2>:

Quote:{php}if ($_GET["err"] == "limit_reached") {
echo '<h2 class="error">Tribe has reached the members limit !</h2>';
}{/php}

And in the ally_no_ally.php right at the begining:
Quote:<?php
$village = $_GET[village];
//copy here the bullshit from his code with $er1 and $er2 or sth like that.
include("include/config.php");
if ($_GET[action] == "accept") {
if ($er2[members] >= $config[ally_limit]) {
die(header("game.php?village".$village."&screen=ally&err=limit_reached"));
}
}

This way you will block the frauding, because if i modify the link from the accept button from action=acc to action=accept i tricked ur script.

Just try to do good things from the first try.
Have fun and enjoy my code remake. (works for every version you want.)
Reply
#18
please create this code for other version please
Reply
#19
It's already for all version dumb romanian.

Don't expect us to give you "mura in gura" Smile)
Reply
#20
Oh damn, not the romanian guys ..

aber gute arbeit Smile
Confusednob:
Reply




Users browsing this thread: 1 Guest(s)