Jump to content

Oceanid

Members
  • Posts

    80
  • Joined

  • Last visited

Community Answers

  1. Oceanid's post in Need help with getpetinfo was marked as the answer   
    "PETINFO_CLASS" isn't a type. Refer to this link https://rathena.org/wiki/Getpetinfo and replace "PETINFO_CLASS" with the corresponding number for what you want to check.
  2. Oceanid's post in lotti was marked as the answer   
    scythero,110,84,2 script Lotti Girl 113,{ mes "[Lotti Girl]"; mes "It costs "+.Cost[1]+"x "+getitemname(.Cost[0])+" to play."; if (countitem(.Cost[0]) < .Cost[1]) close; next; if(select("Deal me in!:No way...")==2) close; mes "[Lotti Girl]"; mes "Here we go..."; progressbar "",2; delitem .Cost[0], .Cost[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]) setarray .@k[0], getd(".P"+.@i+"["+.@j+"]"), getd(".P"+.@i+"["+(.@j+1)+"]"); } } if(.@k[0] == 4441) announce "Congratulations to "+strcharinfo(0)+" for getting "+.@k[1]+"x "+getitemname(.@k[0])+"!",0; specialeffect2 248; close; OnInit: // Format: <%>,<item ID>,<count>{,...}; setarray .P1[0],60,12214,5; //convex mirror 10pcs 60% setarray .P2[0],50,674,5; //Mithril Coin 10pcs 70% setarray .P3[0],40,20251,20; //Hourly coin 20pcs 30% setarray .P4[0],5,13413,1,13412,1; //Naght Seiger(Red) 2% 1pc setarray .P5[0],60,7227,5; //TCG 10pcs 70% setarray .P6[0],40,2387,1,2440,1,2744,1; //sprint set 40% setarray .P7[0],5,4403,1; //Kiel Card 5% 1pc setarray .P8[0],2,4399,1; // Thanatos Card 2% 1pc setarray .Default[0],12214,1; //convex mirror default 1pcs setarray .Cost[0],7227,15; // 15pcs tcg required para makalaro sa lotti set .Total,8; end; } Use this one. I already included the change posted by jezznar and tested it in my server. Just make sure to change the map to the one you want.
  3. Oceanid's post in How to set mapflag for autotrade was marked as the answer   
    Yes but don't include on. When you make the script it will automatcally allow autotrade on that map. So the script will look like this:
    prontera(tab) mapflag(tab) autotrade Make sure that you change this value in conf/battle/misc to yes
    at_mapflag: no Changing it to yes will allow autotrade on any map where it is enabled. That being said you only want to include maps where you want it to be enabled in the script. Then just make sure you include the path of the file in scripts_mapflag.conf.
    npc: npc/mapflag/autotrade.txt This is the line you want to add to scripts_mapflag.conf. After that just do @reloadscript in game.
  4. Oceanid's post in Where i can view NPC & MOB Sprite LIST? was marked as the answer   
    http://nn.ai4rei.net/dev/npclist/?qq=8
     
    you want something like this?
  5. Oceanid's post in Requesting MVP Ladder. pls read was marked as the answer   
    Please use a code box text time you post script. As for disabling card drop just change this line
    // mf_nomobloot, // disable monster drop loots, to this
    mf_nomobloot, // disable monster drop loots,
×
×
  • Create New...