sader1992

Content Moderator
  • Content Count

    1,204
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    44

sader1992 last won the day on June 16

sader1992 had the most liked content!

Community Reputation

406 Excellent

About sader1992

  • Rank
    Megumin
  • Birthday 11/16/1991

Profile Information

  • Gender
    Male
  • Location
    Syria
  • Server
    DEV On : ArenaRO , DigitalRO
  • Github
    sader1992
  • Interests
    rAthena , C# , C++ , PHP , MMO , Anime , Microsoft , Science , Cooking , Math

Contact Methods

Recent Profile Visitors

5,749 profile views
  1. any error/warning in the console ?
  2. try this 62068,Sporing,SPoring,1,0,,0,,,,,0xFFFFFFFF,63,2,,,,,,{ progressbar "0x00FF00",1; if(mobcount(strcharinfo(3),"Summon_NPC::OnSummon")) { killmonster strcharinfo(3),"Summon_NPC::OnSummon"; } else { summon "Slave Poring",26127,100*60000,"Summon_NPC::OnSummon"; } },{},{} - script Summon_NPC -1,{ OnInit: set .Map$,"prt_fild01"; setmapflag .Map$,mf_loadevent; end; OnPCLoadMapEvent: if(strcharinfo(3) == .Map$ && mobcount( .Map$,"Summon_NPC::OnSummon") == 1 ){ killmonster.Map$,"Summon_NPC::OnSummon"; } end; OnSummon: end; }
  3. you can't turn everything to the grf except the data folder the system folder or the lua files like iteminfo etc wont work with that , as the exe read them first before the grf ofc if your question only about the data folder , it's better to not leave any file inside the data folder and straight up ignoring the data folder so no edit will be done to the game files without editing the grf and with hard coding the grf names and removing the data.ini /encrypt your grf it's slightly better security for your client files. a security for your client files to not be easy to edit by everyone but there still some technicians to edit them anyway , but not everyone would thing about it if you want more security than you would need something like Gepard
  4. with the script i posted above it's impossible to fail with all the 250 you will get some and loss some make sure you are using the new script , maybe you didn't save the script or didn't reload the script
  5. the script work for me , you should be more specific
  6. the chance logic was incorrect btw if(rand(1,5) == 3) // this mean the chance is 1/5 if(rand(1,5) <= 3) // this mean the chance is 3/5 leave the mac quantity 250 or add sleep in the loop if you know what i mean prontera,164,171,4 script Potion Brewer 893,{ mes "[Potion Brewer Alisa]"; mes "Hello, "+strcharinfo(0)+"!"; mes "How may I help you?"; next; switch (select("Brew Grenade:Brew Acid:")) { case 1: input [email protected]; if([email protected] > 250){ mes "the max quantity you can do at once is 250"; end; } clear; if (countitem(713) < [email protected] || countitem(970) < [email protected] || countitem(1059) < [email protected] ) { mes "You're lacking of requirements."; close; } for([email protected]=0;[email protected]<[email protected];[email protected]++){ if(rand(1,5) <= 3) { [email protected]++; } } delitem 713,[email protected]; delitem 970,[email protected]; delitem 1059,[email protected]; getitem 7135,[email protected]; end; } end; }
  7. setarray [email protected]$[0],"Kill Mantis","Kill Bees","Kill Soils","Kill Porings"; [email protected]$ = "NULL"; while(countinarray([email protected]$[0], [email protected]$) != 2) [email protected]$[rand(getarraysize([email protected]$))] = [email protected]$; switch(select(replacestr(implode([email protected]$, ":"), [email protected]$, ""))) { case 1: mes("mantis"); close; case 2: mes("bees"); close; case 3: mes("soils"); close; case 4: mes("porings."); close; }
  8. you can already do that with grf editor
  9. sader1992

    Need a Help

    unlike your post title/body all the tutorials i know in rAthena is very informative here is our most used tutorial if you want more "informativity" i suggest you start to use the search feature
  10. when you @summon = no event label = mobcount command with a label wont work you should make sure that the monster have a label for the script to work
  11. oh sorry , i miss-read the topic i see there is a messing Bracket in the script , also there is no need to check for the charid as it's not 0 for sure, but you better check for the map name (before the monster count) also are you sure about the event name ? so in your script case the npc name is "Summon" and the event is "Onprt_fild01" == Summon::Onprt_fild01 - script Sample -1,{ OnInit: set .Map$,"prt_fild01"; setmapflag .Map$,mf_loadevent; end; OnPCLoadMapEvent: if(strcharinfo(3) == .Map$ && mobcount( .Map$,"Summon::On"+strcharinfo(3)) == 1 ){ killmonster.Map$,"Summon::On"+strcharinfo(3); } end; }
  12. i would suggest you add the error you get , if you want a faster answer