Jump to content

Radian

Members
  • Posts

    1,542
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Radian

  1. change this part input [email protected]_amount,0,30000; into this input [email protected]_amount,6,30000;
  2. Try this one if you like, I made it. prt_in,44,100,3 script CP Converter 532,{ [email protected]$ = "[ CP Converter ]"; // Char Name [email protected] = 7227; // Item ID [email protected] = 6; // Amount [email protected]_points = 1; // cash points amount mes [email protected]$; mes "Would you like to convert your " + getitemname( [email protected] ) + " into cash points?"; next; if( select("Yes Convert","No I dont want to.") == 2 ) close; input [email protected]_amount,0,30000; if( [email protected]_amount ) end; if( countitem([email protected]) < [email protected]_amount ) { mes [email protected]$; mes "Im sorry but you dont have enough " + getitemname( [email protected] ) + " to exchange."; close; } mes [email protected]$; mes "To confirm this deal you wanted to exchanged (" + [email protected] + ") " + getitemname( [email protected] ) + " into a total of " + ( [email protected]_amount / [email protected] ) + " cash points."; next; if( select("Yes!","No") == 2 ) close; mes [email protected]$; mes "The convertion was successful!"; delitem [email protected], [email protected]_amount; [email protected]_value = [email protected]_amount / [email protected]; #CASHPOINTS += [email protected]_value; dispbottom "You gained a total " + ( [email protected]_value ) + " cash points."; end; }
  3. Im pretty sure the msgstringtable you were using is not compatible to the client date your using atm.
  4. I think it was intended like that to fit as how the other class sits/stand/walk/attack.
  5. @sader1992 Yes, thank you again! @Cretino Thanks for the time checking this!
  6. I got this code, and trying to do it by my self. getpartymember getcharid(1),0; setarray [email protected]$[0], [email protected]$[0]; for ( [email protected] = 0; [email protected] < getarraysize([email protected]$[0]); [email protected] ) dispbottom "Your current members are " + [email protected]$[[email protected]]; [email protected] = checkvending([email protected]$[[email protected]]); if ( [email protected]&1 ) mes "Someone is currently vending."; if ( [email protected]&4 ) mes "Someone is currently in buying store."; if ( [email protected]&2 ) mes "Someone is currently in autotrading."; end; map error is this [Error]: buildin_checkvending: Player with nick '' is not found.
  7. @Emistry I'm getting this sql error, is there any other way to fix this? [SQL]: DB error - Incorrect datetime value: '0000-00-00 00:00:00' for column 'completion' at row 1 [Debug]: at script.cpp:16756 - INSERT INTO `player_mission` VALUES ( 1566965080,1566965057,2000000,150000,'Radian','',0,NOW(),'0000-00-00 00:00:00' ); [Debug]: Source (NPC): Mission A#1 at prontera (151,171)
  8. How do i disable the additional def of specific items on the player? I was having issues with the -def + def2. and i was planning on ignoring UPPER, MIDDLE, LOWER, RIGHT and LEFT ACCESORRY refinements.
  9. Yes, @Cretino I found that one too.. thanks!
  10. Thank you so much for this amazing script ! @Cretino Hi, i found a bug in the script, when an headgear is equipped with a card on it, and it successfully enchant it the card compound is gone. nevermind bro, i found what's the problem.
  11. Uh, let's say every time a player used the npc to enchant, it will start counting until it reaches the limit of usage .usage_limit = 100; Then npc will only disable the enchantment part, not the remove enchantment. I hope i explained it very well.
  12. Thank you for this, @Cretino I'll try it and let you know if something's wrong. @Cretino I've tested the script, and its working 100%. I just wanted to change some things on it. The `ENCHANT_DELAY` change it to npc usage not for player. When the whole server used the npc 100 times it will be disabled.
  13. I've been looking in the forum before making this request topic, about the item enchanter. to be specific about my request; Player can only select the 3/third and last slot from item. Player can only select the upper headgear. Requirements: Stone/Gemstone ID# Additional requirements Item + Zeny. Player can removed the stone/gemstone. Payments options: Zeny Coin Rates of success are [slot_3 = 10~15% chance of success / slot_4 = 5~10% chance of success] Players cant enchant the same stone/gemstone in the same headgear. If it fails the item will stay, but the stone/gemstone will be deleted from the players inventory. Add limit per day for the npc to enchant an item. resets the limit (OnClock0000:); here's a sample of the configuration. // Gemstone/Stone ID's setarray .gemstoneid, 601,602,603,604,605; // Additional requirements // or set 0 to disable setarray .add_items, 501,10,502,3,503,7,504,9,505,99; // Will the npc allow players // to remove gemstone/stone // in their headgear? // 0 = disable // 1 = enable (default .allow_remove = 1; // Payments for removing // enchantments (stone/gemstone) .zeny = 1000; .coinid = 671; // Rate Success .Slot3 = rand(10,15); .Slot4 = rand(5,15); // If the enchantment fails // will it be deleted? // 1 = only the stone/gemstome (default) // 2 = only the headgear // 3 = all (stone/gemstone + headgear) .deleteitem = 1; So far that's all what im thinking, but everyone can add something to my idea.
  14. I just found a solution, thanks for aleos for helping me out.
  15. I was planning on adding MVP monsters as a pet in my server, and I wanted to change it size when being hatched, a little small than its original size. Anyone knows how to do it? Thank you so much in advance.
  16. @Sehrentos is it possible to make the reward system like this? with the amount on it? // Event reward ID's (One random array is selected) setarray .loots_0, 501,10 , 502,10 , 503,10 , 504,10 , 505,10 , 506,10 ;
  17. Really? Where can i contact you? discord? much easier. heh
  18. I cant do that.. haha i just designed it and not sure if i will look for someone to code it.
  19. What kind of improvement do i need to do with it?
  20. Hey everyone, what do you think of the design for a thor patcher is it worth to code it or nah..
  21. @Cydh Can you update this mod for the latest git? Thank you
  22. I think you have no idea here, its the same script.
  23. Hey guys, you might know this amazing script https://github.com/rathena/rathena/blob/master/npc/custom/quests/quest_shop.txt that comes in the main trunk. Im requesting to change/add something to it. like adding multiple variables as requirements. Thanks in advance!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.