Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
no targets found
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: no targets found (Read 3755 times)
0 Members and 2 Guests are viewing this topic.
bender180
Full Member
Posts: 217
Karma: 42
no targets found
«
on:
April 13, 2013, 09:51:25 AM »
With my custom commands when i use them in single player through xgui i receive the error
"argument #1: no targets found"
however when i run the command through the console in single player it works perfectly. On multiplayer servers the commands work great from xgui or console, is this a bug in my code or is this an xgui bug?
Logged
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
Re: no targets found
«
Reply #1 on:
April 13, 2013, 12:09:40 PM »
Sounds like something with xgui. Are you targeting yourself or a bot. before the error, what does xgui try to run?
Logged
bender180
Full Member
Posts: 217
Karma: 42
Re: no targets found
«
Reply #2 on:
April 13, 2013, 12:19:31 PM »
Happens when i target myself. I haven't tried on a bot because you cant spawn one in a single player game. The commands work fine from xgui when the min players is 2 or more.
Logged
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.
bender180
Full Member
Posts: 217
Karma: 42
Re: no targets found
«
Reply #3 on:
April 14, 2013, 08:12:54 PM »
anyone have any idea how i can fix this?
Logged
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.
nathan736
Full Member
Posts: 143
Karma: 4
Re: no targets found
«
Reply #4 on:
April 15, 2013, 08:26:38 AM »
could you post the code u used ?
Logged
a person asked me how to code lua and i said this " its like building a rocket up side down then realizing you did it all wrong."
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: no targets found
«
Reply #5 on:
April 16, 2013, 07:42:12 AM »
Are you able to use any other commands from XGUI?
Logged
Experiencing God's grace one day at a time.
bender180
Full Member
Posts: 217
Karma: 42
Re: no targets found
«
Reply #6 on:
April 16, 2013, 04:16:53 PM »
Quote from: Megiddo on April 16, 2013, 07:42:12 AM
Are you able to use any other commands from XGUI?
Turns out none of the commands work from xgui they are returning "Command "ulx slay", argument #1: no targets found" and something else i noticed was in psay my name doesn't appear (intentional?), but again all the commands work from console
Logged
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: no targets found
«
Reply #7 on:
April 16, 2013, 05:46:16 PM »
Yes, your name not appearing in psay is intentional. We don't
officially
support ULX/XGUI in single player, but we'll check into the issue and see what we can find.
Logged
Experiencing God's grace one day at a time.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: no targets found
«
Reply #8 on:
April 16, 2013, 07:15:34 PM »
Bender, before we go digging too deep, have you modified
any
of our default code or functions?
Even directly, or through your own addon/command work?
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
bender180
Full Member
Posts: 217
Karma: 42
Re: no targets found
«
Reply #9 on:
April 17, 2013, 08:55:51 AM »
I don't think I have, I used the commands you ship it with to build my commands so there is a possibility I did it with out realizing I'll try removing my commands to see if it makes a difference.
Logged
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: no targets found
«
Reply #10 on:
April 17, 2013, 02:06:14 PM »
I doubt you did. You'd have to have actually written commands over-writing ULib functions.
But I wanted to check first.
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
no targets found