Search the Community

Showing results for tags 'time'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Calendars

  • Community Calendar

Found 5 results

  1. View File Date and Time functions This script provides functions to easily calculate date and time. More functions will be added in the future. now() a shorthand function to get the current time > returns the number of seconds elapsed since the UNIX epoch now() // => 1497119219 (example, increments every second) time_from_ms(<delta>) calculates a UNIX timestamp relative to the current time > returns the number of seconds elapsed since the UNIX epoch, plus or minus <delta> ms time_from_ms(now()) // => 1497119219 (example, increments every second) time_from_ms(+1000) // => 1497119220 time_from_ms(-1000) // => 1497119218 time_from_seconds(<delta>) calculates a UNIX timestamp relative to the current time > returns the number of seconds elapsed since the UNIX epoch, plus or minus <delta> seconds time_from_seconds(now()) // => 1497119219 (example, increments every second) time_from_seconds(+1) // => 1497119220 time_from_seconds(-1) // => 1497119218 time_from_minutes(<delta>) calculates a UNIX timestamp relative to the current time > returns the number of seconds elapsed since the UNIX epoch, plus or minus <delta> minutes time_from_minutes(now()) // => 1497119219 (example, increments every second) time_from_minutes(+1) // => 1497119279 time_from_minutes(-1) // => 1497119159 time_from_hours(<delta>) calculates a UNIX timestamp relative to the current time > returns the number of seconds elapsed since the UNIX epoch, plus or minus <delta> hours time_from_hours(now()) // => 1497119219 (example, increments every second) time_from_hours(+1) // => 1497122819 time_from_hours(-1) // => 1497115619 time_from_days(<delta>) calculates a UNIX timestamp relative to the current time > returns the number of seconds elapsed since the UNIX epoch, plus or minus <delta> days time_from_days(now()) // => 1497119219 (example, increments every second) time_from_days(+1) // => 1497205619 time_from_days(-1) // => 1497032819 FuzzyTime(<unix timestamp>) converts a UNIX timestamp to a human-readable format > returns human-friendly relative time FuzzyTime(0) // => 47 years, 172 days, 18 hours, 52 minutes, and 28 seconds ago FuzzyTime(time_from_hours(+28)) // => in 1 day and 4 hours -------------------------------------------------------------------------------------- This script was made by me, for The Mana World + Evol. License: public domain (CC0) Submitter meko Submitted 06/10/17 Category Quest, Shops, Functions & Algorithms  
  2. Version v1

    27 downloads

    This script provides functions to easily calculate date and time. More functions might be added in the future. now() a shorthand function to get the current time > returns the number of seconds elapsed since the Unix epoch now() // => 1497119219 (example, increments every second) time_from_ms(<delta>) calculates a Unix timestamp relative to the current time > returns the number of seconds elapsed since the Unix epoch, plus or minus <delta> ms time_from_ms(0) // => 1497119219 (example, increments every second) time_from_ms(+1000) // => 1497119220 time_from_ms(-1000) // => 1497119218 time_from_seconds(<delta>) calculates a Unix timestamp relative to the current time > returns the number of seconds elapsed since the Unix epoch, plus or minus <delta> seconds time_from_seconds(0) // => 1497119219 (example, increments every second) time_from_seconds(+1) // => 1497119220 time_from_seconds(-1) // => 1497119218 time_from_minutes(<delta>) calculates a Unix timestamp relative to the current time > returns the number of seconds elapsed since the Unix epoch, plus or minus <delta> minutes time_from_minutes(0) // => 1497119219 (example, increments every second) time_from_minutes(+1) // => 1497119279 time_from_minutes(-1) // => 1497119159 time_from_hours(<delta>) calculates a Unix timestamp relative to the current time > returns the number of seconds elapsed since the Unix epoch, plus or minus <delta> hours time_from_hours(0) // => 1497119219 (example, increments every second) time_from_hours(+1) // => 1497122819 time_from_hours(-1) // => 1497115619 time_from_days(<delta>) calculates a Unix timestamp relative to the current time > returns the number of seconds elapsed since the Unix epoch, plus or minus <delta> days time_from_days(0) // => 1497119219 (example, increments every second) time_from_days(+1) // => 1497205619 time_from_days(-1) // => 1497032819 FuzzyTime(<unix timestamp>) converts a Unix timestamp to a human-readable format > returns human-friendly relative time FuzzyTime(0) // => 47 years, 172 days, 18 hours, 52 minutes, and 28 seconds ago FuzzyTime(time_from_hours(+28)) // => in 1 day and 4 hours -------------------------------------------------------------------------------------- This script was made by me, for The Mana World + Evol. License: public domain (CC0)
  3. How to create a potion that makes the user with resistance to freezing (or anything else) for a time (1 minute)?
  4. - script Bossnia Staff#1 -1,{ mes "[Riss]"; mes "Hello?"; mes "I am an adventurer."; mes "Haha~"; next; if (Zeny > 999999) { mes "[Riss]"; mes "Would you really like to take the challenge?"; mes "Ok, just choose the course."; next; [email protected] = select("First","Second","Third","Fourth"); mes "[Riss]"; mes "Take care, boy~"; mes "Don't hold a grudge against me."; close2; Zeny -= 1000000; warp "bossnia_0"[email protected],rand(202,204),rand(202,204); end; } mes "[Riss]"; mes "You don't have enough money..."; mes "Come back when you have at least 1,000,000 zeny."; close; } Main_town,160,156,4 duplicate(Bossnia Staff#1) Bossnia Staff#7 4_M_PHILMAN // Warp Portals //============================================================ bossnia_01,210,210,0 warp bossnia01 1,1,Main_town,146,166 bossnia_02,210,210,0 warp bossnia02 1,1,Main_town,146,166 bossnia_03,210,210,0 warp bossnia03 1,1,Main_town,146,166 bossnia_04,210,210,0 warp bossnia04 1,1,Main_town,146,166 // Monster Spawns //============================================================ bossnia_01,0,0,0,0 monster Dark Lord 1272,3,600000,0,1 bossnia_02,0,0,0,0 monster Garm 1252,5,600000,0,1 bossnia_03,0,0,0,0 monster Gloom Under Night 1768,2,600000,0,1 bossnia_04,0,0,0,0 monster Doppelganger 1046,5,600000,0,1 Hi guys!! please help me to edit bossnia event 1. time bossnia start, example round 1 (7.00 am-10.00 am) round 2 (7.00 pm-10.00 pm) 2. when timeup each round player in bossnia warp to savepoint 3. Announce when bossnia start sorry for my English!!
  5. prontera,165,177,3 script PVP Warper 106,{if (!agitcheck() || !agitcheck2()) { if (select("Yes!","No thanks.") == 2) close; warp "guild_vs5",0,0; announce strcharinfo(0) + " has entered the PVP Room.",0; announce "There are ["+getmapusers("guild_vs5")+"/30] players inside.",0; end; } end;} Can someone edit, if player kill same person for 5 time, auto kick from pvp map and cannot enter for 5 minutes? on player click pvp warper. disbottom message, you need a rest for 5 minute.