- Joined
- Nov 17, 2014
- Messages
- 4,906
- Thread Author
- #1
AntipatternTask.java
AntipatternExample.java
This is my antipattern system, read the documentation for information or ask in this thread.
This system calls antipatterns after a scheduled amount of time, you just create your Antipattern class and extend AntipatternTask. In your class you can define multiple runnables and add them to the actions list via method call in your constructor.
When one action is called, it sleeps in a seperate thread for an amount of time you can set or use the standard duration. There is a short and a long duration, mostly it will sleep the short duration.
When finished, simply add a new instance of your antipattern class to the tasklist.
Please note that it is insufficient to only rely on this system, you should also go ahead and add some bot related antipatterns aswell, for example move the camera in the direction of the traversal destination when walking etc.
Feel free to give me a feedback about this and tell me what you would want me to improve and if you would use this system!
AntipatternExample.java
This is my antipattern system, read the documentation for information or ask in this thread.
This system calls antipatterns after a scheduled amount of time, you just create your Antipattern class and extend AntipatternTask. In your class you can define multiple runnables and add them to the actions list via method call in your constructor.
When one action is called, it sleeps in a seperate thread for an amount of time you can set or use the standard duration. There is a short and a long duration, mostly it will sleep the short duration.
When finished, simply add a new instance of your antipattern class to the tasklist.
Please note that it is insufficient to only rely on this system, you should also go ahead and add some bot related antipatterns aswell, for example move the camera in the direction of the traversal destination when walking etc.
Feel free to give me a feedback about this and tell me what you would want me to improve and if you would use this system!