Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: vader0146 on December 02, 2009, 12:12:12 PM

Title: ULX Respawn - Respawn Players
Post by: vader0146 on December 02, 2009, 12:12:12 PM
I got pretty tired of cexec'ing +attack then -attack on players to respawn them, so I made this  :o

Usage:
!respawn <name>
or "ulx respawn <name>"

This will respawn the player.

This is for ULX v3.40.
Also attached is the version for the SVN.
Title: Re: ULX Respawn - Respawn Players
Post by: Megiddo on December 02, 2009, 01:17:17 PM
I tend to cexec attack all the time, too. :)
Title: Re: ULX Respawn - Respawn Players
Post by: TweaK on December 02, 2009, 01:28:27 PM
i like your idea for this and ulx give but i just tried them on my server and neither of them work with the new command system :(
Title: Re: ULX Respawn - Respawn Players
Post by: vader0146 on December 02, 2009, 01:36:47 PM
i like your idea for this and ulx give but i just tried them on my server and neither of them work with the new command system :(

I'm using the release not SVN and they work perfectly, if megiddo or someone could explain how the new system works, I'd be happy to write up copies that work with the SVN  :)

are you getting any errors?
Title: Re: ULX Respawn - Respawn Players
Post by: TweaK on December 02, 2009, 02:01:43 PM
no just invalid command... and i believe JamminR was talking about checking out this (http://forums.ulyssesmod.net/index.php/topic,3324.0.html) for an example of before/after the new command system
Title: Re: ULX Respawn - Respawn Players
Post by: vader0146 on December 02, 2009, 02:07:23 PM
no just invalid command... and i believe JamminR was talking about checking out this (http://forums.ulyssesmod.net/index.php/topic,3324.0.html) for an example of before/after the new command system

I've made a version of respawn for the SVN, and i've attached it to the OP.
I've also attached a version of !give for the SVN to that thread.  :)
Title: Re: ULX Respawn - Respawn Players
Post by: Megiddo on December 02, 2009, 06:13:51 PM
Did you test the SVN version to make sure it worked? I looked it over and it appears you got everything right. :)
Title: Re: ULX Respawn - Respawn Players
Post by: vader0146 on December 02, 2009, 11:37:45 PM
Did you test the SVN version to make sure it worked? I looked it over and it appears you got everything right. :)

Yup, I downloaded a copy of the SVN and tested it in a listen server  ;)
Title: Re: ULX Respawn - Respawn Players
Post by: NaRyan on December 10, 2009, 04:54:26 PM
Tried it on my server and it dont seem to work :(
Using SVN version of ULib(r94) and ULX(r79).
Downloaded the version of ULX Respawn that is for SVN.

On server startup I get the following error in the console.
"Lua Error: ulx\sh_base.lua:182: table index is nil" (only shows that error if ulx respawn is installed)

And if I use !respawn playername or ulx respawn playername it gives this error in server console.
"Lua Error: ulx\modules/respawnsvn.lua:5: attempt to get length of local 'target_plys' (a nil value)"

:(
Title: Re: ULX Respawn - Respawn Players
Post by: vader0146 on December 11, 2009, 08:36:41 AM
Tried it on my server and it dont seem to work :(
Using SVN version of ULib(r94) and ULX(r79).
Downloaded the version of ULX Respawn that is for SVN.

On server startup I get the following error in the console.
"Lua Error: ulx\sh_base.lua:182: table index is nil" (only shows that error if ulx respawn is installed)

And if I use !respawn playername or ulx respawn playername it gives this error in server console.
"Lua Error: ulx\modules/respawnsvn.lua:5: attempt to get length of local 'target_plys' (a nil value)"

:(

 :o

Works fine on my server and a friend's.
Title: Re: ULX Respawn - Respawn Players
Post by: NaRyan on December 12, 2009, 11:45:52 AM
oh :(
I must have a conflict with something else on server.... grrrr
Title: Re: ULX Respawn - Respawn Players
Post by: tassieboy on December 12, 2009, 04:52:56 PM
first

don't you think you should add some instructions on how to install to save new ppl asking

i am also having problems with this i installed it restarted the server went in game and tried using it the first time i got you don't have access to this command so i thort o yea thats easy to fix went and edited the groups.text and gave my self access went back and tried to use it i type it in and it dose nothing it don't make them spawn and it don't give me an error

i am using svn ulib and ulx and the svn version or respawn  all are up to date (only installed yesterday)

im assuming i get the u cant use this because i renamed my head group from super admin to owner  ;D ;D any way i can live with that 
Title: Re: ULX Respawn - Respawn Players
Post by: sharp on February 16, 2010, 07:15:37 PM
i got the same error as NaRyan

SVN ULib(100) ULX(83)

Quote
//  MODULE: givesvn.lua      //
ulx\sh_base.lua:182: table index is nil
Quote
//  MODULE: respawnsvn.lua   //
ulx\sh_base.lua:182: table index is nil
Title: Re: ULX Respawn - Respawn Players
Post by: JamminR on February 16, 2010, 07:38:00 PM
Though I'm not positive it will fix for all things, I know it's a good start.
Within the file, change CATEGORY_NAME to "<Where you want it in help", such as "Utility"
Make sure you use quotes.
I've not checked his non-SVN version, but the SVN had no category variable set.
Title: Re: ULX Respawn - Respawn Players
Post by: nexbr on November 26, 2012, 10:15:39 AM
I fixed https://dl.dropbox.com/u/18850333/ulxRespawn.zip
Title: Re: ULX Respawn - Respawn Players
Post by: Deemony07 on January 11, 2013, 05:17:39 PM
I am not good at all with adding stuff. Can You write like a real good tutorial for this. What folder to put it and all that. Thanks.