ULX

Author Topic: Assumption fail?  (Read 4843 times)

0 Members and 1 Guest are viewing this topic.

Offline talmera

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • Tectonic-Gaming
Assumption fail?
« 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

« Last Edit: November 03, 2013, 09:26:07 AM by talmera »
It's not a sin if it can't make me cry
He's not the devil unless there's fire in his eyes
It ain't the ghost if it don't speak in tongue
It's not a victory 'till the battles been won

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Assumption fail?
« Reply #1 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?
Experiencing God's grace one day at a time.

Offline talmera

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • Tectonic-Gaming
Re: Assumption fail?
« Reply #2 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.
« Last Edit: November 04, 2013, 08:05:43 PM by talmera »
It's not a sin if it can't make me cry
He's not the devil unless there's fire in his eyes
It ain't the ghost if it don't speak in tongue
It's not a victory 'till the battles been won

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Assumption fail?
« Reply #3 on: November 04, 2013, 08:11:28 PM »
Interesting. We will have to investigate further.
Experiencing God's grace one day at a time.

Offline talmera

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • Tectonic-Gaming
Re: Assumption fail?
« Reply #4 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.
It's not a sin if it can't make me cry
He's not the devil unless there's fire in his eyes
It ain't the ghost if it don't speak in tongue
It's not a victory 'till the battles been won

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Assumption fail?
« Reply #5 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.
Experiencing God's grace one day at a time.

Offline talmera

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • Tectonic-Gaming
Re: Assumption fail?
« Reply #6 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.
It's not a sin if it can't make me cry
He's not the devil unless there's fire in his eyes
It ain't the ghost if it don't speak in tongue
It's not a victory 'till the battles been won

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Assumption fail?
« Reply #7 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'
Experiencing God's grace one day at a time.