Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CS:GO] ckSurf (1.0, 17.6.2015)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 17.06.2015 21:19

ckSurf 1.0

ckSurf is a CS:GO surf plugin based on KZTimer by abckrieger. This is a project that I've been working on and off for about six months and my first release on AlliedModders.

Plugin features:

- 9 Different zone types that are created from the !zones menu.
- Local record bot, including bonus
- Informative checkpoints
- Premade Zones & Maptiers
- Ranking system
- Active scoreboard (Kills = Time in seconds the timer has run for, Assists = the % the player has completed of the map, MVP stars = if the player has finished the map)
- Chat handling from KZTimer includes hidden commands

Video:



Download:
https://github.com/j...aikaponi/ckSurf


Installation:


Spoiler

All Dependencies are included in the installation pack.

1. Extract everything from the csgo folder to your servers csgo folder
2. Edit addons/sourcemod/configs/databases.cfg

- Add in a value called "cksurf"
- sqlite and mysql supported
- Example:

"cksurf"
{

"driver" "sqlite"
"host" "localhost"
"database" "cksurf-sqlite"
"user" "root"
"pass" ""

}

Installing zones and maptiers:
You can either:
- Install the premade zones and map tiers to your database by importing the SQL files in the DatabaseFiles folder
OR
- Run the ingame comands !insertmapzones and !insertmaptiers (Notice: Requires you to have the root flag (z) in addons/sourcemod/configs/admins.cfg)
Restart the server / Change map



User Commands:


Spoiler


sm_usp - spawns a usp silencer
sm_avg - prints in chat the average time of the current map
sm_accept - allows you to accept a challenge request
sm_hidechat - hides your ingame chat
sm_hideweapon - hides your weapon model
sm_goto - teleports you to a selected player
sm_language - select your language
sm_sound - on/off quake sounds
sm_surrender - surrender your current challenge
sm_bhop - on/off autobhop
sm_flashlight - on/off flashlight
sm_maptop - displays local map top for a given map
sm_hidespecs - hides spectators from menu/panel
sm_compare - compare your challenge results
sm_wr - prints records in chat
sm_measure - allows you to measure the distance between 2 points
sm_abort - abort your current challenge
sm_spec - chooses a player who you want to spectate and switch you to spectators
sm_watch - chooses a player who you want to spectate and switch you to spectators
sm_spectate - chooses a player who you want to spectate and switch you to spectators
sm_challenge - allows you to start a race against others
sm_helpmenu - help menu which displays all ckSurf commands
sm_help - help menu which displays all ckSurf commands
sm_profile - opens a player profile
sm_rank - opens a player profile
sm_options - opens options menu
sm_top - displays top rankings (Top 100 Players, Top 50 overall)
sm_topclimbers - displays top rankings (Top 100 Players, Top 50 overall)
sm_stop - stops your timer
sm_ranks - prints in chat the available player ranks
sm_pause - on/off pause (timer on hold and movement frozen)
sm_showsettings - shows ckSurf server settings
sm_latest - shows latest map records
sm_showtime - on/off[/B] - timer text in panel/menu
sm_hide - on/off[/B] - hides other players
+noclip - Player noclip on
-noclip - Player noclip off
sm_stages - Opens up the stage selector
sm_r - Teleports player back to the start
sm_restart - Teleports player back to the start
sm_start - Teleports player back to the start
sm_play - Teleports player back to the start
sm_spawn - Teleports player back to the start
sm_b - Teleports player back to the start
sm_bonus - Teleports player back to the start
sm_s - Teleports player to the selected stage
sm_stage - Teleports player to the selected stage
sm_tier - Prints information on the current map
sm_map - Prints information on the current map
sm_difficulty - Prints information on the current map
sm_howto - Displays a youtube video on how to surf
sm_teleport - Teleports player back to the start of the stage
sm_stuck - Teleports player back to the start of the stage
sm_tele - Teleports player back to the start of the stage


Admin Commands:


Spoiler


sm_ckadmin - Displays the ckSurf menu panel"
sm_refreshprofile - Recalculates player profile for given steam id"
sm_resetchallenges - Resets all player challenges (drops table challenges)[/B] - requires z flag"
sm_resettimes - Resets all player times (drops table playertimes)[/B] - requires z flag"
sm_resetranks - Resets the all player points (drops table playerrank[/B] - requires z flag)"
sm_resetmaptimes - Resets player times for given map[/B] - requires z flag"
sm_resetplayerchallenges - Resets (won) challenges for given steamid[/B] - requires z flag"
sm_resetplayertimes - Resets pro map times (+extrapoints) for given steamid with or without given map[/B] - requires z flag"
sm_resetplayermaptime - Resets pro map time for given steamid and map[/B] - requires z flag"
sm_deleteproreplay - Deletes pro replay for a given map[/B] - requires z flag"
sm_resetextrapoints - Resets given extra points for all players with or without given steamid"
sm_deletebonus - Reset bonus times on current map"
sm_deletecheckpoints - Reset checkpoints on the current map"
sm_insertmaptiers - Insert premade maptier information into the database (ONLY RUN THIS ONCE)"
sm_insertmapzones - Insert premade map zones into the database (ONLY RUN THIS ONCE)"
sm_zones - Opens up the zone creation menu


Server CVars:


Spoiler


// on/off - Admin clan tag (necessary flag: b - z)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_admin_clantag "1"

// on/off - max 40 shots; +5 new/extra shots per minute; 1 he/flash counts like 9 shots
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_attack_spam_protection "1"

// on/off - AutoBhop on surf_ maps
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_auto_bhop "1"

// on/off - Timer automatically starts when a player joins a team, dies or uses !start/!r
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_auto_timer "0"

// Sets HP amount for autohealing (requires ck_godmode 0)
// -
// Default: "50"
// Minimum: "0.000000"
// Maximum: "100.000000"
ck_autoheal "50"

// on/off - Auto respawn
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_autorespawn "1"

// on/off - Bots mimic the local bonus record
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_bonus_bot "1"

// The bonus replay bot color - Format: "red green blue" from 0 - 255.
// -
// Default: "255 255 20"
ck_bonus_bot_color "255 255 20"

// on/off - Allows players to bet points on their challenges
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_challenge_points "1"

// on/off - Removes all weapons on the ground
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_clean_weapons "1"

// on/off Colors players names based on their rank in chat.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_colored_chatnames "0"

// on/off - Enables a player connect message with country
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_connect_msg "1"

// on/off - Country clan tag
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_country_tag "1"

// on/off - Allows ckSurf to change the models of players and bots
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_custom_models "1"

// on/off - Enables a player disconnect message in chat
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_disconnect_msg "1"

// on/off - Sets a suitable timelimit by calculating the average run time (This method requires ck_map_end 1, greater than 5 map times and a default timelimit in your server config for maps with less than 5 times
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_dynamic_timelimit "0"

// on/off - unlimited hp
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_godmode "1"

// on/off - Allows players to use the !goto command
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_goto "1"

// on/off - provides information about nextmap and timeleft in his player name
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_info_bot "0"

// on/off - Allows map changes after the timelimit has run out (mp_timelimit must be greater than 0)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_map_end "1"

// on/off - Player no blocking
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_noblock "1"

// on/off - Allows players to use noclip when they have finished the map
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_noclip "1"

// on/off - Allows players to use the !pause command
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_pause "1"

// Player arm skin
// -
// Default: "models/weapons/ct_arms_sas.mdl"
ck_player_arm_skin "models/weapons/ct_arms_sas.mdl"

// Player skin
// -
// Default: "models/player/ctm_sas_varianta.mdl"
ck_player_skin "models/player/ctm_sas_varianta.mdl"

// on/off - Player point system
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_point_system "1"

// 1 = Speed cap applies when user leaves start zone. 2 = Speed cap applies when user hits the ground in the start zone
// -
// Default: "2"
ck_pre_speed_cap_type "2"

// The prespeed for Speed Zones
// -
// Default: "3000.0"
ck_pre_speed_speed "3000.0"

// The prespeed for Start Zones
// -
// Default: "320.0"
ck_pre_start_speed "320.0"

// Gives players 2*x extra points for finishing a map for the first time.
// -
// Default: "25.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
ck_ranking_extra_points_firsttime "25.0"

// Gives players x extra points for improving their time.
// -
// Default: "15.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
ck_ranking_extra_points_improvements "15.0"

// on/off - Bots mimic the local map record
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_replay_bot "1"

// Replay pro bot arm skin
// -
// Default: "models/weapons/t_arms_professional.mdl"
ck_replay_bot_arm_skin "models/weapons/t_arms_professional.mdl"

// The default replay bot color - Format: "red green blue" from 0 - 255.
// -
// Default: "52 91 248"
ck_replay_bot_color "52 91 248"

// Replay pro bot skin
// -
// Default: "models/player/tm_professional_var1.mdl"
ck_replay_bot_skin "models/player/tm_professional_var1.mdl"

// on/off - Restoring of time and last position after reconnect
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_restore "1"

// 1 = Automatically spawn to the start zone when the client joins the team.
// -
// Default: "1"
ck_spawn_to_start_zone "1"

// Enable the sound after leaving the start zone.
// -
// Default: "1"
ck_startzone_sound_enabled "1"

// The path to the sound file that plays after the client leaves the start zone..
// -
// Default: "buttons/button3.wav"
ck_startzone_sound_path "buttons/button3.wav"

// on/off - Allows players to use radio commands
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_use_radio "0"

// on/off - VIP clan tag (necessary flag: a)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
ck_vip_clantag "1"

// Welcome message (supported color tags: {default}, {darkred}, {green}, {lightgreen}, {blue} {olive}, {lime}, {red}, {purple}, {grey}, {yellow}, {lightblue}, {steelblue}, {darkblue}, {pink}, {lightred})
// -
// Default: " {yellow}>>{default} {grey}Welcome! This server is using {lime}ckSurf"
ck_welcome_msg " {yellow}>>{default} {grey}Welcome! This server is using {lime}ckSurf"

// checks and beambox refreshs per second, low value = more precise but more CPU consume, More hight = less precise but less CPU consume
// -
// Default: "5.0"
ck_zone_checker "5.0"


Credits: abckrieger (KZTimer), DieterM75 (cP mod), Zephyrus (Cleaner), Peace-Maker (Botmimic2), exvel/bara(csgo fix) (color.inc), GoD-Tony (setname methods), Dr!fter/Powerlord (Dhooks), Inami/ThatOneGuy (Macrodox), DaFox (Measure Plugin), berni & Chanz (smlib), psychonic and tsunami (sdkhooks)
Testers: Hadeius, gamemann, Timster, Ajlittle



If you like the plugin and have money/skins/games to spare, feel free to donate:

Dołączona grafika

also accepting trade offers:
Dołączona grafika


Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych