[Discussion] Removing DC Flag

09/23/2009 00:35 NovaCygni#331
Quote:
Originally Posted by NoobWant2Learn View Post
@enteng for us PH users, Yes its enuf
@nova as what i have understand check's and switch's are like "if then statement"
so if check(if) and switch(then) so i think it goes like this.. IF I WORE THE BRACE(VIA LEVEL HACK) THEN A.)I WOULD NOT DC B.)I WOULD GET DC. So meaning i will edit the B for me not to get DCed.. Ill be trying this now..BTW, the olly folder you have posted helped me alot..
And dont forget when yourve worked out which switch it is, u can either change what its checking for, (* U could use a codecave written at the bottom to write a value into the memory then change the check of switch to check the value you just added to the memory *) or more simply change the switches functions to mimic another of the same Switch arrays that doesnt d/c so in effect you basically get switches 1, 2, 2, 4, 5, 6 where the 3rd switch would mimic the earliar passed 2nd switch.
09/23/2009 03:17 gopotato#332
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;
09/23/2009 04:01 howcow95#333
@ gopotato I know this prolly sounds relly old but I kno alot of ppl in CabalNA are having this problem... finding the right OEP to be able to fix the IAT ... I'm able to unpack and dump ONCE using either ollydump or lordPE but then I can't repair the IAT using imprec because I guess I don't have the right OEP :S ... when I enter it in and hit IAT Search it tells me I found something and to click Get imports ... so I hit get imports and I find nothing... so then I try to click Fix Dump and it simply says "nothing to do" guess it just leads to finding the right OEP which is being REALLY difficult right now >.>
09/23/2009 04:30 zen83#334
howcow, what is your cabal official website ? is it cabal.ogplanet.com ?
09/23/2009 04:59 howcow95#335
yeap
09/23/2009 05:16 brian86#336
same here!! 2 months and still no OEP.. incorect OEP.. cant build IAt! T_T
09/23/2009 05:21 zen83#337
Try other import tools than importRec, because importRec can't import d3dx9_30 function. I don't know why but you should try CHimpRec
09/23/2009 06:39 brian86#338
ok tnx ill try this one!!
09/24/2009 00:54 gopotato#339
I loled when i saw the chaos on the other thread this morning =))
09/24/2009 01:06 Lemans31#340
Pfff i dont understand nothing of what you guys say. That thread about DH and 2Slot hack is a lie :(.

Good job guys. I guess the hacks will not be able anymore for normal people ^^.

Thanks anyways
09/24/2009 03:18 hackerakohehe#341
guys i just wanna ask a noob question what if you manage to alter the dc flag and can equip the bracelet you still need the old requirements for the DH like level and honor ranks?
09/24/2009 08:32 juandelacruz1103#342
how to live debug cabal ?

open CR ?
den open cabal ?
den open ollydbg ?

i cant seem to find d codes ur discussing..
thx in advance..
09/24/2009 08:39 chiam#343
Anyone here have successfully bypassed xtrap?
May I know which plug-in to use to hide Olly?
I'm using phantom and hideolly, but the xtrap still got me.
09/24/2009 08:41 NoobWant2Learn#344
@jaundelacruz1103

First, What is a Live DBG, it enables u to see the codes used while running CABAL,how to live dbg? il make it simple, in our case it's CABAL PH, first open cabal via CR(rider)
then log on to desired char, then open olly attach to cabalmain.exe..in the olly code, it will paused at the entry point, all u have to do is press F9 or hit the play button.. in any case this might not work you may encounter msg like this "access violation press shift +f7,f8,f9 to pass exception" all u have to do is play a lil bit of the dbg options to make it to work... by pressing f9 it should continue running... and oh btw, in some cases olly will also suspend all ur thread thus resulting to cabal not running, if u encounter this go to thread, resume all codes... anyway, discover how olly works first.. thats all i can say
09/24/2009 09:14 juandelacruz1103#345
dats wat i need..
i want to see d codes while cabal is running..

thx dat was simple enough..

bt d problem is wen i press play or f9 d process is terminated..