Author Topic: Send Menu v1.1  (Read 20964 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Send Menu v1.1
« on: February 16, 2006, 08:21:30 AM »
Requirements:
ULX v1.1

Download:
http://ulyssesmod.net/sendmenu-v1_1.zip

Version: 1.1


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 ULX modules 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.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: May 22, 2006, 06:55:09 PM by Megiddo »
Experiencing God's grace one day at a time.

Dan

  • Guest
Re: Send Menu 0.9
« Reply #1 on: February 21, 2006, 02:25:54 PM »
your comp is sick, maby to much porn? lol

nice mod tho

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 0.9
« Reply #2 on: February 21, 2006, 02:50:47 PM »
your comp is sick, maby to much porn? lol

nice mod tho

Actually, it was because my hard drive wasn't running on DMA for some reason. I took it out to test it on another computer and one of the pins fell out of the solder joint. I spent 2 hours soldering the pin back on, and eventually fixed the DMA problem by switching the hard drive channel with the cdrom drive channel. Next time you want to make a rude comment, keep it to yourself.
Experiencing God's grace one day at a time.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 0.9
« Reply #3 on: February 22, 2006, 08:22:09 PM »
Up to version 1.0, read above changelog for more information
Experiencing God's grace one day at a time.

Offline piggy

  • Newbie
  • *
  • Posts: 21
  • Karma: -1
Re: Send Menu 1.0
« Reply #4 on: February 23, 2006, 09:24:25 AM »
erm i put that mod in the modules folder like u said and its not letting nay one on the server it keep saying this (from console)"Disconnect: Client 1 overflowed reliable channel.." what does this mean lol  ???

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 1.0
« Reply #5 on: February 23, 2006, 10:21:24 AM »
erm i put that mod in the modules folder like u said and its not letting nay one on the server it keep saying this (from console)"Disconnect: Client 1 overflowed reliable channel.." what does this mean lol  ???

It means you should ditch the dial up
Experiencing God's grace one day at a time.

Offline piggy

  • Newbie
  • *
  • Posts: 21
  • Karma: -1
Re: Send Menu 1.0
« Reply #6 on: February 23, 2006, 10:56:18 AM »
Im not on dial up!

And its not just me it happens to every one who tries to join the server gets it

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 1.0
« Reply #7 on: February 23, 2006, 11:34:31 AM »
Im not on dial up!

And its not just me it happens to every one who tries to join the server gets it


What directory are you sending and how many files are in it? ( List the contents of the directory )
Experiencing God's grace one day at a time.

Offline jesus

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
Re: Send Menu 1.0
« Reply #8 on: February 25, 2006, 04:14:11 PM »
Does this mod mod mod allow you to send any file to the client?
If so = Bad.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 1.0
« Reply #9 on: February 25, 2006, 05:24:35 PM »
No. I wish you'd read what I wrote above.
Experiencing God's grace one day at a time.

Diggl

  • Guest
Re: Send Menu 1.0
« Reply #10 on: April 01, 2006, 12:25:46 AM »
Looks good.. But. uh what can it be used for?

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Send Menu 1.0
« Reply #11 on: April 01, 2006, 10:35:48 AM »
If your server builds forts a lot, you can make a menu called "X's Server - Fort Building'
and put all the props you use for fort building inside.


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 1.0
« Reply #12 on: April 01, 2006, 04:27:07 PM »
Or custom models, or just a reorganized menu, etc.
Experiencing God's grace one day at a time.

Offline deathsol

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Send Menu 1.0
« Reply #13 on: May 17, 2006, 11:37:19 AM »
Is it just me or does this not work with the latest version of ulx?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Send Menu 1.0
« Reply #14 on: May 17, 2006, 06:52:29 PM »
It works fine. If you're trying to see the affect from a listen server, you obviously won't see any changes.
Experiencing God's grace one day at a time.