Jump to content

UnknownUser0317

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by UnknownUser0317

  1. Requesting a script that uses warp portal sprite, if all of the members of the party is not standing above the warp npc, it will not warp the party, unless all of the members are already above the warp npc. thanks!
  2. @Cydh, maybe you interested in this? Thanks! Bumping this topic.
  3. @Emistry Hmm, thank you for this, But where's the checking the level of the player? and must use array.
  4. Hi! How can I make this using setarray? And the exp give depends on type of job i am, for example. If the NPC detects that im swordsman my base level is level 1, it will give me 2 basexp and 3 job exp. else if acolyte and baselevel 1 4 bexp 5 jexp and so on. Thanks!
  5. @Emistry, i got mysql error when deleting variable #daily_minute_count [SQL]: DB error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '` WHERE `key` = '#daily_minute_count' AND `account_id` IN (SELECT `account_id` F' at line 1 [Debug]: at c:\ragnarok\src\map\script.c:16404 - DELETE FROM `acc_reg_num` WHERE `key` = '#daily_minute_count' AND `account_id` IN (SELECT `account_id` FROM `char` WHERE `login` = 0 GROUP BY `account_id`) [Debug]: Source (NPC): hourly_point_main (invisible/not on a map)
  6. Thank you @Emistry but how can I know if the timer is saving? maybe add a command to check remaining time? Thanks!
  7. Thank you @Haziel, it's working. @Emistry, you forgot this. "even i log out, the timer will save."
  8. Thanks emistry! It's now working, In addition, how can i add message if how many minutes left before i can claim my next points?
  9. Hi @Emistry, it's not working. Git Hash: c88ca44
  10. Hi! Can someone modify the official quest system, if the timer of the quest is not active (not completed) or the timer of the quest reaches its limit. it will automatically deleted from the quest log, also the items required from that quest. And also if its possible add a txt file that we can insert what quest id will affect this quest modification. Thanks!
  11. It's like Hourly Points script but a twist. If the timer starts, you will have a total of 5 hours per day. the timer will reset at 12 midnight. 1st hour = 10 cash point + red potion 2nd hour = 15 cp + orange potion 3rd hour = 20 cp + yellow potion 4th hour = 25 cp + white potion 5th hour = 30 cp + blue potion if the timer reached total of 5 hours, the timer will stop and wait until 12 midnight for reset. even i log out, the timer will save. if the timer is active and i'm playing, and if the time is reached 12 midnight, the timer will reset and will notify the player 'the hourly points reset.'. and if the character is offline, the timer will reset also.
  12. @Omnipotent my request is i want to save timers even i logout, then login again. the timer will continue.
  13. i see, thank you! @Winz got this error: [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: __setr (2 parameters): [Debug]: Data: variable name='timer' index=0 [Debug]: Data: number value=3600000 [Debug]: Source (NPC): hourlypoints (invisible/not on a map) [Error]: script:set: no player attached for player variable 'timer' bump?
  14. @gmsour it's because you didn't add completequest or erasequest, that's why the system detects your quest is still active. It's official behavior even you obtain the total required item, you can still get the item required from killing the required monster. (monster kill does not apply)
  15. Hi guys! I'm using this Script: //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the points even if you miss a second or a minute. A player will //= get a very big bonus if they played 3 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //==================================================================== - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) { sleep2 .delay; if(.@mes$=="") dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle."); } set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Kafrapoints by staying ingame for 1 hour"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #KAFRAPOINTS, #KAFRAPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" Kafrapoints in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*60; //Timer in milliseconds. set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. set .delay, 1000; //Delay for idle re-check check. set .dlimit, 60*5; //Stop points if afk greater then in seconds. } How can i save the timer? for example, I logout and login again, the remaining timer before will continue. Thank you so much.
×
×
  • Create New...