Learning how to code classes and exe coding.

09/14/2012 10:29 Trac3r#1
Hey all.

I am trying to learn how to add new classes and need some help please.
What I got:
HellSpiders increased ActionFiles
Added extra space with CFF Explorer.
Added the entire bagi class code to it and made it jmp back to where it was before like I just has moved it.

But the client crashes as soon as it reads the Aloken skills.

I made it double jmp like after the Seg it JE Short to bagi(like original) and changed the BAGI class name location ( PUSH DekaronS.0060C634 )
To (JMP 00A93000 = current location of my new space where I has copied and pasted the entire bagi code)

and it dont work :/
I dont really know what it.
09/14/2012 11:00 HellSpider#2
Have you traced the code with OllyDbg? If not, I suggest you to do it, it tells exactly what line fucks up in the form of an exception if the code has faulty logic.
09/14/2012 12:28 Trac3r#3
I couldnt even find the original Aloken on it, so I searched the HEX for ALO and found one that said ASCII "ALO" in comments

so I traced all jmps and je's but nothing regarding MOV AL,6.

I has also tryed adding the aloken manually but same result.
Also checking all JE and JMPS

Btw I use OllyDbg 1.10 since with that I could save.

did I understand it correctly?

Or is there other way of tracing the code of error? btw it is currently on the server side I am trying to do it first.

#Edit

Okay I has now found the MOV AL, 6 (Aloken PCClass ID)
but it only got like 2 lines at it that I can see that makes any sense.
Has you made it split up in parts or something? Oo

#Edit 2
I has now found the rest of the code, Why has you made it in such a big area comparing to the other classes?
09/14/2012 21:48 Zektor#4
Easiest way for you without doing actual debugging is to just compare two executables, one with Aloken and one without it and find the difference.

Make your changes according to the differences.
09/14/2012 21:49 Trac3r#5
You know where I can find a DekaronServer.exe and dekaron.exe without the aloken? (:
09/14/2012 23:57 Ultimo ☼#6
Hey Tracer, here you go: [Only registered and activated users can see links. Click Here To Register...]

These are a2 exes [Without Aloken] with Action list increased.
09/15/2012 00:26 Trac3r#7
That worked much better than the hellspider one.