sader1992

Content Moderator
  • Content Count

    1,020
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    37

sader1992 last won the day on October 28

sader1992 had the most liked content!

Community Reputation

300 Excellent

About sader1992

  • Rank
    Megumin
  • Birthday 11/16/1991

Profile Information

  • Gender
    Male
  • Location
    Syria
  • Server
    skyro
  • Github
    sader1992
  • Interests
    rAthena , C# , MMO , Anime , Microsoft , Science , Cooking , Math

Contact Methods

Recent Profile Visitors

3,931 profile views
  1. sader1992

    Help My RAM Usage is getting HIGH

    clean rathena map-server without any edit/scripts/and anything would take around 380m~500m RAM the more you add the more you need
  2. sader1992

    Problem's with vendingmapscript

    your reply does not add the information we asked for , atall the code you put is 8cells and the image is 4cells ? anyway I can sense your problem from the image add this line after OnInit: setbattleflag "min_npc_vendchat_distance", 0; also if you did read the error message you get in the chat and add it to the post from the start you would got faster answer
  3. sader1992

    Problem's with vendingmapscript

    /where ?
  4. View File get in map users count Functions for IP/GePard You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!) SCRIPT HEADER (INFO) //===== rAthena Script ======================================= //= getgpmapunits command //= getipmapunits command //===== By: ================================================== //= Sader1992 //= Free!! // https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project // https://github.com/sader1992/sader_scripts //===== Description: ========================================= // getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!) // getipmapunits("map"); return the number of players with the same IP in the given map. //============================================================ //==== please report any error you find //============================================================ //============================================================ you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that !) Examples: scenario > you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map 🗺 //============================================== //NPC EXAMPLE FOR IP FUNCTION //============================================== prontera,152,183,5 script Warper IP Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",152,183; } end; } //============================================== Same as above but per GePard ID not IP //============================================== //NPC EXAMPLE FOR GEPARD FUNCTION //============================================== prontera,155,183,5 script Warper GePard Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",155,183; } end; } //============================================== BONUS Test: pvp warper prontera,158,183,5 script PVP Warper IP Test 446,{ mes "would you like to teleport to the pvp map?"; if(select("yes:no") == 2) close; if(getipmapunits("pvp_n_1-1") > 0){ mes "there is another character with the same ip inside the map!"; mes "only 1 character per IP allowed in this map!"; }else{ warp "pvp_n_1-1",0,0; } end; } Submitter sader1992 Submitted 10/29/2018 Category Utilities Video Content Author sader1992  
  5. Version 1.0.0

    34 downloads

    You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!) SCRIPT HEADER (INFO) //===== rAthena Script ======================================= //= getgpmapunits command //= getipmapunits command //===== By: ================================================== //= Sader1992 //= Free!! // https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project // https://github.com/sader1992/sader_scripts //===== Description: ========================================= // getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!) // getipmapunits("map"); return the number of players with the same IP in the given map. //============================================================ //==== please report any error you find //============================================================ //============================================================ you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that !) Examples: scenario > you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map 🗺 //============================================== //NPC EXAMPLE FOR IP FUNCTION //============================================== prontera,152,183,5 script Warper IP Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",152,183; } end; } //============================================== Same as above but per GePard ID not IP //============================================== //NPC EXAMPLE FOR GEPARD FUNCTION //============================================== prontera,155,183,5 script Warper GePard Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",155,183; } end; } //============================================== BONUS Test: pvp warper prontera,158,183,5 script PVP Warper IP Test 446,{ mes "would you like to teleport to the pvp map?"; if(select("yes:no") == 2) close; if(getipmapunits("pvp_n_1-1") > 0){ mes "there is another character with the same ip inside the map!"; mes "only 1 character per IP allowed in this map!"; }else{ warp "pvp_n_1-1",0,0; } end; }

    Free

  6. sader1992

    help with scrip Nova's

    I think you didn't add it to your instance_db
  7. sader1992

    Item Trade Group Override

    try to remove it from the main file or edit it there per = rathena/db/pre-re/item_trade.txt re = rathena/db/re/item_trade.txt
  8. sader1992

    lucky spin problems

    this a herc script I am not sure if you use rathena or but if you use rathena you can use close3; to close any image on the screen
  9. sader1992

    Could you please check this error message

    follow another guide ? , i think this is the best answer you will get
  10. sader1992

    How compiler the emulator in Cygwin?

    i think there is already a guide about that, did you use the search feature ? for some reason no one use it while it's really helpful
  11. sader1992

    Help>group ID

    follow /doc/item_group.txt
  12. sader1992

    switch system

    https://github.com/rathena/rathena/pull/3548
  13. sader1992

    help Adding Group ID

    follow the guide and you will have no problem , make sure you follow the guide not a forum post ,than if you had put the error or what happen to you in a post or reply with what you did and what it says in the original post here i can clearly see that he did not add the item group to src/map/script_constants.h (means he didn't follow the guide)
  14. sader1992

    Kick player from server

    without src edit , i think not.