Post: Updated Force Host-Fixes Party Problems
02-07-2011, 04:17 AM #1
-Bane-
Bane Does Work. Like Me.
(adsbygoogle = window.adsbygoogle || []).push({}); Here is my Edit of The Unkn0wn's Force host.

If you use a Mossy Patch or a Mossy Edit use THIS code.

ForceHost() {
if(getDvar("party_connectTimeout")=="0"){
setDvar("party_connectTimeout",1000);
self iPrintLnBold("Force Host : OFF");
}else{
setDvar("party_connectTimeout",1);
self iPrintLnBold("Force Host : ON");
}
self setClientDvar("party_host","1");
setDvar("party_hostmigration","0");
self setClientDvar("onlinegame","1");
self setClientDvar("onlinegameandhost","1");
self setClientDvar("onlineunrankedgameandhost","0");
setDvar("migration_msgtimeout",0);
setDvar("migration_timeBetween",999999);
setDvar("migration_verboseBroadcastTime",0);
setDvar("migrationPingTime",0);
setDvar("bandwidthtest_duration",0);
setDvar("bandwidthtest_enable",0);
setDvar("bandwidthtest_ingame_enable",0);
setDvar("bandwidthtest_timeout",0);
setDvar("cl_migrationTimeout",0);
setDvar("lobby_partySearchWaitTime",0);
setDvar("bandwidthtest_announceinterval",0);
setDvar("partymigrate_broadcast_interval",99999);
setDvar("partymigrate_pingtest_timeout",0);
setDvar("partymigrate_timeout",0);
setDvar("partymigrate_timeoutmax",0);
setDvar("partymigrate_pingtest_retry",0);
setDvar("partymigrate_pingtest_timeout",0);
setDvar("g_kickHostIfIdle",0);
setDvar("sv_cheats",1);
setDvar("xblive_playEvenIfDown",1);
setDvar("party_hostmigration",0);
setDvar("badhost_endGameIfISuck",0);
setDvar("badhost_maxDoISuckFrames",0);
setDvar("badhost_maxHappyPingTime",99999);
setDvar("badhost_minTotalClientsForHappyTest",9999 9);
setDvar("bandwidthtest_enable",0);
}


If you use any other Type of Path, use THIS code.

ForceHost() {
if(getDvar("party_connectTimeout")=="1"){
setDvar("party_connectTimeout",1000);
self ccTXT("^1Force Host : OFF");
}else{
setDvar("party_connectTimeout",0);
self ccTXT("^2Force Host : ON");
}
self setClientDvar("party_host","1");
setDvar("party_hostmigration","0");
self setClientDvar("onlinegame","1");
self setClientDvar("onlinegameandhost","1");
self setClientDvar("onlineunrankedgameandhost","0");
setDvar("migration_msgtimeout",0);
setDvar("migration_timeBetween",999999);
setDvar("migration_verboseBroadcastTime",0);
setDvar("migrationPingTime",0);
setDvar("bandwidthtest_duration",0);
setDvar("bandwidthtest_enable",0);
setDvar("bandwidthtest_ingame_enable",0);
setDvar("bandwidthtest_timeout",0);
setDvar("cl_migrationTimeout",0);
setDvar("lobby_partySearchWaitTime",0);
setDvar("bandwidthtest_announceinterval",0);
setDvar("partymigrate_broadcast_interval",99999);
setDvar("partymigrate_pingtest_timeout",0);
setDvar("partymigrate_timeout",0);
setDvar("partymigrate_timeoutmax",0);
setDvar("partymigrate_pingtest_retry",0);
setDvar("partymigrate_pingtest_timeout",0);
setDvar("g_kickHostIfIdle",0);
setDvar("sv_cheats",1);
setDvar("xblive_playEvenIfDown",1);
setDvar("party_hostmigration",0);
setDvar("badhost_endGameIfISuck",0);
setDvar("badhost_maxDoISuckFrames",0);
setDvar("badhost_maxHappyPingTime",99999);
setDvar("badhost_minTotalClientsForHappyTest",9999 9);
setDvar("bandwidthtest_enable",0);
}



All this does is IF you had problems with losing your party.
This Should Help.
I have only test 3x
1 with Party of 2
1 with Party of 4
1 with Party of 9

All tests were successful compared to problems I used to have.
I hope this also works for everyone else.
It could have been coincidental possible that noone was on my Computer.
I do doubt this though.
please leave responses of your tests and I will be further troubleshooting this code.
(adsbygoogle = window.adsbygoogle || []).push({});
02-07-2011, 03:47 PM #11
Default Avatar
Gizmo
Guest
Originally posted by baremo View Post
Do you know how to find it please ? ( In the Blackstorm ^^ )


If your in Blackstorm, its allready in there Winky Winky
Just replace force host with this one
02-07-2011, 04:16 PM #12
Originally posted by baremo View Post
Do you know how to find it please ? ( In the Blackstorm ^^ )


... You fail... Its in missions dude.
02-07-2011, 04:52 PM #13
baremo
Pokemon Trainer
I talk about the ccTXT Function ....
02-07-2011, 06:49 PM #14
Skyl1n3
DO SOMETHING THEN!
Originally posted by SprayzZz
This gives me an error for some reason? I dont see why but it does :/


What's the error? :sleep:

Originally posted by xL3AD3Rx View Post
how do u put it on the patch


You must login or register to view this content.
02-07-2011, 09:01 PM #15
-Bane-
Bane Does Work. Like Me.
Originally posted by D View Post
myne force host kept working, already for like 2 months lol.

---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------



that's why some people ghot error's LMAO


its supposed to be like that.
i took this code from the unkn0wn's 2.8.5
people just dont know how to bund functions because
1. they dont know what they're doing
2. they dont even look at the code
02-07-2011, 11:01 PM #16
Originally posted by D View Post
myne force host kept working, already for like 2 months lol.

---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------



that's why some people ghot error's LMAO


Actually i was looking in Derektrotters edit and i found it spelled the same so maybe it's different in other patches
02-08-2011, 01:09 AM #17
Originally posted by Skyl1n3 View Post
What's the error? :sleep:



You must login or register to view this content.


Complie error, ill look at it some more. I dont know if it matters but im trying to get this force host and another in it? I bonded it correctly so that is not the problem.
02-08-2011, 01:20 AM #18
Skyl1n3
DO SOMETHING THEN!
Originally posted by SprayzZz
Complie error, ill look at it some more. I dont know if it matters but im trying to get this force host and another in it? I bonded it correctly so that is not the problem.


Every error says "Script Compile Error" and then below it says something, tell me what that says :sleep:
02-08-2011, 01:37 AM #19
Originally posted by Skyl1n3 View Post
Every error says "Script Compile Error" and then below it says something, tell me what that says :sleep:


I meant it says unknown error.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo