N!tmod

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Menus
  • Assigned To
    N!trox*
  • Operating System All / Undefined
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: N!tmod
Opened by Adrian - 2012-03-22
Last edited by N!trox* - 2014-11-04

FS#40 - Shuffle doesn't work

* N!tmod version : 2.2 PR1 * Build Date (!about cmd) : Feb 20 2012 * Map : all * Omni-Bot enabled ? : yes * If yes, bot count : max 16 * Gametype : objectives * Any custom mapscripts ? If yes, provide link : etpro mapscripts * Any LUA modules ? If yes, provide link : auto setlevel http://www.etmods.net/forums/viewtopic.php?id=262 * Happens in Warmup/Playing/Intermission ? : all * Explain the bug : Vote for Shuffle doesn't work. "Unknown vote command: shuffleteamsxp_norestart"
Closed by  N!trox*
Tuesday, 04 November 2014, 15:01 GMT
Reason for closing:  Fixed
Admin
N!trox* commented on Thursday, 22 March 2012, 12:55 GMT
Thanks for reporting. Nico$ has made a modification but he forgot a few things ^^ Shuffle are no longer based on players XP in N!tmod, and some cvars/commands still contain "xp" (like vote_allow_shuffleteamsxp_norestart >>> should be >>> vote_allow_shuffleteams_norestart) The menu has not been modified either, but you can easily create a temporary fix: * Open N!tmod PK3, extract the "ui/ingame_vote_misc.menu" file (because N!tmod original pk3 should NEVER be modified) * Modify these 2 lines: BUTTONEXT( 6+.5*(WINDOW_WIDTH-18)+6, 32, .5*(WINDOW_WIDTH-18), 14, "SHUFFLE & RESTART", .24, 11, exec "cmd callvote shuffleteamsxp"; uiScript closeingame, voteFlag CV_SVF_SHUFFLETEAMS ) BUTTONEXT( 6+.5*(WINDOW_WIDTH-18)+6, 50, .5*(WINDOW_WIDTH-18), 14, "SHUFFLE NO RESTART", .24, 11, exec "cmd callvote shuffleteamsxp_norestart"; uiScript closeingame, voteFlag CV_SVF_SHUFFLETEAMS_NORESTART ) * To: BUTTONEXT( 6+.5*(WINDOW_WIDTH-18)+6, 32, .5*(WINDOW_WIDTH-18), 14, "SHUFFLE & RESTART", .24, 11, exec "cmd callvote shuffleteams"; uiScript closeingame, voteFlag CV_SVF_SHUFFLETEAMS ) BUTTONEXT( 6+.5*(WINDOW_WIDTH-18)+6, 50, .5*(WINDOW_WIDTH-18), 14, "SHUFFLE NO RESTART", .24, 11, exec "cmd callvote shuffleteams_norestart"; uiScript closeingame, voteFlag CV_SVF_SHUFFLETEAMS_NORESTART ) * Create a new pk3 (ex: z_nit22pr1_menufix.pk3) * Create a "ui" folder inside this pk3. * Add the modified "ingame_vote_misc.menu" file inside the "ui" folder. * Save * Add the new pk3 you created inside your server's 'nitmod' folder * Reboot/change map * Should be fixed :) I also made the required modifications in the code and in the official menu files, so this will be fixed in the next build :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing