Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: creyon on October 03, 2014, 08:37:51 AM

Title: Problem with ULX
Post by: creyon on October 03, 2014, 08:37:51 AM
Hello!

I downloaded ULX 3.61 yesterday, and tried to load up some of my saves but then it says "script error".
it loads the save and all the props get loaded in, but none of the vehicles i have on my server :(
Halp me plox :3

here is the error message i get in console:


prop_door_rotating has Door model (models/props_doors/door01_dynamic.mdl) with no door_options! Verify that SKIN is valid, and has a corresponding options block in the model QC file
TEST [lua/ulx/modules/urs_server.lua][lua/ulx/modules/urs_server.lua]
FOUND IN ADDON [112423325]
TEST [lua/ulx/modules/urs_server.lua][lua/ulx/modules/urs_server.lua]
FOUND IN ADDON [112423325]

[ERROR] lua/ulx/modules/urs_server.lua:27: attempt to index local 'ply' (a nil value)
  1. URSCheck - lua/ulx/modules/urs_server.lua:27
   2. fn - lua/ulx/modules/urs_server.lua:130
    3. Call - addons/ulib/lua/ulib/shared/hook.lua:183
     4. CreateEntityFromTable - gamemodes/sandbox/gamemode/commands.lua:761
      5. unknown - lua/includes/modules/duplicator.lua:734
       6. ProtectedCall - [C]:-1
        7. Paste - lua/includes/modules/duplicator.lua:734
         8. unknown - lua/includes/gmsave.lua:58
Title: Re: Problem with ULX
Post by: Caustic Soda-Senpai on October 03, 2014, 09:01:20 AM
show us the code around line 21 in lua/ulx/modules/urs_server.lua
Title: Re: Problem with ULX
Post by: creyon on October 03, 2014, 11:41:29 AM
this one?:

Msg( "// Loading Server Modules..  //\n" )
for _, file in ipairs( file.Find( "ulx/xgui/server/*.lua", "LUA" ) ) do
   include( "ulx/xgui/server/" .. file )
   Msg( "//  " .. file .. string.rep( " ", 25 - file:len() ) .. "//\n" )
end
Title: Re: Problem with ULX
Post by: JamminR on October 03, 2014, 01:26:49 PM
No, not that file.
addons/URS<something>/lua/ulx/modules/urs_server.lua

Just to clarify, your problem isn't with ULib (or even ULX).
Your problem is with URS, a community member created project that I'm not even sure works anymore. (Discussed here - http://forums.ulyssesmod.net/index.php/topic,5269.0.html (http://forums.ulyssesmod.net/index.php/topic,5269.0.html) )
There is conversation/perhaps updates in later pages. Team Ulysses can't speak for it's current status, as we didn't create or maintain it.

Also, when you say 'downloaded'...make sure you downloaded the ZIP file of all our projects (but you'd only need to put ULib and ULX folders in your server addons)
The zip of our latest code can be found on the lower right of this page - https://github.com/Nayruden/Ulysses (https://github.com/Nayruden/Ulysses)
If you got the zip files from ulyssesmod.net/downloads... though it's our latest 'release', it's several months old and, Gmod has updated many times since and may not be compatible anymore at that link.
Title: Re: Problem with ULX
Post by: creyon on October 03, 2014, 02:33:39 PM
i deleted the URS addon, got the new zip file, threw it all in gmod-addons folder and tried to load my save. no car spawn and yet another error in console, but a different one tho:

--- Missing Vgui material vgui/servers\icon_replay
prop_door_rotating has Door model (models/props_doors/door01_dynamic.mdl) with no door_options! Verify that SKIN is valid, and has a corresponding options block in the model QC file

[ERROR] addons/ulib/lua/ulib/server/player_ext.lua:50: attempt to index local 'ply' (a nil value)
  1. fn - addons/ulib/lua/ulib/server/player_ext.lua:50
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:183
    3. CreateEntityFromTable - gamemodes/sandbox/gamemode/commands.lua:761
     4. unknown - lua/includes/modules/duplicator.lua:734
      5. ProtectedCall - [C]:-1
       6. Paste - lua/includes/modules/duplicator.lua:734
        7. unknown - lua/includes/gmsave.lua:58

Error! Flag "$halflambert" is multiply defined in material "models/nirrti/bf2/vehicles/air/mi-35/hind_d"!
Error! Flag "$halflambert" is multiply defined in material "models/nirrti/bf2/vehicles/air/mi-35/hind_glass2"!
Error! Flag "$halflambert" is multiply defined in material "models/nirrti/bf2/vehicles/air/mi-35/hind_w"!
Error! Flag "$halflambert" is multiply defined in material "models/nirrti/bf2/vehicles/air/eurocopter tiger/tiger"!

MDLCache: Humvee.mdl needs to be recompiled



If the URS addon is not working, is there something else i can try or do to restrict what other players can spawn in through "q" menu?
also is it possible to change what weapon players start with if they spawn/die?
Title: Re: Problem with ULX
Post by: Caustic Soda-Senpai on October 03, 2014, 04:37:40 PM
is there something else i can try or do to restrict what other players can spawn in through "q" menu?
also is it possible to change what weapon players start with if they spawn/die?

Yes and rephrase the second question.

To restrict spawning of props (irrelevant to ULX btw) go to your spawn menu as a superadmin, right click the prop and add to blacklist. There might actually be a more complicated method than that but thats how easy it is.
Title: Re: Problem with ULX
Post by: JamminR on October 03, 2014, 08:55:26 PM
Ok, this is the second time 'ply' has come up nil in your errors.
I think you have a addon that is overwriting a variable called ply globally, which, is just bad.. Nasty.
Bad code, bad!