Hennet

+Clients
  • Content count

    460
  • Joined

  • Last visited


1 Follower



About Hennet

  • Rank
    Advanced Member

Contact Methods

Profile Information

  • Gender Male

Hennet's Activity

  1. Hennet added a record in IP.Board   

    BBCode Code Highlighter / Line Num Problem
    One of my members posted the following in a code tag (contents can be found in [url="http://pastebin.com/raw.php?i=KMfsP7eJ"]http://pastebin.com/raw.php?i=KMfsP7eJ[/url] )
    When used in a manner not to show line numbers it is displayed okay:
    "code=auto:0" (found another bug: tried using code tags to display the actual usage in this report but it breaks the layout)
    when made to display line numbers
    "code=auto:1" (found another bug: tried using code tags to display the actual usage in this report but it breaks the layout)
    some lines get 3/4 the normal number of linebreaks, as reproduced below[code=auto:1]// ----------------------------------------------------------------------------------------------// ------ Script Release // Title: Premium/ViP System // Author: Diconfrost VaNz - www.wipeoutgaming.info - etherealruneguard@yahoo.com // Version: 1.3 // Special thanks to the following for helping me making this script // Jezu // Dastgr // clydelion // // ------------------------------------------------------------------------------------------ prontera,155,181,5 script Clahador 757,{ function getPremiumTime; mes "[^FF0000Clahador^000000]"; mes "Hello "+strcharinfo(0)+", I'm ^FF0000Clahador the butcher^000000."; mes "I will be of help if you need something."; next; mes "[^FF0000Clahador^000000]"; mes "Oh! you need help?"; mes "What kind of help do you need?"; next; menu "Newbie here",P_New,"I'm a ViP!",P_VIP,"Nevermind",P_NVM; P_New: mes "[^FF0000Clahador^000000]"; mes "Did you already claim your free items in the ^FF0000Freebies NPC^000000???"; menu "Yes!",F_Yes,"No!",F_No; F_No: mes "[^FF0000Clahador^000000]"; mes "You should get 'em!."; mes "It will help you on the start."; close; F_Yes: mes "[^FF0000Clahador^000000]"; mes "Haha, i hope you like those items."; next; mes "By the way, you can earn zennies through quests like going to daily quest, request board, and many more!"; mes "Did you know that you can have many zennies you want if you gonna hunt more rare items?"; mes "Try it!"; close; P_VIP: mes "[^FF0000Clahador^000000]"; mes "Oh you avail our ViP Ticket!"; mes "Thank you!"; next; mes "[^FF0000Clahador^000000]"; mes "Your ^0055FFPremium Time^000000 Left : "+getPremiumTime( #Premium ); mes "You should maximize it"; mes "Grind your skills and hunt now!"; close; P_NVM: mes "[^FF0000Clahador^000000]"; mes "Thank you!"; mes "Come Again!"; close; function getPremiumTime { set .@Time_Left, getarg(0) - gettimetick(2); set .@Days, .@Time_Left / 86400; set .@Time_Left, .@Time_Left - (.@Days * 86400); set .@Hours, .@Time_Left / 3600; set .@Time_Left, .@Time_Left - (.@Hours * 3600); set .@Minutes, .@Time_Left / 60; set .@Time_Left, .@Time_Left - (.@Minutes * 60); set .@Time$, ""; if( .@Days > 1 ) set .@Time$, .@Time$ + .@Days + " days, "; else if( .@Days > 0 ) set .@Time$, .@Time$ + .@Days + " day, "; if( .@Hours > 1 ) set .@Time$, .@Time$ + .@Hours + " hours, "; else if( .@Hours > 0 ) set .@Time$, .@Time$ + .@Hours + " hour, "; if( .@Minutes > 1 ) set .@Time$, .@Time$ + .@Minutes + " minutes, "; else if( .@Minutes > 0 ) set .@Time$, .@Time$ + .@Minutes + " minute, "; if( .@Time_Left > 1 || .@Time_Left == 0 ) set .@Time$, .@Time$ + .@Time_Left + " seconds."; else if( .@Time_Left == 1 ) set .@Time$, .@Time$ + .@Time_Left + " second."; return .@Time$; } OnPCLoginEvent: sc_end SC_EXPBOOST; sc_end SC_JEXPBOOST; sc_end SC_ITEMBOOST; if( #Premium > gettimetick(2) ){ sc_start SC_EXPBOOST,(( #Premium - gettimetick(1) ) * 1000 ),300; sc_start SC_JEXPBOOST,(( #Premium - gettimetick(1) ) * 1000 ),200; sc_start SC_ITEMBOOST,(( #Premium - gettimetick(1) ) * 1000 ),200; dispbottom "Hello "+strcharinfo(0)+", your Premium Time Left : "+getPremiumTime( #Premium ); } end; }[/code]
    • 0 replies
    • 0 views

About Me