Author Topic: ULX Rocket  (Read 43600 times)

0 Members and 4 Guests are viewing this topic.

Offline CTO_7

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Rocket
« Reply #15 on: December 13, 2009, 05:10:03 AM »
Got this error in console:
"ulx\modules/rocketsvn.lua:3: attempt to index local 'target_plys' (a nil value)"
And even though im a superadmin it says I didn't have access to the command could only run through console

Offline vader0146

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 9
Re: ULX Rocket
« Reply #16 on: December 13, 2009, 05:31:19 AM »
Got this error in console:
"ulx\modules/rocketsvn.lua:3: attempt to index local 'target_plys' (a nil value)"
And even though im a superadmin it says I didn't have access to the command could only run through console

ok what the   :o

everything I post seems to be broken for all servers except mine and my friends  :o

Offline NaRyan

  • Newbie
  • *
  • Posts: 39
  • Karma: 1
Re: ULX Rocket
« Reply #17 on: December 13, 2009, 06:36:28 AM »
ok what the <censor>  :o

everything I post seems to be broken for all servers except mine and my friends  :o

:(

I just tried this as ulx rocket was one of my favourite toys :p
but I also get the "ulx\modules/rocketsvn.lua:3: attempt to index local 'target_plys' (a nil value)" error

That was on both a Listen server and a Lan dedicated server, with only ULib, ULX and ULX Rocket as addons.
No extra maps, no extra game content loaded (just stock gmod), no extra lua files in lua/autorun..

I even tried a clean install on ulib/ulx on lan server, by deleting their folders in addons, and Ulib folder in data. cleaned out the cache\dua folder.
Redownloading via svn, starting server, joining, adding myself back as superadmin, disconnecting, re-connecting.

But still no joy :(

Offline vader0146

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 9
Re: ULX Rocket
« Reply #18 on: December 13, 2009, 10:11:43 AM »
You could try this one I suppose

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Rocket
« Reply #19 on: December 13, 2009, 10:30:33 AM »
Vader, did you try that with multiple players/teams?
like ulx rocket JamminR,Bob,Vader0146
The code seems it would only do JamminR in above example
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline CTO_7

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Rocket
« Reply #20 on: December 13, 2009, 01:07:17 PM »
Still get this error:
ulx\modules/rocketsvn.lua:3: attempt to index local 'target_ply' (a nil value)
and also still don't have access to the command.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Rocket
« Reply #21 on: December 13, 2009, 04:42:58 PM »
Vader, make sure you're locally setting "CATEGORY_NAME" in the scripts you convert.
That's not a global ULX variable. It's used to tell the command what section of "ulx help" to go in.
local CATEGORY_NAME = "Fun" is a good one for the rocket.
As that variable is in the first line of the <command object>:<setup commands>, it causes the rest of the command to fail.

All, I've converted rocket for ULX 3.5+ (currently SVN as of this post)
See attached. Let me know if you have errors.
If ahref comes along and wants he can post this to his original release.
Remove your "rocket" folder from addons before adding this one. I've renamed the folder to indicate its for ulx35

CTO, if this doesn't work for you, make sure the group you're in inherits admin in it's chain somewhere.

« Last Edit: December 13, 2009, 04:54:51 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline CTO_7

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Rocket
« Reply #22 on: December 13, 2009, 05:31:54 PM »
Works great only thing its really missing is the trail and the !rocket command and the group was ulx default superadmin.

Offline NaRyan

  • Newbie
  • *
  • Posts: 39
  • Karma: 1
Re: ULX Rocket
« Reply #23 on: December 13, 2009, 06:42:41 PM »
I see the coloured trail from "Rocketed" peeps....  ???

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Rocket
« Reply #24 on: December 13, 2009, 07:24:50 PM »
Missing from vader? Or mine?
Yeah, his was broken. He had the right setup for it, just missing a variable that would keep it all from working.
However, if using the conversion I did, and you're missing !rocket and color trails...you either have a conflicting mod, or you didn't delete the original addons\rocket folder. (Which, in it's own right, would be a conflict)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline CTO_7

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Rocket
« Reply #25 on: December 13, 2009, 11:11:50 PM »
No sorry I was mistaken they were both there just had tested on myself and couldn't see my own trail.

Offline Gmods

  • Newbie
  • *
  • Posts: 43
  • Karma: 2
Re: ULX Rocket
« Reply #26 on: January 02, 2010, 08:57:23 AM »
I've put this in /addons and in /addons/ulx but it won't work.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Rocket
« Reply #27 on: January 02, 2010, 02:09:58 PM »
When reporting issues, never ever just say "it doesn't work".
Give errors, versions you're running, any other details.
When Gmod Lua scripts don't work, there will almost always be an error at server startup in server console, or a server console error when the command is run.

What version of ULX are you running?
Most old modules don't work with SVN, but rocket has two versions. One for ULX release in the first post, and one for SVN. here - http://forums.ulyssesmod.net/index.php/topic,3955.msg17523.html#msg17523
zip file attached to my post...remove the old one from all locations you installed it.

Both versions go in /addons, not /addons/ulx

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

Offline Gmods

  • Newbie
  • *
  • Posts: 43
  • Karma: 2
Re: ULX Rocket
« Reply #28 on: January 03, 2010, 01:31:57 PM »
I am using the SVN version and I hadn't downloaded the one in the link you provided. Will give it a shot.  Thanks.

Offline ahref

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 4
Re: ULX Rocket
« Reply #29 on: January 08, 2010, 05:38:40 AM »
Im back. Went on hiatus from gmod for a bit whilst i did some Academic work.

Thanks for fixing this for the new svn. Is there a guide for converting old modules I have a few unreleased ones that are bugging up :D.

Ill add it to the front post.