-
Posts
220 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by rayleigh
-
Hi guys Im using Euphys woe controller. // Reward options. // ----------------------------------------------------------- // [1] Enable rewards. // [2] Mail all rewards. // - If not set, players receive items in their inventory. // - Only ONE item can be sent via mail, plus Zeny. // - Note that offline players do NOT receive rewards. // [4] Only reward Guild Masters. // - If not set, all guild members are rewarded. // - If mailing is enabled (option 2), offline Guild Masters WILL receive rewards. // [8] Duplicate IP check. // - Members in a guild with the same IP address are not rewarded. // - If Guild Masters is enabled (option 4), this feature is not used. // ----------------------------------------------------------- // Combine values as needed (e.g. 1|8 = 1+8 = 9). set .Options, 1|8; // Rewards per castle. // -- when given directly: <itemID>,<amount>{,<itemID>,<amount>,...} // -- via mail (option 2): <itemID>,<amount>,<Zeny> setarray .Reward[0],14001,1; It says combine values as needed. So where did he combined it? Why 1|8; ? instead of 9. Im just a little confuse. And on this line setarray .Reward[0],14001,1; <<<<--- whats the meaning of 0 on the reward?
-
Perfect sir.... Thank you so much... You really help me a lot to get through this.. Thanks Tialin..
-
Thanks for the help guys.. Perfect!
-
Where will I going to put that sir?
-
Hi guys. Im using this script (Credits to Anakid) - script hourlygift -1,{ OnPCLoginEvent: set .Hour,1; if( #dailytimer < gettimetick(2) ) { mes "You have Gained a Hourly Gift."; set #dailytimer,gettimetick(2) + ( .Hour * 3600 ); getitem 6101,1; //set the price here }else{ set .@last,#dailytimer - gettimetick(2); set .@hour, .@last % ( 24 * 3600 ) / 3600; set .@min, .@last % ( 24 * 3600 ) % 3600 / 60; set .@sec, .@last % ( 24 * 3600 ) % 3600 % 60; mes "You have to wait to get your next Hourly Gift."; mes "Time CountDown : ^FF0000"+.@hour+":"+.@min+":"+.@sec+"^000000"; } close; } Everything was perfect but the thing is. When a player first logged in. They already received the item. Can it be done like this? After a player logged in they have to wait for 1 hour in order for them to get the gift item. Because of the previous case. A player can abuse and switch on other account. Hope you understand what im saying guys. And Thanks in advance for those who will help. Thanks RATHENA.
-
Is this still working on the latest rathena?
rayleigh replied to rayleigh's question in Source Support
Im really confused about this. Where can i find that .diff and .patch that ur saying? and what + signs am i going to add. Sorry for being noob. tnx nweis. -
Hi panda.... Thanks for the reply.. but I want this script already coz i got used to it already. If u dont mind can you just teach me where to put the additional message Thats the message of the npc. I want to add message "you need premium reset stone each in resetting your skills and Stats" and where im going to put 2 reset stone will be taking out if both skills and stat will be resset. TY so much panda..
-
Hi sir The script is working thank you so much. But the problem is when resetting both skills and stat, the npc is only getting one reset stone. Can i make it two? how? what part shoud i edit? And on the start message of the npc it only saying "I am the reset girl/ Reset stat 5000z Reset skills 5000z Reset both 9000z Please select the service you want" Thats the message of the npc. I want to add message "you need premium reset stone each in resetting your skills and Stats" Thank you sir for helping me.
-
I made it into this // Specific Item Drop Ratio Database // Overrides for global item_rate* values from conf/battle/drops.conf // // Structure of Database: // ItemID,Ratio{,MonsterID1,...,MonsterID10} // // Result: // ItemID base drop rates defined in mob_db will not get multiplied // by global item_rate* values (aka drop rates) from // conf/battle/drops.conf. Instead Ratio will be used (100 = 1x). // If no MonsterID is specified, all monsters will be affected, // otherwise only listed ones. // // Examples: // 909,100 // Jellopies from monsters will drop with 1x drop rate regardless of global drop rate // 909,1000 // Jellopies from monsters will drop with 10x drop rate regardless of global drop rate // 909,100,1002 // Jellopies from Porings will drop with 1x drop rate. Other monsters that drop Jellopies are unaffected (use global drop rate). 607,100 //yggdrasil berry 608,100 //yggdrasil seed // Notes: // - By default you can list up to 10 MonsterIDs per ItemID. // It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS. // - Only ItemIDs up to MAX_ITEMDB are supported (default: 32768). // - Does not override item_drop_*_min/max settings. // - Does not affect card/item-granted drops. To adjust card/item-granted // drops, edit them in item_db. // - Does affect MVP prizes and Treasure Boxes. // - You can add only ONE line per ItemID. If you need various ratios // for different monsters, override drop rate with Ratio=100 and edit // base drop rates in mob_db. // - This file is reloaded by @reloadmobdb. Is this correct sir? I add the script and remove the //. Thank you so much in advance.
-
Is this still working on the latest rathena?
rayleigh replied to rayleigh's question in Source Support
apply the patches? meaning on my grf's file? where can I find this sir? Can u explain it further? -
Hi sir. I already test it but the stone do not disappear on my inventory (item id : 6320) and it only adding the zeny. Is it possible to put an option whether the player like to reset only their skill or stat (one at a time) with the pre-requisite of 1 reset stone each + zeny? Nweis tnx bro.
-
Is this still working on the latest rathena?
rayleigh replied to rayleigh's question in Source Support
Hi sir. What do u mean diff manually? Is this about client that I have to diff it? -
How will I edit this one sir? Thank you. For example I want my ygg berry and ygg seed to 1% only. all the monster that dropping it will only have 1% chance. Even the rates of my server is 5k/5k/5k Thanks in advance sir.
-
https://rathena.org/board/topic/77378-skillitem-map-restriction-now-supports-multiple-maps/
-
I dont understand that. Thanks for guiding me through btw.
-
I want to edit the drop rate of a certain item like ygg berry and ygg seed 1% on all the mobs and monster that drop it. I already tried the search botton and google on how to edit this specific usable item. All that is showing is equips and drops on a certain mobs. I dont want my svn to be ruined and im just making sure of it. Can anyone help me? Thanks in advance. Newbie here btw.
-
Hello guys. Im using This script Credit to the owner prontera,147,166,5 script Reseter 407,{ set .name$, "[Reseter]"; if (BaseLevel <= 20) { mes .name$; mes "Reset Stat & Skills will cost you 5,000z, want it to reset?"; next; if (select("Yes:No") == 2) close; if (Zeny >= 5000) { set Zeny, Zeny - 5000; callfunc "Reset1"; } // End if } else if (BaseLevel > 20 && BaseLevel <= 40) { mes .name$; mes "Reset Stat & Skills will cost you 2x Premium Reset Stone and 10,000z, want it to reset?"; next; if (select("Yes:No") == 2) close; if (countitem(6320) < 2) goto noitem; if (Zeny >= 10000) { set Zeny, Zeny - 10000; callfunc "Reset1"; } // End if } else if (BaseLevel > 40 && BaseLevel <= 80) { mes .name$; mes "Reset Stat & Skills will cost you 3x Premium Reset Stone and 100,000z, want it to reset?"; next; if (select("Yes:No") == 2) close; if (countitem(6320) < 3) goto noitem; if (Zeny >= 100000) { set Zeny, Zeny - 100000; callfunc "Reset1"; } // End if } else if (BaseLevel > 80) { mes .name$; mes "Reset Stat & Skills will cost you 5x Premium Reset Stone and 10,000,000z want it to reset?"; next; if (select("Yes:No") == 2) close; if (countitem(6320) < 5) goto noitem; if (Zeny >= 10000000) { set Zeny, Zeny - 10000000; callfunc "Reset1"; } // End if } // End if close; noitem: mes "[Reseter Manager]"; mes "You dont have enough [Premium Reset Stone].."; close; } // End script function script Reset1 { ResetStatus; ResetSkill; return; } // End function But I want to change the requirements of reseting I want it to be 1 premium reset stone only. And I want to lower further the zeny required, And also when I try to load that script Theres an error coming up on saying " unknown syntax on line 54" And it seems do not have the ability to reset also the skill points. Can anyone help me where are the line I should edit for this? Thanks Rathena
-
Thanks Neff... It really did work. How did you do that by the way?
-
Hi guys Im using this script (credit to the owner) prontera,147,174,3 script Freebies 90,{ set .@n$, "[Seyra]"; setarray .@rwd[0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount> query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0) { mes .@n$; mes "I'm sorry, the rewards are exclusively for new players."; close; } mes .@n$; mes "Welcome! Here are some free gifts"; mes "for newcomers:"; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]); close2; set #NewbieGift, 1; setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) getitem .@rwd[.@i], .@rwd[.@i+1]; end; OnInit: waitingroom "Newbie Gift!",0; end; } Yeah its working fine on my test server. But I think this is Ip address bound, because when I try to create another account. The npc will not give me anymore freebies. Because in some instances our players were playing on a computer shop in a same pc but different two people. How can I make this account bound? Thanks for those who will reply.
-
So it will be like this sir? "+getitemname(@bought_nameid[.@i])+".",0; I tested it already sir. But still give me this error. (see attachment) I made it to something like this like what you instructed. getitem @bought_nameid[.@i], @bought_quantity[.@i]; dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"."; announce strcharinfo(0)+" has purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i]+".",0; set .@i, .@i+1; } I cant click the npc and the error again on map server. ty sir for helping me..
-
ahahaha... Im sorry I dont know whats wrong sir. Can anyone help me with this? Thank you in advance.
-
Hi sir. I tried to change the currency and it worked. ty so much for that. But when i try to add the one that uve said im getting the error on map server. What do you think is wrong? See attachment for the error.
-
Woah thats amazing thank you sir panda. But it is possible to add an announcement script on this one? For example "Paul bought 10x megaphone" Is that possible? Ty so much sir.
-
Team viewer for recompiling using cygwin
rayleigh replied to rayleigh's question in Installation Support
Can anyone teach me on teamviewer? -
Can anyone team viewer me and teach me recompiling my server using cygwin? Tnx for those who will help. I cant understand this portion See attached file