![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jul 2007
Posts: 7
|
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 байт |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jul 2007
Posts: 7
|
Sorry bout the double post, please delete this
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Dec 2006
Posts: 205
|
lol, this for C1? >_>
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jul 2007
Posts: 7
|
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 111
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jul 2007
Posts: 7
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
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: Code:
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);
}
Code:
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);
}
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jul 2007
Posts: 7
|
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
|
|
|
|
|