Jump to content

Vy Low

Members
  • Posts

    298
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Vy Low

  1. 4 hours ago, Dolphin86 said:

    i been staring at this script and i cant find what was missing.. can someone help me find what was wrong?

    script :

      Hide contents
    new_1-3,90,53,5	script	Dudu	474,{
    	
    	if(Cooking == 1) goto Cooking1; // Line 402 is here //
    	if(Cooking == 2) goto Cooking2; 
    	if(Cooking == 3) goto Cooking3;
    
    	soundeffect "menu.wav",0;
    	mes "Oh !, hello there child";
    	mes "how can i help you ?";
    	next;
    	soundeffect "menu.wav",0;
    	switch(select("- What are you doing ?:- Nothing")){
    		case 1:
    			soundeffect "menu.wav",0;
    			mes "Well i am cooking Satey";
    			mes "it's good recover your";
    			mes "health..";
    			next;
    			switch(select("- Can you teach me ?:- Good Bye")){
    				case 1:
    					soundeffect "menu.wav",0;
    					mes "Oh !, sure it's easy";
    					mes "bring me 10 branch";
    					mes "and 10 Monster loot";
    					mes "and i teach you how";
    					next;
    					soundeffect "menu.wav",0;
    					mes "Want to give it a try?";
    					switch(select("- Yes !:- Good Bye")){
    						case 1:
    							soundeffect "menu.wav",0;
    							mes "Great, now gather";
    							mes "10 Branch and";
    							mes "10 Monster Loot";
    							next;
    							soundeffect "menu.wav",0;
    							mes "come back when you have it";
    							set Cooking,1;
    							close3;
    						case 2:
    							soundeffect "menu.wav",0;
    							mes "Well, com back if you want to learn it";
    							close3;
    					}
    				case 2:
    					soundeffect "menu.wav",0;
    					mes "Good bye child";
    					close3;
    					
    			}
    			
    		case 2:
    			soundeffect "menu.wav",0;
    			mes "Good bye child..";
    			close3;
    			
    	}
    Cooking1:
    	if(countitem(40006) < 10 || countitem(40023) < 10){
    		soundeffect "menu.wav",0;
    		mes "^ff0000 My child, you dont have";
    		mes "10 Monster Loot and";
    		mes "10 Branch.. ^000000";
    		next;
    		soundeffect "menu.wav",0;
    		mes "Come back when you have";
    		mes "10 Branch and 10 Monster Loot";
    		close3;
    	}
    	soundeffect "menu.wav",0;
    	mes "Great work child";
    	mes "now on this Bon Fire";
    	mes "select Grill Meat Satey";
    	next;
    	soundeffect "menu.wav",0;
    	mes "Once you have Meat Satey";
    	mes "talk to me again";
    	set Cooking,2;
    	close3;
    	
    Cooking2:
    	if(countitem(40036) < 1){
    		soundeffect "menu.wav",0;
    		mes "Where are the Meat Satey?";
    		mes "On the BonFire Select";
    		mes "Grill Meat Satey";
    		close3;
    	}
    	soundeffect "menu.wav",0;
    	mes "That was easy right?";
    	mes "the more you cook";
    	mes "more dish you can make";
    	mes "as long you have all";
    	mes "ingredients.";
    	atcommand "@jlvl 1";
    	atcommand "@blvl 1";
    	set Cooking,3;
    	close3;
    	
    Cooking3:
    	soundeffect "menu.wav",0;
    	mes "Hello child, i hope everything is good eh?";
    	close3;
    }

     

     

    Your script doesn't reach line 402

  2. You can check docs for example

     

    Quote

    mes "[Quest Person]";
        if (countitem(512) < 1) {  // 512 is the item ID for Apple, found in item_db
            mes "Can you please bring me an apple?";
            close;
        }
        mes "Oh, you brought an Apple!";
        mes "I didn't want it, I just wanted to see one.";
        close;

     

  3. 9 hours ago, Notorius said:

    hello I have a problem when I was trying to install the database I made a mistake with the mysql user data but now I don't know how to reinstall install again I already changed the data and I still get the error

    fluxcperror.png

    if you have csf or other firewall, allow the ip of your webhost to connect to the vps

    • MVP 1
×
×
  • Create New...