Timer Module

General Chat, Comments
Post Reply
KaL
Posts: 344
Joined: Mon Jan 13, 2014 5:44 am

Timer Module

Post by KaL »

Timer Module:

Allow the admin to block any modules that are allow with an expiration time frame. It also create a countdown time frame to a location, when player are in travel.

Timer Module:
https://youtu.be/ebBERF9fpiE


Event Timer
https://youtu.be/QHNOXEkP6XY

Timer Module is in the Market!!!
Last edited by KaL on Wed Oct 21, 2015 5:40 am, edited 2 times in total.
User avatar
cbsarge
Posts: 195
Joined: Mon Sep 14, 2015 3:20 pm

Re: Timer Module

Post by cbsarge »

Is there any way we could use this Timer module to create timed Combat events? The idea being a short duration PVP event with special prizes.
User avatar
KyleMassacre
Posts: 573
Joined: Wed Nov 27, 2013 12:42 pm

Re: Timer Module

Post by KyleMassacre »

I don't see why not. What you can do is take a look at my attack/mug module and see how I hooked into the combat module for personalized outcomes and from there you can work any magic you would like
KaL
Posts: 344
Joined: Mon Jan 13, 2014 5:44 am

Re: Timer Module

Post by KaL »

You can! You have to reverse the the function.

If (InTimeEvent){
"Display time: time()"
"PvP event start."
}
Else
{
"No more PvP event"
}

But to start the time you have to create "PutTimeEvent" function and activate every players uservariable for that function. You might have to create a script to do that. The timer module can create the timer function for you but you have to learn how to use it in a script.
User avatar
cbsarge
Posts: 195
Joined: Mon Sep 14, 2015 3:20 pm

Re: Timer Module

Post by cbsarge »

How do you delete a Timer function?
KaL
Posts: 344
Joined: Mon Jan 13, 2014 5:44 am

Re: Timer Module

Post by KaL »

Well, that's a lot of step to do!

I would just delete the timer function script in the module that was block.

And ignore the rest but if you want too.

Here are the place to delete:

1)config.xml= delete the config keys
2) autodefine.php = delete the uservarible
3)timer table= delete the row for that name
4)wizard_action table = delete the row for that name
5)wizard_condition = delete the row for that name
6)module that is block= delete the timer function script.
7) lib.php = delete the script for that name only.

Note: if you miss one and/or don't lock up your game first. You are screwed!

Happy Halloween! LOL!
Post Reply

Return to “General”