Jump to content

Lukasek

Members
  • Posts

    18
  • Joined

  • Last visited

About Lukasek

  • Birthday 01/01/1990

Profile Information

  • Gender
    Male
  • Location
    CZECH
  • Server
    Ragnarok
  • Github: @LukingCZ
  • Discord: Lukáš#6395
  • Interests
    Fitness, Healthy Life, Reading books, Movies & Series, Ragnarok Online, Ragnarok M Eternal Love, Brawl Star, Trips, Travel...

Recent Profile Visitors

2311 profile views

Lukasek's Achievements

Poring

Poring (1/15)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Problem Solved SQL DB -> MvP disabled
  2. 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
  3. 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: .@pow = 1 << 10; .@todays = gettime(8); if ( #login_reward % .@pow == .@todays ) end; .@count += .reward_day; #login_reward = ( login_reward &~ ( login_reward % .@pow ) ) + .@todays + .@pow;//day/count day/check week/check month if ( #login_reward != .@todays + .@pow ) { .@count_day = ( #login_reward >> 10 ) % .@pow; .@cond_ofthemonth = ( ( #login_reward >> 30 ) % .@pow ) != ( .@count_day / 31 ); if ( ( ( #login_reward >> 20 ) % .@pow ) != ( .@count_day / 7 ) ) { .@count += .reward_week; #login_reward = #login_reward + pow( 2,20 ); .@weekly_message$ = ( .@cond_ofthemonth ? ", " : " and " ) + .reward_week +" coin for being online a week"; } if ( .@cond_ofthemonth ) { .@count += .reward_month; #login_reward = #login_reward + pow( 2,30 ); .@montly_message$ = " and " + .reward_month +" coin for being online a month"; } } getitem 60001, .@count; dispbottom "Here your daily reward ! You got "+ .reward_day +" coin"+ .@weekly_message$ + .@montly_message$ +"."; set #login_reward,.@todays; end; OnInit: .reward_day = 1; .reward_week = 2; .reward_month = 3; end; } Thank You
  4. 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.
  5. 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 ?
  6. At the moment this script gives to each character coin, but I need to get only one character a coin everyday.
  7. 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: .@pow = 1 << 10; .@todays = gettime(8); if ( login_reward % .@pow == .@todays ) end; .@count += .reward_day;// reward of the day login_reward = ( login_reward &~ ( login_reward % .@pow ) ) + .@todays + .@pow;// update day and count day +1 ; day/count day/check week/check month if ( login_reward != .@todays + .@pow ) {// login_reward was not empty .@count_day = ( login_reward >> 10 ) % .@pow; .@cond_ofthemonth = ( ( login_reward >> 30 ) % .@pow ) != ( .@count_day / 31 ); if ( ( ( login_reward >> 20 ) % .@pow ) != ( .@count_day / 7 ) ) { .@count += .reward_week; login_reward = login_reward + pow( 2,20 ); .@weekly_message$ = ( .@cond_ofthemonth ? ", " : " and " ) + .reward_week +" coin for being online a week"; } if ( .@cond_ofthemonth ) { .@count += .reward_month; login_reward = login_reward + pow( 2,30 ); .@montly_message$ = " and " + .reward_month +" coin for being online a month"; } } getitem 675, .@count; dispbottom "Here your daily reward ! You got "+ .reward_day +" coin"+ .@weekly_message$ + .@montly_message$ +"."; end; OnInit: .reward_day = 1; .reward_week = 2; .reward_month = 3; end; }
  8. Hello, How can I change reward for only account. In this script - script Coin Reward -1,{ OnPCLoginEvent: .@pow = 1 << 10; .@todays = gettime(8); if ( login_reward % .@pow == .@todays ) end; .@count += .reward_day;// reward of the day login_reward = ( login_reward &~ ( login_reward % .@pow ) ) + .@todays + .@pow;// update day and count day +1 ; day/count day/check week/check month if ( login_reward != .@todays + .@pow ) {// login_reward was not empty .@count_day = ( login_reward >> 10 ) % .@pow; .@cond_ofthemonth = ( ( login_reward >> 30 ) % .@pow ) != ( .@count_day / 31 ); if ( ( ( login_reward >> 20 ) % .@pow ) != ( .@count_day / 7 ) ) { .@count += .reward_week; login_reward = login_reward + pow( 2,20 ); .@weekly_message$ = ( .@cond_ofthemonth ? ", " : " and " ) + .reward_week +" coin for being online a week"; } if ( .@cond_ofthemonth ) { .@count += .reward_month; login_reward = login_reward + pow( 2,30 ); .@montly_message$ = " and " + .reward_month +" coin for being online a month"; } } getitem 675, .@count; dispbottom "Here your daily reward ! You got "+ .reward_day +" coin"+ .@weekly_message$ + .@montly_message$ +"."; end; OnInit: .reward_day = 1; .reward_week = 2; .reward_month = 3; end; } Thank You
  9. it should normally go something like a costumeitem - without add to item_db costume items are in default rAthena.
  10. I need COSTUME Headger in default Quest SHOP. This is only add items.
  11. 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 .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1) { set .menu$, .menu$+.Shops$[.@i]+":"; npcshopdelitem "qshop"+.@i,909; } end; OnMenu: set .@size, getarraysize(@i); if (!.@size) set @shop_index, select(.menu$); else if (.@size == 1) set @shop_index, @i[0]; else { for(set .@j,0; .@j<.@size; set .@j,.@j+1) set .@menu$, .@menu$+.Shops$[@i[.@j]]+":"; set @shop_index, @i[select(.@menu$)-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"+@shop_index,1; npcshopattach "qshop"+@shop_index; end; OnBuyItem: // .@q[] : RewardID, BoughtAmt, RewardAmt, BaseAmt, ReqZeny, ReqPts, { ReqItem, ReqAmt, ... } setarray .@q[0],@bought_nameid[0],((@bought_quantity[0] > .MaxStack)?.MaxStack:@bought_quantity[0]); copyarray .@q[3],getd(".q_"+@shop_index+"_"+.@q[0]+"[0]"),getarraysize(getd(".q_"+@shop_index+"_"+.@q[0])); set .@q[2],.@q[1]*.@q[3]; if (!.@q[2] || .@q[2] > 30000) { message strcharinfo(0),"You can't purchase that many "+getitemname(.@q[0])+"."; end; } mes "[Quest Shop]"; mes "Reward: ^0055FF"+((.@q[2] > 1)?.@q[2]+"x ":"")+Slot(.@q[0])+"^000000"; mes "Requirements:"; disable_items; if (.@q[4]) mes " > "+Chk(Zeny,.@q[4]*.@q[1])+(.@q[4]*.@q[1])+" Zeny^000000"; if (.@q[5]) mes " > "+Chk(getd(.Points$[0]),.@q[5]*.@q[1])+(.@q[5]*.@q[1])+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+(.@q[5]*.@q[1])+")^000000"; if (.@q[6]) for(set .@i,6; .@i<getarraysize(.@q); set .@i,.@i+2) mes " > "+Chk(countitem(.@q[.@i]),.@q[.@i+1]*.@q[1])+((.ShowID)?"{"+.@q[.@i]+"} ":"")+Slot(.@q[.@i])+" ("+countitem(.@q[.@i])+"/"+(.@q[.@i+1]*.@q[1])+")^000000"; next; setarray @qe[1], getiteminfo(.@q[0],5), getiteminfo(.@q[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 .@preview,1; addtimer 1000, strnpcinfo(0)+"::OnEnd"; while(1) { switch(select(" ~ Purchase ^0055FF"+getitemname(.@q[0])+"^000000:"+((.@preview && !@qe[7])?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) { case 1: if (@qe[0]) { mes "[Quest Shop]"; mes "You're missing one or more quest requirements."; close; } if (!checkweight(.@q[0],.@q[2])) { mes "[Quest Shop]"; mes "^FF0000You need "+(((.@q[2]*getiteminfo(.@q[0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000"; close; } if (.@q[4]) set Zeny, Zeny-(.@q[4]*.@q[1]); if (.@q[5]) setd .Points$[0], getd(.Points$[0])-(.@q[5]*.@q[1]); if (.@q[6]) for(set .@i,6; .@i<getarraysize(.@q); set .@i,.@i+2) delitem .@q[.@i],.@q[.@i+1]*.@q[1]; getitem .@q[0],.@q[2]; if (.Announce) announce strcharinfo(0)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):callfunc("F_InsertArticle",getitemname(.@q[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 .@j[0],getarg(2),getarg(3),getarg(4); for(set .@i,5; .@i<getargcount(); set .@i,.@i+2) { if (getitemname(getarg(.@i)) == "null") { debugmes "Quest requirement #"+getarg(.@i)+" invalid (skipped)."; return; } else setarray .@j[.@i-2],getarg(.@i),getarg(.@i+1); } copyarray getd(".q_"+getarg(0)+"_"+getarg(1)+"[0]"),.@j[0],getarraysize(.@j); 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 .@s$,getitemname(getarg(0)); switch(.ShowSlot) { case 1: if (!getitemslots(getarg(0))) return .@s$; case 2: if (getiteminfo(getarg(0),2) == 4 || getiteminfo(getarg(0),2) == 5) return .@s$+" ["+getitemslots(getarg(0))+"]"; default: return .@s$; } } } function script qshop { deletearray @i[0],getarraysize(@i); for(set .@i,0; .@i<getargcount(); set .@i,.@i+1) set @i[.@i],getarg(.@i); 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.
  12. 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}
  13. Lukasek

    FluxCP

    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.
×
×
  • Create New...