ULX

Author Topic: Completely Stumped  (Read 6897 times)

0 Members and 1 Guest are viewing this topic.

Offline Reiko

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
  • Wheee!
    • VorixNet
Completely Stumped
« on: September 30, 2008, 08:40:05 AM »
Hello, I am using the SVN version of Ulib and Ulx along with Umotd in a prop-hunt gamemode server. It's only been up a few days, so it's bugs galore, obviously.

Up until today everything was running great, until someone claimed to be using a HUD radar, which obviously defetes the purpose of prop-hunt. It was at that point that I realized I had typod the "sv_scriptenforcerenabled" command and that people were able to run whatever scripts they felt like. Now I know what you're thinking "Oh god! Not another post about script enforcer!" but I am actually stumped. I know how to use script enforcer. I've built a clean manifest for the server and when that didn't work I manually edited it.

Basically, everything works fine except for Ulib, Ulx and Umotd.

I get the common;
Quote
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
And no menus or commands work, you know the drill.

But here's the weird part, I eventually got so pissy at it that I just went through the Ulysses folders and added every single script, even serverside ones (which is know is not necessary or secure). So now every Ulysses script is in the clientscripts.txt (unless there are some off hiding somewhere that I don't know about (and there aren't ;P)) and clientscripts.txt is in the prop-hunt folder, the prop-hunt gamemode is working fine. No extra addons other than SourceMod, but that was installed before I enabled scriptenforcer and they worked fine together.

So here's my clientscripts.txt (Ulysses is at the bottom);
Quote
includes\enum\class.lua
includes\enum\mat.lua
includes\enum\print_types.lua
includes\enum\rendergroup.lua
includes\enum\rendermode.lua
includes\enum\sim_phys.lua
includes\enum\teams.lua
includes\enum\text_align.lua
includes\enum\transmit.lua
includes\enum\use_types.lua
includes\init.lua
includes\compat.lua
includes\util.lua
includes\util\sql.lua
includes\modules\concommand.lua
includes\modules\saverestore.lua
includes\modules\gamemode.lua
includes\modules\hook.lua
includes\modules\weapons.lua
includes\modules\timer.lua
includes\modules\schedule.lua
includes\modules\scripted_ents.lua
includes\modules\player_manager.lua
includes\modules\numpad.lua
includes\modules\team.lua
includes\modules\undo.lua
includes\modules\usermessage.lua
includes\modules\cleanup.lua
includes\modules\duplicator.lua
includes\modules\constraint.lua
includes\modules\construct.lua
includes\modules\filex.lua
includes\modules\vehicles.lua
includes\modules\list.lua
includes\modules\cvars.lua
includes\modules\http.lua
includes\modules\draw.lua
includes\modules\markup.lua
includes\modules\effects.lua
includes\modules\killicon.lua
includes\modules\spawnmenu.lua
includes\modules\controlpanel.lua
includes\modules\presets.lua
includes\modules\cookie.lua
includes\util\model_database.lua
includes\util\vgui_showlayout.lua
includes\util\tooltips.lua
includes\util\client.lua
includes\extensions\debug.lua
includes\extensions\entity.lua
includes\extensions\entity_cl.lua
includes\extensions\entity_networkvars.lua
includes\extensions\global_cl.lua
includes\extensions\math.lua
includes\extensions\mesh.lua
includes\extensions\panel.lua
includes\extensions\panel_animation.lua
includes\extensions\panel_animation.lua
includes\extensions\player.lua
includes\extensions\player_auth.lua
includes\extensions\player_cl.lua
includes\extensions\render.lua
includes\extensions\string.lua
includes\extensions\table.lua
includes\extensions\util.lua
includes\extensions\vgui_sciptedpanels.lua
base\gamemode\cl_init.lua
base\gamemode\shared.lua
base\gamemode\obj_player_extend.lua
base\gamemode\gravitygun.lua
base\gamemode\player_shd.lua
base\gamemode\cl_scoreboard.lua
base\gamemode\cl_targetid.lua
base\gamemode\cl_hudpickup.lua
base\gamemode\cl_spawnmenu.lua
base\gamemode\cl_deathnotice.lua
base\gamemode\cl_pickteam.lua
autorun\options_menu.lua
autorun\utilities_menu.lua
autorun\base_npcs.lua
autorun\base_npcs_weapons.lua
autorun\base_vehicles.lua
autorun\developer_functions.lua
autorun\cs_playermodels.lua
autorun\dod_playermodels.lua
autorun\ep2_entities.lua
autorun\ep2_npcs.lua
autorun\ep2_playermodels.lua
autorun\ep2_vehicles.lua
autorun\client\player_info.lua
derma\init.lua
derma\derma.lua
derma\derma_example.lua
derma\derma_menus.lua
derma\derma_animation.lua
derma\derma_utils.lua
postprocess\bloom.lua
postprocess\categories.lua
postprocess\color_modify.lua
postprocess\dof.lua
postprocess\morph.lua
postprocess\motion_blur.lua
postprocess\overlay.lua
postprocess\sharpen.lua
postprocess\stereoscopy.lua
postprocess\sunbeams.lua
postprocess\super_dof.lua
vgui\contextbase.lua
vgui\dalphabar.lua
vgui\dbevel.lua
vgui\dbutton.lua
vgui\dcategorycollapse.lua
vgui\dcheckbox.lua
vgui\dcolorcircle.lua
vgui\dcolorcube.lua
vgui\dcoloredbox.lua
vgui\dcolormixer.lua
vgui\dcombobox.lua
vgui\dform.lua
vgui\dframe.lua
vgui\dhorizontaldivider.lua
vgui\dhorizontalscroller.lua
vgui\dimage.lua
vgui\dimagebutton.lua
vgui\dlabel.lua
vgui\dlistview.lua
vgui\dlistview_column.lua
vgui\dlistview_line.lua
vgui\dmenu.lua
vgui\dmenuoption.lua
vgui\dmodelpanel.lua
vgui\dmultichoice.lua
vgui\dnumberwang.lua
vgui\dnumpad.lua
vgui\dnumslider.lua
vgui\dpanel.lua
vgui\dpanellist.lua
vgui\dpanelselect.lua
vgui\dpropertysheet.lua
vgui\drgbbar.lua
vgui\dscrollbargrip.lua
vgui\dshape.lua
vgui\dslider.lua
vgui\dsprite.lua
vgui\dsysbutton.lua
vgui\dtextentry.lua
vgui\dtinybutton.lua
vgui\dtooltip.lua
vgui\dtree.lua
vgui\dtree_node.lua
vgui\dtree_node_button.lua
vgui\dverticaldivider.lua
vgui\dvscrollbar.lua
vgui\fingerposer.lua
vgui\fingervar.lua
vgui\imagebutton.lua
vgui\imagecheckbox.lua
vgui\material.lua
vgui\matselect.lua
vgui\propselect.lua
vgui\slidebar.lua
vgui\toolquickselect.lua
vgui\toolquickselect_properties.lua
vgui\vgui_panellist.lua
skins\default.lua
skins\example.lua
prop-hunt\gamemode\cl_init.lua
prop-hunt\gamemode\sh_init.lua
prop-hunt\gamemode\sh_config.lua
prop-hunt\gamemode\sh_player.lua
prop-hunt\gamemode\cl_scoreboard.lua
prop-hunt\gamemode\cl_scoreboard_playerlist.lua
prop-hunt\gamemode\cl_scoreboard_playerrow.lua
weapons\weapon_base\cl_init.lua
weapons\weapon_base\shared.lua
weapons\weapon_ak47\shared.lua
weapons\weapon_base\cl_init.lua
weapons\weapon_base\shared.lua
weapons\weapon_cs_base\shared.lua
weapons\weapon_deagle\shared.lua
weapons\weapon_fiveseven\shared.lua
weapons\weapon_glock\shared.lua
weapons\weapon_m4\shared.lua
weapons\weapon_mac10\shared.lua
weapons\weapon_mp5\shared.lua
weapons\weapon_para\shared.lua
weapons\weapon_pumpshotgun\shared.lua
weapons\weapon_tmp\shared.lua
entities\base_anim\cl_init.lua
entities\base_anim\shared.lua
entities\base_ai\cl_init.lua
entities\base_ai\shared.lua
entities\base_ai\cl_init.lua
entities\base_ai\shared.lua
entities\base_anim\cl_init.lua
entities\base_anim\shared.lua
entities\base_entity\cl_init.lua
entities\base_entity\shared.lua
entities\base_vehicle\cl_init.lua
entities\base_vehicle\shared.lua
entities\ph_prop\cl_init.lua
entities\ph_prop\shared.lua
entities\prop_effect\cl_init.lua
entities\prop_effect\shared.lua
entities\sent_ball\cl_init.lua
entities\sent_ball\shared.lua
effects\base\init.lua
effects\base\init.lua
effects\dof_node\init.lua
effects\tooltracer\init.lua
autorun\ulib_init.lua
ULib\cl_init.lua
ULib\init.lua
ULib\_cl_2.21\_generator.lua
ULib\_cl_2.21\autocomplete.lua
ULib\_cl_2.21\cl_util.lua
ULib\_cl_2.21\concommand.lua
ULib\_cl_2.21\defines.lua
ULib\_cl_2.21\draw.lua
ULib\_cl_2.21\messages.lua
ULib\_cl_2.21\misc.lua
ULib\_cl_2.21\player.lua
ULib\_cl_2.21\sh_ucl.lua
ULib\_cl_2.21\tables.lua
ULib\_cl_2.21\util.lua
ULib\client\autocomplete.lua
ULib\client\cl_util.lua
ULib\client\draw.lua
ULib\server\concommand.lua
ULib\server\entity_ext.lua
ULib\server\gamemode_hooks.lua
ULib\server\hook.lua
ULib\server\phys.lua
ULib\server\player.lua
ULib\server\player_ext.lua
ULib\server\ucl.lua
ULib\server\util.lua
ULib\shared\concommand.lua
ULib\shared\defines.lua
ULib\shared\messages.lua
ULib\shared\misc.lua
ULib\shared\player.lua
ULib\shared\sh_ucl.lua
ULib\shared\tables.lua
ULib\shared\util.lua
ULib\modules\ulx_init.lua
ulx\base.lua
ulx\cl_init.lua
ulx\cl_lib.lua
ulx\end.lua
ulx\init.lua
ulx\lib.lua
ulx\log.lua
ulx\sh_defines.lua
ulx\modules\chat.lua
ulx\modules\fun.lua
ulx\modules\menus.lua
ulx\modules\rcon.lua
ulx\modules\slots.lua
ulx\modules\teleport.lua
ulx\modules\toolmode.lua
ulx\modules\user.lua
ulx\modules\util.lua
ulx\modules\vote.lua
ulx\modules\votemap.lua
ulx\modules\cl\adminmenu.lua
ulx\modules\cl\banmenu.lua
ulx\modules\cl\clientmenu.lua
ulx\modules\cl\mainmenu.lua
ulx\modules\cl\mapsmenu.lua
ulx\modules\cl\motdmenu.lua
ulx\modules\sh\userhelp.lua
ULib\modules\umotd_init.lua
ulx\modules\Umotd_helper.lua
Umotd\Umotd_client.lua
Umotd\Umotd_config.lua
Umotd\Umotd_server.lua

ScriptEnforcer is only blocking these scripts from a default installation;
Quote
ScriptEnforce: "autorun\base_npcs.lua" blocked
ScriptEnforce: "autorun\base_npcs_weapons.lua" blocked
ScriptEnforce: "autorun\base_vehicles.lua" blocked
ScriptEnforce: "autorun\cs_playermodels.lua" blocked
ScriptEnforce: "autorun\dod_playermodels.lua" blocked
ScriptEnforce: "autorun\ep2_entities.lua" blocked
ScriptEnforce: "autorun\ep2_npcs.lua" blocked
ScriptEnforce: "autorun\ep2_playermodels.lua" blocked
ScriptEnforce: "autorun\ep2_vehicles.lua" blocked
And I'm pretty sure none of those have anything to do with Ulysses.

Does anyone know what I am missing? D=

Thanks for any help anyone can give.

Reiko
« Last Edit: September 30, 2008, 10:55:00 AM by Reiko »
So there! D=<

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Completely Stumped
« Reply #1 on: September 30, 2008, 03:13:30 PM »
Listen or dedicated server?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Completely Stumped
« Reply #2 on: September 30, 2008, 06:50:57 PM »
Ok, more idea.
I know Lua. I know basic programming. I'm also human and mess either up sometimes, so please, don't be offended by the way I ask the following.
You mentioned yourself you're frustrated, and it's easy to make mistakes when frustrated.

On your server, plan a maintenance window where you can lock it down, prevent people joining even after restart.
Shut it down. Move any addons that wouldn't be used during prop-hunt to a different folder above /addons
Name it addonsbackup or anything else you want. Leave those there.
Check the server /lua/autorun and other lua folders for things that start up that you've added but not in addon format.

On your client (game) machine; do all the same steps above.

Now.. with scriptenforcer NOT enabled (sv_scriptenforcerenabled 0), start your server in prop hunt mode.
Make sure it's locked down so others don't join.
With your client, join the server.
Once spawned, from your CLIENT console, type "scriptenforce_createmanifest" and press enter.
It will create \gamemodes\<some prop hunt name probably>\clientscripts.txt
Copy that file to your server's \gamemodes\<some prop hunt name probably>\
Shut down server. Edit the config to turn off the password, enable scriptenforcer, and try again.

If that doesn't work, well, not sure.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Reiko

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
  • Wheee!
    • VorixNet
Re: Completely Stumped
« Reply #3 on: September 30, 2008, 08:28:57 PM »
I know Lua. I know basic programming. I'm also human and mess either up sometimes, so please, don't be offended by the way I ask the following.

I'd never be offended by someone trying to help me.

The only problem with this suggestion is that this is the mothod I used for the origional manifest, then I got frustrated and starting adding things manually, however, as you said humans aren't perfect, so it never hurts to try again.

I'll post the results.
So there! D=<

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Completely Stumped
« Reply #4 on: September 30, 2008, 08:36:59 PM »
I'd never be offended by someone trying to help me.

Great. So many now days seem they'd rather scream back at us "I've already tried all those steps X Y Z"
Majority of the time, they missed Z, but we never truly find out about it until long after we've started ignoring the screamng.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Reiko

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
  • Wheee!
    • VorixNet
Re: Completely Stumped
« Reply #5 on: September 30, 2008, 09:22:24 PM »
Okay, in a locked, scriptenforcer disabled server with only the files needed and a (basically) fresh install Gmod client; I used the scriptenforce_createmanifest command, which outputted;
Quote
includes\enum\class.lua
includes\enum\mat.lua
includes\enum\print_types.lua
includes\enum\rendergroup.lua
includes\enum\rendermode.lua
includes\enum\sim_phys.lua
includes\enum\teams.lua
includes\enum\text_align.lua
includes\enum\transmit.lua
includes\enum\use_types.lua
includes\init.lua
includes\compat.lua
includes\util.lua
includes\util\sql.lua
includes\modules\concommand.lua
includes\modules\saverestore.lua
includes\modules\gamemode.lua
includes\modules\hook.lua
includes\modules\weapons.lua
includes\modules\timer.lua
includes\modules\schedule.lua
includes\modules\scripted_ents.lua
includes\modules\player_manager.lua
includes\modules\numpad.lua
includes\modules\team.lua
includes\modules\undo.lua
includes\modules\usermessage.lua
includes\modules\cleanup.lua
includes\modules\duplicator.lua
includes\modules\constraint.lua
includes\modules\construct.lua
includes\modules\filex.lua
includes\modules\vehicles.lua
includes\modules\list.lua
includes\modules\cvars.lua
includes\modules\http.lua
includes\modules\draw.lua
includes\modules\markup.lua
includes\modules\effects.lua
includes\modules\killicon.lua
includes\modules\spawnmenu.lua
includes\modules\controlpanel.lua
includes\modules\presets.lua
includes\modules\cookie.lua
includes\util\model_database.lua
includes\util\vgui_showlayout.lua
includes\util\tooltips.lua
includes\util\client.lua
includes\extensions\debug.lua
includes\extensions\entity.lua
includes\extensions\entity_cl.lua
includes\extensions\entity_networkvars.lua
includes\extensions\global_cl.lua
includes\extensions\math.lua
includes\extensions\mesh.lua
includes\extensions\panel.lua
includes\extensions\panel_animation.lua
includes\extensions\panel_animation.lua
includes\extensions\player.lua
includes\extensions\player_auth.lua
includes\extensions\player_cl.lua
includes\extensions\render.lua
includes\extensions\string.lua
includes\extensions\table.lua
includes\extensions\util.lua
includes\extensions\vgui_sciptedpanels.lua
base\gamemode\cl_init.lua
base\gamemode\shared.lua
base\gamemode\obj_player_extend.lua
base\gamemode\gravitygun.lua
base\gamemode\player_shd.lua
base\gamemode\cl_scoreboard.lua
base\gamemode\cl_targetid.lua
base\gamemode\cl_hudpickup.lua
base\gamemode\cl_spawnmenu.lua
base\gamemode\cl_deathnotice.lua
base\gamemode\cl_pickteam.lua
autorun\options_menu.lua
autorun\ulib_init.lua
ulib\cl_init.lua
autorun\utilities_menu.lua
autorun\base_npcs.lua
autorun\base_npcs_weapons.lua
autorun\base_vehicles.lua
autorun\developer_functions.lua
autorun\cs_playermodels.lua
autorun\dod_playermodels.lua
autorun\ep2_entities.lua
autorun\ep2_npcs.lua
autorun\ep2_playermodels.lua
autorun\ep2_vehicles.lua
autorun\client\player_info.lua
derma\init.lua
derma\derma.lua
derma\derma_example.lua
derma\derma_menus.lua
derma\derma_animation.lua
derma\derma_utils.lua
postprocess\bloom.lua
postprocess\categories.lua
postprocess\color_modify.lua
postprocess\dof.lua
postprocess\morph.lua
postprocess\motion_blur.lua
postprocess\overlay.lua
postprocess\sharpen.lua
postprocess\stereoscopy.lua
postprocess\sunbeams.lua
postprocess\super_dof.lua
vgui\contextbase.lua
vgui\dalphabar.lua
vgui\dbevel.lua
vgui\dbutton.lua
vgui\dcategorycollapse.lua
vgui\dcheckbox.lua
vgui\dcolorcircle.lua
vgui\dcolorcube.lua
vgui\dcoloredbox.lua
vgui\dcolormixer.lua
vgui\dcombobox.lua
vgui\dform.lua
vgui\dframe.lua
vgui\dhorizontaldivider.lua
vgui\dhorizontalscroller.lua
vgui\dimage.lua
vgui\dimagebutton.lua
vgui\dlabel.lua
vgui\dlistview.lua
vgui\dlistview_column.lua
vgui\dlistview_line.lua
vgui\dmenu.lua
vgui\dmenuoption.lua
vgui\dmodelpanel.lua
vgui\dmultichoice.lua
vgui\dnumberwang.lua
vgui\dnumpad.lua
vgui\dnumslider.lua
vgui\dpanel.lua
vgui\dpanellist.lua
vgui\dpanelselect.lua
vgui\dpropertysheet.lua
vgui\drgbbar.lua
vgui\dscrollbargrip.lua
vgui\dshape.lua
vgui\dslider.lua
vgui\dsprite.lua
vgui\dsysbutton.lua
vgui\dtextentry.lua
vgui\dtinybutton.lua
vgui\dtooltip.lua
vgui\dtree.lua
vgui\dtree_node.lua
vgui\dtree_node_button.lua
vgui\dverticaldivider.lua
vgui\dvscrollbar.lua
vgui\fingerposer.lua
vgui\fingervar.lua
vgui\imagebutton.lua
vgui\imagecheckbox.lua
vgui\material.lua
vgui\matselect.lua
vgui\propselect.lua
vgui\slidebar.lua
vgui\toolquickselect.lua
vgui\toolquickselect_properties.lua
vgui\vgui_panellist.lua
skins\default.lua
skins\example.lua
prop-hunt\gamemode\cl_init.lua
prop-hunt\gamemode\sh_init.lua
prop-hunt\gamemode\sh_config.lua
prop-hunt\gamemode\sh_player.lua
prop-hunt\gamemode\cl_scoreboard.lua
prop-hunt\gamemode\cl_scoreboard_playerlist.lua
prop-hunt\gamemode\cl_scoreboard_playerrow.lua
weapons\weapon_base\cl_init.lua
weapons\weapon_base\shared.lua
weapons\weapon_ak47\shared.lua
weapons\weapon_base\cl_init.lua
weapons\weapon_base\shared.lua
weapons\weapon_cs_base\shared.lua
weapons\weapon_deagle\shared.lua
weapons\weapon_fiveseven\shared.lua
weapons\weapon_glock\shared.lua
weapons\weapon_m4\shared.lua
weapons\weapon_mac10\shared.lua
weapons\weapon_mp5\shared.lua
weapons\weapon_para\shared.lua
weapons\weapon_pumpshotgun\shared.lua
weapons\weapon_tmp\shared.lua
entities\base_anim\cl_init.lua
entities\base_anim\shared.lua
entities\base_ai\cl_init.lua
entities\base_ai\shared.lua
entities\base_ai\cl_init.lua
entities\base_ai\shared.lua
entities\base_anim\cl_init.lua
entities\base_anim\shared.lua
entities\base_entity\cl_init.lua
entities\base_entity\shared.lua
entities\base_vehicle\cl_init.lua
entities\base_vehicle\shared.lua
entities\ph_prop\cl_init.lua
entities\ph_prop\shared.lua
entities\prop_effect\cl_init.lua
entities\prop_effect\shared.lua
entities\sent_ball\cl_init.lua
entities\sent_ball\shared.lua
effects\base\init.lua
effects\base\init.lua
effects\dof_node\init.lua
effects\tooltracer\init.lua
ulib\shared\defines.lua
ulib\shared\misc.lua
ulib\shared\util.lua
ulib\shared\tables.lua
ulib\shared\messages.lua
ulib\shared\player.lua
ulib\client\cl_util.lua
ulib\client\autocomplete.lua
ulib\client\draw.lua
ulib\shared\concommand.lua
ulib\shared\sh_ucl.lua
ulib\modules\ulx_init.lua
ulx\cl_init.lua
ulib\modules\umotd_init.lua
umotd\umotd_client.lua
ulx\sh_defines.lua
ulx\cl_lib.lua
ulx\modules\cl\adminmenu.lua
ulx\modules\cl\banmenu.lua
ulx\modules\cl\clientmenu.lua
ulx\modules\cl\mainmenu.lua
ulx\modules\cl\mapsmenu.lua
ulx\modules\cl\motdmenu.lua
ulx\modules\sh\userhelp.lua
Which looks about right.

Unfortunately it had no effect, here's the console's output on joining;
Quote
Lua initialized (Lua 5.1)
ScriptEnforce: "autorun\dod_playermodels.lua" blocked
ScriptEnforce: "autorun\ep2_entities.lua" blocked
ScriptEnforce: "autorun\ep2_npcs.lua" blocked
ScriptEnforce: "autorun\ep2_playermodels.lua" blocked
ScriptEnforce: "autorun\ep2_vehicles.lua" blocked
Registering gamemode 'prop-hunt' derived from 'base'
Sending 8 'User Info' ConVars to server (cl_spewuserinfoconvars to see)
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Bad sequence (2047 out of 5 max) in GetSequenceLinearMotion() for model 'Player.mdl'!
Redownloading all lightmaps
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_6388_4096_-567)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_6160_3756_-567)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_6388_4096_-567)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_6160_3756_-567)
Reiko joined Props.
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_5836_4112_-348)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_5764_4040_-480)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_5861_4409_-624)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_5836_4112_-348)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_5764_4040_-480)
Requesting texture value from var "$bumpmap" which is not a texture value (material: maps/cs_assault/metal/metalwall045a_nobump_5861_4409_-624)
Reiko: !motd
Warning: Unhandled usermessage 'UMotdStart'
Warning: Unhandled usermessage 'UMotdText'
Warning: Unhandled usermessage 'UMotdEnd'
Warning: Unhandled usermessage 'SendUMotd'
] ulx help
] ulx clientmenu
] ulx mapsmenu
A lot of that is just normal erroring, but as you can see I tried some Ulysses commands and other than "!motd" they didn't get a response.
However; I have also found while doing that that the;
Quote
Warning: Unhandled usermessage 'ulx_map'
error is reported even with scriptenforcer off. I don't actually remember ever seeing it before so is it possible that I've somehow managed to corrupt my installation of Ulysses?

Also, I was wondering if the fact that it's SVN release might have something to do with it because on other posts around the forum I've seen that script enforcer should also have the "_cl_2.21\" in it's manifest, but the server doesn't even upload these files to players.

Any help available would be most appreciated, but if you are just as stumped as I am, I might try reinstalling the SVN release and if I get no luck there, I'll try the latest public release.


<<<Edit>>>

Okay, I decided to reinstall a fresh Ulib, Ulx and Umotd SVN. Now then, this part is strange; I no longer get
Quote
Warning: Unhandled usermessage 'ulx_map'
But all console and chat commands are behaving exactly as before, although now I'm getting Umotd errors with Scriptenforcer off and although it was a completely fresh copy, the server join message didn't revert to it's default. Here's the console output.

Quote
Lua initialized (Lua 5.1)
Registering gamemode 'prop-hunt' derived from 'base'
Sending 8 'User Info' ConVars to server (cl_spewuserinfoconvars to see)
[UCL] Access set.
Welcome to VorixNet Prop Hunt [Maintenance]! We're playing cs_assault. If you're a new to PropHunt type '!new' into

chat for help.
Redownloading all lightmaps
Warning: Unhandled usermessage 'UMotdStart'
Warning: Unhandled usermessage 'UMotdText'
Warning: Unhandled usermessage 'UMotdText'
Warning: Unhandled usermessage 'UMotdText'
Warning: Unhandled usermessage 'UMotdEnd'
Warning: Unhandled usermessage 'SendUMotd'
This server is running ULib version 2.30.
[ULIB] Loading SHARED module: ulx_init.lua
[ULIB] Loading SHARED module: umotd_init.lua
[Umotd] Server uses Umotd! NICE!

ULX version <SVN> unknown revision loaded.
I have absolutely no idea what is happening now. I cleared the server's cache, I ran the server without scriptenforcer etc etc.

Someone help! I'm lost.


<<<'Nother edit>>>


I understand why it makes no sense now. Lol. The problem is bigger than I had expected, and not my fault. Yay!

http://bugs.garrysmod.com/view.php?id=1448


Anyone know if there is any way I can get around this?
« Last Edit: October 01, 2008, 07:42:21 AM by Reiko »
So there! D=<

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Completely Stumped
« Reply #6 on: October 01, 2008, 12:12:46 PM »
Nice find Reiko.
As for the Umotd usermessage error's your getting, well, it's yet another Gmod bug, one which will probably never get fixed.
We found that usermessages are sent out of order, or sometimes too early. (At least, something is wrong with them as you can see)

Some of the posts in the UMotd thread mention whats going on. Megiddo made a nice way around it and placed it in ULib. I've just not updated UMotd to use it yet.
Sorry.

I've been looking into code over the past week or two. Good chance I'll pick UMotd back up soon.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Completely Stumped
« Reply #7 on: October 01, 2008, 12:39:37 PM »
Quote
Megiddo made a nice way around it and placed it in ULib.
     - Please do tell :D
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Reiko

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
  • Wheee!
    • VorixNet
Re: Completely Stumped
« Reply #8 on: October 01, 2008, 07:37:37 PM »
Quote
I've been looking into code over the past week or two. Good chance I'll pick UMotd back up soon.

Great! I'll be keeping an eye on the thread, waiting for that.
So there! D=<

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Completely Stumped
« Reply #9 on: October 01, 2008, 07:39:04 PM »
     - Please do tell :D
ULib gamemode hooks - http://ulyssesmod.net/docs/files/lua/ULib/server/gamemode_hooks-lua.html
See GAMEMODE:ULibPlayerReady
It's how Megiddo fixed much of the usermessage issues in ULX with (buggy) PlayerInitialSpawn
I need to rewrite UMotd to use it instead of PlayerInitialspawn like I do now.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Reiko

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
  • Wheee!
    • VorixNet
Re: Completely Stumped
« Reply #10 on: October 02, 2008, 07:56:20 AM »
Since the link says that ScriptEnforcer is blocking autorun scripts, I decided to try and init ULib from a gamemode script instead of from the autorun folder inside the ULib addon. It actually made a difference. Whereas before I wasn't getting any response from Ulysses scripts, now this happened;
Quote
Welcome to VorixNet Prop Hunt [Maintenance]! We're playing cs_assault. If you're a new to PropHunt or this server type '!new' into chat for help and a list of commands.
Redownloading all lightmaps
This server is running ULib version 2.30.
Warning: Unhandled usermessage 'ulx_initplayer'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_addMenuItem'
Warning: Unhandled usermessage 'ulx_resetinfo'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
Warning: Unhandled usermessage 'ulx_map'
[ULIB] Error, received invalid lua
"This server is running ULib version 2.30." is the significant line. This method was actually successful in getting ULib up and running clientside with scriptenforcer enabled, however, ULib failed to load the ULX module (or at least that's my best guess.)

Since I am completely new to things like this I was hoping that someone else would have a better idea of what to do next. Have I missed something? Am I going in the right direction?

Any info would be great.

Thanks
« Last Edit: October 02, 2008, 07:57:59 AM by Reiko »
So there! D=<