AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] 1V1 Duel (https://forums.alliedmods.net/showthread.php?t=316596)

DiogoOnAir 05-30-2019 19:24

[CSGO] 1V1 Duel
 
Freatures
Spoiler


Cvars
Spoiler


Commands
Spoiler


Instalation
Spoiler


IF YOU FIND ANY BUGS OR HAVE ANY FURTHER REQUESTS CONTACT ME VIA STEAM, PM OR REPLY HERE


My Github
Plugin repository
Plugin download
Donate Me

TheBOSS 05-30-2019 23:48

Re: [CSGO] 1V1 Duel
 
Nice plugin ��
can you add cvar min players?

aykocity 05-31-2019 00:26

Re: [CSGO] 1V1 Duel
 
fix please: https://prnt.sc/nvpr4j

DiogoOnAir 05-31-2019 11:31

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2653784)
Nice plugin ******************
can you add cvar min players?

I have added that in the new version. Thanks for your support to this project

DiogoOnAir 05-31-2019 11:31

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by aykocity (Post 2653787)

I have fixed that in the new version. Thanks for your support to this project

DiogoOnAir 05-31-2019 11:32

Re: [CSGO] 1V1 Duel
 
// Update Notes 1.2//
Spoiler

aykocity 05-31-2019 15:14

Re: [CSGO] 1V1 Duel
 
add more music --> music1 music2 music3 music4 music5 ?
and
music on off pls

thank you

DiogoOnAir 05-31-2019 19:40

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by aykocity (Post 2653851)
add more music --> music1 music2 music3 music4 music5 ?
and
music on off pls

thank you

Added in the new version. Thanks for your amazing support to this project

DiogoOnAir 05-31-2019 19:42

Re: [CSGO] 1V1 Duel
 
// Update Notes 1.3//
Spoiler

TheBOSS 05-31-2019 21:43

Re: [CSGO] 1V1 Duel
 
thanks for add min players, but can you exclude spectators from the min players?
and can you add cvar timer in seconds befor the duel start?

aykocity 06-01-2019 00:43

Re: [CSGO] 1V1 Duel
 
have a fun idea
exojump + knife fight
and
exojump + awp noscope
Detailed information: https://counterstrike.fandom.com/wiki/ExoJump_Boots

DiogoOnAir 06-01-2019 09:04

Re: [CSGO] 1V1 Duel
 
// Update Notes 1.4//
Spoiler

DiogoOnAir 06-01-2019 09:05

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2653892)
thanks for add min players, but can you exclude spectators from the min players?
and can you add cvar timer in seconds befor the duel start?

I've made it in the new version.Thanks for your support to this project

DiogoOnAir 06-01-2019 09:06

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by aykocity (Post 2653906)
have a fun idea
exojump + knife fight
and
exojump + awp noscope
Detailed information: https://counterstrike.fandom.com/wiki/ExoJump_Boots

I will take a look on that. Probably will be launched in the version 1.5.

Edit
I've looked on that and i will not add this because it is very similar to low gravity and i already have that

aykocity 06-01-2019 11:28

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by DiogoOnAir (Post 2653958)
I will take a look on that. Probably will be launched in the version 1.5.

Edit
I've looked on that and i will not add this because it is very similar to low gravity and i already have that

exo jump very different
You should try with Ctrl + jump keys

TheBOSS 06-01-2019 20:49

Re: [CSGO] 1V1 Duel
 
Quote:

L 06/02/2019 - 03:45:31: [SM] Exception reported: Invalid timer handle 0 (error 4)
L 06/02/2019 - 03:45:31: [SM] Blaming: duel.smx
L 06/02/2019 - 03:45:31: [SM] Call stack trace:
L 06/02/2019 - 03:45:31: [SM] [0] KillTimer
L 06/02/2019 - 03:45:31: [SM] [1] Line 169, C:\Users\abdom\Desktop\SM 1.9\scripting\duel.sp::Event_RoundEnd
and feature request : add config music to !settings

DiogoOnAir 06-02-2019 08:48

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by aykocity (Post 2653973)
exo jump very different
You should try with Ctrl + jump keys

Will take a look on that today

DiogoOnAir 06-02-2019 08:49

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654026)
and feature request : add config music to !settings

Can you explain better?
Thanks for your support to this project!

TheBOSS 06-02-2019 13:28

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by DiogoOnAir (Post 2654076)
Can you explain better?

just add enable/disable duel music to !settings menu

DiogoOnAir 06-02-2019 13:58

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654103)
just add enable/disable duel music to !settings menu

You want me to add a !settings menu when the players can enable or disable the duel music rather than via cmd right?

TheBOSS 06-02-2019 14:12

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by DiogoOnAir (Post 2654105)
You want me to add a !settings menu when the players can enable or disable the duel music rather than via cmd right?

Exactly, by using SetCookieMenuItem

DiogoOnAir 06-03-2019 13:29

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654106)
Exactly, by using SetCookieMenuItem

Will do it tommorow!

TheBOSS 06-03-2019 13:44

Re: [CSGO] 1V1 Duel
 
also the most important thing you need to remove ground weapons when duel start

Enrory 06-04-2019 10:08

Re: [CSGO] 1V1 Duel
 
wooow sounds nice test it in the next days :)

Sajmooooon 06-04-2019 12:16

Re: [CSGO] 1V1 Duel
 
Can you add normal 1v1 knife duel or 45 hp knife duel or when one of players win he will get for example +10 hp next round ?

DiogoOnAir 06-04-2019 15:21

Re: [CSGO] 1V1 Duel
 
// Update Notes 1.5//
Spoiler

DiogoOnAir 06-04-2019 15:21

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by Enrory (Post 2654315)
wooow sounds nice test it in the next days :)

Thanks for your support to this project!

DiogoOnAir 06-04-2019 15:22

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654227)
also the most important thing you need to remove ground weapons when duel start

All made!
Thanks for your support to this plugin!

DiogoOnAir 06-04-2019 15:22

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by Sajmooooon (Post 2654334)
Can you add normal 1v1 knife duel or 45 hp knife duel or when one of players win he will get for example +10 hp next round ?

Will make some tests and probably it will be launched in the 1.6 version
Thanks for your support to this project!

TheBOSS 06-04-2019 23:10

Re: [CSGO] 1V1 Duel
 
can you add new vote? deagle 1 tab (replace deagle every shot)

TheBOSS 06-04-2019 23:53

Re: [CSGO] 1V1 Duel
 
Quote:

L 06/05/2019 - 06:22:56: [SM] Exception reported: Invalid timer handle 0 (error 4)
L 06/05/2019 - 06:22:56: [SM] Blaming: duel.smx
L 06/05/2019 - 06:22:56: [SM] Call stack trace:
L 06/05/2019 - 06:22:56: [SM] [0] KillTimer
L 06/05/2019 - 06:22:56: [SM] [1] Line 213, C:\Users\abdom\Desktop\SM 1.9\scripting\duel.sp::Event_RoundEnd
I think this should fix it
Quote:

Handle DuelTimer = null;
and replace "KillTimer(DuelTimer, true);" to "delete DuelTimer;"
Quote:

public Action Event_RoundEnd(Handle event, const char[] name, bool dontBroadcast)
{
if(g_DuelMusic)
{
for (int i = 0; i <= MaxClients; i++)
{
g_DuelMusic = false;
StopSound(i, SNDCHAN_AUTO, "duel/sound1.mp3");
}
}
delete DuelTimer;
}
I'm not sure if that's correct way to use it but for me error hidden

TheBOSS 06-05-2019 09:40

Re: [CSGO] 1V1 Duel
 
you shouldn't use sm_settings in plugin
!settings for sourcemod client settings
you need to use "clientprefs" to save clients choosing in database "clientprefs" look at https://wiki.alliedmods.net/Client_P...PI_(SourceMod)
after that you can add menu to enable/disable duel music in clients setting menu (!settings)

DiogoOnAir 06-06-2019 08:51

Re: [CSGO] 1V1 Duel
 
// Update Notes 1.6//
Spoiler

DiogoOnAir 06-06-2019 08:51

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654435)
you shouldn't use sm_settings in plugin
!settings for sourcemod client settings
you need to use "clientprefs" to save clients choosing in database "clientprefs" look at https://wiki.alliedmods.net/Client_P...PI_(SourceMod)
after that you can add menu to enable/disable duel music in clients setting menu (!settings)

I ve added all your requests
Thanks for your support to this plugins!
Sorry for the time

TheBOSS 06-06-2019 16:14

Re: [CSGO] 1V1 Duel
 
3 Attachment(s)
this my edit on plugin:)
- replace <multicolors> to <csgo_colors>
- update duel music Preference
- add duel music volume
- exclude spectator players from duel_minplayers

(I'm not test it yet)
code from (abner round end sound) plugin and all thank for him https://github.com/abnerfs

DiogoOnAir 06-07-2019 10:03

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654633)
this my edit on plugin:)
- replace <multicolors> to <csgo_colors>
- update duel music Preference
- add duel music volume
- exclude spectator players from duel_minplayers

(I'm not test it yet)
code from (abner round end sound) plugin and all thank for him https://github.com/abnerfs

Thanks for your amazing support to this project!

TheBOSS 06-07-2019 11:45

Re: [CSGO] 1V1 Duel
 
ur wlc:wink:
I suggest you remove vote mods and make it random
it's not more useful because there are more mods and littel chance to both players vote same mod
for example you can replace votes menu to ask players for duel (yes/no)
if both players accept, start random duel
then you can easly add more mods later

DiogoOnAir 06-09-2019 11:26

Re: [CSGO] 1V1 Duel
 
Quote:

Originally Posted by TheBOSS (Post 2654730)
ur wlc:wink:
I suggest you remove vote mods and make it random
it's not more useful because there are more mods and littel chance to both players vote same mod
for example you can replace votes menu to ask players for duel (yes/no)
if both players accept, start random duel
then you can easly add more mods later

Ok will do it today!
Thanks for your support to this project!

DiogoOnAir 06-09-2019 18:40

Re: [CSGO] 1V1 Duel
 
// Update Notes 1.7//
Spoiler

Enrory 06-13-2019 10:19

Re: [CSGO] 1V1 Duel
 
I have tested version 1.7

If the 2 last man standing. the duel starts automatic.
sometimes menu comes next round start.

If start the duel automatic it is possible to type 1 for yes and change duel mod.

hope you understand me and fix pls.


All times are GMT -4. The time now is 23:27.

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