Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: talmera on November 03, 2013, 09:11:58 AM

Title: Assumption fail?
Post by: talmera on November 03, 2013, 09:11:58 AM
Hi, I have recenty set up some new servers and did a fresh install of ulx/ulib and in my console (SRCD) I get this error when trying to complete a ulx command:

Code: [Select]
[ERROR] Assumption fail!
  1. unknown - [C]:-1

I tried searching through the forums but only found one thread on the topic which did not fix my problem :/ does anyone know any way to fix it?

Extra details:
Gamemode: TTT
Dedicated server
Latest SVN

Title: Re: Assumption fail?
Post by: Megiddo on November 04, 2013, 05:22:17 PM
There should be a larger stack trace than that, right? Give me more details on your server. Is this a true dedicated server downloaded from steamcmd?
Title: Re: Assumption fail?
Post by: talmera on November 04, 2013, 07:51:02 PM
yes I downloaded the files for running the server through SteamCMD, oddly enough that is all the error produces there is no stack trace past that, I even set up the -condebug to try and see if that gave more and I got nothing.
Title: Re: Assumption fail?
Post by: Megiddo on November 04, 2013, 08:11:28 PM
Interesting. We will have to investigate further.
Title: Re: Assumption fail?
Post by: talmera on November 04, 2013, 09:29:38 PM
just to double check i did another fresh install of ulx/ulib and it does persist, and to clarify auto complete for ulx works fine from within the server but if I attempt it from the gui console for SRCDS then it generates the error.
Title: Re: Assumption fail?
Post by: Megiddo on November 05, 2013, 05:15:50 AM
To expand on why: autocomplete never used to be possible from srcds, even the gui version. So I stubbed that functionality out.
Title: Re: Assumption fail?
Post by: talmera on November 05, 2013, 06:40:48 AM
ah interesting, is there any way to suppress the error then, I don't mind if it doesn't autocomplete but it produces the error twice for every button I press after "ulx" has been entered in the command box.
Title: Re: Assumption fail?
Post by: Megiddo on November 05, 2013, 05:01:59 PM
Find the two places in lua/ulib/shared/commands.lua that 'return error( "Assumption fail!" )' and change it to just be 'return'