Author Topic: Sendmenu v1.2  (Read 4155 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Sendmenu v1.2
« on: July 23, 2006, 10:29:20 PM »
Requirements:
ULib v1

Download:
http://ulyssesmod.net/archive/sendmenu-v1_2.zip

Version: 1.2


This plugin will make clients "download" the server menu for as long as their connected to your server. For example, if you have custom props on your server, you'd want to make a menu for those props so clients would know about them and would be able to use them. Also includes an option to erase the client's current menu and only use the menu the server sends them.

INSTRUCTIONS:
Download the zip and extract the .lua file to your init folder.
Send Menu uses the following variables:
ulx_sv_sendmenuenabled - If enabled, clients will be sent the menus from the server
ulx_sv_sendmenuclearold - If enabled with sendmenuenabled, the client's original menu will be cleared
ulx_sv_sendmenudir - Where sendmenu will take it's menus from, USE '/' AND LEAVE OFF THE TRAILING '/'
These variables both default to enabled. To change them, add the configuration you want to your ULX server.ini. For example, if you don't want it to clear the client's current menu, just add "ulx_sv_sendmenuclearold 0" to your server.ini

Hope you enjoy it!

Changelog:
v1.2 7/21/06
* Moved code over to ULib, should increase robustness, can now process multiple menus in one file.

v1.1 5/22/06
* Fixed overflow problems ( Timer delays menus, you can change the delay with the increment variable )

v1 02/22/06
* ulx_sv_sendmenuclearold now defaults to off
* Fixed cvar checks
* Added ulx_sv_sendmenudir
* Added some ULX checks

v0.9 02/16/06
* Initial release

Thanks to:
TheDarkFactor for helping me track and kill the overflow problem as efficiently as possible.
« Last Edit: October 11, 2006, 03:23:44 PM by Megiddo »
Experiencing God's grace one day at a time.