ok simplified version of what nova is trying to say
a bit of basic understanding of programming needed:
---------
Switch (should I dc you?) <----start of the switch statement
{
Case A: equip useable bracelet
printf"I will not DC you"
goto X;
Case B: equip modified honor bracelet/earring/ring (yeah im lazy typing, who cares?)
printf:"I will DC you!" *
goto Z;
Case C: equip useable earring
printf"I will not DC you"
goto X;
Case D: equip useable ring
printf"I will not DC you"
goto X;
}
X: jump to next statements
Z: terminate connection;
*if you must ask why there is a printf statement, ever wonder the computer knows what error did you do? "error code 06 TYPE 134"?
So what should you? What CAN you do?
analyzing this, we can see the flow wherein whenever i equip invalid items, the program always go to Z which terminates my connection to the server, whence, if i equip a valid equipment, it jumps back to the next codes, completely ignoring the dc line.
how do we deal with this? there are MANY ways.
first, you CAN change the direction of the jump on your invalid bracelet, instead of jumping to Z, make it jump to X instead.
second, modifying Z so that it looks completely like X, thus redirecting you the next lines, without disconnecting you.
third, removing case B completely.
just a few tips regarding the third. You might wonder what might happen if you called a "invalid equipment" and its not on your switch case, well yeah, nothing. it will continue until it checks all cases, but since it doesnt fit into any, it will just continue to the code BELOW your switch case, which in this case X. so no problemo. but what if Z comes first, before X? then YEAH your connection gets TERMINATED. what you should do? its up to YOU. either you complicate the program more by adding a line that jumps to X before the line that contains Z, or interchange the position of X and Z or whatever;