AdminMod.de https://www.adminmod.de/ |
|
2 user gleiche ip = mp_forcechasecam 2 https://www.adminmod.de/viewtopic.php?t=4527 |
Seite 3 von 3 |
Autor: | aRved [ 22.01.2003, 00:20 ] |
Betreff des Beitrags: | |
jaja also bei mir läuft alles echt super nur scheisse is das die chasecam jez immer auf 2 is, da meistens immer 2 ausem gleichen lan bei uns daddeln....*diebeidenzusammenschreihengeh* Also ich kann mich nur nochmal bedanken |
Autor: | DarkEyes1 [ 25.01.2003, 20:55 ] |
Betreff des Beitrags: | |
MIST, geht doch net... oder nur bei mir net? |
Autor: | DarkEyes1 [ 28.01.2003, 13:36 ] |
Betreff des Beitrags: | |
hmm, brauche ein feedback, ob es bei anderen funktioniert... ich hab mal gesehen, dass die einstellung von 0 auf 2 vorgenommen wurde... ich hab mir gemerkt wer das war und mit erlaubnis den einen gekickt... wurde aber nicht wieder auf 0 umgestellt... oder geht das bei admin_kick net? müsste doch trotzdem gehen, oder? |
Autor: | Tarnschaf [ 28.01.2003, 13:53 ] |
Betreff des Beitrags: | |
So habs mal bei mir drauf geworfen und muss sagen das es auch ned funzt Er schmiert zwar nicht ab. gibt aber auch keine message aus, komischer weise aber die forcecahsecam auf 2 |
Autor: | Rinde [ 28.01.2003, 15:21 ] |
Betreff des Beitrags: | |
kann jemand mal hiermit die logs n bisschen vollspammen? /edith: bitte gezielt ausprobieren und nicht einfach so laufern lassen, ich hab keinen bock hundert seiten logs durchzugehen Code: /********************************************************* * An IP monitoring plugin - Version 0.8 * ********************************************************* * * * Name: plugin_rindy_chasecam * * Author: Rinde (rinde@fiatnox.de) * * Released: 28/01/03 * * * * * * Version 0.8 * * * * - Initial release * * * *********************************************************/ /* Includes */ #include <plugin> #include <adminlib> /* Constants */ #define MAX_IP_LENGTH 22 #define DEBUG 1 /* Function Declarations */ forward csay(Text[MAX_TEXT_LENGTH]); /* Global Variables */ new g_Version[] = "0.8"; new g_LANID[MAX_PLAYERS]; new g_IDs; new g_Enabled; /* Event Handlers */ public plugin_init() { plugin_registerinfo("Rindes Forcechasecam Plugin","Sets mp_forcechasecam to 2 when players with the same ip are playing",g_Version); return PLUGIN_CONTINUE; } public plugin_connect(HLUserName,HLIP,UserIndex) { new UserName[MAX_NAME_LENGTH]; new Name[MAX_NAME_LENGTH]; new UserIP[MAX_IP_LENGTH]; new IP[MAX_IP_LENGTH]; new Text[MAX_TEXT_LENGTH]; new maxplayers = maxplayercount(); new i; convert_string(HLIP,UserIP,MAX_IP_LENGTH); if(strrchr(UserIP,':') != -1) UserIP[strrchr(UserIP,':')] = 0; #if DEBUG == 1 new Logtext[MAX_TEXT_LENGTH]; snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) User connected, index %i, IP %s",UserIndex,UserIP); log(Logtext); #endif for(i=1;i<=maxplayers;i++) { if(playerinfo(i,Name,MAX_NAME_LENGTH) == 1 && i != UserIndex) { get_userIP(Name,IP,MAX_IP_LENGTH); if(strrchr(IP,':') != -1) IP[strrchr(IP,':')] = 0; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Checking User %s, index %i, IP %s",Name,i,IP); log(Logtext); #endif if(strcmp(UserIP,IP) == 0) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) IP match: Users %i and %i, IPs %s and %s",UserIndex,i,UserIP,IP); log(Logtext); #endif if(g_LANID[i] == 0) { g_IDs++; g_LANID[i] = g_IDs; g_LANID[UserIndex] = g_IDs; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Set LANID of players %i and %i to %i",UserIndex,i,g_IDs); log(Logtext); #endif } else { g_LANID[UserIndex] = g_LANID[i]; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Player %i already playing in LAN %i, adding player %i",i,g_LANID[i],UserIndex); log(Logtext); #endif } if(g_Enabled == 0) { g_Enabled = 1; setstrvar("mp_forcechasecam","2"); convert_string(HLUserName,UserName,MAX_NAME_LENGTH); snprintf(Text,MAX_TEXT_LENGTH,"%s and %s are playing from the same LAN, mp_forcechasecam thus was set to 2",UserName,Name); csay(Text); #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Set mp_forcechasecam to 2"); log(Logtext); } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Didn't set mp_forcechasecam, already set"); log(Logtext); #endif } #if DEBUG == 1 i = 0; #endif break; } } } #if DEBUG == 1 if(i == 0) { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) No match found for player %i",UserIndex); log(Logtext); } #endif return PLUGIN_CONTINUE; } public plugin_disconnect(HLUserName,UserIndex) { new UserName[MAX_NAME_LENGTH]; new Text[MAX_TEXT_LENGTH]; new maxplayers = maxplayercount(); new i,j,k,l; #if DEBUG == 1 new Logtext[MAX_TEXT_LENGTH]; snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) User disconnected, index %i, LANID %i",UserIndex,g_LANID[UserIndex]); log(Logtext); #endif if(g_Enabled == 1 && g_LANID[UserIndex] != 0) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Starting search"); log(Logtext); #endif for(i=1;i<=maxplayers;i++) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Checking player %i, LANID %i",i,g_LANID[i]); log(Logtext); #endif if(i == UserIndex) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Canceled checking, player %i is disconnecting.",i); log(Logtext); #endif continue; } else if(g_LANID[UserIndex] == g_LANID[i]) { j++; k = i; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Match: Player %i is in same LAN (%i) as player %i, %i total",i,g_LANID[i],UserIndex,j); log(Logtext); #endif } else if(g_LANID != 0) { l++; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Player %i is in another LAN (%i), %i total",i,g_LANID[i],l); log(Logtext); #endif } } #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Finished checking, found %i players on LAN %i, %i others",j,g_LANID[UserIndex],l); log(Logtext); #endif g_LANID[UserIndex] = 0; if(j == 1) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Player %i is the only player in LAN %i",k,g_LANID[k]); log(Logtext); #endif g_LANID[k] = 0; if(l == 0) { g_Enabled = 0; setstrvar("mp_forcechasecam","0"); convert_string(HLUserName,UserName,MAX_NAME_LENGTH); snprintf(Text,MAX_TEXT_LENGTH,"%s disconnected, mp_forcechasecam thus was set back to 0",UserName); csay(Text); #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) No more LAN players found, setting mp_forcechasecam to 0"); log(Logtext); } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) %i LAN players still were found, proceeding",l); log(Logtext); #endif } #if DEBUG == 1 } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) LAN %i still has %i players, proceeding",g_LANID[k]); log(Logtext); #endif } #if DEBUG == 1 } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Skipping search, not mp_forcechasecam od LANID of %i is 0",UserIndex); log(Logtext); #endif } return PLUGIN_CONTINUE; } csay(Text[MAX_TEXT_LENGTH]) { new Name[MAX_NAME_LENGTH]; new maxplayers = maxplayercount(); new i; #if DEBUG == 1 log(Text); #endif for(i=1;i<=maxplayers;i++) { if(playerinfo(i,Name,MAX_NAME_LENGTH) == 1) { messageex(Name,Text,print_pretty); } } } |
Autor: | DarkEyes1 [ 02.02.2003, 21:17 ] |
Betreff des Beitrags: | |
FUNZT NET... hab mal die logs gezogen... zuerst hat er auch auf 2 gestellt... Code: N] (plugin_chasecam) User connected, index 12, IP 81.57.195.11 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User GoKu, index 1, IP 217.81.35.182 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User team-utf.DarkEyes, index 2, IP 217.229.229.179 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User nisse, index 3, IP 217.210.5.183 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User n00b, index 4, IP 80.137.82.159 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User E!nzocken, index 5, IP 80.131.87.220 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User CoNeL, index 6, IP 217.210.5.183 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User du, index 7, IP 80.137.217.112 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User ich bin du, index 8, IP 80.132.61.80 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User R3dFox, index 9, IP 80.132.25.200 L 02/02/2003 - 20:51:15: [ADMIN] (plugin_chasecam) Checking User |3AnAnE, index 10, IP 217.84.138.219dann aber nicht wieder zurück.... Code: L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) User disconnected, index 3, LANID 1 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Starting search L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 1, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 1 is in another LAN (0), 1 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 2, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 2 is in another LAN (0), 2 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 3, LANID 1 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Canceled checking, player 3 is disconnecting. L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 4, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 4 is in another LAN (0), 3 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 5, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 5 is in another LAN (0), 4 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 6, LANID 1 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Match: Player 6 is in same LAN (1) as player 3, 1 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 7, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 7 is in another LAN (0), 5 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 8, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 8 is in another LAN (0), 6 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 9, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 9 is in another LAN (0), 7 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 10, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 10 is in another LAN (0), 8 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 11, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 11 is in another LAN (0), 9 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Checking player 12, LANID 0 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 12 is in another LAN (0), 10 total L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Finished checking, found 1 players on LAN 1, 10 others L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) Player 6 is the only player in LAN 1 L 02/02/2003 - 20:55:46: [ADMIN] (plugin_chasecam) 10 LAN players still were found, proceeding L 02/02/2003 - 20:55:46: "nisse<886><******><TERRORIST>" disconnecteddanach ist nichts mehr von forcechasecam zu finden in den logs... erst wieder hier: Code: L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) User connected, index 3, IP 217.227.51.60 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User GoKu, index 1, IP 217.81.35.182 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User team-utf.DarkEyes, index 2, IP 217.229.229.179 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User n00b, index 4, IP 80.137.82.159 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User E!nzocken, index 5, IP 80.131.87.220 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User CoNeL, index 6, IP 217.210.5.183 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User :, index 7, IP 80.137.217.112 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User ich bin du, index 8, IP 80.132.61.80 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User R3dFox, index 9, IP 80.132.25.200 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User |3AnAnE, index 10, IP 217.84.138.219 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User ~[*Ss*]~> OrAnGiN@* *7*, index 11, IP 81.48.158.17 L 02/02/2003 - 20:56:04: [ADMIN] (plugin_chasecam) Checking User ~[*Ss*]~>Pl@yeR?3, index 12, IP 81.57.195.11 L 02/02/2003 - 20:56:04: Server cvar "public_slots_free" = "0.000000"danach esrt wieder wenn einer disconnectet: Code: 20:56:25: [ADMIN] (plugin_chasecam) User disconnected, index 6, LANID 0 L 02/02/2003 - 20:56:25: [ADMIN] (plugin_chasecam) Skipping search, not mp_forcechasecam od LANID of 6 is 0 |
Autor: | Rinde [ 03.02.2003, 00:42 ] |
Betreff des Beitrags: | |
ok, vielen dank, ich denke jetzt könnte es langsam funktionieren, lange genug probiert habe ichs ja /edith: im normalen betrieb vor dem compilen DEBUG auf 0 setzen... Code: /********************************************************* * An IP monitoring plugin - Version 0.8 * ********************************************************* * * * Name: plugin_rindy_chasecam * * Author: Rinde (rinde@fiatnox.de) * * Released: 28/01/03 * * * * * * Version 0.8 * * * * - Initial release * * * *********************************************************/ /* Includes */ #include <plugin> #include <adminlib> /* Constants */ #define MAX_IP_LENGTH 22 #define DEBUG 1 /* Function Declarations */ forward csay(Text[MAX_TEXT_LENGTH]); /* Global Variables */ new g_Version[] = "0.8"; new g_LANID[MAX_PLAYERS]; new g_IDs; new g_Enabled; /* Event Handlers */ public plugin_init() { plugin_registerinfo("Rindes Forcechasecam Plugin","Sets mp_forcechasecam to 2 when players with the same ip are playing",g_Version); return PLUGIN_CONTINUE; } public plugin_connect(HLUserName,HLIP,UserIndex) { new UserName[MAX_NAME_LENGTH]; new Name[MAX_NAME_LENGTH]; new UserIP[MAX_IP_LENGTH]; new IP[MAX_IP_LENGTH]; new Text[MAX_TEXT_LENGTH]; new maxplayers = maxplayercount(); new i; convert_string(HLIP,UserIP,MAX_IP_LENGTH); if(strrchr(UserIP,':') != -1) UserIP[strrchr(UserIP,':')] = 0; #if DEBUG == 1 new Logtext[MAX_TEXT_LENGTH]; snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) User connected, index %i, IP %s",UserIndex,UserIP); log(Logtext); #endif for(i=1;i<=maxplayers;i++) { if(playerinfo(i,Name,MAX_NAME_LENGTH) == 1 && i != UserIndex) { get_userIP(Name,IP,MAX_IP_LENGTH); if(strrchr(IP,':') != -1) IP[strrchr(IP,':')] = 0; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Checking User %s, index %i, IP %s",Name,i,IP); log(Logtext); #endif if(strcmp(UserIP,IP) == 0) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) IP match: Users %i and %i, IPs %s and %s",UserIndex,i,UserIP,IP); log(Logtext); #endif if(g_LANID[i] == 0) { g_IDs++; g_LANID[i] = g_IDs; g_LANID[UserIndex] = g_IDs; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Set LANID of players %i and %i to %i",UserIndex,i,g_IDs); log(Logtext); #endif } else { g_LANID[UserIndex] = g_LANID[i]; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Player %i already playing in LAN %i, adding player %i",i,g_LANID[i],UserIndex); log(Logtext); #endif } if(g_Enabled == 0) { g_Enabled = 1; setstrvar("mp_forcechasecam","2"); convert_string(HLUserName,UserName,MAX_NAME_LENGTH); snprintf(Text,MAX_TEXT_LENGTH,"%s and %s are playing from the same LAN, mp_forcechasecam thus was set to 2",UserName,Name); csay(Text); #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Set mp_forcechasecam to 2"); log(Logtext); } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Didn't set mp_forcechasecam, already set"); log(Logtext); #endif } #if DEBUG == 1 i = 0; #endif break; } } } #if DEBUG == 1 if(i == 0) { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) No match found for player %i",UserIndex); log(Logtext); } #endif return PLUGIN_CONTINUE; } public plugin_disconnect(HLUserName,UserIndex) { new UserName[MAX_NAME_LENGTH]; new Text[MAX_TEXT_LENGTH]; new maxplayers = maxplayercount(); new i,j,k,l; #if DEBUG == 1 new Logtext[MAX_TEXT_LENGTH]; snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) User disconnected, index %i, LANID %i",UserIndex,g_LANID[UserIndex]); log(Logtext); #endif if(g_Enabled == 1 && g_LANID[UserIndex] != 0) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Starting search"); log(Logtext); #endif for(i=1;i<=maxplayers;i++) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Checking player %i, LANID %i",i,g_LANID[i]); log(Logtext); #endif if(i == UserIndex) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Canceled checking, player %i is disconnecting.",i); log(Logtext); #endif continue; } else if(g_LANID[UserIndex] == g_LANID[i]) { j++; k = i; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Match: Player %i is in same LAN (%i) as player %i, %i total",i,g_LANID[i],UserIndex,j); log(Logtext); #endif } else if(g_LANID[i] != 0) { l++; #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Player %i is in another LAN (%i), %i total",i,g_LANID[i],l); log(Logtext); #endif } } #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Finished checking, found %i players on LAN %i, %i others",j,g_LANID[UserIndex],l); log(Logtext); #endif g_LANID[UserIndex] = 0; if(j == 1) { #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Player %i is the only player in LAN %i",k,g_LANID[k]); log(Logtext); #endif g_LANID[k] = 0; if(l == 0) { g_Enabled = 0; setstrvar("mp_forcechasecam","0"); convert_string(HLUserName,UserName,MAX_NAME_LENGTH); snprintf(Text,MAX_TEXT_LENGTH,"%s disconnected, mp_forcechasecam thus was set back to 0",UserName); csay(Text); #if DEBUG == 1 snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) No more LAN players found, setting mp_forcechasecam to 0"); log(Logtext); } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) %i LAN players still were found, proceeding",l); log(Logtext); #endif } #if DEBUG == 1 } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) LAN %i still has %i players, proceeding",g_LANID[k]); log(Logtext); #endif } #if DEBUG == 1 } else { snprintf(Logtext,MAX_TEXT_LENGTH,"(plugin_chasecam) Skipping search, not mp_forcechasecam od LANID of %i is 0",UserIndex); log(Logtext); #endif } return PLUGIN_CONTINUE; } csay(Text[MAX_TEXT_LENGTH]) { new Name[MAX_NAME_LENGTH]; new maxplayers = maxplayercount(); new i; #if DEBUG == 1 log(Text); #endif for(i=1;i<=maxplayers;i++) { if(playerinfo(i,Name,MAX_NAME_LENGTH) == 1) { messageex(Name,Text,print_pretty); } } } |
Autor: | DarkEyes1 [ 03.02.2003, 20:06 ] |
Betreff des Beitrags: | |
funzt jetzt, bloss falsch rum.... hehe, wenn einer connectet wird se auf 0 gesetzt, wenn einer disconnectet dann auf 2.... hmmm, aber wohl nur wenn einer es vorher verstellt hat, oder? das plugin checkt die einstellung, bevor es ne einstellung macht? ausserdem kommt in den logs die anzeigen 7 oder mehr mal: Code: L 02/03/2003 - 20:05:37: Server cvar "mp_forcechasecam" = "0" L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 kann man die anzeige auch etwas länger stehen lassen? die ist immer so schnell weg... man kann gar nicht lesen, wer von lan spielt und was gemacht wurde... (wenn man es nicht weiss) scheint aber zu funzen... Code: L 02/03/2003 - 20:05:37: Kick: "-=PoD|Trooper|F1=-<256><*******><>" was kicked by "Console" L 02/03/2003 - 20:05:37: Server cvar "mp_forcechasecam" = "0" L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: [ADMIN] (messageex) -=PoD|Trooper|F1=- disconnected, mp_forcechasecam thus was set back to 0 L 02/03/2003 - 20:05:37: Server cvar "public_slots_free" = "2.000000" L 02/03/2003 - 20:05:37: "-=PoD|Trooper|F1=-<256><*****><CT>" disconnected |
Autor: | Rinde [ 04.02.2003, 17:28 ] |
Betreff des Beitrags: | |
wie falschrum? in den logs steht doch: L 02/03/2003 - 20:05:37: Server cvar "mp_forcechasecam" = "0" L 02/03/2003 - 20:05:37: "-=PoD|Trooper|F1=-<256><*****><CT>" disconnected ist doch richtig so? dass der text 7 oder mehr mal in den logs erscheint ist absicht. der text wird für jeden spieler seperat ausgegeben, und messageex loggt nunmal mit. ich benutze messageex, da centersay nur maximal 80 zeichen verträgt. das problem haben wir schon auf seite 2 oder so erörtert. wenn es euch nichts ausmacht kann ich es auf typesay umstellen. da kann man die frabe wählen, hat keine längenbegrenzung, und man kann die zeit wählen, wo es angezeigt wird. nur, ich finde csay schicker |
Autor: | DarkEyes1 [ 04.02.2003, 19:06 ] |
Betreff des Beitrags: | |
finde ich auch schicker, ist bloss zu kurz... kann es kaum lesen... is ja auch egal... nee, die logs sind, wo es wieder funzt... es hatte vorher andersrum funktioniert... ich such nochmal die logs raus.... (ps.: hast nen tipp für mich, welches ftp-programm ist den gut?) |
Autor: | Rinde [ 04.02.2003, 21:44 ] |
Betreff des Beitrags: | |
also ich benutze cuteFTP, aber das nicht so gut finde ich. kann nur 2000 dateien in einem ordner anzeigen, scheiss0 wenn man logs runterladen will |
Autor: | [WING] Black Knight [ 05.02.2003, 10:39 ] |
Betreff des Beitrags: | |
Bist Du sicher, dass es Dein Client ist?. Bei uns war das mal der Gameserveranbieter, der es auf 2000 Einträge limitiert hat. |
Autor: | Rinde [ 05.02.2003, 17:35 ] |
Betreff des Beitrags: | |
ach kA, auf jedenfall gings nicht wie es sollte |
Autor: | Tarnschaf [ 06.02.2003, 13:06 ] |
Betreff des Beitrags: | |
benutzr den Smart FTP und damit zufrieden! |
Autor: | DarkEyes1 [ 08.02.2003, 16:50 ] |
Betreff des Beitrags: | |
so, ausführlich getestet... funzt ohne probs... wollte ich nur mal loswerden... PS.: nutze jetzt PSFTP Free |
Autor: | [-=THH=-]Stillsetzhut [ 10.02.2003, 10:22 ] |
Betreff des Beitrags: | |
FlashFXP und bei uns funzt es auch. |
Autor: | DarkEyes1 [ 08.03.2003, 11:44 ] |
Betreff des Beitrags: | |
so, habs nun einige wochen druff und kann sagen funzt super... eines ist mir aufgefallen... wenn die chasecam auf 2 gesetzt wurde und die map wechselt, geht sie wieder auf 0... ich hab einen der beiden dann mal gekickt, als der zurückkam hat er es wieder erkannt und auf 2 gestellt... hängt wohl mit lange dauernden mapchangen zusammen... kann man die checkzeit erhöhen, oder so einstellen, das er 60 sec nach mapchange mal automatisch überprüft - wenn er dann 2 user gefunden hat mit gleicher ip soll er checken, ob`s auf 2 steht... wenn nicht, ändern... |
Seite 3 von 3 | Alle Zeiten sind UTC+01:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |