Ulysses

Ulysses Stuff => Ulysses Release Archives => Releases => Releases for ULX v1.* => Topic started by: Megiddo on February 16, 2006, 08:21:30 AM

Title: Send Menu v1.1
Post by: Megiddo 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.
Title: Re: Send Menu 0.9
Post by: Dan on February 21, 2006, 02:25:54 PM
your comp is sick, maby to much porn? lol

nice mod tho
Title: Re: Send Menu 0.9
Post by: Megiddo 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.
Title: Re: Send Menu 0.9
Post by: Megiddo on February 22, 2006, 08:22:09 PM
Up to version 1.0, read above changelog for more information
Title: Re: Send Menu 1.0
Post by: piggy 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  ???
Title: Re: Send Menu 1.0
Post by: Megiddo 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
Title: Re: Send Menu 1.0
Post by: piggy 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
Title: Re: Send Menu 1.0
Post by: Megiddo 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 )
Title: Re: Send Menu 1.0
Post by: jesus 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.
Title: Re: Send Menu 1.0
Post by: Megiddo on February 25, 2006, 05:24:35 PM
No. I wish you'd read what I wrote above.
Title: Re: Send Menu 1.0
Post by: Diggl on April 01, 2006, 12:25:46 AM
Looks good.. But. uh what can it be used for?
Title: Re: Send Menu 1.0
Post by: Golden-Death 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.
Title: Re: Send Menu 1.0
Post by: Megiddo on April 01, 2006, 04:27:07 PM
Or custom models, or just a reorganized menu, etc.
Title: Re: Send Menu 1.0
Post by: deathsol on May 17, 2006, 11:37:19 AM
Is it just me or does this not work with the latest version of ulx?
Title: Re: Send Menu 1.0
Post by: Megiddo 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.
Title: Re: Send Menu 1.0
Post by: deathsol1 on May 18, 2006, 07:30:01 PM
I am using a dedicated server.  Whenever I try to join the dedicated server I get the error message "Disconnect: Client 1 overflowed reliable channel." However when I remove the send menu I am able to join the dedicated server again.  If there is a way I would be able to provide more information like a log or a dump file let me know.
Title: Re: Send Menu 1.0
Post by: Megiddo on May 18, 2006, 09:18:04 PM
Try limiting the menus sent.
Title: Re: Send Menu 1.0
Post by: deathsol on May 19, 2006, 01:15:35 PM
Thanks that seemed to fix it.  Is there anyway I would be able to add more menus without getting that message?
Title: Re: Send Menu 1.0
Post by: Megiddo on May 19, 2006, 09:08:19 PM
Not sure... maybe if I added a timer to the messages it might help...

Here, try this:
<code removed, see below>

Just save that text as a ".lua" file in the modules folder in ulx, delete the old sendmenu.

If you're still getting overflowed channels, try incrementing the increment variable on line 52. Let me know if it works, if it does, it's a new version :)

Title: Re: Send Menu 1.0
Post by: deathsol on May 20, 2006, 11:18:03 AM
I am no longer getting the overflowed channels however it is not sending the menus at all anymore.  Not even when I get rid of the menus that cause it.  I tried values inbetween 0-25 and it didnt seem to make any difference.  Either the script is not running or it is not sending any menus.

I have also noticed that if i would run the start script for ulx again(lua_openscript init\ulx_init.lua) it would cause the overflow.
Title: Re: Send Menu 1.0
Post by: Megiddo on May 20, 2006, 05:53:48 PM
Please contact me on MSN/Yahoo/AIM, you can get my account information in my profile.
Title: Re: Send Menu 1.0
Post by: Megiddo on May 22, 2006, 06:54:10 PM
Updated first post on this thread with v1.1.

Thank you TheDarkFactor!
Title: Re: Send Menu v1.1
Post by: Megiddo on October 07, 2006, 06:10:39 PM
Note, if you want to use this with ULib, there's a newer version at http://forums.ulyssesmod.net/index.php/topic,289.0.html
Title: Re: Send Menu v1.1
Post by: JamminR on October 07, 2006, 08:30:13 PM
Deathsol, you are correct (Megiddo was mistaken, Send Menu works, but only if you have newer version)
Send Menu 1.1 doesn't work with ULX > v2.
As this forum name is titled "Releases for ULX v1.*", and as this STICKY (http://forums.ulyssesmod.net/index.php/topic,333.0.html) even says, it is my understanding that  versions 1.1 and less won't work with ULX v2.

For ULib, and ULX v2, you probably want Send Menu v1.2 (http://forums.ulyssesmod.net/index.php/topic,289.0.html) in the ULib Releases section