Ulysses

Ulysses Stuff => Releases => Topic started by: ahref on March 26, 2009, 04:27:20 PM

Title: ULX Rocket
Post by: ahref on March 26, 2009, 04:27:20 PM
Description:

Sends a player into the sky and then blows them up.

Current Version: 1

Features:
Useage: !rocket <player name>(!rocket * works)

Screenshot:
(http://i25.photobucket.com/albums/c69/iframe/gm_flatgrass0097.jpg)

Please download the second file with ulx35 in it if your using the svn.
Title: Re: ULX Rocket
Post by: DiscoBiscuit on March 26, 2009, 04:46:46 PM
Wow! Great! It's like the Assmod/Citrus rocket. Now ULX has everything citrus does :D
Title: Re: ULX Rocket
Post by: ahref on March 26, 2009, 05:04:50 PM
assmod doesnt have the trails :D
Title: Re: ULX Rocket
Post by: Gmods on April 01, 2009, 01:36:15 PM
I can sit here for ages spamming the rocket button on minges on my server. It's a great addition!
Title: Re: ULX Rocket
Post by: ahref on April 01, 2009, 03:51:27 PM
im still trying to get one of every rank on my server and do a rainbow rocket.. :(
Title: Re: ULX Rocket
Post by: JamminR on April 01, 2009, 04:24:29 PM
Nice ahref. Been looking forward to this since you mentioned it in developers corner (I think that was where)

I've not tried this (not even re-installed Gmod since my HD crash last week); Does it work from console too? "ulx rocket", etc

Rainbow eh?
How about an extra option?
You seem to already have some basic color settings for when UTeam isn't installed.
How about some primary colors, ignoring UTeam if the admin types "ulx rocket <player> <color>"
Where color could be Red, Green, Blue, Yellow, Orange, Purple, or Rainbow.
Typing rainbow would cycle through colors for multiple people, OR, if individual, use multicolored puffs of smoke. I'm not sure what effect your using...can it be changed every few frames/short time/units?

I dunno, that just sounds like fun.

Title: Re: ULX Rocket
Post by: ahref on April 01, 2009, 11:41:55 PM
the script creates a trail then applys force to them once their blown up their trail is removed. So i dont think I can change the trail mid flight.

It works without uteam because admins are a sort of yellow color and players are grey.

As for changing colors. Hmm i could give that a go. :D

Title: Re: ULX Rocket
Post by: zour898 on April 03, 2009, 12:34:53 PM
great addon man .. thnx ;D
Title: Re: ULX Rocket
Post by: ahref on April 12, 2009, 12:44:41 PM
here i finally got one of each rank on my server. unfourtunately it dcidnt come out great i had net-graph on:

http://www.youtube.com/watch?v=PySPMyZTb90
Title: Re: ULX Rocket
Post by: JamminR on April 12, 2009, 05:44:11 PM
Hah! Nice!
Title: Re: ULX Rocket
Post by: deadeye536 on April 12, 2009, 09:16:18 PM
Nice Video :D Looks like a great tool to deal with minges  8)
Title: Re: ULX Rocket
Post by: noah_scar3 on August 05, 2009, 02:05:54 PM
How Do i download this ???


EDIT: Never mind i finds it :D
Title: Re: ULX Rocket
Post by: King John on August 06, 2009, 09:09:26 AM
Very nice, dl'ing right now. Looks like a lot of phun :D:D:D:D!
Title: Re: ULX Rocket
Post by: CTO_7 on December 13, 2009, 01:33:51 AM
Can anyone please update this to work with the latest svn of ulx?
Title: Re: ULX Rocket
Post by: vader0146 on December 13, 2009, 02:22:00 AM
Can anyone please update this to work with the latest svn of ulx?

attached
Title: Re: ULX Rocket
Post by: CTO_7 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
Title: Re: ULX Rocket
Post by: vader0146 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
Title: Re: ULX Rocket
Post by: NaRyan 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 :(
Title: Re: ULX Rocket
Post by: vader0146 on December 13, 2009, 10:11:43 AM
You could try this one I suppose
Title: Re: ULX Rocket
Post by: JamminR 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
Title: Re: ULX Rocket
Post by: CTO_7 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.
Title: Re: ULX Rocket
Post by: JamminR 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.

Title: Re: ULX Rocket
Post by: CTO_7 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.
Title: Re: ULX Rocket
Post by: NaRyan on December 13, 2009, 06:42:41 PM
I see the coloured trail from "Rocketed" peeps....  ???
Title: Re: ULX Rocket
Post by: JamminR 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)
Title: Re: ULX Rocket
Post by: CTO_7 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.
Title: Re: ULX Rocket
Post by: Gmods on January 02, 2010, 08:57:23 AM
I've put this in /addons and in /addons/ulx but it won't work.
Title: Re: ULX Rocket
Post by: JamminR 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

Title: Re: ULX Rocket
Post by: Gmods 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.
Title: Re: ULX Rocket
Post by: ahref 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.
Title: Re: ULX Rocket
Post by: Megiddo on January 08, 2010, 10:09:20 AM
Is there a guide for converting old modules I have a few unreleased ones that are bugging up :D.

No guide, though if you look at all the examples it should be fairly straight forward. Combine that with the docs (http://ulyssesmod.net/docs) and you should have everything you need.
Title: Re: ULX Rocket
Post by: JamminR on January 08, 2010, 06:02:52 PM
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.
Welcome. It was a good 'learner' conversion for me, along with "ulx explode" release by MrPresident.
Though I'd intended to do some tutorial text of some sort, I, as if often the case, keep getting distracted by that darn 'reality'.
If you compare the conversion to the original ULX commands, along with our ULysses Library document area that explains in effect what ULib commands are being used by the ULX command object, you can pretty well figure it out.
See http://ulyssesmod.net/docs/files/lua/ULib/shared/commands-lua.html for the ULib shared commands system ULX uses.
One major point I absolutely love... majority of the error checking each and every function written for ULX had to do originally, such as minimum parameters, variables, target(s), etc, is now done by the function command object itself.
Though your rocket release was a minilmalist conversion example (48 lines in SVN as opposed to 52 in your original), much work is now handled by ULib, instead of relying on the function to check everything.
I digress... I look forward to your continued work and releases.
Post in developers corner, or email me personally (if your wanting to keep a release private) if you have conversion questions.

Perhaps I'll write up a dirty tutori... oh, wait, whats that... ooo...shiny! Huh, what, what was I doing?
Title: Re: ULX Rocket
Post by: Andriko on January 19, 2010, 08:14:24 AM
Umm there are no instruction on how to download this...How do you download this??? There aren't even any links... also another question, some other plugins said you need ulib svn or something I have ToroiseSVN that I used for phx3, but I have no idea how to use TortoiseSVN, can someone tell me how to use it to download this plugin, cause I wanna download it...

Rofl nvm found it, but how do you use svn for ulib?
Title: Re: ULX Rocket
Post by: JamminR on January 19, 2010, 03:13:25 PM
how do you use svn for ulib?
Look just a little harder?
Aptly named forum area named SVN - http://forums.ulyssesmod.net/index.php/board,26.0.html
Stickies are important. (Those are the topics forum mods designate as important, and turn them into topics that won't move to back pages as other topics are discussed)
Just remember... SVN for us is more 'beta' code than for many other releases (Phx, Wire, etc)


Title: Re: ULX Rocket
Post by: Satan_CZ on January 21, 2010, 12:56:01 PM
I can still use noclip while rocketed.  :-\
Title: Re: ULX Rocket
Post by: JamminR on January 21, 2010, 06:33:17 PM
I can still use noclip while rocketed.  :-\
Should be an easy fix. Perhaps Ahref will want to change the script so that it removes rocketeers from noclip mode.

Ahref, not sure if you've seen my post... Kind of a How To/Comparison of old vs new ULX command structure. See the SVN forum area.
Title: Re: ULX Rocket
Post by: Deemony07 on March 09, 2013, 05:06:11 PM
Do this work in gmod 13 put in on my server. Doesnt. Can we get this to work?
Title: Re: ULX Rocket
Post by: MrPresident on March 09, 2013, 07:32:02 PM
This addon was last updated in 2010. The author of this addon has not been here since 2010.

I would bet that it doesn't work, and as for getting it updated to work with GM13 someone would probably have to pick this up since I doubt the author will be around.
Title: Re: ULX Rocket
Post by: TweaK on March 10, 2013, 11:50:56 PM
fixed this a while back https://dl.dropbox.com/u/7934790/gmod/rocket.lua
throw it in lua/ulx/modules/sh
Title: Re: ULX Rocket
Post by: MrPresident on March 11, 2013, 12:19:25 AM
Very nice! Thanks! :)

In the future, if you fix something, post it. :) That is, of course, unless you planned on keeping it private.
Title: Re: ULX Rocket
Post by: Twiztidkiller on April 03, 2013, 12:46:37 AM
I'm trying to install this, but I don't know where to add it. Just in Addons?
Title: Re: ULX Rocket
Post by: TweaK on April 03, 2013, 03:34:57 AM
I'm trying to install this, but I don't know where to add it. Just in Addons?

the answer is but two posts above you.

throw it in lua/ulx/modules/sh
Title: Re: ULX Rocket
Post by: LuaTenshi on April 05, 2013, 01:39:23 PM
I am having this strange glitch where the trail sticks to the player no matter what and they have to rejoin to lose it. Any ideas of how to remedy this?
Title: Re: ULX Rocket
Post by: sabo on June 22, 2013, 03:06:26 PM
There is a problem with the "fixed" version.

If you rocket someone up/down he flys and then dies (as planned).

But uppon death his camera freezes where he died and he is still in the 'alive' list and can talk to the people alive.

Talking about TTT Gamemode.

Does this not work with TTT or is this not ment for TTT in the first place?
Title: Re: ULX Rocket
Post by: PAL-18 on June 23, 2013, 01:23:46 AM
There is a problem with the "fixed" version.

If you rocket someone up/down he flys and then dies (as planned).

But uppon death his camera freezes where he died and he is still in the 'alive' list and can talk to the people alive.

Talking about TTT Gamemode.

Does this not work with TTT or is this not ment for TTT in the first place?

The same thing happens with slay (in TTT) so its not specific to this plugin.
Title: Re: ULX Rocket
Post by: sabo on June 23, 2013, 04:00:31 AM
The same thing happens with slay (in TTT) so its not specific to this plugin.

You might have a problem with your slay command because mine works perfectly fine.
Title: Re: ULX Rocket
Post by: ahref on July 12, 2013, 01:17:09 PM
I was reminiscing with my old friends about this addon and realized I have neglected it, Thank you so much TweaK for keeping it alive.
Title: Re: ULX Rocket
Post by: Decicus on July 12, 2013, 01:24:39 PM
There is a problem with the "fixed" version.

If you rocket someone up/down he flys and then dies (as planned).

But uppon death his camera freezes where he died and he is still in the 'alive' list and can talk to the people alive.

Talking about TTT Gamemode.

Does this not work with TTT or is this not ment for TTT in the first place?

Don't think it's supposed to work with TTT.
I believe the same thing happens with the built-in "ulx maul". TTT players will be considered "dead", but still be able to chat with other people alive and actually able to spectate.
Title: Re: ULX Rocket
Post by: Sgt.Blue on March 31, 2014, 11:38:08 AM
This doesn't appear in the ULX menu for me.
Title: Re: ULX Rocket
Post by: Neku on March 31, 2014, 03:03:43 PM
Don't think it's supposed to work with TTT.
I believe the same thing happens with the built-in "ulx maul". TTT players will be considered "dead", but still be able to chat with other people alive and actually able to spectate.

This super late reply.

TTT doesn't handle you as just dead. When dying in TTT, you are set to dead and spectator.
So if someone would like to use this command in TTT, they would need to add a line of code to set them to spectator.
Title: Re: ULX Rocket
Post by: pants on April 01, 2014, 03:28:56 PM
Hmm. that's odd it works fine on my TTT server and it's decked out with addons too
Title: Re: ULX Rocket
Post by: Bytewave on April 01, 2014, 04:28:29 PM
This super late reply.

TTT doesn't handle you as just dead. When dying in TTT, you are set to dead and spectator.
So if someone would like to use this command in TTT, they would need to add a line of code to set then to spectator.
This is actually a common bug with TTT- not just the code of this addon.
Fix:
Update your Garry's Mod installation; make sure to back up any custom content.
If that doesn't fix it, remove things one by one until you discern the offending script.
Title: Re: ULX Rocket
Post by: Shalmendo on April 22, 2014, 10:22:40 AM
This doesn't appear in the ULX menu for me.

I second this. Not in the ULX gui under Fun, or any other category.

I'd fix it myself if I knew anything about scripting, coding, etc, but my hands are tied there.  The chat command still works, however.
Title: Re: ULX Rocket
Post by: Neku on April 22, 2014, 03:04:16 PM
I second this. Not in the ULX gui under Fun, or any other category.

I'd fix it myself if I knew anything about scripting, coding, etc, but my hands are tied there.  The chat command still works, however.

If you place this in lua/autorun/server, then it won't appear in ulx.
Still works though.

Instead, put this in addon/AddonName/lua/ulx/modules/sh.
Title: Re: ULX Rocket
Post by: PatPeter on August 13, 2014, 06:37:23 PM
This super late reply.

TTT doesn't handle you as just dead. When dying in TTT, you are set to dead and spectator.
So if someone would like to use this command in TTT, they would need to add a line of code to set them to spectator.

That's not the problem with this script. The problem is that it uses v:KillSilent() instead of v:Kill(). Replace those two in the script and it works in TTT.