N!tmod

Notice: Undefined index: tasklist_type in /var/www/tracker/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/tracker/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Server
  • Assigned To No-one
  • Operating System Linux
  • Severity Low
  • Priority Normal
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: N!tmod
Opened by ailmanki (addition) - 2012-07-27

FS#54 - et_obituary(...) not using return value

PLEASE FILL THIS FORM PROPERLY TO MAKE SURE WE HAVE ENOUGH INFORMATIONS TO REPRODUCE THE BUG AND TRY TO FIX IT !
THE FOLLOWING FORM HAS BEEN MODIFIED ON MARCH 12th 2011.

* N!tmod version : 2.2
* Build Date (!about cmd) : May 31 2012
* Map : unrelated
* Omni-Bot enabled ? : yes
* If yes, bot count : unrelated
* Gametype : 2 objective
* Any custom mapscripts ? If yes, provide link : unrelated
* Any LUA modules ? If yes, provide link : unrelated
* Happens in Warmup/Playing/Intermission ? : unrelated

* Explain the bug :
The lua function et_obituary(..) should replace with its return value, the obituary message from ET.
But it does not.
Could we also get a list of all meansOfDeath in N!tmod? Even though its possible to get that info through et_print().

(customObit) = et_Obituary( victim, killer, meansOfDeath )
Called whenever a player is killed. *Modules should return a string (customObit) to override the default obituary or nil to leave it as it is.
* Additional informations :

This task does not depend on any other tasks.

Loading...