Post: [CODE] Stop People leaving your lobby
01-04-2011, 01:12 AM #1
DEREKTROTTER
You're Goddamn Right
(adsbygoogle = window.adsbygoogle || []).push({});
     Stop People leaving your lobby[/CENTER][/U][/B]

Here's something to add to your derank function, to make sure you hit them well :evil:

[php]LockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}[/php]

[B]Lock a full lobby[/B]
[php]LockAll(){foreach( p in level.players ){if(p.name != self.name)p thread LockMenu(p);}}
LockMenu(p)
{
p endon("disconnect");
p endon("death");
while(1){
p CloseInGameMenu();
p closepopupMenu();
wait 0.05;
}
}[/php]

This will stop them accessing the menu and leaving game[/COLOR]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 52 users say thank you to DEREKTROTTER for this useful post:

Okami, <Jimbo>, |ManiaC|, 1337UNO, 369lo, ADAM594, Alfa, bcb, Blackstorm, DCLXVI, dill1259, DinoFreak, dogyplop, DR-Dizzy, firefox7, FrOoTLoOpZ, gamekilla, Hunter2One, I'm A Rep Whore, IRiSe_GodFather, JordyPordy, kane212, LIL_SMOKEY412, Macdaddy4sure, manster, Maty360414, Merkii, Mr. Star, Mr.Amitoz, Mr.Azoz, Potassium, rabrabrab, RaverBoy, REZNET \|/, CHAOZ, SamMight69Her, sauronith, Scrumilation, Shaarpy, Shieldsy, sir_matt_busby, SolidSnake77, Strike Venom, Swifter, TheJaRniBoi, uhChad, vx-skillz-vx, Xbox 180, xRafiq-, xXPolojackXx, ZzXr3V0LuTi0NzZ
01-04-2011, 11:31 PM #38
DEREKTROTTER
You're Goddamn Right
Originally posted by firefox7 View Post
haha u just updated it ! damn dude you must have alot of time on your hands , SWITCH IS GOOD dont get me wrong ...


i did all that yesterday, just run out of ideas of stuff to put in. the patch is coming to an end
01-04-2011, 11:56 PM #39
A small bug I noticed, once a user dies, they have full access to the menu again.

Is it possible to prevent this forcing them to wait it out, shut off PS3, or press home/quit?

Thanks
01-05-2011, 12:06 AM #40
ps3gamefreak55
Do a barrel roll!
Originally posted by DEREKTROTTER View Post
     Stop People leaving your lobby[/CENTER][/U][/B]

Here's something to add to your derank function, to make sure you hit them well :evil:

[PHP]LockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}[/PHP]

This will stop them accessing the menu and leaving game[/COLOR][/quote]

wow you think of everything derek you are evil but amazing Happy
01-05-2011, 12:12 AM #41
Dreamcather
Call me Eddie Winky Winky
Thanks. Smile
01-05-2011, 12:15 AM #42
DEREKTROTTER
You're Goddamn Right
Originally posted by level42 View Post
A small bug I noticed, once a user dies, they have full access to the menu again.

Is it possible to prevent this forcing them to wait it out, shut off PS3, or press home/quit?

Thanks


you could freeze there controls, take all their weapons, or give them god mode Happy
01-05-2011, 12:24 AM #43
Dreamcather
Call me Eddie Winky Winky
Originally posted by DEREKTROTTER View Post
you could freeze there controls, take all their weapons, or give them god mode Happy


Can u be on about 9-10 hours? I want play MW2/W@W with uSmile if u want.
01-05-2011, 01:00 AM #44
Mr.Amitoz
Big Brother ONLINE GTFO
Originally posted by DEREKTROTTER View Post
     Stop People leaving your lobby[/CENTER][/U][/B]

Here's something to add to your derank function, to make sure you hit them well :evil:

[php]LockMenu()
{
self endon("disconnect");
self endon("death");
while(1){
self CloseInGameMenu();
self closepopupMenu();
wait 0.05;
}
}[/php]

[B]Lock a full lobby[/B]
[php]LockAll(){foreach( p in level.players ){if(p.name != self.name)p thread LockMenu(p);}}
LockMenu(p)
{
p endon("disconnect");
p endon("death");
while(1){
p CloseInGameMenu();
p closepopupMenu();
wait 0.05;
}
}[/php]

This will stop them accessing the menu and leaving game[/COLOR][/quote]

you should put this in your next update patch Winky WinkyWinky Winky

EDIT : Never Mind Just saw on your update you Did Smile
01-05-2011, 02:07 AM #45
Assassin
Easter Egg!
hahahaha!
that`ll teach them for joining session lol
01-05-2011, 04:45 AM #46
Originally posted by DEREKTROTTER View Post
you could freeze there controls, take all their weapons, or give them god mode Happy


All except freeze controls, here's another small issue, when you take away weapons, you should prevent them from being able to pick on up..... Also can the text alert be removed that tells them they got god mode?

Guans this patch is awesome......

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo