Open shennetsind opened 11 years ago
Fixed 3 thru 5 on the reference above.
We have converted Tierra Valley and KvM arenas to use battlegrounds queue system using Hercules example script of Flavius. If you don't mind, we would like to share it with community.
Of course, you can share @AtlantisRO
Sorry for the late. Here is the scripts:
This scripts are a little bit different from standard. We applied this changes:
By the way,I just upgraded emulator to latest version and have troubles with [bg_match_over] command not warping players to their save points after ending the match.
We hope this scripts can help, if you consider it is ok to merge them with npc\custom\bgqueue folder, please tell me to send the pull request :) Also, if their is any problem with scripts, please tell me to fix it.
The KvM scripts sended in last post have customized the reward giving an item instead of giving kvm_points, here it is with the kvm_points reward corrected:
However, @dastgir , this scripts (flavius, tierra and kvm) has been partially customized from the standard scripts, we will send a non-customized version soon.
bg_canqueue
gdelay_var and arena->delay_var checks are checking against time() instead of time()+proper_settingscript->hq[arena->queue_id].items
is apparently not being cleared (after one bg takes place users get their position as if the previous queue was still in place), even though it is thrown in queue delete (might be a queue problem instead of the bg)( taken from http://hercules.ws/board/topic/1302-bg-queue-debug/ )