Jump to content

Bringer

Members
  • Posts

    748
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Bringer

  1. npc\mapflag\noskill.txt prontera<TAB>mapflag<TAB>noskill
  2. bump anyone can help me?
  3. This Script is made by @Haziel can anyone modfi this ? 1.Remove 5 hours per day. the timer will reset at 12 midnight. 2. Hourly Stop When Vending or @autotrade
  4. OnPointGet: OnTimer30000: if(checkVending()== 1) { dispbottom "The hourly points event haulted because you were vending."; stopnpctimer; end; } but still the hourly timer not stop
  5. even arleady vending the timer will not stop
  6. you dont need to re compile it just restart your server or @reloadscript
  7. npc/mapflag/pvp.txt new_1-1 mapflag pvp
  8. can you add if the player vending no buff
  9. do you mind share it ?
  10. Hello im request for Special Commands Only Level 99 GM can use it and buffs all players Online Buffs Will be Blessing and Increase Agi
  11. OnMinute00: = Every 1hour of 1min
  12. prontera,121,100,4 script Race To Max 4_F_GUILLOTINE,{ if( BaseLevel < 99 || JobLevel < 70 ){ mes "Only level 99 and job 70 can use"; end; } mes "[Welcome To Race to Max Event]"; mes "Please choose Your job."; menu "Lord Knight",lk; lk: callfunc "lordknightrace"; end; } // LK 99 function script lordknightrace { if (BaseJob==Job_Lord_Knight) { mes "Race to Max Prize"; mes "+7 Full Plate [1] (Marc Card) (+3STR)"; mes "+10 Pike (x2 Hydra Card) (x2 Skeleton Worker Card)"; mes "+7 Wool Scarf (Raydric Card)"; mes" +7 Tidal Shoes (Matyr Card)"; next; menu "Yes",-,"No",L_QUIT; getitembound2 2317,1,1,7,0,4105,0,0,4702,1; getitembound2 1408,1,1,10,0,4035,4035,4092,4092,1; getitembound2 2528,1,1,7,0,4133,0,0,0,1; getitembound2 2424,1,1,7,0,4097,0,0,0,1; announce "[Race To Max] congratulations " + strcharinfo(0) + "For Winning the Race to Max Event !!",0,0x00FF00; end; } else { next; mes "I'm sorry, but these"; mes "are only"; mes "Lord Knight."; end; L_QUIT: end; } } Hello i having a problem on my Race to max event script even im lord knight level 99/70 the npc still rejects me can anyone point out where and exactly what part i am doing wrong please Ok i Found the error if (BaseJob==Job_Lord_Knight) { to if(Class == Job_Lord_Knight) {
  13. https://github.com/rathena/rathena/blob/master/npc/other/Global_Functions.txt#L344
  14. - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: atcommand "@refresh "+strcharinfo(0); addtimer .timer,"hourlypoints::OnPointGet"; set @hourly_points_timer, gettimetick(2) + ( .timer / 1000 ); dispbottom "Hourly Rewards have been started for this character."; end; OnPointGet: set #hourlypoints, #hourlypoints + .point_amt; dispbottom "You received "+.point_amt+" Reward Hourly Points by staying ingame for 1 hour"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; //Check for 2 hours consecutive if(@consecutive_hour == 2) { set #HourlyPoints, #HourlyPoints + .2cpoint_amt; dispbottom "You received "+.2cpoint_amt+" Reward Hourly Points due to playing for 2 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 3 hours consecutive else if(@consecutive_hour == 3) { set #HourlyPoints, #HourlyPoints + .3cpoint_amt; dispbottom "You received "+.3cpoint_amt+" Reward Hourly Points due to playing for 3 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 4 hours consecutive else if(@consecutive_hour == 4) { set #HourlyPoints, #HourlyPoints + .4cpoint_amt; dispbottom "You received "+.4cpoint_amt+" Reward Hourly Points due to playing for 4 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 5 hours consecutive else if(@consecutive_hour == 5) { set #HourlyPoints, #HourlyPoints + .5cpoint_amt; dispbottom "You received "+.5cpoint_amt+" Reward Hourly Points due to playing for 5 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 6 hours consecutive else if(@consecutive_hour == 6) { set #HourlyPoints, #HourlyPoints + .6cpoint_amt; dispbottom "You received "+.6cpoint_amt+" Reward Hourly Points due to playing for 6 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 7 hours consecutive else if(@consecutive_hour == 7) { set #HourlyPoints, #HourlyPoints + .7cpoint_amt; dispbottom "You received "+.7cpoint_amt+" Reward Hourly Points due to playing for 7 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 8 hours consecutive else if(@consecutive_hour == 8) { set @consecutive_hour,0; set #HourlyPoints, #HourlyPoints + .8cpoint_amt; dispbottom "You received "+.8cpoint_amt+" Reward Hourly Points due to playing for 8 consecutive hours"; dispbottom "Current Balance = "+#HourlyPoints+" Reward Hourly Points"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnCmdHour: mes "^0033ff[ War Server ]^000000"; mes "Total Hours Online " +@consecutive_hour+ ""; mes "Reward Hourly Points : ^FF0000[ "+#HourlyPoints+" ]^000000"; mes " "; message strcharinfo(0),@hourly_points_timer ? Time2Str( @hourly_points_timer )+" Remaining.":"Something went wrong relog!"; end; OnInit: bindatcmd "reward","hourlypoints::OnCmdHour"; set .timer, 1000*60*60; //Timer in milliseconds. set .2cpoint_amt, 20; set .3cpoint_amt, 30; set .4cpoint_amt, 40; set .5cpoint_amt, 50; set .6cpoint_amt, 60; set .7cpoint_amt, 70; set .8cpoint_amt, 80; set .point_amt, 10; //Normal points gained. } there 's a problem or a bug on the timer of hourly time remaining. Once i got the one hour reward points and i use @reward the timer show blank message. please check screenshot attached
  15. should be like this ?
  16. Error on my Map Server
  17. hello rathena i want to add this event bind command on this event and remaining time how ? For Bind command bindatcmd "hunt","Monster Challenge::OnhuntHour"; What about the Timer? is this correct? set @hunt_timer, gettimetick(2); OnhuntHour: mes "^0033ff[ War Server ]^000000"; mes "Reward Hourly Points : ^FF0000[ "+#HourlyPoints+" ]^000000"; mes " "; mes "@hunt_timer ? Time2Str( @hunt_timer )+" Remaining.":"Something went wrong relog!"; end;
  18. Hello Sir i want to use your Hourly System 1.Please Remove the Max Hour 2.Vendor will stop the hourly system 4. additional 50% points for VIP Players. { DONE }
  19. do you have War Over Rune from eAthena ?
  20. prontera,145,150,5 script Sample 56,{ if( BaseLevel == 99 && JobLevel == 700 && reward_lvl == 0 && Upper && .count < 100 ){ if( .count < 3 ) getitem 714,1; if( .count < 100 ) getitem 7227,1; reward_lvl++; .count++; announce "Congratulations " + strcharinfo(0) + " for receiving the level 99 reward, there are only "+ (100-.count) +" rewards left!",0; } else if ( reward_lvl ) { mes "you already get your reward"; close; } else if ( BaseLevel != 99 && JobLevel != 70 ) { mes "you are not lvl 99/70 "; close; } end; OnInit: .count = query_sql( "select `value` from `global_reg_value` where `str`= 'reward_lvl'", .@value ); if ( .count >99 ) end; // limit to 127 players online here .@size = query_sql( "select `account_id` from `char` where `char_id` not in ( select `char_id` from `global_reg_value` where `str`= 'reward_lvl' ) and `online`=1", .@account_id ); for ( .@i = 0; .@i < .@size; .@i++ ) { attachrid .@account_id[.@i]; if ( reward_lvl ) { .count++; if ( .count >99 ) end; } } end; } solved `global_reg_value` to `acc_reg_num` `str` to `key`
  21. i have this but not cash point 7 14 30days using official VIP System
  22. uncomment #define ADJUST_SKILL_DAMAGE then recompile your server
  23. Description Maximum SP + 15% SP Recovery + 3% Item Script { bonus bMaxSPrate,15; bonus bSPrecovRate,3; },{},{}
  24. is this the one your following For
×
×
  • Create New...