Jump to content
  • 0

Custom Job Changer Script.


terryy

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

Hi people, actually i'm looking for a jobchanger script whereby it could only change to 3rd job when it reach trans job with max lvl 99/70.

The script that came along with the server do have 1 but it can direct job advance to 3rd job even without trans & rental service,skill reset and lastly platinum skill.. sorry for the bad english hope someone could help thanks!!!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

trunk/npc/custom/jobmaster.txt

Hi people, actually i'm looking for a jobchanger script whereby it could only change to 3rd job when it reach trans job with max lvl 99/70.

Replace this line

set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000");

to

set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass && Class > 21)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000");

trans & rental service,skill reset and lastly platinum skill..

Change this line :

set .Platinum,1;        // Get platinum skills automatically? (1: yes / 0: no)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1132
  • Joined:  05/27/12
  • Last Seen:  

@Capuche: If you check the condition right before, it already checks if (Class > 21), so you should just delete the entire sub-condition. xP

set .@i, select(" ~ ^0055FFRebirth^000000:: ~ ^777777Cancel^000000");
// You can also remove some code below this, but not really needed.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

@Capuche: If you check the condition right before, it already checks if (Class > 21), so you should just delete the entire sub-condition. xP

set .@i, select(" ~ ^0055FFRebirth^000000:: ~ ^777777Cancel^000000");
// You can also remove some code below this, but not really needed.

lol you're right :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

http://svn.rathena.org/svn/rathena/trunk/npc/custom/jobmaster.txt

Hi people, actually i'm looking for a jobchanger script whereby it could only change to 3rd job when it reach trans job with max lvl 99/70.

Replace this line

set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000");

to

set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass && Class > 21)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000");

trans & rental service,skill reset and lastly platinum skill..

Change this line :

set .Platinum,1;		// Get platinum skills automatically? (1: yes / 0: no)

Wow thanks!! it works and how do i add reset skill service and rental service in this npc thanks alot!!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

Wow thanks!! it works and how do i add reset skill service and rental service in this npc thanks alot!!

O.o I misread ! It seems you want all this NPC in one.

Well Euphy made an All-in-one NPC, here is the link :

http://pastebin.com/raw.php?i=GJ4ukgGH

Do the same thing that previously (replacing the line) AND change the setting as your content in the end of the NPC.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

Wow thanks!! it works and how do i add reset skill service and rental service in this npc thanks alot!!

O.o I misread ! It seems you want all this NPC in one.

Well Euphy made an All-in-one NPC, here is the link :

http://pastebin.com/raw.php?i=GJ4ukgGH

Do the same thing that previously (replacing the line) AND change the setting as your content in the end of the NPC.

Thanks very much for the help! its working perfectly!! sorry i'm still not able to self edit the script, if i were to remove the refine,coin xchange,sex changer and magnifying item how should i do it cause i try removing those but got error when opening the server. sorry for the trouble!!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

Thanks very much for the help! its working perfectly!! sorry i'm still not able to self edit the script, if i were to remove the refine,coin xchange,sex changer and magnifying item how should i do it cause i try removing those but got error when opening the server. sorry for the trouble!!

Change the setting in the NPC

// --------------------- Config ---------------------

setarray .MainMenu$[0], // Set menu options!

"Change Jobs", // [1]

"Stylist", // [2]

"Refiner", // [4]

"Remove Cards", // [8]

"Exchange Coins", // [16]

"Rentals", // [32]

"Reset Stats/Skills", // [64]

"Platinum Skills", // [128]

"Change Sex", // [256]

"Identify All"; // [512]

set .MenuOption,1|2|4|8|16|32|64|128|256|512;

setarray .OnClick[0],1,1,1; // When clicked: heal [0], buff [1], repair [2] (1: yes / 0: no)

setarray .Styles[1],553,37,250; // Maximum dye, hair style, and hair color

setarray .Coin[0],674,1000000; // Coin item ID, coin price

setarray .Prices[0],50000,10000,0,100; // Zeny to remove cards [0], reset [1], rent [2], identify [3]

You don't want exchange coins ?

	"Exchange Coins",	// [16]

Remove 16 in

set .MenuOption,1|2|4|8|16|32|64|128|256|512;

set .MenuOption,1|2|4|8|32|64|128|256|512;

etc...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

Thanks very much for the help! its working perfectly!! sorry i'm still not able to self edit the script, if i were to remove the refine,coin xchange,sex changer and magnifying item how should i do it cause i try removing those but got error when opening the server. sorry for the trouble!!

Change the setting in the NPC

// --------------------- Config ---------------------

setarray .MainMenu$[0], // Set menu options!

"Change Jobs", // [1]

"Stylist", // [2]

"Refiner", // [4]

"Remove Cards", // [8]

"Exchange Coins", // [16]

"Rentals", // [32]

"Reset Stats/Skills", // [64]

"Platinum Skills", // [128]

"Change Sex", // [256]

"Identify All"; // [512]

set .MenuOption,1|2|4|8|16|32|64|128|256|512;

setarray .OnClick[0],1,1,1; // When clicked: heal [0], buff [1], repair [2] (1: yes / 0: no)

setarray .Styles[1],553,37,250; // Maximum dye, hair style, and hair color

setarray .Coin[0],674,1000000; // Coin item ID, coin price

setarray .Prices[0],50000,10000,0,100; // Zeny to remove cards [0], reset [1], rent [2], identify [3]

You don't want exchange coins ?

	"Exchange Coins",	// [16]

Remove 16 in

set .MenuOption,1|2|4|8|16|32|64|128|256|512;

set .MenuOption,1|2|4|8|32|64|128|256|512;

etc...

Thank you very much!!! highly appreciated!

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...