Jump to content
  • 0

need help auto jobchanger at multi in 1 npc


Question

Posted

Hi. i'm need help here.

this is my multi in 1 npc, already support Rebellion Job change for normal request.

But i'm stuck with auto job changer.

Pleaase anyone can help me to modify this script.

Thanks before.

jobchange.txt

8 answers to this question

Recommended Posts

Posted

@AnnieRuru when i'm using auto jobchanger, when my char already get the requirement and change into the choosen job.

at map console shown warning atcommand @monsterignore.

is it okay?

Posted

[Warning]: script: buildin_atcommand: failed to execute command 'AnnieRuru:@monsterignore'
atcommand strcharinfo(0)+":@monsterignore";
this was a very very old method of using atcommand... back in 2004~2006

it changed into

atcommand "@monsterignore";
around 6 years back

in this code, I don't think there is a need to do @monsterignore ...

find them and eliminate them all

including the addtimer 1000, strnpcinfo(3)+"::OnLeave"; ... its useless

Posted (edited)

sry wrong info,

I was just about to edit my post but you posted a reply =/

OnPCBaseLvUpEvent:

I so seldom use this label, that I almost didn't notice it at all

it triggers when a player has level up from getting exp from a monster, *getexp script command or set baseexp, baseexp + xxx;

now it comes to me that the reason why in this script wants to use this label,

is because the player might get killed while talking to an invisible npc triggered by this label while farming mobs

perhaps a better way to tackle this is with setoption

 

	atcommand strcharinfo(0)+":@monsterignore";
	addtimer 1000, strnpcinfo(3)+"::OnLeave";
all these change into

	setoption 0x40, 1;
	addtimer 1000, strnpcinfo(3)+"::OnLeave";
and

OnLeave:
	atcommand strcharinfo(0)+":@monsterignore";
change into

OnLeave:
	setoption 0x40, 0;
Edited by AnnieRuru
Posted

oo i see, but now i've new problem when char change into third job, character change when their base lvl aldready 99 but not seen for job lvl, so i can't get full job skill for trans class

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...