Jump to content

Nullifier

Members
  • Posts

    140
  • Joined

  • Last visited

Posts posted by Nullifier

  1. Hi all, I want to make a request for an NPC that will change my 2-1/2-2 trans clothes to the list below.

    • 2nd Class
    • 3rd Class
    • 3rd Class Alternative
    • 4th Class

    I'm trying to use the script below by @iubantot but the problem is when i click the Alt outfit it gave me error and i managed to fix that by adding the said file name into my grf and now im stuck on how can i change it to the list above.

    //==================================================================================================================
    //				By : IUbantot
    //				Facebook : www.facebook.com/ivantuting
    //				Outfit Stylist ver 1.0 (compatible with : rA)
    //				You may use, modify, and host all of my released scripts.
    //				You may not sell them, re-release them in any way (modified or otherwise), or remove the credits.
    //==================================================================================================================
    
    
    
    prontera,147,172,5	script	Outfit Stylist	10115,{
    	mes .npcName$;
    	
    	@eac = eaclass();
    	if(!(@eac&EAJL_THIRD)){
    		mes "Sorry I only work with 3rd jobs.";
    		close;
    	}
    	mes "Hello I am the Outfit Stylist!";
    	mes "I can offer you new outfits for a price!";
    	next;
    	opendressroom(1);
    	mes .npcName$;
    	.@menu$ = "";
    	
    		//	----------------------------------------------
    		// Is the Alternate Outfit available for this job?.
    			.@stylemax = .maxOutfit;
    			for(.@i = 0; .@i < .maxRestrict; .@i++){
    				if(Class == .outfitRestrict[.@i]){
    					.@i = .maxRestrict;
    					.@stylemax -= 1;
    				}
    			}
    		//	----------------------------------------------
    	
    	
    		//	-------------------------------------------------------
    		//	Get purchased outfits list.
    			.@curOpen = openOutfit;
    			
    			if(.@curOpen > 0){
    				setarray .@purchased[0],0,0,0;
    				for(.@i = 0; .@curOpen != 0; .@i++){
    					.@curOpen -= .outfitNum[.@i];
    						if(.@curOpen < 0){
    							.@curOpen += .outfitNum[.@i];
    						}else{
    							.@purchased[.@i] = 1;
    						}
    				}
    			}
    		//	-------------------------------------------------------
    		
    		
    	mes "Select the outfit that you want.";
    		for(.@i = 0;.@i < .@stylemax;.@i++){
    			if(.@purchased[.@i] == 1){
    				.@menu$ += .outfit$[.@i] + " - " + "<Purchased>"+ ":";
    			}else{
    			.@menu$ += .outfit$[.@i] + " - <" + .outfitPrice[.@i] +  " Cash>"+ ":";
    			}
    			if(.@i == (.@stylemax - 1)){
    				.@menu$ += "Default Outfit";
    			}
    		}
    	next;
    	.@pick = (select(.@menu$)-1);
    	
    
    		// ------------------------------------------------------
    		//	This Resets the style if Default Style is selected.
    			if((.@pick + 1) > .@stylemax ){
    				mes .npcName$;
    				mes "Oh so you prefer the original huh? well here you go!";
    				setlook  LOOK_BODY2,0;
    				close;
    			}
    		// ------------------------------------------------------
    
    		
    
    		
    		
    		for(.@i = 0;.@i < 3; .@i++){
    					if(.@purchased[.@pick] == 1){
    						mes .npcName$;
    						mes "Well thank you for using the service here you go!";
    						.@setStyle = .outfitNum[.@pick];
    						if(.@setStyle == 4){
    							.@setStyle--;
    						}
    						setlook  LOOK_BODY2,.@setStyle;
    						close;
    					}
    			}
    		
    		mes .npcName$;
    		mes "Do you really want to proceed?";
    		next;
    		if(select("Proceed...:Changed my mind!") == 2){
    			mes "Well its you're decision!";
    			close;
    		}
    	// ------------------------------------------------------
    		if(#CASHPOINTS < .outfitPrice[.@pick]){
    			mes .npcName$;
    			mes "You do not have what it takes to buy this outfit!";
    			close;
    		}
    	
    	// Change Cloths to desired.
    			mes .npcName$;
    			mes "Well thank you using the service here you go!";
    			.@setStyle = .outfitNum[.@pick];
    			if(.@setStyle == 4){
    				.@setStyle--;
    			}
    			setlook  LOOK_BODY2,.@setStyle;
    			// Character variable for purchased outfits.
    			openOutfit += .outfitNum[.@pick];
    			
    			 #CASHPOINTS -= .outfitPrice[.@pick];
    			 dispbottom "You now have " +#CASHPOINTS+ " cash points.";
    	close;
    end;
    
    OnInit:
    	.npcName$ = "[Fashionista Merry]";
    	
    	// Input the names of the outfits that is available into your client.
    	setarray .outfit$[0],"^0000FFTranscendent Outfit^000000","^00FF00Second Class Outfit^000000","^FF0000Alternate Outfit^000000";
    	setarray .outfitPrice[0],5000,5000,5000; // in cashpoints
    	setarray .outfitNum[0],4,2,1;
    	.maxOutfit = getarraysize(.outfit$);
    	
    	//list of restricted classes.
    	// As of now restricted classes are.
    	//	Rune Knight
    	//	Sorcerer
    	//	Shura
    	setarray .outfitRestrict[0],	4060,4054,4096,4067,4074,4103,4070,4077,4106;
    	.maxRestrict = getarraysize(.outfitRestrict);
    	
    	
    	
    end;
    }

     

  2. hello, ask ko lang sana kung meron mkakatulong saken dito bali may outfit stylist na ko pero parang naka set sya for 3rd job or 4th job use, gusto ko sana syang magamit kahit pre-re lang server ko, may nakita ako dito nag sabi sa forum na need lang daw ng new folder at rename ng mga file pero d ko tlga ma gets, help will be much appreciated, maraming salamat!

    yung script is uploaded ksma netong post.

     

    outfit_stylist (1).txt

  3. On 6/6/2022 at 5:58 AM, cook1e said:

    In your grf find bookitemnametable.txt

    add book id.
    ID#

    for example

    The new book id is 11065

    add 11065# in bookitemnametable.txt

    then create in your grf data/book/11065.txt

    and add your book info in this new .txt

     

    how can you add a command that will pop out the book interface like on the image below?

    image.png.c8a1da9991be0daa41df51a6945df655.png

     

  4. 7 hours ago, Chaos92 said:

    I dont know if I understands your request,

    but have you tried change elite siege box type from cash to usable ?

    Nope, it's there in the item_usable_db.yml already so I didn't change or transfer it to other db's 

    The issue is that when I tried to use @item on a cash shop box item one example is the Blessing Scroll Box (10) it is stacking like the image below

    image.png.1b1eb5d1a3d14d212bd511404195ae05.png

    But whenever I tried to buy from the cash shop and I bought 5 pcs, it will become 5x 1pcs so it's not sorted in your inventory, check the image below.

    image.png.5a58463ed0a8c6c837ebaf15b045f63d.png    image.png.208e76c59636a4cedf3148b259d010dd.png

  5. Where can I find the new item_flag.txt now, or where can I find the setting to enable cash item boxes to be stackable my problem is whenever the ESB (Elite Siege Box) is bought from the cash shop they won't stack.

    I tried doing this from the item_db_usable.yml
    image.png.097ad71364da79cdd488297a75e279cf.png

    but no luck it's just limiting the players holding limit of that specific item.

     

    PS: If a moderator see this can you please transfer my post to the database support I forgot we have that LOL, Sorry.

  6. is there a way to disable respawn after dying twice in pvp room?

    On 10/19/2019 at 12:51 AM, Functor said:

    Hello! You can:

    - or activate mapflag "pvp_nocalcrank" for the specific map

    - or open ../src/map/pc.cpp and in the function "pc_dead" remove these lines of code:

    
    	if( sd->pvp_point < 0 ) {
    		sd->respawn_tid = add_timer(tick+1000, pc_respawn_timer,sd->bl.id,0);
    		return 1|8;
    	}

     

    Thank you @Functor

  7. So the thing is i cant connect to my own local server every time i connect with an incorrect account name/password it says unregistered it means the local server is responsive but everytime i login with the right user/pass it says failed to connect to server here are some screenshots

    unknown.png

     

    unknown.png?width=1071&height=519

     

    image.thumb.png.6431e4bd05aa8735898d37f8c3ef0098.png

     

    INTERATHENA.CONF

    image.png.a76b8958e133ee90e06e5abe57621f83.png

    CLIENTINFO

    image.png.49141aa6e25b1dffb1d47cbba71971c3.png

     

    MY CLIENT DATE IS 

    image.png.a08da1be445a4104c82f2002ece39a04.png

     

  8. does anyone here already tried adding personal information box on flux? i mean other than the usual username, password, confirm password, email and so on adding Personal Information of the player such as First Name, Last Name, Middle Name if so how can i do this?

     

    Thanks.

×
×
  • Create New...