Jump to content
  • 0

HELP again please >.<


chromus28

Question


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

Hi Team rAthena,

 

Im here again >.< can u please help me about setting my woe setter?

It set for 1hour woe only but i want to make it 2hours

 

        //convert timestamps to readable format
        for(set .@i, 0; .@i < .num_woes; set .@i, .@i + 1)
        {
            set .@hrs, .woe_0[.@i] / 3600;
            set .@mins, .woe_0[.@i] % 3600 / 60;
            set .@output$, ((.@hrs % 12)?.@hrs%12:12) + ":" + ((.@mins < 10)?"0"+.@mins:.@mins) + " " + ((.@hrs > 12)?"PM":"AM");    
            
            set .woe_0_str$[.@i], .@output$;        
            
            set .@hrs, .woe_1[.@i] / 3600;
            set .@mins, .woe_1[.@i] % 3600 / 60;
            set .@output$, ((.@hrs % 12)?.@hrs%12:12) + ":" + ((.@mins < 10)?"0"+.@mins:.@mins) + " " + ((.@hrs > 12)?"PM":"AM");    
            
            set .woe_1_str$[.@i], .@output$;        
        }
        

 

i make the 3600 time into 7200 but it change at 30mins lol...please help >.<

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

you made this script or you are using pre-made WOE setter?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

pre-made i think...



i dont really know may dev put this woe setter



my*

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

You can try euphy woe controller trunk/npc/custom/woe_controller.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

Ok i will try thanks for the help >.< thanks for the fast reply >.<

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

The script you gave us is only used to display the time, you can't set the woe timer with this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...