You are not logged in.

Dear visitor, welcome to Manu-Admin-Mod Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Hool

Cheff von der ganzen sache hier

  • "Hool" started this thread

Posts: 906

Location: Versmold

Occupation: IT Techniker

Thanks: 4

  • Send private message

1

Monday, June 14th 2010, 1:38am

Release: Version 0.11.2 beta

Hi,

Heute Nacht noch ein Release des ManuAdminMods 0.11.2 Beta^^
Changes:
  • Fixed: !skip-Nachricht wurde angezeigt, obwohl das Mapvote-Plugin deaktiviert war
  • Fixed: Fehlende ConfigVar [voting]allowsetnextmap
  • Improved: Codeverbesserung in der voting.php
  • Added: !vote hardcore
  • Added: default.rcon
  • Added: Command !getip
  • Fixed: Crash bei vielen PB-Ban-Einträgen
  • Added: [voting]ignoremapchange, [voting]timelimit, [voting]allowhardcore
  • Added: Die neue Version der TCP Console "1.1"
Neue Version der TCP Console:
  • Added: Neue Version "1.1"
  • Fixed: Crash im "Chat" Tab

Download:
Zum Download des Mam´s
Download der TCP Console v1.1: ManuAdminMod_TCPConsole_Setup.exe

Bugs am besten sofort melden da Manu heute in den Urlaub fährt^^
Ich glaube 1 Woche wenn ich mich nicht irre


Dennis

ManuAdminMod.de Staff

Posts: 3,503

Location: Augsburg

Occupation: Schüler

Thanks: 13

  • Send private message

2

Monday, June 14th 2010, 5:23am

Danke für den Release! Nur ... mit der Console wird bei der anderen Version jetzt keiner mehr durchblicken ...
Was ist der Unterschied zwischen der offiziellen 1.1 und der inoffiziellen 1.2.1 die es hier im Forum gibt, abgesehen davon, dass die eine .NET Framework 4.0 braucht?

Luk

Professional

Posts: 580

Location: Essen

Thanks: 4

  • Send private message

3

Monday, June 14th 2010, 6:10am

Nice one, gleich einbauen xD

poker4ace

Beginner

Posts: 44

Location: Bei Frankfurt am Main

Occupation: Schüler

  • Send private message

4

Monday, June 14th 2010, 6:12am

Es wird mindestend das .NET Framework 3.5 benötigt...
In der 1.2.1 wurde hauptsächlich Verbesserungen im Code vorgenommen die die Stabilität verbessern und weniger Ressourcen benötigt...
Naja und halt kleine kleine Bugfixes - wie Manus bekanntes "Are you sHure?" - mit H xD

Frazze

Trainee

Posts: 107

Thanks: 3

  • Send private message

5

Monday, June 14th 2010, 12:59pm

Super ding! Werde es gleich testen :P
Sehe im code aber bei !getip nirgends das diese irgendwo in einer Textdatei gespeichert wird? Werde es aber gleich einfach testen :P
Aber cool das es doch noch eingeführt wurde, auch wenn ich in der Zwischenzeit schon lange bei mir dafür gesorgt hatte :D


EDIT:
ok, habs mal getestet. !getip sollte noch den letzten schliff bekommen :P

Gibt man einfach nur !getip ein, so meint der mod den befehl gäbe es nicht (command not found)
Gibt man !help getip ein das selbe
Gibt man !getip NICK/PLAYER_ID ein, so funktioniert er zwar, die IP wird allerdings nirgends gespeichert :\


So habe ich das gelöst bis jetzt:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
public function getip($guid, $parameters) {
            // made by [MDM]Adam with pleasure :D
            if (!empty($parameters[0])) {
            $target = $parameters[0];
        }

            //get playerlist by rcon
            $list = $this->mod->rconRcon("status");

            $list = explode("\n", $list);

            foreach ($list as $value) {
                    $pattern = '#^\s*(\d+)\s+(-?\d+)\s+(\d+)\s+([a-fA-F0-9]{32}|\d+) (.+?)\s+(\d+) (\d+\.\d+\.\d+\.\d+):(\-?\d+)\s+(\-?\d+)\s+(\d+)$#';
                    // 1:PID 2:score 3:ping 4:guid 5:name 6:lastmsg 7:IP 8:port 9:qport 10:rate
                    if (preg_match($pattern, $value, $subpatterns)) {
                            if ($target == $subpatterns[1]){
                                    $filename = "ips.txt";
                                    $file = fopen($filename, 'a');
                                    $msg= "( Name: ".$subpatterns[5].", IP: ".$subpatterns[7].", GUID: ".$subpatterns[4]." ) ";
                                    fwrite($file, $msg);
                                    fwrite($file,"\n");
                                    fclose($file);
                                    $this->players[$guid]->say("IP for PID: ".$target.", Name: ".$subpatterns[5]." were written into the file.");
                            }
                    }
            }
    }


Dabei wurde der nick, die guid und die ip in der textdatei "ips.txt" gespeichert, sodass man auch nachträglich und einfahcer ohne sich die ip aufschreiben zu müssen handeln kann ;)



EDIT 2:
Um eine help message bei !getip anzeigen zu lassen einfach in /languages/en/help/basic.lng das hier an das ende einfügen

Source code

1
getip  	= "getip PID|PART_OF_NICK ^2displays and saves the IP adress of a player"

(muss natürlich jeder für sich anpassen, außerdem speichert !getip bis jetzt ja die ip's nicht... werde das glaube ich selber tun wenns Manu nicht macht ;) )

This post has been edited 2 times, last edit by "Frazze" (Jun 14th 2010, 1:38pm)


Dennis

ManuAdminMod.de Staff

Posts: 3,503

Location: Augsburg

Occupation: Schüler

Thanks: 13

  • Send private message

6

Monday, June 14th 2010, 3:52pm

Es wird mindestend das .NET Framework 3.5 benötigt...
In der 1.2.1 wurde hauptsächlich Verbesserungen im Code vorgenommen die die Stabilität verbessern und weniger Ressourcen benötigt...
Naja und halt kleine kleine Bugfixes - wie Manus bekanntes "Are you sHure?" - mit H xD


Bei deinem verlangt er von mir die Installation von 4.0, sonst kann ich net starten ...

poker4ace

Beginner

Posts: 44

Location: Bei Frankfurt am Main

Occupation: Schüler

  • Send private message

7

Monday, June 14th 2010, 4:55pm

O.o welche OS haste denn?

Dennis

ManuAdminMod.de Staff

Posts: 3,503

Location: Augsburg

Occupation: Schüler

Thanks: 13

  • Send private message

8

Monday, June 14th 2010, 5:12pm

Windows 7 Enterprise 64-Bit.

Steffen

Trainee

Posts: 69

  • Send private message

9

Monday, June 14th 2010, 8:04pm

Wunderbar

Hallo

Dankeschön für "ignoremapchange" :dankeschoen: , jetzt können wir die Abstimmungen endlich bei S&Z nutzen.
Also der erste fix funktioniert, nur hatte ich jetzt nochmal Probiert diese Abstimmung zu nutzen. Leider kam es zu einem kleinen Problem: http://screenshot.xfire.com/s/99199591-4.jpg
Kann es sein das man wenn man alleine auf dem Server ist das Abstimmen nicht funktioniert?
Ihr müsstet mal noch das Wiki erstellen und "vmap" in die group Liste einfügen.

Schön wäre es wenn es eine Liste geben würde wo die Dateien die verändert wurden sind Aufgelisted sind. Ich vergleiche so immer die Dateien die ich verändert hab ;) .

MfG Steffen

:clickme:

mirko911

Intermediate

Posts: 228

Location: Niederfischbach

Occupation: Schüler

Thanks: 3

  • Send private message

10

Monday, June 14th 2010, 8:05pm

direkt Laden und implementieren.

^^ Was war mit Manus "are you sHure?" kann mir das mal jemand erklären? :-) :muhahaha:

Luk

Professional

Posts: 580

Location: Essen

Thanks: 4

  • Send private message

11

Monday, June 14th 2010, 10:12pm

Soo, Adminmod ist nun auf allen Servern, mal schauen wie lang das hält :D

Frazze

Trainee

Posts: 107

Thanks: 3

  • Send private message

12

Tuesday, June 15th 2010, 2:10pm

Für alle die !getip mit einer zusätzlichen Funktion haben möchten die die IP auch in eine Textdatei loggt, hier was zum einfügen in die Datei "basiccommands.php" im /plugins Verzeichnis:

Der Code muss an das Ende der !getip Funktion angehängt werden. Sollte klappen, bei mir gehts ;)

Source code

1
2
3
4
5
6
7
8
9
10
11
$playerNick = $this->players[$player]->getName();

        	$day = date("d.m.Y");
        	$timestamp = date("H:i:s");

        	$msg = "[ $timestamp-$day ]***[ IP: $ip ]***[ GUID: $player ]***[ Nick: $playerNick ]";
        	$filename = "ips.txt";
        	$file = fopen($filename, 'a');
        	fwrite($file, $msg);
        	fwrite($file,"\n");
        	fclose($file);

Dennis

ManuAdminMod.de Staff

Posts: 3,503

Location: Augsburg

Occupation: Schüler

Thanks: 13

  • Send private message

13

Tuesday, June 15th 2010, 2:32pm

direkt Laden und implementieren.

^^ Was war mit Manus "are you sHure?" kann mir das mal jemand erklären? :-) :muhahaha:


Einfacher Tippfehler in der Konsole, meiner Meinung nach *g*
Nein, eine Liste geänderter Dateien bzw. Update-Pakete gibts nicht, Updaten geht nur per Ersetzen aller Dateien das MAMs.

Frazze

Trainee

Posts: 107

Thanks: 3

  • Send private message

14

Tuesday, June 15th 2010, 3:34pm

!skip bei

Source code

1
2
3
[mapvote]
enabled = 1
type 2



tut immer noch nicht richtig.
Aufgefallen ist:

-Die !nextmap anzeige weißt plötzlich schreibfehler IM mapnamen auf!!! z.b. aus "Apesgorod" wird dann "aesgorod"
-Die message zum skippen der nexten map war einfach leer, d.h. es tauchten nur "()" auf ohne map drinne

This post has been edited 1 times, last edit by "Frazze" (Jun 15th 2010, 3:35pm)


Steffen

Trainee

Posts: 69

  • Send private message

15

Tuesday, June 15th 2010, 3:44pm

Also ich hab das heute nochmal in Ruhe getestet und es gibt einen Fehler bei dem setzen der nächsten Karte.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ÿÿÿÿprint
map_rotate...

"sv_mapRotation" is:"gametype sd map mp_broadcast gametype sd map mp_strike gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_citystreets gametype sd map mp_overgrown gametype sd map mp_strike gametype sd map mp_backlot gametype sd map mp_vacant gametype sd map mp_crash gametype sd map mp_crossfire"

"sv_mapRotationCurrent" is:"gametype  map overgrown"

Setting g_gametype: map.
Unknown keyword 'overgrown' in sv_mapRotation.
No map specified in sv_mapRotation - forcing map_restart.
g_gametype map is not a valid gametype, defaulting to dm
==== ShutdownGame (0) ====
------- Game Initialization -------
gamename: Call of Duty 4
gamedate: Jun 28 2008

Ich hab mich immer gewundert warum der nur die Karte neustartet und dann hab ichs mal über miniadmin3 gemacht und bekam das als Antwort.
Hier noch 2 nette Bilder:
http://screenshot.xfire.com/s/99237421-4.jpg
http://screenshot.xfire.com/s/99237440-4.jpg

:clickme:

Frazze

Trainee

Posts: 107

Thanks: 3

  • Send private message

16

Wednesday, June 16th 2010, 8:31pm

In deiner server.cfg befindet sich aber hoffentlich nicht:

Source code

1
sv_mapRotationCurrent" gametype  map overgrown"


???
Das wäre falsch, da müsste dann wenigstends noch ein gametype (z.b.: sd oder war oder dm etc.) nach "gametype" angegeben sein.



Könntest auch mal näher erläutern was du gemacht hast, was passiert ist und so weiter, damit man mal ein "Gesamtbild" deines Problems bekommt ;)

Steffen

Trainee

Posts: 69

  • Send private message

17

Wednesday, June 16th 2010, 9:09pm

Also das kommt so vom MAM!
Der Quellcode oben ist ein map_rotate Befehl den ich über miniadmin gesendet hab, direkt nach dem ich den Server zu Bild 2 verlassen hab. Das Problem ist das er beim mapvote immer die Karte neustartete und das scheint der Fehler dazu zu sein. Der Befehl setnextmap schien in dem Moment "gametype map overgrown" an den Server gesendet zu haben. Ausserdem kann man gut erkennen das die Kartenvorschläge nicht untereinander verglichen werden was zu einer doppelten Nennung führt.
Ich dachte die Bilder sagen mehr als 1000 Worte ;)

Source code

1
2
3
4
5
6
7
8
9
10
11
[mapvote]
enabled = 1
type = 1
mapcount = 3
duration = 200
announce = 40
maps = "backlot,strike,crash,crossfire,farm,citystreets,convoy,overgrown,showdown,vacant,broadcast,carentan,pipeline"
gametypes = "sd"
notlastmaps = 4
notlastgt = 0
votestoskip = "60%"

So sieht die entsprechende Stelle in meiner cfg aus, sollte kein Fehler aufweisen. Einzige Veränderung die ich vorgenommen hab ist den Zeilenumbruch bei Zeile 148 zu entfernen, das blockiert mir den mod zu sehr.

Source code

1
$mapstr = implode("", $mapstr);

Und die Textausgabe als solches, hab mir ne deutsch-englische Ausgabe geschrieben.
Ich hoffe das beantwortet deine Fragen.

So hier noch der Teil aus der mod.log
15200:54 [15.06.10 16:08:04] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/mapvote.php:254 => Undefined offset: 0
15200:54 [15.06.10 16:08:04] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/mapvote.php:254 => Undefined offset: 0
15200:54 [15.06.10 16:08:04] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/mapvote.php:254 => Undefined offset: 0
15200:54 [15.06.10 16:08:05] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Server successfully added
15202:20 [15.06.10 16:09:27] Notice: Player 'neXt|Steffen' executed command: 'nextmap', PID: 0, GUID: 48...ac
15202:20 [15.06.10 16:09:28] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15203:52 [15.06.10 16:10:58] Notice: Next map / map restart
15203:52 [15.06.10 16:10:58] Notice: RCON connection established (89.163.162.50:21000)
15203:52 [15.06.10 16:10:58] Notice: Current map: mp_strike (sd)
15203:52 [15.06.10 16:11:01] Notice: Updated teamnames (usmc vs. arab)
15203:52 [15.06.10 16:11:01] Notice: Config loaded: maps/default.cfg
15203:52 [15.06.10 16:11:01] Notice: Executing: maps/default.rcon
15203:52 [15.06.10 16:11:02] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Server successfully added
15203:52 [15.06.10 16:11:25] Notice: Set Dvar sv_maprotationcurrent to 'gametype map pipeline'
15204:34 [15.06.10 16:11:40] Notice: Player 'neXt|Steffen' executed command: 'nextmap', PID: 0, GUID: 48...ac
15204:34 [15.06.10 16:11:41] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15204:54 [15.06.10 16:12:00] Notice: Player 'neXt|Steffen' executed command: 'maprotate', PID: 0, GUID: 48...ac
15204:54 [15.06.10 16:12:01] Notice: Map was rotated
15204:54 [15.06.10 16:12:01] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15204:55 [15.06.10 16:12:02] Notice: Next map / map restart
15204:55 [15.06.10 16:12:02] Notice: RCON connection established (89.163.162.50:21000)
15204:55 [15.06.10 16:12:02] Notice: Current map: mp_strike (dm)
15204:55 [15.06.10 16:12:05] Notice: Updated teamnames (usmc vs. arab)
15204:55 [15.06.10 16:12:05] Notice: Config loaded: maps/default.cfg
15204:55 [15.06.10 16:12:05] Notice: Executing: maps/default.rcon
15204:55 [15.06.10 16:12:06] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Server successfully added
15205:29 [15.06.10 16:12:34] Notice: Player 'neXt|Steffen' executed command: 'maprotate', PID: 0, GUID: 48...ac
15205:29 [15.06.10 16:12:36] Notice: Map was rotated
15205:29 [15.06.10 16:12:36] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15205:29 [15.06.10 16:12:36] Notice: Next map / map restart
15205:29 [15.06.10 16:12:36] Notice: RCON connection established (89.163.162.50:21000)
15205:29 [15.06.10 16:12:36] Notice: Current map: mp_broadcast (sd)
15205:29 [15.06.10 16:12:39] Notice: Updated teamnames (usmc vs. arab)
15205:29 [15.06.10 16:12:39] Notice: Config loaded: maps/default.cfg
15205:29 [15.06.10 16:12:39] Notice: Executing: maps/default.rcon
15205:29 [15.06.10 16:12:39] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/mapvote.php:254 => Undefined offset: 0
15205:29 [15.06.10 16:12:39] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/mapvote.php:254 => Undefined offset: 0
15205:29 [15.06.10 16:12:39] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/mapvote.php:254 => Undefined offset: 0
15205:29 [15.06.10 16:12:40] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Server successfully added
15205:45 [15.06.10 16:12:50] Notice: Player 'neXt|Steffen' executed command: 'nextmap', PID: 0, GUID: 48...ac
15205:45 [15.06.10 16:12:52] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15206:04 [15.06.10 16:13:09] Notice: Player 'neXt|Steffen' executed command: 'vmap 2', PID: 0, GUID: 48...ac
15206:04 [15.06.10 16:13:10] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15207:52 [15.06.10 16:14:57] Notice: Player 'neXt|Steffen' executed command: 'nextmap', PID: 0, GUID: 48...ac
15207:52 [15.06.10 16:14:58] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15208:27 [15.06.10 16:15:32] Notice: Next map / map restart
15208:27 [15.06.10 16:15:32] Notice: RCON connection established (89.163.162.50:21000)
15208:27 [15.06.10 16:15:32] Notice: Current map: mp_broadcast (sd)
15208:27 [15.06.10 16:15:35] Notice: Updated teamnames (usmc vs. arab)
15208:27 [15.06.10 16:15:35] Notice: Config loaded: maps/default.cfg
15208:27 [15.06.10 16:15:35] Notice: Executing: maps/default.rcon
15208:27 [15.06.10 16:15:36] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Server successfully added
15208:27 [15.06.10 16:16:00] Notice: Set Dvar sv_maprotationcurrent to 'gametype map overgrown'
15208:27 [15.06.10 16:16:50] Notice: Banner message was sent: ^2Nächste Karte ist (^7next map is^2): ^4Broadcast^2!
15209:51 [15.06.10 16:16:56] Notice: Player 'neXt|Steffen' executed command: 'nextmap', PID: 0, GUID: 48...ac
15209:51 [15.06.10 16:16:57] PHP-Error: Notice in home/gameserver/servers/89.163.162.50_21000/cod4/adminmod/plugins/chatlog.php:9 => Undefined variable: chatlog_fp
15210:05 [15.06.10 16:17:11] Notice: Player 'neXt|Steffen' quit, PID: 0, GUID: 48...ac
15210:36 [15.06.10 16:17:41] Notice: Next map / map restart
15210:36 [15.06.10 16:17:41] Notice: RCON connection established (89.163.162.50:21000)
15210:36 [15.06.10 16:17:41] Notice: Current map: mp_broadcast (dm)
15210:36 [15.06.10 16:17:44] Notice: Updated teamnames (usmc vs. arab)
15210:36 [15.06.10 16:17:44] Notice: Config loaded: maps/default.cfg
15210:36 [15.06.10 16:17:44] Notice: Executing: maps/default.rcon
15210:36 [15.06.10 16:17:45] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Server successfully added
15210:36 [15.06.10 16:26:52] Notice: Banner message was sent: ^2Nächste Karte ist (^7next map is^2): ^4Broadcast^2!
15221:22 [15.06.10 16:28:28] Notice: Next map / map restart


Wobei diese Zeile das Problem zeigt

15208:27 [15.06.10 16:16:00] Notice: Set Dvar sv_maprotationcurrent to 'gametype map overgrown'


:clickme:

This post has been edited 1 times, last edit by "Steffen" (Jun 17th 2010, 4:59pm)


Dennis

ManuAdminMod.de Staff

Posts: 3,503

Location: Augsburg

Occupation: Schüler

Thanks: 13

  • Send private message

18

Saturday, June 19th 2010, 12:53pm

Querverlinkung für Manu:
http://www.manuadminmod.de/forum/index.p…10768#post10768

Bugsammel-Thread der Community.

manu

Entwickler

Posts: 1,376

Location: Hösbach

Occupation: Schüler

Thanks: 10

  • Send private message

19

Sunday, June 20th 2010, 6:48am

Läuft auf dem Server immer nur ein Gamemode? Dann hab ich den Fehler hoffentlich endlich gefunden...
Außerdem fehlt bei den Maps überall das mp_ vorne dran
War mein Post für dich hilfreich? Dann bedanke dich bitte mithilfe des Buttons "Bedanken". Danke ;)



CoD 4 Mapcycle-Generator
Meine Website

Steffen

Trainee

Posts: 69

  • Send private message

20

Sunday, June 20th 2010, 9:19am

ja nur Suchen&Zerstören

:clickme:

Similar threads