Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. follow another guide ? , i think this is the best answer you will get
  2. 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
  3. follow /doc/item_group.txt
  4. https://github.com/rathena/rathena/pull/3548
  5. 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)
  6. without src edit , i think not.
  7. prontera,155,155,5 script Cornfarmer 4_CORN,{ if (BaseJob == Job_Gunslinger) { if (CORNCOOLDOWN > gettimetick(2)){ mes "you need to wait 1 hour to get one more corn"; close; } getitem 26001,1; CORNCOOLDOWN = gettimetick(2) + 3600; //3600 seconds! = 1 hour mes "you got a corn!"; close; }//gs only mes "corn only for gunslingers sorry"; close; }
  8. set .@killedvar,getvar(EnableGod,getcharid(0,rid2name(killedrid))); if(.@killedvar == 1 && EnableGod == 1){ PvPkills++; dispbottom "You have won points."; dispbottom "God Point(s): "+PvPkills+"."; }
  9. well i didn't understand your question to apply it to the script but it's what you are looking for
  10. this message is src side not script side so that can't be happening with a script
  11. View File sader's Vote Manager (support Gepard or IP) //===== rAthena Script ======================================= //= saders Vote Manager //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //https://github.com/sader1992/sader_scripts //===== Description: ========================================= //==== GEPARD OR IP (NOT BOTH!) [SEE THE LINES UNDER THE NPC NAME TO ENABLE ONE AND DISABLE ANOTHER!] //==== vote npc , you can add up to 5 options for each vote and you can add multiple votes //==== test it before using it so you know how it work //==== if you use 'false' as an option the option would be empty so you can use less than 5 options //==== [email protected] //============================================================ //==== I DON'T SUPPORT FREE SCRIPTS ON MY PM , IF YOU HAVE QUESTION YOU CAN POST AT THE TOPIC IN RATHENA! //============================================================ Submitter sader1992 Submitted 09/20/2018 Category Utilities Video Content Author sader1992  
  12. Version 1.0.0

    380 downloads

    //===== rAthena Script ======================================= //= saders Vote Manager //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //https://github.com/sader1992/sader_scripts //===== Description: ========================================= //==== GEPARD OR IP (NOT BOTH!) [SEE THE LINES UNDER THE NPC NAME TO ENABLE ONE AND DISABLE ANOTHER!] //==== vote npc , you can add up to 5 options for each vote and you can add multiple votes //==== test it before using it so you know how it work //==== if you use 'false' as an option the option would be empty so you can use less than 5 options //==== [email protected] //============================================================ //==== I DON'T SUPPORT FREE SCRIPTS ON MY PM , IF YOU HAVE QUESTION YOU CAN POST AT THE TOPIC IN RATHENA! //============================================================
    Free
  13. then you didn't add the command correctly
  14. @Quesooo it's not script it's for Source Modification you can add it inside /rAthena/src/map/atcommand.cpp or if you use old rathena add it at /rAthena/src/map/atcommand.c file add it like you add any new atcommand and recompile
  15. pc.hpp #define MAX_SKILL_TREE 85 also a fast way to do it create new group id give it all_skill: true permission add the group id to OnPCLoginEvent for the job id or at the job changer (or any kind of script) you will find all the skills in the etc window
  16. View File @petstats command this command will show you the pet stats see the screenshot for more info you can add it inside /rAthena/src/map/atcommand.cpp or if you use old rathena add it at /rAthena/src/map/atcommand.c file add it like you add any new atcommand and recompile Submitter sader1992 Submitted 09/19/2018 Category Source Modifications Video Content Author sader1992  
  17. Version 1.0.0

    445 downloads

    this command will show you the pet stats see the screenshot for more info you can add it inside /rAthena/src/map/atcommand.cpp or if you use old rathena add it at /rAthena/src/map/atcommand.c file add it like you add any new atcommand and recompile
    Free
  18. you should import the sql item db table in your database to use this script
  19. *switch (expression); *if (<condition>) <statement>; *mes "<string>"{,"<string>"{,...}}; *select("<option>"{,"<option>",...})
  20. bindatcmd "<command>","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>}; atcommand level - script atcmd_noitem -1,{ OnInit: bindatcmd("item",strnpcinfo(3)+"::OnAtcommand",0,99); setarray .item_restrict,607,501; end; OnAtcommand: .@itemid = atoi(.@atcmd_parameters$[0]); if(!getgmlevel()){ if(inarray(.item_restrict,.@itemid) != -1){ message strcharinfo(0),"You cannot create this item."; end; } } if(getitemname(.@itemid) != "null"){ .@quantity = atoi( .@atcmd_parameters$[1] ); if ( .@quantity < 1 ) .@quantity = 1; getitem .@itemid,.@quantity; } end; }
×
×
  • Create New...