Raised This Month: $ Target: $400
 0% 

force round end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 03-09-2010 , 00:52   force round end
Reply With Quote #1

Hello, is there any way to force the round end?
worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2010 , 04:07   Re: force round end
Reply With Quote #2

Yes, with orpheu. But right now I don't know how, I will try to figure out.
__________________
Arkshine is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-09-2010 , 08:12   Re: force round end
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
Yes, with orpheu. But right now I don't know how, I will try to figure out.
In CHalfLifeMultiplay::CheckMapConditions (or Win) there is a check for hostages. You can make that check to always return true.
__________________
joaquimandrade is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-09-2010 , 08:19   Re: force round end
Reply With Quote #4

Quote:
Originally Posted by joaquimandrade View Post
In CHalfLifeMultiplay::CheckMapConditions (or Win) there is a check for hostages. You can make that check to always return true.
Returning always true isn't going to create an infinite round? He asks for forced round end.
Seta00 is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-09-2010 , 08:20   Re: force round end
Reply With Quote #5

Quote:
Originally Posted by Seta00 View Post
Returning always true isn't going to create an infinite round? He asks for forced round end.
No because the check happens when the timer reaches 0. I think so.
__________________
joaquimandrade is offline
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 03-09-2010 , 08:29   Re: force round end
Reply With Quote #6

If you like: http://forums.alliedmods.net/showthread.php?p=494256
dFF is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2010 , 08:43   Re: force round end
Reply With Quote #7

Quote:
Originally Posted by joaquimandrade View Post
In CHalfLifeMultiplay::CheckMapConditions (or Win) there is a check for hostages. You can make that check to always return true.
I know where to search, I was meant a good way to do that, and by choosing the round end we want ( ct, t etc. )
I think I will decompile the whole function, it will be more easy to understand how is done the function, thus finding the best way to do that.
__________________
Arkshine is offline
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 03-09-2010 , 12:43   Re: force round end
Reply With Quote #8

Quote:
Originally Posted by dFF View Post
it slays all players, etc. I just want to force round end.
worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 03-09-2010 , 14:17   Re: force round end
Reply With Quote #9

You could possibly try to rescue all hostages. If there are none on the map, then you can create a hostage and and rescue zone and force a touch between the two. This will probably result in CT's receiving extra money though, but that is easy to fix also.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 03-09-2010 , 14:24   Re: force round end
Reply With Quote #10

if ill create a hostage in a rescue zone, will it work?
and what to do with message "all hostages have been rescued"?
worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:38.


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