Jump to content

Yoona

Members
  • Posts

    567
  • Joined

  • Last visited

Posts posted by Yoona

  1.  

     

    Error @ Line 1779

    parse_syntax: unexpected 'case'
    

    Go to line 1779,

     

             dispbottom "No help at the moment. Wait "+((.helpdelay - gettimetick(2)) + 1)+" seconds.";
    }
         close;

     

    Change to

                  dispbottom "No help at the moment. Wait "+((.helpdelay - gettimetick(2)) + 1)+" seconds.";

        close;
    }

     

     

     

     I still got the same error :(

  2. What is the problem with this one? because some of the players complaining that some they will be log out/DC

     

    post-16619-0-84681300-1385787996_thumb.jpg

    /////////////////////////////////////////////////
    // Credits to Anakid for providing this script //
    /////////////////////////////////////////////////
    
    
    -	script	Lotti	-1,{
    OnInit:
    	disablenpc "Lotti Girl#Lotti";
    	end;
    
    OnWhisperGlobal:
    	if ( getgmlevel() < 99 ) end;
    	else if ( compare ( @whispervar0$, "on" ) ) goto L_start;
    	else if ( compare ( @whispervar0$, "off" ) ) goto L_end;
    	else end;
    		
    L_end:
    OnClock1300:
    OnClock0000:
    	announce "The Lotti Girl will be back soon! Thanks for Joining",bc_all,0x00CED1;
    	disablenpc "LottiGirl#Lotti";
    	end;
    L_start:
    OnClock1200:
    OnClock0100:
    	announce "The Lotti Girl is Back! Come here @ zhakastia 98 51",bc_all,0x00CED1;
    	enablenpc "Lotti Girl#Lotti";
    	end;
    }
    
    zhakastia,98,51,4	script	Lotti Girl#Lotti	714,{
    	if(Weight >= MaxWeight/2) goto Low;
    	mes "[Lotti Girl]";
    	mes "Hello Sir! Are you out";
    	mes "shopping in the city?!";
    	next;
    	mes "[Lotti Girl]";
    	mes "I'm Lotti! I'll exchange cool";
    	mes "random prizes for every";
    	mes "^ff000010 MavenRO Credits^000000.";
    	next;
    	mes "[Lotti Girl]";
    	mes "Our Grand prize is:";
    	mes "^ff0000Kiel D-01 Card^000000";
    	mes "Special prizes are:";
    	mes "^ff0000100 Bravery Badges^000000";
    	mes "^ff00001 Bloody Branch^000000";
    	mes "and ^ff0000100 MavenRO Credits^000000";
    	next;
    	mes "[Lotti Girl]";
    	mes "You can still get random item";
    	mes "if you failed to get the grand";
    	mes "prize and special prizes.";
    	if (countitem(22001) < 10)
    		end;
    	next;
    	if(select("Deal me in!:No way...")==2)
    		end;
    	mes "[Lotti Girl]";
    	mes "Here we go...";
    	delitem 22001,10;
    	set .@Total,8;
    	//<%>,<ItemID>,<Amount>
    	setarray .@P1[0],0,4403,1;
    	setarray .@P2[0],1,7828,1;
    	setarray .@P3[0],2,12103,1;
    	setarray .@P4[0],3,22001,100;
    	setarray .@P5[0],10,14232,10;
    	setarray .@P6[0],15,22001,10;
    	setarray .@P7[0],25,12214,1;
    	setarray .@P8[0],50,607,10;
    	setarray .@Default[0],12221,1;
    	set .@i, rand(1,.@Total);
    	if (rand(1,100) > getd(".@P"+.@i+"[0]"))
    	{
    		for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2)
    		{
    			getitem .@Default[.@j], .@Default[.@j+1];
    			if(!.@k[0])
    				setarray .@k[0], .@Default[.@j], .@Default[.@j+1];
    		}
    	}
    	else{
    		for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2)
    		{
    			getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]");
    			if (!.@k[0])
    			{
    				set .@gz,.@i;
    				setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]");
    				break;
    			}
    		}
    	}
    	if(1<=.@gz&&.@gz<=4)
    		announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0;
    	specialeffect2 248;
    	end;
    	
    	Low:
    	mes "You are Overweight!";
    	end;
    }
    
  3. Can I request a Refine Function that can do, Like this?

     

    Refine Ticket Required Item ( A Usable/Clickable Ticket )

     

    The Function would look like this...

     

    ( + 1 = 1 Refine Ticket )  ( + 2 = 2 Refine Ticket ) ( + 3 = 3 Refine Ticket ) ( + 4 = 4 Refine Ticket ) ( + 5 = 5 Refine Ticket )  ( + 6 = 6 Refine Ticket ) until it reach + 10 

     

     

  4. Hi, i am using Lilith Vending System, but i got this error while compiling..

     

    vending.c: In function ‘vending_purchasereq’:
    vending.c:262: warning: ‘item_name’ may be used uninitialized in this function
    
    

     

  5. I was reffering to rAthena guild which is here " Link

     

    Now i got this error 

     

    -bash: [root@MyRO: command not found
    [root@MyRO build]# -bash: cmake: command not found
    -bash: -bash:: command not found
    [root@MyRO build]# [root@MyRO build]# cmake -G"Unix Makefiles" -DINSTALL_TO_SOURCE=ON ..
    -bash: [root@MyRO: command not found
    [root@MyRO build]# -bash: cmake: command not found
    -bash: -bash:: command not found
    [root@MyRO build]# [root@MyRO build]#
    -bash: [root@MyRO: command not found
    [root@MyRO build]#
    
    

     

  6. you need custom source mod to solve your problem.

    you can get it from the topic posted by AnnieRuru's KOE script.

     

    is it still available now a days ? the custom source mod. of Annieruru's? cant find it :(

×
×
  • Create New...