AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Prevent server restarting the round when player joins into empty team. (https://forums.alliedmods.net/showthread.php?t=263715)

.Dare Devil. 05-31-2015 11:18

Prevent server restarting the round when player joins into empty team.
 
Hello everyone!

I'm planning to create new zombie mod again and first thing i need is
that all humans only be in CT team and zombies only in T team.

I already did it but i used Orpheu.
Now i want to do it without Orpheu.


When you hold all players in one team and add one player to the opposite team then
round automatically restarts.

Just in case for those who didn't understand my problem


I used Orpheu to block round end when i changed the teams.
Now my question is that is it possibly to do what i want without using Orpheu?

Like letting engine know that all teams have players but players will see that all players are in ct team.
Or somehow blocking this restart thing without Orpheu.
Thanks!

fysiks 05-31-2015 12:48

Re: Prevent server restarting the round when player joins into empty team.
 
Why do you want to remove Orpheu? If it works then you can just leave it as is.

JusTGo 05-31-2015 13:33

Re: Prevent server restarting the round when player joins into empty team.
 
i guess you can do a fake bot in each team.

GuskiS 06-01-2015 01:04

Re: Prevent server restarting the round when player joins into empty team.
 
Setting players in teams equally, but force players to see that all players in CT team. This could cause problems if you need to attack teamnates etc.
If you setting all players to CT, you will run out of spawns.

Jhob94 06-01-2015 03:59

Re: Prevent server restarting the round when player joins into empty team.
 
Quote:

Originally Posted by GuskiS (Post 2303461)
Setting players in teams equally, but force players to see that all players in CT team. This could cause problems if you need to attack teamnates etc.
If you setting all players to CT, you will run out of spawns.

No need to set them equally. He can put one fake client at Terro team and that's it. About spawn, he can create more spawn points or just allow CTs to spawn at T spawnpoints too (something by xpawn if iam not wrong)

HamletEagle 06-01-2015 05:30

Re: Prevent server restarting the round when player joins into empty team.
 
For what reason ? Many tricks and possible problems or bugs just for the sake of removing orpheu ? I mean, it's nothing wrong with it. Why would someone want to add 100 lines of code just to replace 2 ?
Orpheu/Okapi/Rage/Fakemeta/Engine/Cstrike/Fun/etc are just tools, they allow you to do something, this is why they were made. I don't want to start again the old discussion about what should someone use(see fakemeta vs engine debate), but you should go with the way that is providing the best alternative.
At the end I would like to know why the *** peoples think that orpheu is different from any other modules.

Nextra 06-01-2015 06:17

Re: Prevent server restarting the round when player joins into empty team.
 
A "clean" variant of blocking round endings is not available with anything stock AMXX currently offers. Orpheu or similar is required for now.

aron9forever 06-01-2015 06:18

Re: Prevent server restarting the round when player joins into empty team.
 
Quote:

Originally Posted by HamletEagle (Post 2303508)
At the end I would like to know why the *** peoples think that orpheu is different from any other modules.

because it's scary and it prints lots of stuff when the server starts :(

Arkshine 06-01-2015 06:26

Re: Prevent server restarting the round when player joins into empty team.
 
It doesn't with latest versions.

Jhob94 06-01-2015 09:00

Re: Prevent server restarting the round when player joins into empty team.
 
Block round end and force round end could be done with a module. I have 2 modules with that features and one of them is really pretty easy to use.. I am surprised that none of them got released to public..


All times are GMT -4. The time now is 17:14.

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