Jump to content

Ronald

Members
  • Posts

    250
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Ronald

  1. On 6/26/2021 at 2:25 PM, DR4LUC0N said:

    So I have this script that I've been working on, but the problem is, it only spawns 1 of the monsters, trying to get random monsters off the list with the % based chance to spawn. If possible I'd like to keep the array mob_ID,%chance, if not it's okay, would much rather a functioning script over functionality.

     

    
    ba_chess,20,20,6	script	MvP Shower Helper	10023,{
    	
    	if(getgmlevel() >= 90){
    		mes "Hello"+ strcharinfo(0) +", welcome to the MvP Shower NPC.";
    		mes "Please select a map you'd like to spawn MvPs on.";
    		next;
    		
    		.@select$ = implode(.map_name$, ":");
    		.@i = select( .@select$ ) - 1;
    		
    		mes "How many MvPs would you like to spawn on map "+ .map_name$[.@i] +"?";
    		next;
    		
    		input .@mob_nbr;
    		
    		mes "So you have choosen to spawn "+ .@mob_nbr +" on "+ .map_name$[.@i] +" is this correct?";
    		if(select("Yes:No") == 2) end;
    		
    		.@rand = rand(1,getarraysize(.size_mob)/2)*2;
    		monster .map_name$[.@i],0,0,"--ja--",.mob_id[.@rand+1],.@mob_nbr;
    	}
    OnInit:
    setarray .map_name$,"ba_chess","veil","prontera","fair_izlude","ba_bath";
    setarray .mob_id[1],1857,5,1002,10,1031,2,1113,15,1613,33,1836,60;
    .size_mob = getarraysize( .mob_id );
    end;
    }

    I appreciate any help given.

    Create a specific array for mobCount. 

  2. On 7/4/2021 at 4:29 AM, kilow said:

    Hello,

    Is there a script command as getinventorylist {<char_id>} but for cart?
    I don't want to check a specific item but return a list of item in a cart with id.

    Thank you
     

     

    Bindcommand with sql query of cart check from char_id.

  3. On 7/12/2021 at 9:51 AM, lLoydxx said:

    Boa noite comunidade, podem me ajudar com esse script de recompensa diária.

    Como faço para ele dar recompensa a cada 24 horas?

    Porque ele da a recompensa toda vez que faço login queria que desse a cada 24 horas contadas.

    Desde já agradeço!

     

    Good night community, can you help me with this daily reward script. How do I get it rewarded every 24 hours? Because he gives the reward every time I log in, he wanted me to give it every 24 hours.

    recompensa_diaria.txt 16.68 kB · 6 downloads

    Check this out.

    if(gettimetick(2) - #lastTimeTalked > (60 * 60 * 12)) {

    to

     

    if(gettimetick(2) - #lastTimeTalked > (60 * 60 * 24)) {
  4. On 3/13/2021 at 4:09 PM, vindicare said:

    thank you , will search for weemapcache here in rathena 

    1. how to know if they are not compatible?
    2. where can I see it?
    3. possible tingnan ko po if may hidden but sobrang dami nung cell bug para magtabi tabi yung hidden npc's
    4. Naka up na ang server pero wala pa players hahaha

    1. It's not that it's not compatible. What they mean is that your map gat is not the same as what's loaded on your mapcache.dat

    2. The best solution is reload your gat file to the mapcache.dat(via weemapcahe)

    3. You can fix it easily by getting the x and y length. with setcell walkable 1

    4. Unfortunately we can't help you with your 4th problem Bro. XD

     

  5. On 7/9/2021 at 2:31 AM, friomixx said:

    May mairecommend po ba kayo na hosting service provider?

    It's not that I don't recommend RO Hosts. But it's really recommended to do it on scratch and do it on VPS that are already credible. FYI.

     

    Vultr & OVH are one of the best. You can also consider Digital Ocrean.

  6. On 7/9/2021 at 7:28 PM, f_fman said:

    thats work for me, but for a Reason, after the first Rebuild of the Solution after that change, I only can modify the MVP that I originally put in the custom group, but it doesnt detect the new MVPs that I add to it.

    Did you created a new txt file for the new branch?

    Make sure that the format for the new txt file is the same on what you inputted on the src mod. 

    export_constant(MOBG_YOUR_Branch);
  7. On 4/23/2021 at 11:52 PM, vindicare said:

    sorry for the late reply medyo na busy lang sa ibang bagay , may nakikita kasi ako nagpapa rent nang gepard license and such . Will pm si functor about this hoping may alternative offers siya para naman ma try ko magkaroon nang server.

    This is basically not allowed.

    FYI.

    A message from @Functor himself,

    You have to know, that license is personal. You can't resell/share license or change the owner. You can use it for your personal server only.

    FYI all.

    • Love 1
  8. 8 hours ago, Origami said:

    Hi ! Is it possible to pick just 1 skill only to reset and refund skillpoints at the same time ??? instead of resetting all my skills .. Thanks

    I think that in order to do this you'll have to mess up with SQL skill id and level of charid. Basically what's your purpose on doing this? Just wondering ?

  9. 2 hours ago, TheEbilOne said:

    Hello Masters of scripting..

    Could you help me out iam looking for a NPC #xyxyxy (checking that on rAthena Sprites later)

    which looking if GM's are online  -> if yes  -> show the name and start a "request" and write smth.

    if there is no GM online the written request send to the mail box <-- !!

     

    Could you please help me . Thanks ?

    I know you are requesting for specific script but. This two scripts would definitely answer your concerns. 

     

     

  10. 2 hours ago, Chasewalk said:

    good day!

    help me please i'm using daily reward script but every time i put in points there is an error on map-server but when I return to the previous no error thanks for the help!

     

     

    setarray rewards$
    10000,10,0,0,14232,1,1357,1 


    Points$,"#CASHPOINTS","Activity Points";

    set #CASHPOINTS,#CASHPOINTS+1;

  11. 3 hours ago, Rivers said:

    Good day,

    I'm having some troubles finding a resource here for sending a player back to @go 0 (or their saved locaed) when entering a map. I tried using the Mapflags built into the game, but players can still @warp to my GM maps even with nowarp/nowarpto enabled. Anyone have a simple script to remove players from a specified map? I'd appreciate it greatly.

    This might help. You just need to modify it.

     

     

    • Upvote 1
  12. 1 hour ago, Triedge said:

    I make the request for if it is possible to create a script command that allows adding objects to an NPC Shop, but that has faculties such as refine, Cards and ramdom options

    Example:

    • npcshopadditem2("<name>",<item id>,<price>,refine,card0,card1,card2,card3);
    • npcshopadditem3("<name>",<item id>,<price>,refine,card0,card1,card2,card3,<RandomIDArray>,<RandomValueArray>,<RandomParamArray>);

     

    
    
     

    You can use getitem2.

     

     

×
×
  • Create New...