Jump to content
  • 0

Global Functions


GLeech

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/19/12
  • Last Seen:  

What will happen if I removed these codes from Global_Functions.txt? (Lines 49-87)

function	script	F_ClearJobVar	{
// Misc ---------------------------------
set JBLVL,0;
set FIRSTAID,0;
set PLAYDEAD,0;
set got_bandage,0;
set got_novnametag,0;
// First Class Jobs ---------------------
set job_acolyte_q,0; set job_acolyte_q2,0;
set job_archer_q,0;
set job_magician_q,0;
set job_merchant_q,0; set job_merchant_q2,0; set job_merchant_q3,0;
set job_sword_q,0; set SWTEST, 0;
set job_thief_q,0;
// Super Novice
set SUPNOV_Q,0;
// 2-1 Jobs ------------------------------
set ASSIN_Q,0; set ASSIN_Q2,0; set ASSIN_Q3,0;
set BSMITH_Q,0; set BSMITH_Q2,0;
set HNTR_Q,0; set HNTR_Q2,0;
set KNIGHT_Q,0; set KNIGHT_Q2,0;
set PRIEST_Q,0; set PRIEST_Q2,0; set PRIEST_Q3,0;
set WIZ_Q,0; set WIZ_Q2,0;
// 2-2 Jobs ------------------------------
set ROGUE_Q,0; set ROGUE_Q2,0;
set ALCH_Q,0; set ALCH_Q2,0;
set CRUS_Q,0;
set MONK_Q,0; set JOB_MONK_C,0;
set SAGE_Q,0; set SAGE_Q2,0;
set DANC_Q,0;
set BARD_Q,0;
// Extended Classes
set TAEK_Q,0; set TK_Q,0;
set STGL_Q,0;
set SOUL_Q,0;
set GUNS_Q,0;
set NINJ_Q,0;
return;
}

base on its comment:

//////////////////////////////////////////////////////////////////////////////////
// Function that clears job quest variables
//////////////////////////////////////////////////////////////////////////////////

will it be ok if those codes were removed? Btw, i'm not using the default/official job changer..

Edited by GLeech
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

Actually it wont cause bigger problems if you remove it. You just have some data trash.

That function isn't used inside the job changer but inside the job change quests.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/19/12
  • Last Seen:  

It seems that even the custom job changer from npc/custom/jobs/jobmaster.txt

use this function so I'll just leave it untouched. Thanks for info sir Kenpachi..

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Posted · Hidden by Brian, January 25, 2012 - No reason given
Hidden by Brian, January 25, 2012 - No reason given

every single line that contain 2 or more slash "/" that line will be auto ignored during the script is run....

Link to comment

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