Fast LeaveSTAGE (255,254)
Re: Fast LeaveSTAGE (255,254)
Why not just have the server validate game leaving?
On ZPostStageLeave on matchserver, if you send ZPostStageLeave and are a specific ugrade, instantly leave the stage. Otherwise, make a packet as a response, tell it to enable m_bLeaveStageReserved through that packet handler. If you aren't enabled on the server, disconnect the client that attempted to go to the lobby early. That's what I would do, well, that, and add time validation checks on the server.
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
SecretsOThePast
Why not just have the server validate game leaving?
On ZPostStageLeave on matchserver, if you send ZPostStageLeave and are a specific ugrade, instantly leave the stage. Otherwise, make a packet as a response, tell it to enable m_bLeaveStageReserved through that packet handler. If you aren't enabled on the server, disconnect the client that attempted to go to the lobby early. That's what I would do, well, that, and add time validation checks on the server.
Don't bother, his code won't even work, so it's not like he's going to make it any better.
PHP Code:
if(ZGetMyInfo()->GetUGradeID() == 255||254) {[
if (254) will always evaluate to true, you made yourself a built-in hack.
Re: Fast LeaveSTAGE (255,254)
I unfortunately agree with WizKidje, it's not gonna work.
Re: Fast LeaveSTAGE (255,254)
There are people who think that I would post without testing ..
Works 100%
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
a1tl4
There are people who think that I would post without testing ..
Works 100%
It works, the problem is that it works for people without staff grade. (Isn't that what I said before ?)
Re: Fast LeaveSTAGE (255,254)
Exactly, like this kid said it works for Regular players as well which means you built a hack for your own server lol
Re: Fast LeaveSTAGE (255,254)
Re: Fast LeaveSTAGE (255,254)
I'm not able to understand, how "hack" and that is only for the bars that I want? Unless the guy is changing his grade by customer.
I even said "It's simple."
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
Wizkidje
It's a trap
On the topic: show me yourr code to explain
Re: Fast LeaveSTAGE (255,254)
Like wizkid said, change:
Code:
if(ZGetMyInfo()->GetUGradeID() == 255||254) {
to
Code:
if(ZGetMyInfo()->GetUGradeID() == 255 || ZGetMyInfo()->GetUGradeID() == 254) {
else the statement will always be true.
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
Gunblade
Like wizkid said, change:
Code:
if(ZGetMyInfo()->GetUGradeID() == 255||254) {
to
Code:
if(ZGetMyInfo()->GetUGradeID() == 255 || ZGetMyInfo()->GetUGradeID() == 254) {
else the statement will always be true.
oh ye that's right lol.
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
Gunblade
Like wizkid said, change:
Code:
if(ZGetMyInfo()->GetUGradeID() == 255||254) {
to
Code:
if(ZGetMyInfo()->GetUGradeID() == 255 || ZGetMyInfo()->GetUGradeID() == 254) {
else the statement will always be true.
When programmed for gunz 2008 always used and never had problems like this ..
Never knew this changed in 1.5 and VS2003.
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
a1tl4
When programmed for gunz 2008 always used and never had problems like this ..
Never knew this changed in 1.5 and VS2003.
For the love of Christians and Muslims, take an English course or two.
Re: Fast LeaveSTAGE (255,254)
Quote:
Originally Posted by
a1tl4
When programmed for gunz 2008 always used and never had problems like this ..
Never knew this changed in 1.5 and VS2003.
Just fucking accept the advice they're giving you.
You obviously made a fucked up snippet.