Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

kzn

Użytkownik
  • Postów

    31
  • Dołączył

  • Ostatnia wizyta

O kzn

  • Urodziny 20.12.2002

Informacje o mnie

  • Imię
    Kamil
  • Płeć
    Mężczyzna

Kontakt

Ostatnie wizyty

1008 wyświetleń profilu

Osiągnięcia kzn

Nowicjusz

Nowicjusz (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Najnowsze odznaki

0

Reputacja

  1. Pomijając Twój zbędny offtop, który został zreportowany to masz rację - dlatego większość się nie dostała. Ps. od dawna nie przyjmujemy już do teamu, można zamknąć.
  2. Pobrałem te repozytorium i wgrałem na serwer, nic z tego... Dowód: sm plugins list [SM] Listing 35 plugins: 01 "Fun Votes" (1.8.0.6007) by AlliedModders LLC 02 "Nextmap" (1.8.0.6007) by AlliedModders LLC 03 "Basic Chat" (1.8.0.6007) by AlliedModders LLC 04 "VIP Generator" (1.0) by mastah7991 05 "[CS:GO] Supporter Tracers" (2.2) by Twisted|Panda & Neoxx 06 "Player Commands" (1.8.0.6007) by AlliedModders LLC 07 "Admin Help" (1.8.0.6007) by AlliedModders LLC 08 "Reserved Slots" (1.8.0.6007) by AlliedModders LLC 09 "Team Names" (1.1) by Internet Bully 10 "Fun Commands" (1.8.0.6007) by AlliedModders LLC 11 "[CSGO] Free taser" (1.0) by Grey83 12 "Nade Tails" (2.0) by InternetBully 13 "Basic Votes" (1.8.0.6007) by AlliedModders LLC 14 "SourceBans++: Main Plugin" (1.6.1) by SourceBans Development Team, SourceBans++ Dev Team 15 "SourceBans++: Admin Config Loader" (1.6.1) by AlliedModders LLC, SourceBans++ Dev Team 16 "Team Bets" (1.4) by ferret 17 "Basic Comm Control" (1.8.0.6007) by AlliedModders LLC 18 <Failed> "[Source 2013] Custom Chat Colors" (3.1.0 CP) by Dr. McKay, Fixed up by Keith Warren (Drixevel) 19 "Advertisements" (2.0.2) by Tsunami 20 "SourceBans++: SourceComms" (1.6.1) by Alex, SourceBans++ Dev Team 21 "Admin Menu" (1.8.0.6007) by AlliedModders LLC 22 "Admin File Reader" (1.8.0.6007) by AlliedModders LLC 23 "Anti-Flood" (1.8.0.6007) by AlliedModders LLC 24 "SourceBans++: SourceSleuth" (1.6.1) by ecca, SourceBans++ Dev Team 25 "Simple Chat Processor (Redux)" (2.1.0) by Simple Plugins, Mini 26 "Basic Info Triggers" (1.8.0.6007) by AlliedModders LLC 27 "RankMe" (3.0.3.Kento.25) by lok1, Scooby, pracc, Kento, Kxnrl 28 "DR.API HIGH PING KICKER" (1.0.1) by Dr. Api 29 "DR.API SHOW DAMAGE" (1.1.2) by Dr. Api 30 "Client Preferences" (1.8.0.6007) by AlliedModders LLC 31 "Sound Commands" (1.8.0.6007) by AlliedModders LLC 32 "Basic Commands" (1.8.0.6007) by AlliedModders LLC 33 "Test Messages" (1.0.0) by Keith Warren (Drixevel) 34 "Chat-Processor" (2.0.8) by Keith Warren (Drixevel) 35 <Failed> "SourceBans++: Bans Checker" (1.6.1) by psychonic, Ca$h Munny, SourceBans++ Dev Team Errors: custom-chatcolors-cp.smx ([Source 2013] Custom Chat Colors): Could not find required plugin "chat-processor" sbpp_checker.smx (SourceBans++: Bans Checker): Failed to connect to SourceBans DB, Could not find driver "defualt"
  3. Teraz działa, fakt. Co do czatu - idzie to przerobić, żeby działało w tym pluginie? (Wycinek z vipu Hanys'a)
  4. Nic z tego, deagla daje ciągle - nawet jak kupie berety/czte. Co do czatu - nadal nie działa po wgraniu scp i zmienieniu kodu. //edit to 1 jednak działa, czat i wiadomość przy wejściu nie. Do tego nie działa doublejump.
  5. Faktycznie, niestety nadal nie działa czat. Jest normalny, nic się nie zmienia. I taki mały szczegół - da radę zrobić jakiś wyjątek, że jeżeli gracz ma podstawowy pistolet (usp-s, hpkw, glocka) to doda mu do inventory deagla zamiast wyrzucać go na ziemię? A, i z tego co zauważyłem nie pokazuję wiadomości przy wejściu. Kod: #include <sourcemod> #include <sdktools> #include <cstrike> #include <sdkhooks> #include <scp> int g_fLastButtons[MAXPLAYERS+1]; int g_fLastFlags[MAXPLAYERS+1]; int g_iJumps[MAXPLAYERS+1]; public Plugin:myinfo = { name = "VIP Generator", author = "mastah7991", description = "Automatycznie wygenerowany VIP", version = "1.0", url = "MYGO.PL" } public OnPluginStart() { HookEvent("player_spawn", Event_PlayerSpawn); HookEvent("player_death", Event_PlayerDeath); } public OnClientPutInServer(client) { if (IsValidPlayer(client) && (GetUserFlagBits(client) & ADMFLAG_CUSTOM1)) { char name[32]; GetClientName(client,name,31); PrintToChatAll("{green}c1.BlackSquad.eu{default}: {lightgreen}Gracz VIP{default} %s {lightgreen}wszedl na serwer",name); } } public Action:Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) { int client = GetClientOfUserId(GetEventInt(event, "userid")); if (IsValidPlayer(client) && (GetUserFlagBits(client) & ADMFLAG_CUSTOM1)) { SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+20); SetEntProp(client, Prop_Send, "m_iAccount", GetEntProp(client, Prop_Send, "m_iAccount")+250); SetEntityGravity(client, 0.85); GivePlayerItem(client,"weapon_deagle"); } } public Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) { int client = GetClientOfUserId(GetEventInt(event, "userid")); bool headshot = GetEventBool(event, "headshot"); if (IsValidPlayer(client) && (GetUserFlagBits(client) & ADMFLAG_CUSTOM1)) { SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+5); if(headshot) SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+15); if(GetEntProp(client, Prop_Send, "m_iHealth")>180) SetEntityHealth(client, 180); SetEntProp(client, Prop_Send, "m_iAccount", GetEntProp(client, Prop_Send, "m_iAccount")+100); if(headshot) SetEntProp(client, Prop_Send, "m_iAccount", GetEntProp(client, Prop_Send, "m_iAccount")+300); } } public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon) { if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1)) { int fCurFlags = GetEntityFlags(client); int fCurButtons = GetClientButtons(client); if (g_fLastFlags[client] & FL_ONGROUND) { if (!(fCurFlags & FL_ONGROUND) &&!(g_fLastButtons[client] & IN_JUMP) && fCurButtons & IN_JUMP) { g_iJumps[client]++; } } else if (fCurFlags & FL_ONGROUND) { g_iJumps[client] = 0; } else if (!(g_fLastButtons[client] & IN_JUMP) && fCurButtons & IN_JUMP) { if ( 1 <= g_iJumps[client] <= 1) { g_iJumps[client]++; float vVel[3]; GetEntPropVector(client, Prop_Data, "m_vecVelocity", vVel); vVel[2] = 250.0; TeleportEntity(client, NULL_VECTOR, NULL_VECTOR, vVel); } } g_fLastFlags[client] = fCurFlags; g_fLastButtons[client] = fCurButtons; } } public Action:OnChatMessage(&author, Handle:recipients, String:name[], String:message[]) { if (IsValidPlayer(author) && (GetUserFlagBits(author) & ADMFLAG_CUSTOM1)) { Format(name, MAXLENGTH_NAME, "%s", name); new MaxMessageLength = MAXLENGTH_MESSAGE - strlen(name) - 5; Format(name, MaxMessageLength, "\x01[\x06C1 - VIP\x01]\x04 %s",name); return Plugin_Changed; } return Plugin_Continue; } stock bool IsValidPlayer(client) { if(client >= 1 && client <= MaxClients && IsClientConnected(client) && !IsFakeClient(client) && IsClientInGame(client) ) return true; return false; }
  6. Nadal nic, kod: #include <sourcemod> #include <sdktools> #include <cstrike> #include <sdkhooks> #include <scp> int g_fLastButtons[MAXPLAYERS+1]; int g_fLastFlags[MAXPLAYERS+1]; int g_iJumps[MAXPLAYERS+1]; public Plugin:myinfo = { name = "VIP Generator", author = "mastah7991", description = "Automatycznie wygenerowany VIP", version = "1.0", url = "MYGO.PL" } public OnPluginStart() { HookEvent("player_spawn", Event_PlayerSpawn); HookEvent("player_death", Event_PlayerDeath); } public OnClientPutInServer(client) { if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1)) { CS_SetClientClanTag(client, "[VIP] "); char name[32]; GetClientName(client,name,31); PrintToChatAll("c1.BlackSquad.eu | Gracz VIP %s wszedl na serwer",name); } } public Action:Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) { int client = GetClientOfUserId(GetEventInt(event, "userid")); if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1)) { SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+120); SetEntProp(client, Prop_Send, "m_iAccount", GetEntProp(client, Prop_Send, "m_iAccount")+250); SetEntityGravity(client, 0.8); SetEntPropFloat(client, Prop_Send, "m_flLaggedMovementValue", 1.2); GivePlayerItem(client,"weapon_deagle"); } } public Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) { int client = GetClientOfUserId(GetEventInt(event, "userid")); bool headshot = GetEventBool(event, "headshot"); if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1)) { SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+5); if(headshot) SetEntityHealth(client, GetEntProp(client, Prop_Send, "m_iHealth")+15); if(GetEntProp(client, Prop_Send, "m_iHealth")>180) SetEntityHealth(client, 180); SetEntProp(client, Prop_Send, "m_iAccount", GetEntProp(client, Prop_Send, "m_iAccount")+100); if(headshot) SetEntProp(client, Prop_Send, "m_iAccount", GetEntProp(client, Prop_Send, "m_iAccount")+300); } } public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon) { if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM1)) { int fCurFlags = GetEntityFlags(client); int fCurButtons = GetClientButtons(client); if (g_fLastFlags[client] & FL_ONGROUND) { if (!(fCurFlags & FL_ONGROUND) &&!(g_fLastButtons[client] & IN_JUMP) && fCurButtons & IN_JUMP) { g_iJumps[client]++; } } else if (fCurFlags & FL_ONGROUND) { g_iJumps[client] = 0; } else if (!(g_fLastButtons[client] & IN_JUMP) && fCurButtons & IN_JUMP) { if ( 1 <= g_iJumps[client] <= 2) { g_iJumps[client]++; float vVel[3]; GetEntPropVector(client, Prop_Data, "m_vecVelocity", vVel); vVel[2] = 250.0; TeleportEntity(client, NULL_VECTOR, NULL_VECTOR, vVel); } } g_fLastFlags[client] = fCurFlags; g_fLastButtons[client] = fCurButtons; if(buttons & IN_DUCK) SetEntityRenderColor(client, 255, 255, 255, 175); else SetEntityRenderColor(client, 255, 255, 255, 255); } } public Action:OnChatMessage(&author, Handle:recipients, String:name[], String:message[]) { if (IsValidPlayer(author) && (GetUserFlagBits(author) & ADMFLAG_CUSTOM1)) { Format(name, MAXLENGTH_NAME, "%s", name); new MaxMessageLength = MAXLENGTH_MESSAGE - strlen(name) - 5; Format(name, MaxMessageLength, " [VIP] %s",name); return Plugin_Changed; } return Plugin_Continue; } stock bool IsValidPlayer(client) { if(client >= 1 && client <= MaxClients && IsClientConnected(client) && !IsFakeClient(client) && IsClientInGame(client) ) return true; return false; }
  7. Tak czy siak zwraca "Jesteś vipem", za pierwszym razem przez sm_viptestcheck.
  8. Zwraca pozytywną wartość, "Jesteś vipem."
  9. Niestety to nic nie daje, próbowałem dawać flagę przez admins.cfg, rangi w admin_groups etc. Nic z tego :/
  10. Rangi nadaje poprzez zwykły config admins.cfg { "KamiiQ" { "auth" "steam" "identity" "STEAM_0:1:154322001" "flags" "o" } } //edit, tzn. flagi
  11. Miałem kiedyś serwer 18 slotowy, działał dobrze z tick128 i paroma pluginami przy full zapełnieniu, zero lagów. Szkoda, że teraz przerzuciłem się na VPS u konkurencji, mimo to polecam.
  12. Dzięki za jedyną normalna odpowiedź, niestety to nic nie daje. Plugin jak nie działał, tak nie działa, próbowałem też z HanyS VIP ale pomimo override vipa ma każdy. Ps. to może się przydać: [SM] Listing 31 plugins: 01 "Fun Votes" (1.8.0.6007) by AlliedModders LLC 02 "Nextmap" (1.8.0.6007) by AlliedModders LLC 03 "Basic Chat" (1.8.0.6007) by AlliedModders LLC 04 "VIP Generator" (1.0) by mastah7991 05 "[CS:GO] Supporter Tracers" (2.2) by Twisted|Panda & Neoxx 06 "Player Commands" (1.8.0.6007) by AlliedModders LLC 07 "Admin Help" (1.8.0.6007) by AlliedModders LLC 08 "Reserved Slots" (1.8.0.6007) by AlliedModders LLC 09 "Team Names" (1.1) by Internet Bully 10 "Fun Commands" (1.8.0.6007) by AlliedModders LLC 11 "[CSGO] Free taser" (1.0) by Grey83 12 "Nade Tails" (2.0) by InternetBully 13 "Basic Votes" (1.8.0.6007) by AlliedModders LLC 14 "SourceBans++: Main Plugin" (1.6.1) by SourceBans Development Team, SourceBans++ Dev Team 15 "SourceBans++: Admin Config Loader" (1.6.1) by AlliedModders LLC, SourceBans++ Dev Team 16 "Team Bets" (1.4) by ferret 17 "Basic Comm Control" (1.8.0.6007) by AlliedModders LLC 18 "Advertisements" (2.0.2) by Tsunami 19 "SourceBans++: SourceComms" (1.6.1) by Alex, SourceBans++ Dev Team 20 "Admin Menu" (1.8.0.6007) by AlliedModders LLC 21 "Admin File Reader" (1.8.0.6007) by AlliedModders LLC 22 "Anti-Flood" (1.8.0.6007) by AlliedModders LLC 23 "SourceBans++: SourceSleuth" (1.6.1) by ecca, SourceBans++ Dev Team 24 "Basic Info Triggers" (1.8.0.6007) by AlliedModders LLC 25 "RankMe" (3.0.3.Kento.25) by lok1, Scooby, pracc, Kento, Kxnrl 26 "DR.API HIGH PING KICKER" (1.0.1) by Dr. Api 27 "DR.API SHOW DAMAGE" (1.1.2) by Dr. Api 28 "Client Preferences" (1.8.0.6007) by AlliedModders LLC 29 "Sound Commands" (1.8.0.6007) by AlliedModders LLC 30 "Basic Commands" (1.8.0.6007) by AlliedModders LLC 31 <Failed> "SourceBans++: Bans Checker" (1.6.1) by psychonic, Ca$h Munny, SourceBans++ Dev Team Errors: sbpp_checker.smx (SourceBans++: Bans Checker): Failed to connect to SourceBans DB, Could not find driver "defualt" sm version SourceMod Version Information: SourceMod Version: 1.8.0.6007 SourcePawn Engine: SourcePawn 1.8, jit-x86 (build 1.8.0.6007) SourcePawn API: v1 = 4, v2 = 11 Compiled on: Jun 15 2017 15:30:51 Built from: https://github.com/alliedmodders/sourcemod/commit/1e50df9 Build ID: 6007:1e50df9 http://www.sourcemod.net/ Dla większego zasięgu oznaczę twórce generatora: @mastah7991
  13. Srednio bo brak .sp, nie moge dodac wlasnych ustawien z zewnetrznych pluginow.
  14. Witam, mam problem z generatorem vip (tym od mygo.pl). W konsoli nie mam żadnych errorów, gracz nawet po nabyciu flagi CUSTOM_1 ("o") nie dostaje atrybutów, które powinien otrzymać. Kod: Skompilowalem do *.smx, mam inc.
×
×
  • Dodaj nową pozycję...