Jump to content
  • 0

need help auto jobchanger at multi in 1 npc


hendra814

Question


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

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

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

Posted · Hidden by Capuche, December 24, 2013 - No reason given
Hidden by Capuche, December 24, 2013 - No reason given

bump

Link to comment

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

Posted · Hidden by Capuche, December 24, 2013 - No reason given
Hidden by Capuche, December 24, 2013 - No reason given

help me please anyone..

Link to comment

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

this script should work perfectly

the only error I got is

[Error]: script:callfunc: function not found! [F_SexMes]
which this function can be found inside global function
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

@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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

[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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

Thanks Annie

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...