[CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Release your plugins here!
User avatar
Painkiller
Senior Member
Posts: 314
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle

Postby Painkiller » Sat Aug 05, 2017 7:34 am

Code: Select all

[
    {
        "filename": "al-qaeda1"
    },
    {
        "filename": "dm_7hour"
    },
    {
        "filename": "dm_13thfloor_remake_rocks"
    },
    {
        "filename": "dm_357_3_remake_rocks"
    },
    {
        "filename": "dm_balcony_beta4"
    },
    {
        "filename": "dm_battle_lobby_final"
    },
    {
        "filename": "dm_dead_end_zlodey"
    },
    {
        "filename": "dm_erde"
    },
    {
        "filename": "dm_fallout"
    },
    {
        "filename": "dm_farmland"
    },
    {
        "filename": "dm_frenzy_v2"
    },
    {
        "filename": "dm_havana_b"
    },
    {
        "filename": "dm_intel_final"
    },
    {
        "filename": "dm_island17"
    },
    {
        "filename": "dm_jailhouse"
    },
    {
        "filename": "dm_killbox_kbh"
    },
    {
        "filename": "dm_killbox_kbh_1"
    },
    {
        "filename": "dm_killbox_kbh_2_fix2"
    },
    {
        "filename": "dm_killbox_kbh_3"
    },
    {
        "filename": "dm_kybos_the_end"
    },
    {
        "filename": "dm_lostarena"
    },
    {
        "filename": "dm_lostvillage"
    },
    {
        "filename": "dm_lostvillage_two_final"
    },
    {
        "filename": "dm_madme_remix"
    },
    {
        "filename": "dm_mexicana_b7"
    },
    {
        "filename": "dm_no_smoke_center_night"
    },
    {
        "filename": "dm_octagon"
    },
    {
        "filename": "dm_pedamenopet_"
    },
    {
        "filename": "dm_plaza17_pgir"
    },
    {
        "filename": "dm_RocKs_airport"
    },
    {
        "filename": "dm_rocks_bounce_2_0"
    },
    {
        "filename": "dm_rocks_floodzone"
    },
    {
        "filename": "dm_RocKs_junk_7hours_city"
    },
    {
        "filename": "dm_rocks_karkand"
    },
    {
        "filename": "dm_rocks_noshahr_canals"
    },
    {
        "filename": "dm_rocks_operation_metro_c_base_final"
    },
    {
        "filename": "dm_rocks_operation_metro_v2"
    },
    {
        "filename": "dm_rocks_port"
    },
    {
        "filename": "dm_rocks_remake_shitbox"
    },
    {
        "filename": "dm_rocks_remake_trainzzz"
    },
    {
        "filename": "dm_rocks_scrapmetal"
    },
    {
        "filename": "dm_rocks_siege_of_shanghai_2"
    },
    {
        "filename": "dm_rocks_wake_island"
    },
    {
        "filename": "dm_rocks_zavod"
    },
    {
        "filename": "dm_rocks_ziba_tower_v2"
    },
    {
        "filename": "dm_sandland_b2"
    },
    {
        "filename": "dm_simpsons_v1"
    },
    {
        "filename": "dm_stad"
    },
    {
        "filename": "dm_tides_b"
    },
    {
        "filename": "dm_warlock_final"
    },
    {
        "filename": "dm_wild_wild_west_pcp"
    },
    {
        "filename": "sm_jags_desperados_v2_srka"
    }
]
User avatar
iPlayer
Developer
Posts: 557
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle

Postby iPlayer » Mon Aug 21, 2017 6:37 am

Painkiller, try the latest version of the plugin. I've fixed a race condition that might have been causing your issue.

And by the way, I'd set mc_instant_change_level 1 on HL2DM, because I suspect there's no other opportunity to change the map besides when it won the voting (I mean no round ends etc).
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
iPlayer
Developer
Posts: 557
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle

Postby iPlayer » Mon Aug 21, 2017 6:43 am

Map Cycle 2.2 release
This release fixes a couple of bugs and introduces support for SPA Map Cycle - Source.Python Admin custom plugin.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
Painkiller
Senior Member
Posts: 314
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby Painkiller » Sat Aug 26, 2017 3:03 pm

I'm still testing at the time a lot of work but as soon as I have tested everything I report
User avatar
Painkiller
Senior Member
Posts: 314
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby Painkiller » Sun Sep 03, 2017 7:56 am

So now something could be tested.

I noticed when I am alone on the server, the map changes every 5 minutes automatically.

If several people play comes no voting 5 minutes before round end.
User avatar
Painkiller
Senior Member
Posts: 314
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby Painkiller » Sun Sep 24, 2017 7:58 am

I have no good news.

I did everything as you described it. But it just does not work.
User avatar
Painkiller
Senior Member
Posts: 314
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby Painkiller » Mon Oct 02, 2017 10:16 am

HL2DM

Code: Select all

[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
    plugin._load()
  File "../addons/source-python/packages/source-python/plugins/instance.py", line 76, in _load
    self.module.load()
  File "../addons/source-python/plugins/map_cycle/map_cycle.py", line 829, in load
    broadcast(common_strings['loaded'])
  File "../addons/source-python/plugins/map_cycle/core/mcplayers.py", line 38, in broadcast
    tell([mcplayer.player for mcplayer in mcplayers.values()], message)
  File "../addons/source-python/plugins/map_cycle/core/mcplayers.py", line 29, in tell
    message = message.tokenized(**message.tokens, **COLOR_SCHEME)

AttributeError: 'TranslationStrings' object has no attribute 'tokenized'
User avatar
Ayuto
Project Leader
Posts: 1637
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby Ayuto » Mon Oct 02, 2017 11:12 am

Same issue like here:
viewtopic.php?p=10712#p10712

You don't have the latest SP installed.
User avatar
Painkiller
Senior Member
Posts: 314
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby Painkiller » Tue Oct 03, 2017 10:05 am

Hi i have find another error.

Code: Select all

[SP] Loading plugin 'admin_map_cycle'...

[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
    plugin._load()
  File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
    self.module = import_module(self.import_name)
  File "../addons/source-python/plugins/admin_map_cycle/admin_map_cycle.py", line 21, in <module>
    plugin_strings = PluginStrings("admin_map_cycle")
  File "../addons/source-python/plugins/admin/core/plugins/strings.py", line 31, in __init__
    plugin_type=valid_plugins.get_plugin_type(name),
  File "../addons/source-python/plugins/admin/core/plugins/valid.py", line 73, in get_plugin_type
    plugin_name=plugin_name,

ValueError: No such plugin "admin_map_cycle".


[SP] Plugin 'admin_map_cycle' was unable to be loaded.
User avatar
iPlayer
Developer
Posts: 557
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

Postby iPlayer » Tue Oct 03, 2017 3:35 pm

You have installed it incorrectly. Admin Map Cycle is not an SP plugin, it's an SPA plugin.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image

Return to “Plugin Releases”

Who is online

Users browsing this forum: No registered users and 2 guests