Jump to content

Normynator

Developer
  • Posts

    292
  • Joined

  • Days Won

    16

Posts posted by Normynator

  1. the preview function does not work because you made all heads to costume? Did i get it right?

     

    I think the line you are looking for is:

    			case 2:
    				set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5);
    				if (@qe1&1) atcommand "@changelook 3 "+@qe2;
    				if (@qe1&256) atcommand "@changelook 1 "+@qe2;
    				if (@qe1&512) atcommand "@changelook 2 "+@qe2;
    				set @qe6,1;
    				break;
    

     

  2. 
    

    //===== rAthena Script =======================================

    //= Guild Prize Giveaway

    //===== By: ==================================================

    //= AnnieRuru / Mysterious

    //===== Current Version: =====================================

    //= 1.5

    //===== Compatible With: =====================================

    //= rAthena SVN

    //===== Description: =========================================

    //= Rewards guild masters of castle owners after each

    //= War of Emperium session.

    //===== Additional Comments: =================================

    //= v1.0 - Intitial Re-release [Mysterious]

    //= v1.1 - Language structures [Mysterious]

    //= v1.2 - Added divisions [Mysterious]

    //= v1.3 - Added proper information [Mysterious]

    //= v1.4 - Optimized! [Euphy]

    //= v1.5 - Little bit of cleaning [Mysterious]

    //============================================================

    prontera,133,163,4 script Castle Rewards 871,{

    mes "[Castle Rewards]";

    if (agitcheck() || agitcheck2()) { mes "WoE is currently still in progress."; close; }

    mes "Please select a castle:";

    next;

    for(set .@i,0; .@i<30; set .@i,.@i+1)

    set .@menu$, .@menu$+getcastlename(.Castles$[.@i])+":";

    set .@i, select(.@menu$)-1;

    mes "[Castle Rewards]";

    if (getcastledata(.Castles$[.@i],1) != getcharid(2)) { mes "You aren't the owner of this castle."; close; }

    if (getguildmasterid(getcharid(2)) != getcharid(0)) { mes "Only the guild master can claim the reward."; close; }

    if ($castle_claimed&(1<<.@i)) { mes "You've already claimed this castle's reward!"; close; }

    mes "Here's your reward for conquering "+getcastlename(.Castles$[.@i])+".";

    set $castle_claimed, $castle_claimed | (1<<.@i);

    getitem 7539,300; //Set your prize here!

    close;

    OnAgitEnd:

    set $castle_claimed, 0;

    end;

    OnInit:

    setarray .Castles$[0],

    "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05",

    "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05",

    "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05",

    "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05",

    "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05",

    "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05";

    end;

    }

    try this script, check franciscos answer

  3. Luk works for me...

    prontera,155,169,5	script	rstat	56,{
    	.@r = rand(0,100);
    	if ( countitem( 607 ) < .num_req ) {
    		dispbottom "I need "+ .num_req +" "+ getitemname( 607 ) +" to gamble.";
    		end;
    	}
    	else if ( select( "Gamble", "Leave" ) -1 ) end;
    	
    	for ( .@i = 203; .@i < 209; .@i++ )
    		sc_end .@i;
    	
    	if ( .@r >= 90 ) {
    		.@s = 300;
    	}else if (.@r >= 85){
    		.@s = 200;
    	}else if (.@r >= 80){
    		.@s = 100;
    	}else if (.@r >= 50){
    		.@s = 30;
    	}else if (.@r >= 30){
    		.@s = 20;
    	}else if (.@r >= 10){
    		.@s = 3;
    	}else{
    		mes "Statbonus Failed";
    		close;
    	}
    	
    	mes "Stats changed: " + .@s;
    	//mes .@r + "  " + .@s;
    	//.@r = rand( .min_stat,.max_stat );
    	for ( .@i = 203; .@i < 209; .@i++ )
    		sc_start .@i,1200000, .@s;
    	end;
    OnInit:
    	.num_req = 1;	// number item 607 required to gamble
    	end;	
    }
    

    I hope new script works :)

    Sry for changing the original soo much :(

  4. Update:

    prontera,155,169,5	script	rstat	56,{
    	if ( countitem( 607 ) < .num_req ) {
    		dispbottom "I need "+ .num_req +" "+ getitemname( 607 ) +" to gamble.";
    		end;
    	}
    	else if ( select( "Gamble", "Leave" ) -1 ) end;
    	.@r = rand( .min_stat,.max_stat );
    	for ( .@i = 203; .@i < 209; .@i++ )
    		 sc_end .@i;
    	for ( .@i = 203; .@i < 209; .@i++ )
    		sc_start .@i,1200000, .@r;
    	end;
    OnInit:
    	.num_req = 1;	// number item 607 required to gamble
    	.min_stat = 1;	// min allstats
    	.max_stat = 200;	// max
    	end;	
    }
    
    

    i hope its fine now :)

  5.  

    probier mal den 2013-08-07 client und nimm den nemo differ und diff die exe nochmal neu.

     

    http://k3dt.eu/Ragexe/unpacked/

    http://hercules.ws/board/topic/630-2013-ragexe-and-diff-up-to-date-2013-08-07/

    http://hercules.ws/board/topic/2905-nemo-client-patcher/

     

    und meine Patchlist:

     

    8 Custom Window Title

    9 Disable 1rag1 type parameters (Recommended)

    13 Disable Ragexe Filename Check (Recommended)

    15 Disable HShield (Recommended)

    16 Disable Swear Filter

    17 Enable Official Custom Fonts

    24 Fix Camera Angles (Recommended)

    32 Increase Zoom Out Max

    33 Always Call SelectKoreaClientInfo() (Recommended)

    34 Enable /showname (Recommended)

    35 Read Data Folder First

    36 Read msgstringtable.txt (Recommended)

    37 Read questid2display.txt (Recommended)

    40 Restore Login Window (Recommended)

    44 Translate Client (Recommended)

    46 Use Normal Guild Brackets

    47 Use Ragnarok Icon

    48 Use Plain Text Descriptions (Recommended)

    49 Enable Multiple GRFs (Recommended)

    50 Skip License Screen

    51 Ascii & Arial on All Langtypes (Recommended)

    61 Disable Packet Encryption (Recommended)

    64 @ Bug Fix (Recommended)

    71 Ignore Missing File Error

    84 Remove Serial Display (Recommended)

    97 Cancel to Login Window (Recommended)

     

     

    Sry it was a german post but

    links are in english

    and there you can see my patchlist too. :) good luck

  6. probier mal den 2013-08-07 client und nimm den nemo differ und diff die exe nochmal neu.

     

    http://k3dt.eu/Ragexe/unpacked/

    http://hercules.ws/board/topic/630-2013-ragexe-and-diff-up-to-date-2013-08-07/

    http://hercules.ws/board/topic/2905-nemo-client-patcher/

     

    und meine Patchlist:
     

    8 Custom Window Title
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    15 Disable HShield (Recommended)
    16 Disable Swear Filter
    17 Enable Official Custom Fonts
    24 Fix Camera Angles (Recommended)
    32 Increase Zoom Out Max
    33 Always Call SelectKoreaClientInfo() (Recommended)
    34 Enable /showname (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    37 Read questid2display.txt (Recommended)
    40 Restore Login Window (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    50 Skip License Screen
    51 Ascii & Arial on All Langtypes (Recommended)
    61 Disable Packet Encryption (Recommended)
    64 @ Bug Fix (Recommended)
    71 Ignore Missing File Error
    84 Remove Serial Display (Recommended)
    97 Cancel to Login Window (Recommended)
    
    
  7. prontera,155,169,5	script	rstat	56,{
    	if ( countitem( 607 ) < .num_req ) {
    		dispbottom "I need "+ .num_req +" "+ getitemname( 607 ) +" to gamble.";
    		end;
    	}
    	else if ( select( "Gamble", "Leave" ) -1 ) end;
    	.@r = rand( .min_stat,.max_stat );
    	for ( .@i = 203; .@i < 209; .@i++ )
    		sc_start .@i,1200000,.@r;
    	end;
    OnInit:
    	.num_req = 1;	// number item 607 required to gamble
    	.min_stat = 1;	// min allstats
    	.max_stat = 200;	// max
    	end;	
    }
    

    Maybe you can do it this way :)

  8. Try this:

     

    //===== eAthena Script =======================================
    //= Job Master
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.3 - eAthena
    //===== Compatible With: ===================================== 
    //= eAthena SVN
    //===== Description: =========================================
    //= A fully functional job changer.
    //============================================================
     
    prontera,162,190,6 script Job Master 123,{
    function Job_Menu; function A_An;
     
    mes "[Job Master]";
    if (Class > 4049) {
    mes "No more jobs are available.";
    close; }
    if (checkfalcon() || checkcart() || checkriding()) {
    mes "Please remove your "+((checkfalcon())?"falcon":"")+((checkcart())?"cart":"")+((checkriding())?"Peco":"")+" before proceeding.";
    close; }
    if (.SkillPointCheck && SkillPoint) {
    mes "Please use all your skill points before proceeding.";
    close; }
     
    set .@eac, eaclass();
    set .@i, ((.ThirdClass)?roclass(.@eac&EAJ_UPPERMASK):Class);
    if (.@i > 6 && .@i < 22) {
    if (BaseLevel < .Rebirth[0] || JobLevel < .Rebirth[1]) {
    set .@blvl, .Rebirth[0]-BaseLevel; set .@jlvl, .Rebirth[1]-JobLevel;
    mes "You need "+((.@blvl>0)?.@blvl+" more base levels "+((.@jlvl>0)?"/ ":""):"")+((.@jlvl>0)?.@jlvl+" more job levels ":"")+"to continue.";
    close; }
    if (Class > 21) {
    mes "Switch to third class?";
    next;
    Job_Menu(roclass(.@eac|EAJL_THIRD));
    close; }
    while(1) {
    mes "Select an option.";
    next;
    set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000");
    if (.@i==3) close;
    mes "[Job Master]";
    mes "Are you sure?";
    next;
    Job_Menu(((.@i==1)?4001:roclass(.@eac|EAJL_THIRD)));
    mes "[Job Master]"; } }
    set .@j1, roclass(.@eac|EAJL_2_1); set .@j2,roclass(.@eac|EAJL_2_2);
    if ((.@eac&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE) setarray .@exp[0],roclass(.@eac|EAJL_THIRD),99;
    if (Class == Job_Ninja) setarray .@exp[0],.@j1,70;
    if (.@exp[0] && .ThirdClass) {
    if (BaseLevel < .Rebirth[0] || JobLevel < .@exp[1]) {
    set .@blvl, .Rebirth[0]-BaseLevel; set .@jlvl, .@exp[1]-JobLevel;
    mes "You need "+((.@blvl>0)?.@blvl+" more base levels "+((.@jlvl>0)?"/ ":""):"")+((.@jlvl>0)?.@jlvl+" more job levels ":"")+"to continue.";
    close; }
    mes "Switch to "+jobname(.@exp[0])+"?";
    next;
    Job_Menu(.@exp[0]);
    close; }
    if (.@eac&EAJL_2)
    if (.@eac&(EAJL_UPPER|EAJL_BABY) || roclass(.@eac|EAJL_UPPER) == -1) {
    mes "No more jobs are available.";
    close; }
    if ((.@eac&EAJ_BASEMASK) == EAJ_NOVICE) {
    if (JobLevel < .JobReq[0])
    mes "A job level of "+.JobReq[0]+" is required to change into the 1st Class.";
    else if (Class == 4001 && .LastJob && lastJob) {
    mes "Switch classes now?";
    next;
    Job_Menu(roclass((eaclass(lastJob)&EAJ_BASEMASK)|EAJL_UPPER)); }
    else switch(Class) {
    case 0: Job_Menu(1,2,3,4,5,6,23,4023);
    case 4001: Job_Menu(4002,4003,4004,4005,4006,4007);
    case 4023: Job_Menu(4024,4025,4026,4027,4028,4029,4045);
    default: mes "An error has occurred."; break; }
    close; }
    if (roclass(.@eac|EAJL_2_1) == -1 || roclass(.@eac|EAJL_2_2) == -1)
    mes "No more jobs are available.";
    else if (!(.@eac&EAJL_2) && JobLevel < .JobReq[1])
    mes "A job level of "+.JobReq[1]+" is required to change into the 2nd Class.";
    else if (.LastJob && lastJob && (.@eac&EAJL_UPPER)) {
    mes "Switch classes now?";
    next;
    Job_Menu(lastJob+4001); }
    else Job_Menu(.@j1,.@j2);
    close;
     
    function Job_Menu {
    while(1) {
    if (getarg(1,0)) {
    mes "Select a job.";
    set .@menu$,"";
    for(set .@i,0; getarg(.@i,0); set .@i,.@i+1)
                    if(getarg(.@i) != 18){
                        set .@menu$, .@menu$+" ~ "+jobname(getarg(.@i))+":";
                    }
                set .@menu$, .@menu$+" ~ ^777777Cancel^000000";
    next;
    set .@i, getarg(select(.@menu$)-1,0);
    if (!.@i) close;
    if (.@i == 18) close;
    if ((.@i == 23 || .@i == 4045) && BaseLevel < .SNovice) {
    mes "[Job Master]";
    mes "A base level of "+.SNovice+" is required to turn into a "+jobname(.@i)+".";
    close; }
    mes "[Job Master]";
    mes "Are you sure?";
    next; }
    else set .@i, getarg(0);
    if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777"+((getarg(1,0))?"Go back":"Cancel")+"^000000")==1) {
    mes "[Job Master]";
    mes "You are now "+A_An(jobname(.@i))+"!";
    if (.@i==4001 && .LastJob) set lastJob, Class;
    jobchange .@i;
    if (.@i==4001 || .@i==4023) resetlvl(1);
    specialeffect2 338; specialeffect2 432;
    if (.Platinum) callsub Get_Platinum;
    close; }
    if (getarg(1,0)) mes "[Job Master]";
    else return; }
    end; }
     
    function A_An {
    setarray .@A$[0],"a","e","i","o","u";
    set .@B$, "_"+getarg(0);
    for(set .@i,0; .@i<5; set .@i,.@i+1)
    if (compare(.@B$,"_"+.@A$[.@i])) return "an "+getarg(0);
    return "a "+getarg(0); }
     
    Get_Platinum:
    skill 142,1,0;
    switch(BaseClass) {
    case 0: if (Class !=23) skill 143,1,0; break;
    case 1: skill 144,1,0; skill 145,1,0; skill 146,1,0; break;
    case 2: skill 157,1,0; break;
    case 3: skill 147,1,0; skill 148,1,0; break;
    case 4: skill 156,1,0; break;
    case 5: skill 153,1,0; skill 154,1,0; skill 155,1,0; break;
    case 6: skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; break;
    default: break; }
    switch(roclass(eaclass()&EAJ_UPPERMASK)) {
    case 7: skill 1001,1,0; break;
    case 8: skill 1014,1,0; break;
    case 9: skill 1006,1,0; break;
    case 10: skill 1012,1,0; skill 1013,1,0; break;
    case 11: skill 1009,1,0; break;
    case 12: skill 1003,1,0; skill 1004,1,0; break;
    case 14: skill 1002,1,0; break;
    case 15: skill 1015,1,0; skill 1016,1,0; break;
    case 16: skill 1007,1,0; skill 1008,1,0; skill 1017,1,0; skill 1018,1,0; skill 1019,1,0; break;
    case 17: skill 1005,1,0; break;
    case 18: skill 238,1,0; break;
    case 19: skill 1010,1,0; break;
    case 20: skill 1011,1,0; break;
    default: break; }
    return;
     
    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
    set .ThirdClass,0; // Enable third classes? (1: yes / 0: no)
    set .SNovice,45; // Minimum base level to turn into Super Novice
    set .LastJob,1; // Enforce linear class changes? (1: yes / 0: no)
    set .SkillPointCheck,1; // Force player to use up all skill points? (1: yes / 0: no)
    set .Platinum,1; // Get platinum skills automatically? (1: yes / 0: no)
    end;
    }
×
×
  • Create New...