Ulysses Stuff > Ulysses Release Archives
XGUI - Fully featured modular GUI for ULX! (Included with ULX v3.51 and SVN)
Stickly Man!:
Yes, Megiddo informed me too haha, the thought never crossed my mind when I was working on it
[WCA]AIDS:
I think that for the most part you have included all of the most used convars, so I don't think there are to many that have yet to be added.
The "start a server-wide vote of the selected maps" feature is glorious.
Also, something I forgot to mention in my earlier post.
Most if not all of the ulx convars you have are not written correctly.
You have included an underscore between ulx and <var> which causes them to return as unknown.
For example,
maps.lua
--- Code: --- xgmp_settings_votemap:AddItem( x_makecheckbox{ label="Enable Player Votemaps", convar="ulx_votemapEnabled" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Minimum Time", min=10, max=10,convar="ulx_votemapMintime", tooltip="Time in minutes after a map change before a votemap can be started" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Wait Time", min=5, max=5, decimal=1, convar="ulx_votemapWaitTime", tooltip="Time in minutes after voting for a map before you can change your vote" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Success Ratio", min=0.7, max=0.7, decimal=2, convar="ulx_votemapSuccessratio", tooltip="Ratio of votes needed to consider a vote successful.Votes for map / Total players" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Minimum Votes", min=3, max=3, convar="ulx_votemapMinvotes", tooltip="Minimum number of votes needed to change a level" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Veto Time", min=30, max=30, convar="ulx_votemapVetotime", tooltip="Time in seconds after a map change before an admin can veto the mapchange" } )
xgmp_settings_votemap:AddItem( x_makelabel{ label="Server-wide Votemap Settings" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Success Ratio", min=0, max=1, decimal=2, convar="ulx_votemap2Successratio", tooltip="Ratio of votes needed to consider a vote successful.Votes for map / Total players" } )
xgmp_settings_votemap:AddItem( x_makeslider{ label="Minimum Votes", min=0, max=10, convar="ulx_votemap2Minvotes", tooltip="Minimum number of votes needed to change a level" } )
--- End code ---
convar="ulx_votemapEnabled"
convar="ulx_votemapMintime"
convar="ulx_votemapWaitTime"
convar="ulx_votemapSuccessratio"
convar="ulx_votemapMinvotes"
convar="ulx_votemapVetotime"
convar="ulx_votemap2Successratio"
convar="ulx_votemap2Minvotes"
Should all have the underscores replaced with a space, so then they would be
convar="ulx votemapEnabled"
convar="ulx votemapMintime"
convar="ulx votemapWaitTime"
convar="ulx votemapSuccessratio"
convar="ulx votemapMinvotes"
convar="ulx votemapVetotime"
convar="ulx votemap2Successratio"
convar="ulx votemap2Minvotes"
Which will stop them from returning as unknown.
Stickly Man!:
thats odd.. when I run:
lua_run print( GetConVarString( "ulx_votemapEnabled" ) )
It returns the correct value.. however,
lua_run print( GetConVarString( "ulx votemapEnabled" ) )
doesn't show anything ???
Either way, Megiddo is modifying ULX and will be using those replicated convars I mentioned, so, hopefully with my next update along with the SVN update of ULX, things should be working much better :D
[WCA]AIDS:
that is odd.
When i close the xgui menu it spits up ulx_votemapEnabled/etc. as being unknown in my console.
also,
server.ini
--- Code: ---ulx votemapEnabled 1 // Enable/Disable the entire votemap command
ulx votemapMintime 10 // Time after map change before votes count.
ulx votemapWaittime 5 // Time before a user must wait before they can change their vote.
ulx votemapSuccessratio 0.4 // Ratio of (votes for map)/(total players) needed to change map. (Rounds up)
ulx votemapMinvotes 3 // Number of minimum votes needed to change map (Prevents llamas). This supercedes the above convar on small servers.
ulx votemapVetotime 30 // Time in seconds an admin has after a successful votemap to veto the vote. Set to 0 to disable.
ulx votemapMapmode 1 // 1 = Use all maps but what's specified below, 2 = Use only the maps specified below.
--- End code ---
But if Megiddo is going to modify ULX then might as well wait and try again when his changes are completed and pushed through the SVN.
I hope I don't sound like I'm backhanding you and calling you stupid, I really am trying to help lol.
Stickly Man!:
lol no, I really do like the help and suggestions-- Seriously, if you have any ideas whatsoever, or something you'd like to see, I'd be happy to put it in there for ya :D
Anyways, about the convars, it makes sense now lol-- by using ulx votemapWaittime or something with the space-- that's used as a console command to change the variable-- the actual name of the convar accessed through the lua is ulx_votemapWaittime (with the underscore).. But that doesn't matter anymore as megiddo has just pretty much recoded how the ULX convars work lol-- you'll see with the next release ;D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version