Jump to content

Fratini

Members
  • Posts

    153
  • Joined

  • Last visited

Posts posted by Fratini

  1. Daifuku, I'm waiting my refund of your service since 2 months ago... I really didn't want to do this but since you can't answer me on Discord, ignoring my messages I'll be clear right here on public:

    Refund my 300 dolars that I paid for you on 2016 for Webdesign. This money that I paid you was hard work and I really need it back...

  2. Jesus, why all this war?
    What is the matter that rAthena update this feature after Hercules?

    I appreciate all the efforts that the devs are putting into the emulator and I'll help with I can and have to maintain RO alive and well :)

    That's the spirit that you guys from Hercules and everyone else should have.

     

    Thank you @Lemongrass

  3. Try that:

     

    prontera,150,150,3	script	Agent#GiftOnline	832,{
    
    	if(getgmlevel()<80)
    		end;
    	if(.check==2){
    		mes "Sir, the gift was delivered successfully";
    		mes "Wanna do it again?";
    		switch(select("Yes:No")){
    		case 1:
    			next;
    			goto AGAIN;
    			
    		case 2:
    			close;
    		}
    	}
    	
    	AGAIN:
    	mes "Input item ID:";
    
    	input .item;
    	if(getitemname(.item) == "null") {
    		mes "Invalid ID "+.item+".";
    		close;
    	}
    
    	mes "Input quantity:";
    	input .count,0,30000;
    	if (.count == 0)
    		mes "Invalid quantity 0.";
    		
    	mes "Input the minimum number of Players Online";
    	input .@i,1,500;
    	getvariableofnpc(.number,"Check_Players")
    	close2;
    	dispbottom .count+" of "+getitemname(.item)+" will be given to players as soon as the Server gets "+.@i+"+ Online =)",0x00FF00;
    	set .check,1;
    	end;
    	
    	OnTimer1:
    		set .@j,getvariableofnpc(.number,"Check_Players");
    		if(!.@j){
    			stopnpctimer;
    			end;
    		}
    		announce "Congratulation NameRO for reaching "+.@j+"+ Players !!",bc_all;
    		sleep 3000;
    		announce "A little gift for each unique player out there!",bc_all;
    		if(.check!=2 && .check){
    			addrid(0);
    			getitem .item,.count;
    			detachrid;
    			.check = 2;
    		}
    		stopnpctimer;
    		end;
    
    }
    
    -	script	Check_Players	-1,{
    	OnPCLoginEvent:
    		if(getusers(1)>=.number && .number>0)
    			initnpctimer "Agent#GiftOnline";
    		end;
    
    }

    Remember to completely change the script. Delete the old one and add these^

  4. Try that:

     

    prontera,150,150,3	script	Agent#GiftOnline	832,{
    
    	if(getgmlevel()<80)
    		end;
    	if(.check==2){
    		mes "Sir, the gift was delivered successfully";
    		mes "Wanna do it again?";
    		switch(select("Yes:No")){
    		case 1:
    			next;
    			goto AGAIN;
    			
    		case 2:
    			close;
    		}
    	}
    	
    	AGAIN:
    	mes "Input item ID:";
    
    	input .item;
    	if(getitemname(.item) == "null") {
    		mes "Invalid ID "+.item+".";
    		close;
    	}
    
    	mes "Input quantity:";
    	input .count,0,30000;
    	if (.count == 0)
    		mes "Invalid quantity 0.";
    		
    	mes "Input the minimum number of Players Online";
    	input .@i,1,500;
    	getvariableofnpc(.number,"Check_Players")
    	close2;
    	dispbottom .count+" of "+getitemname(.item)+" will be given to players as soon as the Server gets "+.@i+"+ Online =)",0x00FF00;
    	set .check,1;
    	end;
    	
    	OnTimer1:
    		set .@j,getvariableofnpc(.number,"Check_Players");
    		if(!.@j){
    			stopnpctimer;
    			end;
    		}
    		announce "Congratulation NameRO for reaching "+.@j+"+ Players !!",bc_all;
    		sleep 3000;
    		announce "A little gift for each unique player out there!",bc_all;
    		if(.check!=2 && .check){
    			addrid(0);
    			getitem .item,.count;
    			detachrid;
    			.check = 2;
    		}
    		stopnpctimer;
    		end;
    
    }
    
    -	script	Check_Players	-1,{
    	OnPCLoginEvent:
    		if(getusers(1)>=.number && .number>0)
    			initnpctimer "Agent#GiftOnline";
    		end;
    
    }

    Remember to completely change the script. Delete the old one and add these^

  5. The problem is that when you use the '[email protected]' sufix, the values will be gone when the script ends. They're not stored. You have to use the '.' to store the values on the NPC variable.


    I see that I made some mistakes. I think now It will work:

    prontera,150,150,3	script	Agent#GiftOnline	832,{
    
    	if(getgmlevel()<80)
    		end;
    	if(.check==2){
    		mes "Sir, the gift was delivered successfully";
    		mes "Wanna do it again?";
    		switch(select("Yes:No")){
    		case 1:
    			next;
    			goto AGAIN;
    			
    		case 2:
    			close;
    		}
    	}
    	
    	AGAIN:
    	mes "Input item ID:";
    
    	input .item;
    	if(getitemname(.item) == "null") {
    		mes "Invalid ID "+.item+".";
    		close;
    	}
    
    	mes "Input quantity:";
    	input .count,0,30000;
    	if (.count == 0)
    		mes "Invalid quantity 0.";
    		
    	mes "Input the minimum number of Players Online";
    	input .@i,1,500;
    	getvariableofnpc(.number,"Check_Players")
    	close2;
    	dispbottom .count+" of "+getitemname(.item)+" will be given to players as soon as the Server gets "+.@i+"+ Online =)",0x00FF00;
    	set .check,1;
    	end;
    	
    	OnTimer1:
    		set .@j,getvariableofnpc(.number,"Check_Players");
    		announce "Congratulation NameRO for reaching "+.@j+"+ Players !!",bc_all;
    		sleep 3000;
    		announce "A little gift for each unique player out there!",bc_all;
    		if(.check!=2 && .check){
    			addrid(0);
    			getitem .item,.count;
    			detachrid;
    			.check = 2;
    		}
    		end;
    
    }
    
    -	script	Check_Players	-1,{
    	OnPCLoginEvent:
    		if(getusers(1)>=.number && .number>0)
    			initnpctimer "Agent#GiftOnline";
    		end;
    
    }

     

    1 hour ago, blakbord said:

    if(getusers(1) == 5) so I can get the item easily

    So, to test it I add a variable to easily edit the number of players that the script will give the item of choice

  6. prontera,150,150,3	script	Surprise at 100	832,{
    
    	if(getgmlevel()<80)
    		end;
    	if(.check==2){
    		mes "Sir, the gift was delivered successfully";
    		mes "Wanna do it again?";
    		switch(select("Yes:No")){
    		case 1:
    			next;
    			goto AGAIN;
    			
    		case 2:
    			close;
    		}
    	}
    	
    	AGAIN:
    	mes "Input item ID:";
    
    	input .item;
    	if(getitemname(.@item) == "null") {
    		mes "Invalid ID "+.@item+".";
    		close;
    	}
    
    	mes "Input quantity:";
    	input .count,0,30000;
    	if (.@count == 0)
    		mes "Invalid quantity 0.";
    	close2;
    	dispbottom .count+" of "+getitemname(.@item)+" will be given to players as soon as the Server gets 100+ Online =)",0x00FF00;
    	set .check,1;
    	OnTimer1:
    		announce "Congratulation NameRO for reaching 100+ Players !!",bc_all;
    		sleep 3000;
    		announce "A little gift for each unique player out there!",bc_all;
    		if(.check!=2 && .check){
    			addrid(0);
    			getitem .item,.count;
    			detachrid;
    			.check = 2;
    		}
    		end;
    
    }
    
    -	script	Check_100	-1,{
    	OnPCLoginEvent:
    		if(getusers(1)>=100)
    			initnpctimer "Surprise at 100";
    		end;
    
    }

    I didn't test it. Any problem just post here

     

    Edit:

    As it can be notice, the NPC that change the ID of the Item gifted and the quantity is in Prontera 150 150. Change that, if you want

  7. By Security, I mean protect the files from Hosts that specialized of Ragnarok, mostly. In Brazil, there's a lot of cases that files where stolen from their own Host owners...

    So, the services of Google. I based on this tutorial https://cloud.google.com/solutions/gaming/minecraft-server

    I was thinking to myself when I read the article : If it's possible to setup a server of another game on Cloud, why not Ragnarok? But I have no idea how. I mean I have some ideas, reading that article, but I don't know if it's worth it, if it's laggy, etc.

  8. Hello guys.

    Since the use of Cloud services is the best for security, I'll try Google Services. But I don't know how to put the server online. It'll be with some cmd commands?

    I'm looking foward with this. I'll definitely sleep better!!

    Thanks!!

  9. 1 hour ago, Secrets said:

    This font is very hard to read on iOS devices.

    I aways use Comic Sans but I notice that on iOS device it changes to Edwardian Script ITC or something

    Anyway, changing to Times =)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.