Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Class Transfer without Quest Items (https://postpacific.loc-online.com/showthread.php?t=8040)

lunatiq 11.07.2007 12:47

Class Transfer without Quest Items
 
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

Quote:

Originally Posted by YakudZe (Post 91549)
lol, this for C1? >_>

Dude c1 doesn't have 3rd class

Arshen 13.07.2007 22:05

Quote:

Originally Posted by lunatiq (Post 91562)
Dude c1 doesn't have 3rd class

But c1 moded does.

lunatiq 14.07.2007 13:05

Quote:

Originally Posted by Arshen (Post 91734)
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:
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);
                        }

to
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);
                        }

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


All times are GMT. The time now is 15:40.