-
Posts
18 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Lukasek
-
Problem Solved SQL DB -> MvP disabled
-
Hello, I have problem with monster Thara Frog 1034,THARA_FROG,Thara Frog,Thara Frog,22,2152,0,219,138,1,105,127,0,10,1,22,22,5,34,10,10,12,1,5,41,0x81,200,2016,816,288,0,0,0,0,0,0,0,1011,45,908,5500,911,600,509,30,725,5,918,2000,0,0,0,0,0,0,4058,1 REPLACE INTO `mob_db` VALUES (1034,'THARA_FROG','Thara Frog','Thara Frog',22,2152,0,219,138,1,105,127,0,10,1,22,22,5,34,10,10,12,1,5,41,0x81,200,2016,816,288,0,0,0,0,0,0,0,1011,45,908,5500,911,600,509,30,725,5,918,2000,0,0,0,0,0,0,4058,1); Where is problem? Thank You
-
Hello, I need help with daily reward. I woul like the reward to be by mail. Not IP or MAC but mail control. NPC SCRIPT: - script Coin Reward -1,{ OnPCLoginEvent: [email protected] = 1 << 10; [email protected] = gettime(8); if ( #login_reward % [email protected] == [email protected] ) end; [email protected] += .reward_day; #login_reward = ( login_reward &~ ( login_reward % [email protected] ) ) + [email protected] + [email protected];//day/count day/check week/check month if ( #login_reward != [email protected] + [email protected] ) { [email protected]_day = ( #login_reward >> 10 ) % [email protected]; [email protected]_ofthemonth = ( ( #login_reward >> 30 ) % [email protected] ) != ( [email protected]_day / 31 ); if ( ( ( #login_reward >> 20 ) % [email protected] ) != ( [email protected]_day / 7 ) ) { [email protected] += .reward_week; #login_reward = #login_reward + pow( 2,20 ); [email protected]_message$ = ( [email protected]_ofthemonth ? ", " : " and " ) + .reward_week +" coin for being online a week"; } if ( [email protected]_ofthemonth ) { [email protected] += .reward_month; #login_reward = #login_reward + pow( 2,30 ); [email protected]_message$ = " and " + .reward_month +" coin for being online a month"; } } getitem 60001, [email protected]; dispbottom "Here your daily reward ! You got "+ .reward_day +" coin"+ [email protected]_message$ + [email protected]_message$ +"."; set #login_reward,[email protected]; end; OnInit: .reward_day = 1; .reward_week = 2; .reward_month = 3; end; } Thank You
-
The problem was in the settings: MO_EXTREMITYFIST,BL_PC,0,0,0,-66 Problem first number ,0 1 = normal maps Right solution MO_EXTREMITYFIST,BL_PC,1,0,0,-66 Problem solved.
-
Hello guys, I have problem with Asura Strike reduce DMG on 50%. I change: // db/skill_damage_db.txt MO_EXTREMITYFIST,BL_PC,0,0,0,-66 but in the import/import-tmpl is there too. In the src/config/core.hpp isnt /// Uncomment to enable skills damage adjustments /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the /// damage rate of specified skills. //#define ADJUST_SKILL_DAMAGE I need to know where to change so that the asura is 50% to the bosses. THX
-
At the moment this script gives to each character coin, but I need to get only one character a coin everyday.
-
I need one reward for the whole account for day. //this script is for every char on account, I need One reward for whole account and not character. - script Coin Reward -1,{ OnPCLoginEvent: [email protected] = 1 << 10; [email protected] = gettime(8); if ( login_reward % [email protected] == [email protected] ) end; [email protected] += .reward_day;// reward of the day login_reward = ( login_reward &~ ( login_reward % [email protected] ) ) + [email protected] + [email protected];// update day and count day +1 ; day/count day/check week/check month if ( login_reward != [email protected] + [email protected] ) {// login_reward was not empty [email protected]_day = ( login_reward >> 10 ) % [email protected]; [email protected]_ofthemonth = ( ( login_reward >> 30 ) % [email protected] ) != ( [email protected]_day / 31 ); if ( ( ( login_reward >> 20 ) % [email protected] ) != ( [email protected]_day / 7 ) ) { [email protected] += .reward_week; login_reward = login_reward + pow( 2,20 ); [email protected]_message$ = ( [email protected]_ofthemonth ? ", " : " and " ) + .reward_week +" coin for being online a week"; } if ( [email protected]_ofthemonth ) { [email protected] += .reward_month; login_reward = login_reward + pow( 2,30 ); [email protected]_message$ = " and " + .reward_month +" coin for being online a month"; } } getitem 675, [email protected]; dispbottom "Here your daily reward ! You got "+ .reward_day +" coin"+ [email protected]_message$ + [email protected]_message$ +"."; end; OnInit: .reward_day = 1; .reward_week = 2; .reward_month = 3; end; }
-
Its not function
-
Hello, How can I change reward for only account. In this script - script Coin Reward -1,{ OnPCLoginEvent: [email protected] = 1 << 10; [email protected] = gettime(8); if ( login_reward % [email protected] == [email protected] ) end; [email protected] += .reward_day;// reward of the day login_reward = ( login_reward &~ ( login_reward % [email protected] ) ) + [email protected] + [email protected];// update day and count day +1 ; day/count day/check week/check month if ( login_reward != [email protected] + [email protected] ) {// login_reward was not empty [email protected]_day = ( login_reward >> 10 ) % [email protected]; [email protected]_ofthemonth = ( ( login_reward >> 30 ) % [email protected] ) != ( [email protected]_day / 31 ); if ( ( ( login_reward >> 20 ) % [email protected] ) != ( [email protected]_day / 7 ) ) { [email protected] += .reward_week; login_reward = login_reward + pow( 2,20 ); [email protected]_message$ = ( [email protected]_ofthemonth ? ", " : " and " ) + .reward_week +" coin for being online a week"; } if ( [email protected]_ofthemonth ) { [email protected] += .reward_month; login_reward = login_reward + pow( 2,30 ); [email protected]_message$ = " and " + .reward_month +" coin for being online a month"; } } getitem 675, [email protected]; dispbottom "Here your daily reward ! You got "+ .reward_day +" coin"+ [email protected]_message$ + [email protected]_message$ +"."; end; OnInit: .reward_day = 1; .reward_week = 2; .reward_month = 3; end; } Thank You
-
it should normally go something like a costumeitem - without add to item_db costume items are in default rAthena.
-
I need COSTUME Headger in default Quest SHOP. This is only add items.
-
Hi guys, I have problem with one thing. How can I add only Costume Headger. Quest Shop for Costume Headger and not for normal headger. This is code: //but I need Costume Headger! //===================================================================================== // ------------------- YOUR SHOPS AND ITEMS SHOPS HAVE BEEN ADDED --------------------- //===================================================================================== freeloop(0); set .menu$,""; for(set [email protected],1; [email protected]<=getarraysize(.Shops$); set [email protected],[email protected]+1) { set .menu$, .menu$+.Shops$[[email protected]]+":"; npcshopdelitem "qshop"[email protected],909; } end; OnMenu: set [email protected], getarraysize(@i); if ([email protected]) set @shop_index, select(.menu$); else if ([email protected] == 1) set @shop_index, @i[0]; else { for(set [email protected],0; [email protected]<[email protected]; set [email protected],[email protected]+1) set [email protected]$, [email protected]$+.Shops$[@i[[email protected]]]+":"; set @shop_index, @i[select([email protected]$)-1]; } deletearray @i[0],getarraysize(@i); if (.Shops$[@shop_index] == "") { message strcharinfo(0),"An error has occurred."; end; } dispbottom "Select one item at a time."; callshop "qshop"[email protected]_index,1; npcshopattach "qshop"[email protected]_index; end; OnBuyItem: // [email protected][] : RewardID, BoughtAmt, RewardAmt, BaseAmt, ReqZeny, ReqPts, { ReqItem, ReqAmt, ... } setarray [email protected][0],@bought_nameid[0],((@bought_quantity[0] > .MaxStack)?.MaxStack:@bought_quantity[0]); copyarray [email protected][3],getd(".q_"[email protected]_index+"_"[email protected][0]+"[0]"),getarraysize(getd(".q_"[email protected]_index+"_"[email protected][0])); set [email protected][2],[email protected][1]*[email protected][3]; if ([email protected][2] || [email protected][2] > 30000) { message strcharinfo(0),"You can't purchase that many "+getitemname([email protected][0])+"."; end; } mes "[Quest Shop]"; mes "Reward: ^0055FF"+(([email protected][2] > 1)[email protected][2]+"x ":"")+Slot([email protected][0])+"^000000"; mes "Requirements:"; disable_items; if ([email protected][4]) mes " > "+Chk(Zeny,[email protected][4]*[email protected][1])+([email protected][4]*[email protected][1])+" Zeny^000000"; if ([email protected][5]) mes " > "+Chk(getd(.Points$[0]),[email protected][5]*[email protected][1])+([email protected][5]*[email protected][1])+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+([email protected][5]*[email protected][1])+")^000000"; if ([email protected][6]) for(set [email protected],6; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+2) mes " > "+Chk(countitem([email protected][[email protected]]),[email protected][[email protected]+1]*[email protected][1])+((.ShowID)?"{"[email protected][[email protected]]+"} ":"")+Slot([email protected][[email protected]])+" ("+countitem([email protected][[email protected]])+"/"+([email protected][[email protected]+1]*[email protected][1])+")^000000"; next; setarray @qe[1], getiteminfo([email protected][0],5), getiteminfo([email protected][0],11); if (@qe[2] > 0 && ((@qe[1] & EQP_HEAD_LOW) || (@qe[1] & EQP_HEAD_TOP) || (@qe[1] & EQP_HEAD_MID) || (@qe[1] & EQP_COSTUME_HEAD_TOP) || (@qe[1] & EQP_COSTUME_HEAD_MID) || (@qe[1] & EQP_COSTUME_HEAD_LOW) || (@qe[1] & EQP_GARMENT) || (@qe[1] & EQP_COSTUME_GARMENT))) set [email protected],1; addtimer 1000, strnpcinfo(0)+"::OnEnd"; while(1) { switch(select(" ~ Purchase ^0055FF"+getitemname([email protected][0])+"^000000:"+(([email protected] && [email protected][7])?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) { case 1: if (@qe[0]) { mes "[Quest Shop]"; mes "You're missing one or more quest requirements."; close; } if (!checkweight([email protected][0],[email protected][2])) { mes "[Quest Shop]"; mes "^FF0000You need "+((([email protected][2]*getiteminfo([email protected][0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000"; close; } if ([email protected][4]) set Zeny, Zeny-([email protected][4]*[email protected][1]); if ([email protected][5]) setd .Points$[0], getd(.Points$[0])-([email protected][5]*[email protected][1]); if ([email protected][6]) for(set [email protected],6; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+2) delitem [email protected][[email protected]],[email protected][[email protected]+1]*[email protected][1]; getitem [email protected][0],[email protected][2]; if (.Announce) announce strcharinfo(0)+" has created "+(([email protected][2] > 1)[email protected][2]+"x "+getitemname([email protected][0]):callfunc("F_InsertArticle",getitemname([email protected][0])))+"!",0; specialeffect2 EF_FLOWERLEAF; close; case 2: setarray @qe[3], getlook(LOOK_HEAD_BOTTOM), getlook(LOOK_HEAD_TOP), getlook(LOOK_HEAD_MID), getlook(LOOK_ROBE), 1; if ((@qe[1] & 1) || (@qe[1] & 4096)) changelook LOOK_HEAD_BOTTOM, @qe[2]; else if ((@qe[1] & 256) || (@qe[1] & 1024)) changelook LOOK_HEAD_TOP, @qe[2]; else if ((@qe[1] & 512) || (@qe[1] & 2048)) changelook LOOK_HEAD_MID, @qe[2]; else if ((@qe[1] & 4) || (@qe[1] & 8192)) changelook LOOK_ROBE, @qe[2]; break; case 3: close; } } OnEnd: if (@qe[7]) { changelook LOOK_HEAD_BOTTOM, @qe[3]; changelook LOOK_HEAD_TOP, @qe[4]; changelook LOOK_HEAD_MID, @qe[5]; changelook LOOK_ROBE, @qe[6]; } deletearray @qe[0],8; end; function Add { if (getitemname(getarg(1)) == "null") { debugmes "Quest reward #"+getarg(1)+" invalid (skipped)."; return; } setarray [email protected][0],getarg(2),getarg(3),getarg(4); for(set [email protected],5; [email protected]<getargcount(); set [email protected],[email protected]+2) { if (getitemname(getarg([email protected])) == "null") { debugmes "Quest requirement #"+getarg([email protected])+" invalid (skipped)."; return; } else setarray [email protected][[email protected]],getarg([email protected]),getarg([email protected]+1); } copyarray getd(".q_"+getarg(0)+"_"+getarg(1)+"[0]"),[email protected][0],getarraysize([email protected]); npcshopadditem "qshop"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0); return; } function Chk { if (getarg(0) < getarg(1)) { set @qe[0],1; return "^FF0000"; } else return "^00FF00"; } function Slot { set [email protected]$,getitemname(getarg(0)); switch(.ShowSlot) { case 1: if (!getitemslots(getarg(0))) return [email protected]$; case 2: if (getiteminfo(getarg(0),2) == 4 || getiteminfo(getarg(0),2) == 5) return [email protected]$+" ["+getitemslots(getarg(0))+"]"; default: return [email protected]$; } } } function script qshop { deletearray @i[0],getarraysize(@i); for(set [email protected],0; [email protected]<getargcount(); set [email protected],[email protected]+1) set @i[[email protected]],getarg([email protected]); doevent "quest_shop::OnMenu"; end; } I have this: but I need this: What to rewrite in the script to have a costume headger. Thank You.
-
Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/html/cp/lib/Flux.phpon line 276 Critical ErrorAn error was encountered during the lifetime of the application. This could be due to a variety of problems, such as a bug in the application. However, normally it is caused by misconfiguration. Exception DetailsError: Flux_Error Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile() File: /var/www/html/cp/lib/Flux.php:237 File Line Function/Method /var/www/html/cp/lib/Flux.php 278 Flux::raise() /var/www/html/cp/lib/Flux.php 336 Flux::parseConfigFile() /var/www/html/cp/lib/Flux.php 121 Flux::parseServersConfigFile() /var/www/html/cp/index.php 69 Flux::initialize() Exception Trace As String#0 /var/www/html/cp/lib/Flux.php(278): Flux::raise('Failed to write...') #1 /var/www/html/cp/lib/Flux.php(336): Flux::parseConfigFile('config/servers....') #2 /var/www/html/cp/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....') #3 /var/www/html/cp/index.php(69): Flux::initialize(Array) #4 {main}
-
Hello, is written somewhere how to install this website properly? Hello, is written somewhere how to install this website properly? https://rathena.org/...-complete-flux/ Thank you very much.
-
How do I solve this problem? Sorry, problem solved :-)