Page 1 of 1
Timer Module
Posted: Mon Jun 29, 2015 5:51 pm
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!!!
Re: Timer Module
Posted: Mon Oct 05, 2015 6:27 pm
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.
Re: Timer Module
Posted: Mon Oct 05, 2015 7:52 pm
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
Re: Timer Module
Posted: Mon Oct 05, 2015 10:48 pm
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.
Re: Timer Module
Posted: Tue Oct 06, 2015 4:47 pm
by cbsarge
How do you delete a Timer function?
Re: Timer Module
Posted: Tue Oct 06, 2015 5:41 pm
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!