Jump to content

dezmay

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by dezmay

  1. 7 hours ago, Cyro said:

    you do two things to make it work

    1)edit the script and make it give rewards directly instead of updating sql with query_sql 
    2)make an item which can be usable/ tradble with npc for cash points  

    
    3000,Gcoin,Credit Coin,0,5000,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+500;specialeffect2 590; dispbottom  "You got 500CP, now"+strcharinfo(0)+" have "+#CASHPOINTS+" Cashpoints in Total";},{},{}

    this db code is for usable cash coin/

    edit your lua file as you need

    thank you so much i'll try. one more. how can i make other event script run when the first event ended via announcement?

  2. 4 hours ago, Cyro said:

    you are looking for euphy event manger which is paid script but not available(which is not available anymore) even if someone got its having bugs with the latest version! hope someone fix it
    or you can use the free event manger release by stolao script 
     

    anyhow on how to change the prize to cashpoint?

  3. Now i have numerous working event script thanks to everyone. May question would be. How can i put all those scripts in a single file so they will run in succession? Like the second event will not run if the first one is not finish yet?

    Thank you for so much learning and help.

  4. Anyone can help please? I tried changing some. Removed stones that can be bought via NPC and change prize to cash point but it is not working.

     

    //======Name========================================
    // Daily Gem Collection Quest
    //======Version=====================================
    // 1.0
    //======Author(s)===================================
    // Sandbox
    //======Comments====================================
    // In loving memory of AstralRO
    //==================================================
    
    prontera,147,167,5	script	Gem Collector	754,{
    
    if(#TaskDelay+86400 > gettimetick(2)) goto Ltdelay;
    mes "[ ^000088Gem Collector^000000 ]";
    mes "Greetings, ^008800"+strcharinfo(0)+"^000000. I am the renowned gem collector, ^880000Gem Collector^000000! I am collecting some available gems in Rune Midgard!";
    mes "All i am collecting are not available with other NPC like me. Made me sad *sigh*.";
    next;
    mes "[ ^000088Gem Collector^000000 ]";
    mes "I need to collect more of them, If you help me, I will give you something to smile at.";
    next;
    
    mes "[ ^000088Gem Collector^000000 ]";
    mes "You are in part (^FF0000"+(#dtq+1)+"^000000/10) of this daily task, this is the gem that you'll need to hunt: ^880000";
    	if(#dtq == 0) mes "3-Carat Diamond (10)";
    	else if(#dtq == 1) mes "Amethyst (20)";
    	else if(#dtq == 2) mes "Aquamarine (20)";
    	else if(#dtq == 3) mes "Sardonyx (20)";
    	else if(#dtq == 4) mes "Pearl (20)";
    	else if(#dtq == 5) mes "Garnet (20)";
    mes "^000000";
    next;
    mes "[ ^000088Gem Collector^000000 ]";
    mes "For every task you finish, I will reward you with 10 ^0000FFCash Points^000000!"; //Edit to the reward that you would be giving
    menu "Gem on!",-,"I have the gems already!",Lgotit;
    close;
    
    Lgotit:
    	next;
    	if(#dtq == 0 && countitem(732) < 10) goto Lnenough;
    	else if(#dtq == 1 && countitem(719) < 20) goto Lnenough;
    	else if(#dtq == 2 && countitem(720) < 20) goto Lnenough;
    	else if(#dtq == 3 && countitem(725) < 20) goto Lnenough;
    	else if(#dtq == 4 && countitem(722) < 20) goto Lnenough;
    	else if(#dtq == 5 && countitem(718) < 20) goto Lnenough;
    	mes "[ ^000088Gem Collector^000000 ]";
    	mes "Thank you, this will be kept in my trunk full of gemstones! Bahahahaha.";
    	if(#dtq == 0) delitem 732,20;
    	else if(#dtq == 1) delitem 719,20;
    	else if(#dtq == 2) delitem 720,20;
    	else if(#dtq == 3) delitem 725,20;
    	else if(#dtq == 4) delitem 722,20;
    	else if(#dtq == 5) delitem 718,20;
    	//getitem 7233,rand(120,300); //Edit to the reward that you would be giving
    	set .@point_amt, 10;
    	set #CASHPOINTS, #CASHPOINTS + .@point_amt;
    	dispbottom "Gained : "+.@point_amt+" Cashpoints. Total : "+ #CASHPOINTS +" Cashpoints.";
    	mes "There, Cash Points given. Check your chat box!";
    	next;
    	mes "See you again next time. Goodbye!";
    	set #dtq,#dtq+1;
    	if(#dtq == 6)  
    	{ set #dtq,0;
    	set #TaskDelay,gettimetick(2);
    	}
    	close;
    	
    
    Lnenough:
    	mes "[ ^000088Gem Collector^000000 ]";	
    	mes "This monocle never fails to tell me if someone's deceiving me.";
    	close;
    
    Ltdelay:
    	mes "[ ^000088Gem Collector^000000 ]";
    	mes "I don't need any gems for now, come back again tomorrow.";
    	close;
    
    
    }

    NPC is not showing...

  5. On 11/28/2016 at 4:46 AM, Neffletics said:

    Use setmapflag.

    
    setmapflag "prontera",nomobloot;

    and then after your event...
     

    
    removemapflag "prontera",nomobloot;

    Hope it helps! Good luck~

    thank you so much!

    I am getting an error. On this invasion script. Where to position mapflags settings?

  6. I need help please. Post from below

    I tried and it is running properly. But i cannot attack the monster. Can anyone tell me how to set the mapflag and put back the original settings after the event ended? Appreciate it.

    Nvm. Normal character can attack. My admin cannot. Guess need to figure out how to enable and disable monster drop during event.

×
×
  • Create New...