PDA

View Full Version : Class Transfer without Quest Items


lunatiq
11.07.2007, 12:47
Hi, 1st 2nd 3rd class transfer without quest items AI, and 3rd class master html bypass HTML's, small share but useful, enjoy!

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
Class Transfer 1st 2nd 3rd No Items Needed.zip — 169686 байт

lunatiq
11.07.2007, 12:50
Sorry bout the double post, please delete this

YakudZe
11.07.2007, 13:20
lol, this for C1? >_>

lunatiq
11.07.2007, 16:58
lol, this for C1? >_>

Dude c1 doesn't have 3rd class

Arshen
13.07.2007, 22:05
Dude c1 doesn't have 3rd class
But c1 moded does.

lunatiq
14.07.2007, 13:05
But c1 moded does.

that's not even the point, this is c4 AI, period.

HF
14.07.2007, 13:37
I checked this AI. I dont see nothing for it service. This "Class Transfer" must be work like for "Test Server Cat". No items, no SP... only change...

If you want to use it npc, then you need fix only npc who can set your proffesion. Like that:
If ( lv3_class32 != -1 && occupation_name_id == lv3_class32 && talker.occupation == lv2_class3 )
{
If ( talker.level < 40 )
{
If ( (myself->OwnItemCount(talker, proof32x) < 0 || myself->OwnItemCount(talker, proof32y) < 0 || myself->OwnItemCount(talker, proof32z) < 0) )
{
myself->ShowPage(talker, fnLowLevelNoProof32);
}
Else
{
myself->ShowPage(talker, fnLowLevel32);
}
}
ElseIf ( (myself->OwnItemCount(talker, proof32x) < 0 || myself->OwnItemCount(talker, proof32y) < 0 || myself->OwnItemCount(talker, proof32z) < 0) )
{
myself->ShowPage(talker, fnNoProof32);
}
Else
{
myself->DeleteItem1(talker, proof32x, myself->OwnItemCount(talker, proof32x));
myself->DeleteItem1(talker, proof32y, myself->OwnItemCount(talker, proof32y));
myself->DeleteItem1(talker, proof32z, myself->OwnItemCount(talker, proof32z));
myself->ClassChange(talker, lv3_class32);
myself->ShowSystemMessage(talker, 1308);
myself->ShowPage(talker, fnAfterClassChange32);
}


to
If ( lv3_class32 != -1 && occupation_name_id == lv3_class32 && talker.occupation == lv2_class3 )
{
If ( talker.level < 40 )
{
If ( (myself->OwnItemCount(talker, proof32x) < 0 || myself->OwnItemCount(talker, proof32y) < 0 || myself->OwnItemCount(talker, proof32z) < 0) )
{
myself->ShowPage(talker, fnLowLevelNoProof32);
}
Else
{
myself->ShowPage(talker, fnLowLevel32);
}
}
Else
{
myself->ClassChange(talker, lv3_class32);
myself->ShowSystemMessage(talker, 1308);
myself->ShowPage(talker, fnAfterClassChange32);
}

fast and easy, want and change :)

lunatiq
15.07.2007, 16:20
yes but if you want to change like that you have to change all the jumps which is very troublesome, it's much easier to just to put validation for < 0 for quest items validation