Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   C4 AI Decompiler (https://postpacific.mmorpg-game.online/showthread.php?t=6064)

Sauron 24.10.2006 02:03

C4 AI Decompiler
 
this was done with c4 original ids (i know they are wrong) so there are 2 options, or decompiled original ai.obj which has to be place in the folder root or replace all the ids with the onces used by the ai.obj you want to decompile.

http://rapidshare.com/files/437524/C...piler.rar.html


theorically supports while, for, select case, if, else if, else, complex strings (var + "text" + var), buylist, teleportlist....

TheOrder 24.10.2006 02:19

w0000t Sauron Awsome job ! Think you just got boored lol and decided to do it !
Since i thought you retired and shit !
Manny thanks for the decompiler and for all things you cleared and helped me out on !

Tavi

Koner 24.10.2006 05:47

omg! O_o
Very big thx Sauron!
gj ;)

mcrabben7 24.10.2006 06:11

Thanks for the share. Good job!

hel 24.10.2006 06:15

Great share Sauron!!

Domzelan 24.10.2006 06:16

Very good - THX! :)

ismael66 24.10.2006 06:43

Nice,Keep up the good work :)

SlayerX 24.10.2006 06:45

Godlike share, good job

GMan 24.10.2006 08:36

Thank you sooo much, now i can really start to learn C4 AI.

cypher 24.10.2006 09:38

Kicks arse :) ... and I suppose next one comming is the SauComp.

Cheers

barabashka 24.10.2006 13:15

Greate work. Tnx.

Domzelan 24.10.2006 13:16

Yes we can decompile and what about compile? :)

rus: А как компилировать то всё это? :)

MuNLoK 24.10.2006 19:08

thank Sauron, very nice share :)

dinesat4 24.10.2006 19:32

Good Work ^^

now you have to work to... how compile? :P

m4rk 24.10.2006 19:56

Thanks a lot Sauron! This will be really useful!

adriahu 24.10.2006 23:20

it's translator, not decompiler ;)

fanatic 25.10.2006 02:32

Awesome work ! World woud be great if all ppl are like u and humordwarf! ^^

Guaresnay 25.10.2006 03:18

ty so much, great share dude :D

karabas 25.10.2006 04:08

Thank Sauron!!! Good Work!

Isachs 25.10.2006 04:09

Awesome work, thx ^^

hhk31257 25.10.2006 21:44

is it possible to tell us how you compile your C4 ai?

because atm we use your decompiler
and to compile we first compile it with the C1 compiler and then convert it to C4
but the converter is very error sensitive...

any information on this would be very appreciated.

Sauron 25.10.2006 22:24

i code directly in ai.obj.

i have a c1 compiler in php, maybe in a near future i'll addapt it to c4.

BloodLine 26.10.2006 00:03

thank you Sauron great share

RmzVoid 27.10.2006 06:00

10x for this tool.
Now very easy look in ai
but some bugs present

i0 = myself->FloatToInt(myself.sm.x);
i1 = myself->FloatToInt(myself.sm.creature);
i2 = myself->FloatToInt(myself.sm.z);

should be

i0 = myself->FloatToInt(myself.sm.x);
i1 = myself->FloatToInt(myself.sm.y);
i2 = myself->FloatToInt(myself.sm.z);

also

if( 268435456 )
{
myself.i_ai0 = 1;
myself.sm.param3 = ( myself.sm.param3 - 268435456 );
}

to

if( myself.sm.param3 & 268435456 )
{
myself.i_ai0 = 1;
myself.sm.param3 = ( myself.sm.param3 - 268435456 );
}

Mark20 27.10.2006 07:43

Quote:

Originally Posted by RmzVoid (Post 70770)
10x for this tool.
Now very easy look in ai
but some bugs present

i0 = myself->FloatToInt(myself.sm.x);
i1 = myself->FloatToInt(myself.sm.creature);
i2 = myself->FloatToInt(myself.sm.z);

should be

i0 = myself->FloatToInt(myself.sm.x);
i1 = myself->FloatToInt(myself.sm.y);
i2 = myself->FloatToInt(myself.sm.z);


Maybe is duo to different ids...?

Quote:

Originally Posted by Sauron (Post 70616)
this was done with c4 original ids (i know they are wrong) so there are 2 options, or decompiled original ai.obj which has to be place in the folder root or replace all the ids with the onces used by the ai.obj you want to decompile.



All times are GMT. The time now is 21:46.