Jump to content

005

Members
  • Posts

    76
  • Joined

  • Last visited

Posts posted by 005

  1. //===== eAthena Script =======================================
    //= eAthena Jobchanger AKA Job Master
    //===== By: ==================================================
    //= eAthena Dev Team [Ori:LunatikBunnie] [Cur:Lance]
    //===== Current Version: =====================================
    //= 1.5a
    //===== Compatible With: =====================================
    //= eAthena SVN Trunk 6674
    //===== Description: =========================================
    //= Changes your job without asking too much
    //= For other info, please contact me at [email protected]
    //= Editted menu to avoid button mashing.
    //= 1.3 Added TK/SL/SG, thanks to Haplo. Fixed minor bugs [Lupus]
    //= script leaves grabage variable: 'lastJob'
    //= 1.4 Added NJ/GS, changed all job numbers to Job_* constants.
    //= All credits go to pxxx [Skotlex]
    //= 1.5 Rewrite everything from scratch. [Lance]
    //= 1.5a fixed Baby -> Super Baby change. Switched to JobName() [Lupus]
    //============================================================
    prontera,153,193,6    script    Job Master    123,{
        mes "^ff0000[Job Master]^000000";
        if(Upper == 1 && Class >= Job_Lord_Knight) goto L_noReq;
        if(SkillPoint != 0){
            mes "I'm sorry, please use up all your skill points before changing jobs";
            mes "Please come again soon!";
            close;
        }
        if(JobLevel < 10) goto L_LvError;
        switch(Class){
            case Job_Novice_High:
            case Job_Baby:
            case Job_Novice:
                skill 142,1,0;
                skill 143,1,0;
                mes "Welcome, please select the job you wish to change into";
                if(lastJob != 0 && Class == Job_Novice_High){
                    switch(lastJob){
                        case Job_Knight:
                        case Job_Crusader:
                            set @target_job, Job_Swordman_High;
                            break;
                        case Job_Monk:
                        case Job_Priest:
                            set @target_job, Job_Acolyte_High;
                            break;
                        case Job_Alchemist:
                        case Job_Blacksmith:
                            set @target_job, Job_Merchant_High;
                            break;
                        case Job_Rogue:
                        case Job_Assassin:
                            set @target_job, Job_Thief_High;
                            break;
                        case Job_Wizard:
                        case Job_Sage:
                            set @target_job, Job_Mage_High;
                            break;
                        case Job_Hunter:
                        case Job_Bard:
                        case Job_Dancer:
                            set @target_job, Job_Archer_High;
                            break;
                                }
                } else {
                    switch(select("Swordsman","Mage","Archer","Acolyte","Merchant","Thief",
                        "Super Novice","Taekwon","Gunslinger","Ninja")){
                            case 7:
                                if(Class == Job_Novice_High) goto L_noReq;
                                if($@JC_SupNovM > BaseLevel) goto L_BvError;
                                if(Upper == 2)
                                    set @target_job, Job_Super_Baby;
                                else
                                    set @target_job, Job_SuperNovice;
                                break;
                            case 8:
                                if(Class == Job_Novice_High) goto L_noReq;
                                if(Upper == 2) goto L_noReq;
                                set @target_job, Job_Taekwon;
                                break;
                            case 9:
                            case 10:
                                if(Class == Job_Novice_High || Upper == 2) goto L_noReq;
                                set @target_job, @menu + 15;
                                break;
                            default:
                                set @target_job, @menu;
                                if(Class == Job_Novice_High) set @target_job, @target_job + 4001;
                                break;
                        }
                }
                mes "Are you sure you want to change to " + JobName(@target_job) + "?";
                if(select("No","Yes") == 2){
                    callfunc "Job_Change", @target_job;
                    if(@target_job == Job_Gunslinger || @target_job == Job_Ninja || @target_job == Job_Taekwon) {
                        callfunc "F_ClearJobVar";
                    } else {
                        if($@JC_Plat) goto L_GivePlat;
                    }
                }
                close;
                break;
            default:
                if(JobLevel < $@JC_MinimumJB) goto L_LvError;
                deletearray @job_opt, getarraysize(@job_opt);
                if(Class < Job_Knight || Class == Job_Taekwon || (Class > Job_Baby && Class < Job_Baby_Knight) || (Class > Job_Novice_High && Class < Job_Lord_Knight)){
                    if(lastJob != 0){
                        set @target_job, lastJob + 4001;
                    } else {
                        switch(Class){
                            case Job_Swordman_High:
                            case Job_Baby_Swordman:
                            case Job_Swordman:
                                set @job_opt[0], Job_Knight;
                                set @job_opt[1], Job_Crusader;
                                break;
                            case Job_Mage_High:
                            case Job_Baby_Mage:
                            case Job_Mage:
                                set @job_opt[0], Job_Wizard;
                                set @job_opt[1], Job_Sage;
                                break;
                            case Job_Archer_High:
                            case Job_Baby_Archer:
                            case Job_Archer:
                                set @job_opt[0], Job_Hunter;
                                if(Sex == 0)
                                    set @job_opt[1], Job_Dancer;
                                else
                                    set @job_opt[1], Job_Bard;
                                break;
                            case Job_Acolyte_High:
                            case Job_Baby_Acolyte:
                            case Job_Acolyte:
                                set @job_opt[0], Job_Priest;
                                set @job_opt[1], Job_Monk;
                                break;
                            case Job_Merchant_High:
                            case Job_Baby_Merchant:
                            case Job_Merchant:
                                set @job_opt[0], Job_Blacksmith;
                                set @job_opt[1], Job_Alchemist;
                                break;
                            case Job_Thief_High:
                            case Job_Baby_Thief:
                            case Job_Thief:
                                set @job_opt[0], Job_Assassin;
                                set @job_opt[1], Job_Rogue;
                                break;                        
                            default:
                                set @job_opt[0], Job_Star_Gladiator;
                                set @job_opt[1], Job_Soul_Linker;
                                break;
                        }
                        mes "Welcome, please select the job you wish to change into";
                        set @target_job, @job_opt[select(JobName(@job_opt[0]), JobName(@job_opt[1]))-1];
                        if(Class > Job_Novice_High && Class < Job_Lord_Knight) set @target_job, @target_job + 4001;
                    }
                    mes "Are you sure you want to change to " + JobName(@target_job) + "?";
                    if(select("No","Yes")==2){
                        callfunc "Job_Change", @target_job;
                        if(@target_job == Job_Star_Gladiator || @target_job == Job_Soul_Linker) {
                            callfunc "F_ClearJobVar";
                        } else {
                            if($@JC_Plat) goto L_GivePlat;
                        }
                    }
                    close;
                }
                if(checkfalcon() || checkcart() || checkriding()) goto L_remove;
                if((Class >=Job_Knight) && (Class <=Job_Crusader2)){
                    mes "Do you want to reborn?";
                    if(select("Yes","No")==1){
                        if(BaseLevel < 99 || JobLevel < 50) goto L_cantCh;
                        set lastJob, Class;
                        if(Class == Job_Knight2){
                            set lastJob, Job_Knight;
                        } else {
                            if(Class == Job_Crusader2){
                                set lastJob, Job_Crusader;
                            }
                        }
                        jobchange Job_Novice_High;
                        resetlvl(1);
                        skill 142,1,0;
                        skill 143,1,0;
                    }
                    close;
                }
        }
        mes "I'm sorry, there are no further classes for your job.";
        close;
    
    L_GivePlat:
        if (BaseClass==Job_SuperNovice) goto L_sSuperN;
        if (BaseClass==Job_Swordman) goto L_sSword;
        if (BaseClass==Job_Mage) goto L_sMage;
        if (BaseClass==Job_Archer) goto L_sArcher;
        if (BaseClass==Job_Acolyte) goto L_sAcolyte;
        if (BaseClass==Job_Merchant) goto L_sMerchant;
        if (BaseClass==Job_Thief) goto L_sThief;
        close;
    L_sSuperN:
        skill 142,1,0;
        close;
    L_sSword:
        skill 142,1,0;
        skill 144,1,0;
        skill 145,1,0;
        skill 146,1,0;
        close;
    L_sMage:
        skill 142,1,0;
        skill 157,1,0;
        close;
    L_sArcher:
        skill 142,1,0;
        skill 147,1,0;
        skill 148,1,0;
        close;
    L_sAcolyte:
        skill 142,1,0;
        skill 156,1,0;
        close;
    L_sMerchant:
        skill 142,1,0;
        skill 153,1,0;
        skill 154,1,0;
        skill 155,1,0;
        close;
    L_sThief:
        skill 142,1,0;
        skill 149,1,0;
        skill 150,1,0;
        skill 151,1,0;
        skill 152,1,0;
        close;
    
    L_cantCh:
        mes "I'm sorry, you do not meet the requirements to change";
        mes "Please come again soon!";
        close;
    
    L_LvError:
        mes "I'm sorry, you do not seem to have enough Job Levels";
        mes "Please come again soon!";
        close;
    
    L_BvError:
        mes "I'm sorry, you do not seem to have enough Base Levels";
        mes "Please come again soon!";
        close;
    
    L_noReq:
        mes "I'm sorry, you do not meet the requirements to change";
        mes "Please come again soon!";
        close;
    
    L_remove:
        mes "Please remove your cart,falcon or peco";
        mes "Please come again soon!";
        close;
    
    OnInit:
        // Variable Setup
        set $@JC_MinimumJB, 40; //Minimum job level for changing between 2nd and advance Class (Default : 40)
        set $@JC_Plat, 1; //Give Platinum skills on Jobchange (Default : 1-yes)
        set $@JC_SupNovM, 45; //Base Level to change into Super Novice (Default : 45)
        end;
    }

    Credits to eAthena.

     

    i tried to add

    set $@SkillPointCheck = 1; 

    not working  /sob

    set $@JC_SkillPointCheck, 0;

    sorry wrong code fixed  /ok

    Removing this if(SkillPoint != 0)

    solve my problem

    bypass skillpoints

  2. 
    
    [Error]:  Loading NPC file: npc/hydeist/Quest/gmprize.txt
    script error on npc/hydeist/Quest/gmprize.txt line 38
        parse_line: expect command, missing function name or calling undeclared function
        34 : {
        35 :
        36 :        OnInit:
        37 :                // Configuration
    *   38 :                'b'indatcmd "reward", strnpcinfo(3) +"::OnAtcommand", 40, 40;
        39 :
        40 :                // Enable preset items? 1 = yes, 0 = no
        41 :                .preset = 1;
        42 :
        43 :                // Announce reward? 1 = yes, 0 = no
    [info]: Done loading '11291' NPCs:
            -'3039' Warps
            -'253' Shops
            -'7999' Scripts
            -'4003' Spawn sets
            -'43015' Mobs Cached
            -'0' Mobs Not Cached
     

     

     

     

  3.  

     

     

     

    ClientExe is what will be used to start your client. So in your case : ClientEXE='minero.exe'

     

    As for the client parameters, that depends on how you've diffed it. Leaving it as -1sak1 should be fine though.

    i tried that ddnt work

     

     

    do i need to add Action='minero.exe' ? on start 

    Yes, you need to put the name of your GAMECLIENT.exe so when you start the Patcher it will directly open your gameclient.

     

     

    i tried this one didn't work

    well the patcher 100% working but game.exe nope

    i think there's a wrong code on my config

     

    14o4n5v.jpg

     

    ClientEXE='minero.exe'

     

     

    [button:Start]

    Default='images/start.png'
    OnHover='images/starthover.png'
    OnDown='images/startdown.png'
    Left=468
    Top=323
    Hook='Start'
    Action='minero.exe'

     

     

    This happens when you start the Patcher and no data.grf or the other files needed.

     

    i got them all " DefaultGRF=',mime-ro.grf' "

    the problem is i can open game using the exe manualy

    because patcher don't work when i click start button on my patcher nothing happen

     

     

    It must be the same name when you put the game client name so the Thor will directly look for the exe and open it. example your client name is " mimeroclient " 

    ClientEXE='mimeroclient.exe'
    

    means need to remove the

    Action='minero.exe'

  4.  

     

    ClientExe is what will be used to start your client. So in your case : ClientEXE='minero.exe'

     

    As for the client parameters, that depends on how you've diffed it. Leaving it as -1sak1 should be fine though.

    i tried that ddnt work

     

     

    do i need to add Action='minero.exe' ? on start 

    Yes, you need to put the name of your GAMECLIENT.exe so when you start the Patcher it will directly open your gameclient.

     

     

    i tried this one didn't work

    well the patcher 100% working but game.exe nope

    i think there's a wrong code on my config

     

    14o4n5v.jpg

     

    ClientEXE='minero.exe'

     

     

    [button:Start]

    Default='images/start.png'
    OnHover='images/starthover.png'
    OnDown='images/startdown.png'
    Left=468
    Top=323
    Hook='Start'
    Action='minero.exe'

     

     

    This happens when you start the Patcher and no data.grf or the other files needed.

     

    i got them all " DefaultGRF=',mime-ro.grf' "

    the problem is i can open game using the exe manualy

    because patcher don't work when i click start button on my patcher nothing happen

  5. ClientExe is what will be used to start your client. So in your case : ClientEXE='minero.exe'

     

    As for the client parameters, that depends on how you've diffed it. Leaving it as -1sak1 should be fine though.

    i tried that ddnt work

     

     

    do i need to add Action='minero.exe' ? on start 

    Yes, you need to put the name of your GAMECLIENT.exe so when you start the Patcher it will directly open your gameclient.

     

     

    i tried this one didn't work

    well the patcher 100% working but game.exe nope

    i think there's a wrong code on my config

     

    14o4n5v.jpg

     

    ClientEXE='minero.exe'

     

     

    [button:Start]

    Default='images/start.png'
    OnHover='images/starthover.png'
    OnDown='images/startdown.png'
    Left=468
    Top=323
    Hook='Start'
    Action='minero.exe'
  6. about that this still a script right if not sorry

    just want to ask after the patch when i click the start my RO won't start

    do i need to add Action='minero.exe' ? on start 

    idk what should i add on this script

    i just want to run minero.exe if i click the start button 

     

     

    config

     

    [Config:Main]
     
     
    RemoteConfigFile='main.ini'
     
    TimeOut=0
     
    StatusFile='update.dat'
     
    DefaultGRF=',mime-ro.grf'
     
    ClientEXE='game.exe'
    ClientParameter='-1sak1'
     
    FinishOnConnectionFailure=false
     
    [Config:Window]
    AutoResize=true
    Style='none'
     
    Width=
    Height=
     
    DragHandling=true
     
    Background='images/bg.jpg'
     
    FadeOnDrag=false
     
    [Config:BGM]
    File=
     
    Loop=true
     
    Volume=20
     
    Directory=
     
    [Config:Misc]
    Title='RO Patcher'
     
    HideProgressBarWhenFinish=false
     
     
    [Label:Status]
    AutoResize=true
     
    Width=411
    Height=16
     
    Left=40
    Top=447
    Alignment='left'
     
    FontColor=$ffffff
    FontName = 'calibri'
    FontSize =9
     
    Text='Patch Process Finished'
     
    Hook='StatusChange'
     
    [NoticeBox:Box0]
    Width=216
    Height=161
    Left=32
    Top=238
     
     
    [ProgressBar:bar1]
    Width=411
    Height=16
     
    Left=36
    Top=419
     
    BackColorStart=
    BackColorEnd=
     
    FrontColorStart=
    FrontColorEnd=
     
    FrontImage='images/frontprogress.png'
    BackImage='images/backprogress.png'
     
    Hook='ProgressChange'
     
     
    [NoticeBox:Box1]
    Width=216
    Height=161
    Left=32
    Top=238
     
    [button:Start]
    Default='images/start.png'
    OnHover='images/starthover.png'
    OnDown='images/startdown.png'
    Left=468
    Top=323
    Hook='Start'
     
    [button:Exit]
    Default='images/Exit.png'
    OnHover='images/Exithover.png'
    OnDown='images/Exitdown.png'
    Left=684
    Top=6
    Mode=5
     
    [button:Vote]
    Default='images/v4p.png'
    OnHover='images/v4pHover.png'
    OnDown='images/v4pDown.png'
    Left=468
    Top=213
    Mode=1
     
    [button:Register]
    Default='images/Register.png'
    OnHover='images/RegisterHover.png'
    OnDown='images/RegisterDown.png'
    Left=468
    Top=268
    Mode=1
  7.  

    i need npc job changer since my old job changer kinda bug some skill not showing on 3rd job

     

    1st job-> 2nd job  > Novice High > high 1st class > 2nd class > 3rd class

     

    https://github.com/rathena/rathena/blob/master/npc/custom/jobmaster.txt

     

    Modify it here

    
    OnInit:
    	setarray .Rebirth[0],99,50;	// Minimum base level, job level to rebirth OR change to third class
    	setarray .JobReq[0],10,40;	// Minimum job level to turn into 1st class, 2nd class
    	.ThirdClass = 1;			// Enable third classes? (1: yes / 0: no)
    	.SecondExpanded = 1;		// Enable new expanded second classes: Ex. Super Novice, Kagerou/Oboro, Rebellion? (1: yes / 0: no)
    	.SNovice = 45;				// Minimum base level to turn into Super Novice
    	.LastJob = 1;				// Enforce linear class changes? (1: yes / 0: no)
    	.SkillPointCheck = 1;		// Force player to use up all skill points? (1: yes / 0: no)
    	.Platinum = 1;				// Get platinum skills automatically? (1: yes / 0: no)
    	end;
    }
    

    thankyou

  8.  

    pag Encrypt ko sa GRF di na gumagana client ko pag decrypt  ko gumagana 

    gamit ko GRF editor

     

    Anong software gamit mo sa pag Encrypt ?

     

    GRF Editor

    v3gfmu.jpg

    gumamit din ako secureGRF error dn 

    oh nagawa ko na ok na pero weird dko sya magalaw sa GRF Editor 

  9. nung nag switch po ako sa renewal may mga item na di updated korean ung iba di makita ung item pag sinuot 


    need ko po ba isa-isahin sila or meron na po complete na english?


     


     .. ...


     


    idnum2itemdisplaynametable


    19974#Costume: ¾ó·è¹«´Ì Åä³¢Èĵå#


     


    idnum2itemdesctable


              19974#

               À§Àå»öÀ¸·Î µ¤ÀÎ Åä³¢ ±Í ¸ð¾ç Èĵå.

              Type:^777777 Costume^000000

              Defense:^777777 0^000000

              Location:^777777 Upper^000000

              Weight:^777777 0^000000

              Required Level:^777777 1^000000

              Applicable Job:^777777 All Jobs^000000

  10. 2r6i0q0.jpg


    Weird now lang ako nakakita ng ganitong problem di kaya ang problem nyo is setup.exe try to use original setup.exe. 

    pinalitan ko na ung setup.exe yan nakita ko sa sound warning : missing or corrupt 'Miles Sound System' files.

  11. Do you mean the option that, when someone pms you, opens up a new window? If it's what you're looking for, open the party window, go in your friend list and click the Friend Setup button (the search icon). Uncheck the first two options, those with 1:1 chats. If your party window is at the bottom right, you'll have to move it otherwise you won't see the friend setup window show up.

     

    Yu8NmHy.png

    nvm thanks  /no1

×
×
  • Create New...