AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CS:GO] Anti-RoundDraw Plugin (Paid?) (https://forums.alliedmods.net/showthread.php?t=299479)

darthelmo1 07-15-2017 21:14

[CS:GO] Anti-RoundDraw Plugin (Paid?)
 
Hey everyone,

As it currently stands in CS, if the timer runs out on a defuse map CTs win and if the timer runs out on a non-defuse map a round draw is triggered and the round count stays the same.

Could someone create (or at least give me an idea of where to start on) a plugin that would make it so that whatever team has more collective HP at the end (or right near the end) of the round wins?

Example:

4 players still alive.

CT #1: 100hp
CT #2: 23hp

T #1: 60hp
T #2: 98hp

Ts win the round when the timer runs out, or just before.


Got some extra $$$ in my paypal right now so if someone's able to make a nice plugin i might be willing to throw a couple bucks at you. Not a promise though unfortunately.


Thanks very much,
Elmo

WatchDogs 07-16-2017 17:41

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
1 Attachment(s)
Hi, I wrote it with HP comparing which you said ;)

Not tested if worked we can add more features as you want :)

darthelmo1 07-17-2017 21:33

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
Quote:

Originally Posted by WatchDogs (Post 2535776)
Hi, I wrote it with HP comparing which you said ;)

Not tested if worked we can add more features as you want :)


Didn't work for me, unfortunately. I'll see if I can figure it out.

WatchDogs 07-18-2017 02:22

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
1 Attachment(s)
I guessed it won't work.

Try this and tell the result this should work:

zipcore 07-18-2017 04:42

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
PHP Code:


public Action CS_OnTerminateRound(float &delayCSRoundEndReason &reason)
{
    if(
reason == CSRoundEnd_Draw)
        return 
Plugin_Stop;
    
    return 
Plugin_Continue;



WatchDogs 07-18-2017 05:14

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
Quote:

Originally Posted by zipcore (Post 2536050)
PHP Code:


public Action CS_OnTerminateRound(float &delayCSRoundEndReason &reason)
{
    if(
reason == CSRoundEnd_Draw)
        return 
Plugin_Stop;
    
    return 
Plugin_Continue;



You're blocking the round end !!!

It's impossible because it's a game event, So anyway where is the HP comparing and winner set ?!

blacklagoon 07-18-2017 05:16

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
I think he just readed the title of the topic and got confused

darthelmo1 07-18-2017 18:52

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
Quote:

Originally Posted by WatchDogs (Post 2536034)
I guessed it won't work.

Try this and tell the result this should work:

Didn't work at first but I managed to fix it and get it to work! Thank you!

WatchDogs 07-19-2017 05:39

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
1 Attachment(s)
How ?! It should work !!

Use this debug version and give me the logs:

darthelmo1 09-07-2017 19:24

Re: [CS:GO] Anti-RoundDraw Plugin (Paid?)
 
Sorry for abandoning this thread. Your timers are a bit messed up and you didn't actually include a section to add to the team's score. As of now this plugin is still a WIP -- basic functionality works but doesn't do what we need it to (yet). I'll reply with some help once we fix it.


All times are GMT -4. The time now is 19:53.

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