-
Posts
162 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Community Answers
-
Deliris's post in Help Quest time for GM was marked as the answer
Before opening the event manager, add this check:
if pc.getqf("gm_cooldown") > get_global_time() then say("You must wait 24 hours.") return end
After the event is enabled, add this line:
pc.setqf("gm_cooldown", get_global_time() + 86400)
-
Deliris's post in Damage detection was marked as the answer
You could insert into a vector the damage taken and the player instance or player id, doesn't really matter.
After the boss is killed you can just loop through the vector and see who did the most damage.
Hope it helped.
-
Deliris's post in Eter Compile Problem [const class QString' has no member named 'toAscii'] was marked as the answer
Deprecated members (as for instance QString::toAscii() ) are disabled by default in Qt5 and can be enabled using "QT_DISABLE_DEPRECATED_BEFORE":http://qt-project.org/doc/qt-5.0/qtcore/qtglobal.html#QT_DISABLE_DEPRECATED_BEFORE.