AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Replace disconnected T (https://forums.alliedmods.net/showthread.php?t=156126)

reinert 05-01-2011 10:21

Replace disconnected T
 
Hey, I've got this plugin Replace Disconnected Terrorist

the problem is it replaces the disconnected T but the round still ends, I've a fake bot in terrorists team, but round still ends... Is there another solution or anyhow I can make that the bot will be alive until the terrorist is dead and if terrorist disconnects the bot will be still alive and the round won't end.

And I'm using this deathrun manager by xPaw

SonicSonedit 05-01-2011 14:21

Re: Replace disconnected T
 
reinert
Search for "fakeplayer". You can check KZ/Deathrun plugins as example.
Or you can use infinite round + round terminator.

reinert 05-01-2011 14:28

Re: Replace disconnected T
 
I've already fakeplayer in Terrorists team, but round still ends if real player disconnects.

Sylwester 05-01-2011 14:59

Re: Replace disconnected T
 
If that fakeplayer is not alive then round will end. I could add round end blocking to Replace Disconnected T and then maybe release it in new plugins submissions, because I doubt anyone will be asking for support in original thread buried in suggestions/requests.

reinert 05-01-2011 15:06

Re: Replace disconnected T
 
Yeah that would be great, actually in scoreboard it doesn't show that the BOT is DEAD.

So I guess he is alive, but when terrorist player gets killed round ends.

Sylwester 05-02-2011 22:40

Re: Replace disconnected T
 
Isn't it supposed to work this way (round ends when T dies)?
My plugin was created to handle only disconnects. When I tested it on my server, round didn't end when T disconnected, so I'm not sure what do you really want. I edited code a bit and released it here: http://forums.alliedmods.net/showthread.php?t=156236
If you have any requests, then post there.

ConnorMcLeod 05-03-2011 00:52

Re: Replace disconnected T
 
If round ends, it means that the bot is dead or is badly handled by the plugin that had created it.

reinert 05-03-2011 03:13

Re: Replace disconnected T
 
I'm using a bot from deathrrun manager by xPaw, I can't post the code right now because I' on my phone, but I haven't changed anything
in the bot code and it doesn't show that bot is DEAD in scoretab.

ConnorMcLeod 05-03-2011 13:04

Re: Replace disconnected T
 
Just had a look at xPw's code, Bot seems completely useless, it is not handled.

reinert 05-03-2011 13:26

Re: Replace disconnected T
 
So how can we fix it ? Maybe xPaw should look at your post, and fix the bot ;Dp


All times are GMT -4. The time now is 04:24.

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