TitaniumLithium / CS2FunMatchPlugin

a showmatch like plugin for fun
GNU General Public License v3.0
24 stars 3 forks source link

can't understand how to make customModes.json valid #5

Open wuton9 opened 3 weeks ago

wuton9 commented 3 weeks ago

do i need add the new customed modes into FunMatchPlugin.json?

TitaniumLithium commented 3 weeks ago

this is not nessesary. unless u have some ideas which could excute by commandline. if so, pls put CustomModes.json and .cfg file to this dir configs/plugins/FunMatchPlugin

here is the example how to write the json file

https://github.com/TitaniumLithium/CS2FunMatchPlugin/blob/b64f6c37a84b9c57e4725461b9ba5d40d683001f/config-example/CustomModes.json#L1

wuton9 commented 3 weeks ago

Thanks for your reply!

Your answers are easy to understand But what confused me is that how to make those customed commands work,or in other words,how could i call them?

Your sincerely supporter


发件人: TitaniumLithium @.> 发送时间: 2024年11月3日 15:26 收件人: TitaniumLithium/CS2FunMatchPlugin @.> 抄送: wuton9 @.>; Author @.> 主题: Re: [TitaniumLithium/CS2FunMatchPlugin] can't understand how to make customModes.json valid (Issue #5)

this is not nessesary. unless u have some ideas which could excute by commandline. if so, pls put CustomModes.json and .cfg file to this dir configs/plugins/FunMatchPlugin

here is the example how to write the json file

https://github.com/TitaniumLithium/CS2FunMatchPlugin/blob/b64f6c37a84b9c57e4725461b9ba5d40d683001f/config-example/CustomModes.json#L1

― Reply to this email directly, view it on GitHubhttps://github.com/TitaniumLithium/CS2FunMatchPlugin/issues/5#issuecomment-2453466146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMUFGR46TTKQ4SS5FQHEH3TZ6Y6BRAVCNFSM6AAAAABRCYNJ46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGQ3DMMJUGY. You are receiving this because you authored the thread.Message ID: @.***>

TitaniumLithium commented 3 weeks ago

This plugin loads or unloads customed mode by excuting .cfg file in game. And cs2 in-game console commands are written in .cfg file. Note that usually complex modes cannot be wirtten into cfg file.

The plugin will add defined customed mode along with build-in ones to mode list autoly on plugin load. On every round start, it will call one of modes in list randomly.

u can check mode list by console command fun_lists

if u would like to call it manually, pls make sure ur account has @css/root permission defined in admin.json. (counterstrikesharp/admin/)

Stop auto loading random mode !fun_random Load/call certain mode by number fun_load [num] Also can be done in server console without configuring any permission.

wuton9 commented 2 weeks ago

OMG,dude!You are such a nice person.Anyway,thanks for your reply again! I have been busy with my server's setting these day,so I missed your email.Sorry for that,I will try it immediately when I back home.

Here comes my new problem,you can skip it: Now I can play with my friends who are in same LAN with no problem.But the issue comes that I can let people on internet connect in.Some UDP&TCP ports forwarning had been set,but it did not work.Though I can use some software like radmin LAN to solve this problem,but it comes with very high delay.So I am wonder if you know how to fix it as you are an expert of it.Please let me know if you have any idea about it.

QAQ,I should apologize for my clumy article because English isn't my native language.

Have a nice day!

YOU SINCERELY WUTONG

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: TitaniumLithium @.> Sent: Monday, November 4, 2024 4:13:30 PM To: TitaniumLithium/CS2FunMatchPlugin @.> Cc: wuton9 @.>; Author @.> Subject: Re: [TitaniumLithium/CS2FunMatchPlugin] can't understand how to make customModes.json valid (Issue #5)

This plugin loads or unloads customed mode by excuting .cfg file in game. And cs2 in-game console commands are written in .cfg file. Note that usually complex modes cannot be wirtten into cfg file.

The plugin will add defined customed mode along with build-in ones to mode list autoly on plugin load. On every round start, it will call one of modes in list randomly.

u can check mode list by console command fun_lists

if u would like to call it manually, pls make sure ur account has @css/root permission defined in admin.json. (counterstrikesharp/admin/)

Stop auto loading random mode !fun_random Load/call certain mode by number fun_load [num] Also can be done in server console without configuring any permission.

― Reply to this email directly, view it on GitHubhttps://github.com/TitaniumLithium/CS2FunMatchPlugin/issues/5#issuecomment-2454056984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMUFGR7E772AQ542OGYWZ2TZ64UCVAVCNFSM6AAAAABRCYNJ46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGA2TMOJYGQ. You are receiving this because you authored the thread.Message ID: @.***>

wuton9 commented 2 weeks ago

HELLO! I forget one thing I didn't mention at last mail.The soccer mode seems have some problem,my server crashed every when loading it.Sohttp://it.so/ I have to upload it from the list.

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: TitaniumLithium @.> Sent: Monday, November 4, 2024 4:13:30 PM To: TitaniumLithium/CS2FunMatchPlugin @.> Cc: wuton9 @.>; Author @.> Subject: Re: [TitaniumLithium/CS2FunMatchPlugin] can't understand how to make customModes.json valid (Issue #5)

This plugin loads or unloads customed mode by excuting .cfg file in game. And cs2 in-game console commands are written in .cfg file. Note that usually complex modes cannot be wirtten into cfg file.

The plugin will add defined customed mode along with build-in ones to mode list autoly on plugin load. On every round start, it will call one of modes in list randomly.

u can check mode list by console command fun_lists

if u would like to call it manually, pls make sure ur account has @css/root permission defined in admin.json. (counterstrikesharp/admin/)

Stop auto loading random mode !fun_random Load/call certain mode by number fun_load [num] Also can be done in server console without configuring any permission.

― Reply to this email directly, view it on GitHubhttps://github.com/TitaniumLithium/CS2FunMatchPlugin/issues/5#issuecomment-2454056984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMUFGR7E772AQ542OGYWZ2TZ64UCVAVCNFSM6AAAAABRCYNJ46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGA2TMOJYGQ. You are receiving this because you authored the thread.Message ID: @.***>

TitaniumLithium commented 1 week ago

HELLO! I forget one thing I didn't mention at last mail.The soccer mode seems have some problem,my server crashed every when loading it.Sohttp://it.so/ I have to upload it from the list. 获取Outlook for Androidhttps://aka.ms/AAb9ysg ____ From: TitaniumLithium @.> Sent: Monday, November 4, 2024 4:13:30 PM To: TitaniumLithium/CS2FunMatchPlugin @.> Cc: wuton9 @.>; Author @.> Subject: Re: [TitaniumLithium/CS2FunMatchPlugin] can't understand how to make customModes.json valid (Issue #5) This plugin loads or unloads customed mode by excuting .cfg file in game. And cs2 in-game console commands are written in .cfg file. Note that usually complex modes cannot be wirtten into cfg file. The plugin will add defined customed mode along with build-in ones to mode list autoly on plugin load. On every round start, it will call one of modes in list randomly. u can check mode list by console command fun_lists if u would like to call it manually, pls make sure ur account has @css/root permission defined in admin.json. (counterstrikesharp/admin/) Stop auto loading random mode !fun_random Load/call certain mode by number fun_load [num] Also can be done in server console without configuring any permission. ― Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMUFGR7E772AQ542OGYWZ2TZ64UCVAVCNFSM6AAAAABRCYNJ46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGA2TMOJYGQ. You are receiving this because you authored the thread.Message ID: @.***>

For connection issue, you need public ip address. If soccerball keep crashing you can disenable it in .json file.