Jump to content

Luciar

Members
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Luciar

  1. So to be clear you want a script that you can exchange any +7 refined equipment piece for "points" Then these points can be redeemed for some other item(s)?
  2. You will have to try loading it on an rAthena server to find out! It should work as long as it does not use custom script commands that work only on eAMod. P.S. this isn't a script request and therefore doesn't belong in this forum.
  3. Codeboxes work for everyone. https://rathena.org/board/forum-32/announcement-3-codeboxes/Just read and do
  4. Please don't edit/remove your post once it has been solved. Other community members with the same issue won't be able to benefit from the post if you do.
  5. Google translator failed you as it fails everyone on this forum who posts in the English sections. I have no idea what you're asking for. Maybe try posting in the international section that represents your native language.
  6. Do not bump topics without providing additional, useful information per the forum rules.
  7. Do not bump topics without providing additional, useful information per the forum rules
  8. Luciar

    Menu Script

    https://rathena.org/board/topic/68466-utility-gm-online-list/
  9. You posted this in the support section, not the request section. So here's the script support answer: this is a very, very basic npc. Check out Wiki: Basic Scripting
  10. You're right, wasn't thinking (That's what I get for posting at 4:00 AM xD) @Echoes make sure you update the script I provided with Emistry's corrected query_sql line
  11. .@total = countitem(994); // total number of Item ID 994 .@exchg = .@total / 100; //Floored division of total by 100 (e.g. 256 / 100 = 2) .@remain = .@total % 100; //Remainder (e.g. 256 / 100 has remainder of 56) delitem 944,(.@total - .@remain); //Remove all but the remainder getitem 990,.@exchg; //Get total number of item id 990 = to floored division of total 994 (e.g. 256 --> 2) something like that
  12. Luciar

    Help

    If your post hasn't been approved you shouldn't post it elsewhere. The moderators responsible for approving it will address it as soon as they can.
  13. All of these scripts or slight variations have been requested several times before. Use the search feature and you'll find them.
  14. What? Please explain your issue in more detail. If you have trouble posting in English please post in your native language's international section
  15. Try this: //======Name======================================== // Daily Monster Hunt //======Version===================================== // 1.2 //======Author(s)=================================== // Sandbox //======Comments==================================== // This NPC allows your player to hunt a random amount // of a random monster // *randomception!* // If the player successfully hunts the monster // he'll receive a reward! //======Credits===================================== // KeyWorld, nanakiwurtz, NeoMind, Kido // Thanks for helping me out guize! // Modified by Luciar for Yonko //================================================== prontera,100,200,3 script Hunting Challenge 78,{ mes .Npc_Name$; if(Hunter) { mes "You have killed ^880000"+HuntCount+"^000000/^0000FF"+Amt +"^000000 "+getmonsterinfo(Hunt,0)+"s, keep it up!"; close; } if(gettimetick(2) < HuntDelay) { mes "You can only do this quest once a day!"; close; } mes "Hello, do you want to take on the Monster Hunting Challenge?","If you manage to kill them, you'll receive a reward!"; if(select("Bring it on!:How about no?")==2) { mes .Npc_Name$; mes "Fine!"; close; } next; mes .Npc_Name$; Hunt = .Mob_List[rand(getarraysize(.Mob_List))]; Amt = rand (50,100); //Amount of mob to hunt Hunter++; mes "You have to hunt ^0000FF"+Amt+" "+getmonsterinfo(Hunt,0)+"^000000!"; next; mes .Npc_Name$; mes "Go go go!"; close2; HuntDelay = gettimetick(2)+86400; //Once a day only. end; //----------Config---------- OnInit: .Npc_Name$ = "[^0000FF NPC ^000000]"; setarray .Mob_List[0],1002,1007,1063; //Mobs to hunt. Default: Poring, Fabre, Lunatic .Reward = 607; //Reward ID .RewAmt = 10; //Reward Amount end; OnNPCKillEvent: if(Hunter > 0) { if(killedrid == Hunt) { HuntCount++; dispbottom "You have killed "+HuntCount+"/"+Amt+" "+getmonsterinfo(Hunt,0)+"s, keep it up!"; if(HuntCount >= Amt) { dispbottom strnpcinfo(1)+": Congratulations! You did it!"; getitem .Reward,.RewAmt; Hunt = 0; Hunter = 0; HuntCount = 0; Amt = 0; } } } end; }
  16. Have you thought about using the FluxCP donation module and the donation NPC that comes with it? https://github.com/rathena/FluxCP/blob/master/data/npc/DonationNPC.txt
  17. If there is already a support thread for that issue then don't create a new topic!! Especially in the completely wrong section of the forum. An exception to this would be posting a new topic in your native language's international support forum, where they may be able to understand you and support you better.
  18. You posted this request (even called it a request in the topic title) in the support section when there is a request section right next to it??? And you're requesting a script and decided to post it in the source section??? Batting 0/2. Also it might help if you provided the slightest amount of detail in terms of what you're looking for. "Punching bag script" isn't very specific. Batting 0/3.
  19. Try: query_sql("SELECT `name` FROM `char` WHERE `name` = '"+escape_sql(.@Winner_Name$)+"'",.@Acc_ID); if(!.@Acc_ID) { mes "No character found with that name."; close; } mes .npc$; mes "Awesome, now put the ^aa0000Item ID^000000 of the item you want to be the prize for the player.";
  20. This is not currently an option with the base rAthena release. A source mod would be required to accomplish this without doing some roundabout script workaround like you suggested.
  21. Are you serious? You have been warned MULTIPLE times to stop bumping your posts. Enjoy posting moderation. Furthermore, this topic provides literally no information. You haven't described a problem or mentioned any goal. You posted a map and a script. Are we supposed to just intuit what you want? You have been flooding the support forums with similar posts. rAthena Staff and the rest of the community are very helpful, but only when you provide the information required to help you. People who put in their own effort to resolve their issue, or at least show that they have tried to learn, are the ones who get the most help. You are quite honestly abusing the support community by refusing to put any effort into these numerous NPCs on your own. Try to figure these things out by yourself. Don't run to the support forum every time you want to add a new script to your server. We are not your staff or volunteers. If I am mistaken and you have been trying, then perhaps managing a server's scripts is not for you. Consider bringing a developer onto your team or request help from one of our approved paid service providers. I strongly hope that this is the last time I have to deal with this behavior from you. Your suspension and posting moderation will be extended drastically if you continue to break the rules.
×
×
  • Create New...