Raised This Month: $12 Target: $400
 3% 

[Plugin] Mapcycle show in menu.


Post New Thread Reply   
 
Thread Tools Display Modes
Author
graczu
Senior Member
Join Date: Mar 2006
Plugin ID:
86
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    When somone will say /mapcycle, then he will se a menu with Mapcycle
    Old 07-12-2007 , 18:38   [Plugin] Mapcycle show in menu.
    Reply With Quote #1

    I was olways have players on server that dont know what mapcycle is now, and the olways asking where they can find it. So this is small plugin that will show Maps list from Mapcycle when somone will say /mapcycle.

    For this plugin i use Menu Code from:

    Quote:
    * Name: Terms Agreement
    * By: MaTTe (aka mateo10)
    Attached Files
    File Type: sp Get Plugin or Get Source (show_mapcycle_en.sp - 5700 views - 1.7 KB)
    __________________
    graczu is offline
    pRED*
    Join Date: Dec 2006
    Old 07-12-2007 , 18:45   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #2

    my nextmap plugin already does this (command 'listmaps') and prints it to console (exactly like 1.6).

    You really should prepare the map list when the map starts instead of opening the file everytime someone say /mapcycle.
    pRED* is offline
    graczu
    Senior Member
    Join Date: Mar 2006
    Old 07-13-2007 , 01:44   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #3

    Quote:
    Originally Posted by pRED* | NZ View Post
    my nextmap plugin already does this (command 'listmaps') and prints it to console (exactly like 1.6).

    You really should prepare the map list when the map starts instead of opening the file everytime someone say /mapcycle.
    Hmmmm, but if admin enter the server and say that he was change the mapcycle, and then evryone will want to see the new one. So maplist is loading on evry say /mapcycle. If i will change to load maplist on mapchange, then evryone will need wait to mapend, if admin dont wanna change map right now.
    __________________
    graczu is offline
    The-Killer
    Senior Member
    Join Date: May 2007
    Old 07-13-2007 , 10:21   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #4

    Plus everyone aka stupid noobs like their fancy menu's rather than having to check console. Console is fine for me
    The-Killer is offline
    p3tsin
    Senior Member
    Join Date: Sep 2005
    Location: Finland
    Old 10-19-2008 , 07:15   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #5

    Quote:
    Originally Posted by graczu View Post
    Hmmmm, but if admin enter the server and say that he was change the mapcycle, and then evryone will want to see the new one. So maplist is loading on evry say /mapcycle. If i will change to load maplist on mapchange, then evryone will need wait to mapend, if admin dont wanna change map right now.
    I think the best solution here is to cache the mapcycle (by making the panel handle global and leaving it open after creating the menu) and save the file's last modified timestamp with
    Code:
    GetFileTime(const String:file[], FileTime_LastChange);
    and then reload it only if the timestamp has changed.
    __________________
    plop

    Last edited by p3tsin; 10-19-2008 at 07:18.
    p3tsin is offline
    Lebson506th
    Veteran Member
    Join Date: Jul 2008
    Old 10-19-2008 , 07:52   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #6

    ...year old thread....?
    __________________
    My Plugins
    Spray Tracer by Nican, maintained by me
    Simple TK Manager
    DoD:S Admin Weapons

    Links
    Resistance and Liberation (A HL2 Multiplayer Modification)
    Lebson506th is offline
    p3tsin
    Senior Member
    Join Date: Sep 2005
    Location: Finland
    Old 10-19-2008 , 08:03   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #7

    Dammit, sorry about that
    I got linked here from elsewhere.
    __________________
    plop
    p3tsin is offline
    KiVash
    Junior Member
    Join Date: Mar 2010
    Old 03-31-2010 , 15:16   Re: [Plugin] Mapcycle show in menu.
    Reply With Quote #8

    My mapcycle menu is emty.Where is mapcycle.txt?
    Beacose path hl2mp/mapcycle.txt is bad.
    __________________

    Last edited by KiVash; 03-31-2010 at 15:19.
    KiVash is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 09:58.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode