-
Posts
1,542 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Radian
-
change this part input [email protected]_amount,0,30000; into this input [email protected]_amount,6,30000;
-
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; }
-
Im pretty sure the msgstringtable you were using is not compatible to the client date your using atm.
-
I think it was intended like that to fit as how the other class sits/stand/walk/attack.
- 1 reply
-
- 1
-
-
@sader1992 Yes, thank you again! @Cretino Thanks for the time checking this!
-
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.
-
@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)
-
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.
-
Yes, @Cretino I found that one too.. thanks!
-
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.
-
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.
-
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.
-
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.
-
I just found a solution, thanks for aleos for helping me out.
-
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.
-
@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 ;
-
Really? Where can i contact you? discord? much easier. heh
-
I cant do that.. haha i just designed it and not sure if i will look for someone to code it.
-
What kind of improvement do i need to do with it?
-
Hey everyone, what do you think of the design for a thor patcher is it worth to code it or nah..
-
Release: Script command: itemlink to generate <ITEML>
Radian replied to Cydh's topic in Source Releases
It's just a debug message not an error. -
@Cydh Can you update this mod for the latest git? Thank you
-
I think you have no idea here, its the same script.
-
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!
-
MF_NOEQUIP - Player can't put on any equipments at this mapflag
Radian replied to Cydh's topic in Source Releases
Oh got it! thanks!