PDA

View Full Version : [SmallShare] Get Seal / Give AA


RipperX
14.05.2006, 16:50
This AI gets your seal stone (blue,green,red) and exchange that for Ancient.
Blue = 3 AA
Green = 5 AA
Red = 10 AA

[Edit for Leechers] =)

So.. To activate this use "bypass -h menu_select?ask=1&reply=1".
Success Exchange: seal_stone_thx.htm
No Item Exchange: seal_stone_none.htm

Good Luck =)

Pd: All credits.. for me xD

FidoW
14.05.2006, 18:05
I think maybe we need to start sharing AI in NASC sintax...
for several reasons... leechers... to learn NASC...

here decompiled code...

thx RipperX

class ancient_trader : citizen {
handler:
EventHandler MENU_SELECTED(ask, i0, i1, i2, i3, reply, talker) {
if ((ask == 1) && (reply == 1)) {
i1 = OwnItemCount(talker, 6360);
i2 = OwnItemCount(talker, 6361);
i3 = OwnItemCount(talker, 6362);
i0 = (((i1*3)+(i2*5))+(i3*10));
if (i0 == 0) ShowPage(talker, "seal_stone_none.htm");
else {
GiveItem1(talker, @adena_of_ancient, i0);
DeleteItem1(talker, 6360, i1);
DeleteItem1(talker, 6361, i2);
DeleteItem1(talker, 6362, i3);
ShowPage(talker, "seal_stone_thx.htm");
}
}
}
}

RipperX
14.05.2006, 18:07
I think maybe we need to start sharing AI in NASC sintax...
for several reasons... leechers... to learn NASC...

here decompiled code...

thx RipperX

class ancient_trader : citizen {
handler:
EventHandler MENU_SELECTED(ask, i0, i1, i2, i3, reply, talker) {
if ((ask == 1) && (reply == 1)) {
i1 = OwnItemCount(talker, 6360);
i2 = OwnItemCount(talker, 6361);
i3 = OwnItemCount(talker, 6362);
i0 = (((i1*3)+(i2*5))+(i3*10));
if (i0 == 0) ShowPage(talker, "seal_stone_none.htm");
else {
GiveItem1(talker, @adena_of_ancient, i0);
DeleteItem1(talker, 6360, i1);
DeleteItem1(talker, 6361, i2);
DeleteItem1(talker, 6362, i3);
ShowPage(talker, "seal_stone_thx.htm");
}
}
}
}

Edit done

Carol
16.05.2006, 21:42
This AI gets your seal stone (blue,green,red) and exchange that for Ancient.
Blue = 3 AA
Green = 5 AA
Red = 10 AA

[Edit for Leechers] =)

So.. To activate this use "bypass -h menu_select?ask=1&reply=1".
Success Exchange: seal_stone_thx.htm
No Item Exchange: seal_stone_none.htm

Good Luck =)

Pd: All credits.. for me xD

RipperX ,i need this to make one tradeshop !

I'm not leecher :( .

FidoW
16.05.2006, 21:59
This AI gets your seal stone (blue,green,red) and exchange that for Ancient.
Blue = 3 AA
Green = 5 AA
Red = 10 AA

[Edit for Leechers] =)

So.. To activate this use "bypass -h menu_select?ask=1&reply=1".
Success Exchange: seal_stone_thx.htm
No Item Exchange: seal_stone_none.htm

Good Luck =)

Pd: All credits.. for me xD

RipperX ,i need this to make one tradeshop !

I'm not leecher :( .
compile code with NASC...

Carol
16.05.2006, 23:06
This AI gets your seal stone (blue,green,red) and exchange that for Ancient.
Blue = 3 AA
Green = 5 AA
Red = 10 AA

[Edit for Leechers] =)

So.. To activate this use "bypass -h menu_select?ask=1&reply=1".
Success Exchange: seal_stone_thx.htm
No Item Exchange: seal_stone_none.htm

Good Luck =)

Pd: All credits.. for me xD

RipperX ,i need this to make one tradeshop !

I'm not leecher :( .
compile code with NASC...

Gracias for reply FidoW,but i don't know nothing about Nasc :( .
I'm great newbie girl :( .

Thx.

Thalone
18.05.2006, 17:22
quick question: wouldn't you want to delete the items first? a player could write a script in l2walker and dc immediately after he gets the AA before it takes the items. because "talker" becomes invalid when the original talker logs off

j/w, not sure if someone can make a bot log off that fast

RipperX
20.05.2006, 16:22
quick question: wouldn't you want to delete the items first? a player could write a script in l2walker and dc immediately after he gets the AA before it takes the items. because "talker" becomes invalid when the original talker logs off

j/w, not sure if someone can make a bot log off that fast

just a logic error, I didn't think that. Change the order :)

RipperX
20.05.2006, 16:29
This AI gets your seal stone (blue,green,red) and exchange that for Ancient.
Blue = 3 AA
Green = 5 AA
Red = 10 AA

[Edit for Leechers] =)

So.. To activate this use "bypass -h menu_select?ask=1&reply=1".
Success Exchange: seal_stone_thx.htm
No Item Exchange: seal_stone_none.htm

Good Luck =)

Pd: All credits.. for me xD

RipperX ,i need this to make one tradeshop !

I'm not leecher :( .

I sent you compiled by PM.

ateh
30.05.2006, 20:02
I think maybe we need to start sharing AI in NASC sintax...
for several reasons... leechers... to learn NASC...
here decompiled code...


Is there any decompiler from ai.obj to NASC? I'd love it... :)

Tim21
31.05.2006, 08:49
Great share for people who need it.

Thanks for sharing it to the community


Off topic

Not all leachers have bad intensions.

I keep hearing it on pp in a lot of post although i might not have shared anything yet and have taken somethings from pp which i have implemented in the server but i do have the intension to learn.

as on the moment i am learning to fix npcdata and make correct droptables and aikeleer can back that up.

So i dont like the idea that all you guys wipe all leachers over 1 side.

Thier are some who are willign to learn and some not keep that in mind as i do get offended by such post which really demotivate's me.

Tim