Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Unstuck Command
[SSGM 4.0 Plugin] Unstuck Command [message #478634] Sun, 13 January 2013 07:38 Go to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

DOWNLOAD: http://multiplayerforums.com/index.php?/files/file/169-unstuck-command-plugin/

This plugin allows players to type !stuck or !unstuck to teleport them to the last known good location when they get stuck for some reason.
The last known good location is usually the location where they spawned at or last changed character. This includes the location of a crate in case they get the character crate.

If they are inside a vehicle while stuck it will be destroyed, they will be refunded the cost of that vehicle, and then teleported back to the last known good location.

You can configure a timer in the configuration for this command. The player must wait that time before they are actually teleported, you want to set this above 10 seconds usually to prevent them from 'quickly going back base' after a beacon has been placed for example.

Edit: Forgot to add that the plugin checks their current and stuck position, if they moved too much they wont be teleported back to their last good position. They are not really stuck then.

To use the plugin add it to your [Plugins] section like for example below:
[Plugins]
00=BanSystem.dll
01=Mute.dll
02=mpf_unstuck_plugin.dll


At the bottom of ssgm.ini add a section containing this to configure a global setting:
[Unstuck]
Unstuck_Timer=15


You can also configure it per map by adding entries like this for every map (mapnames are ALL lowercase):
[c&c_field.mix_Unstuck]
Unstuck_Timer=30


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Sun, 13 January 2013 10:47]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Unstuck Command [message #478636 is a reply to message #478634] Sun, 13 January 2013 09:38 Go to previous messageGo to next message
Dev* is currently offline  Dev*
Messages: 27
Registered: March 2012
Location: The Capital Wasteland
Karma: 0
Recruit
This sounds like something that can be used for abuse. Using "!stuck" in combat or in danger of dying.
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478638 is a reply to message #478634] Sun, 13 January 2013 10:47 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Forgot to add that the plugin checks their current and stuck position, if they moved too much they wont be teleported back to their last good position. They are not really stuck then.

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478639 is a reply to message #478638] Sun, 13 January 2013 12:57 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

zunnie wrote on Sun, 13 January 2013 18:47

Forgot to add that the plugin checks their current and stuck position, if they moved too much they wont be teleported back to their last good position. They are not really stuck then.

Afaik StealthEye fixed TT in such a way that getting truly stuck is virtually impossible...


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478640 is a reply to message #478634] Sun, 13 January 2013 13:00 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

No, it's still possible, just less likely.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478641 is a reply to message #478639] Sun, 13 January 2013 13:21 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

EvilWhiteDragon wrote on Sun, 13 January 2013 14:57

zunnie wrote on Sun, 13 January 2013 18:47

Forgot to add that the plugin checks their current and stuck position, if they moved too much they wont be teleported back to their last good position. They are not really stuck then.

Afaik StealthEye fixed TT in such a way that getting truly stuck is virtually impossible...

It still happens sometimes on newer maps (or older if you like)...


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478648 is a reply to message #478634] Sun, 13 January 2013 17:22 Go to previous messageGo to next message
Troll King is currently offline  Troll King
Messages: 56
Registered: June 2012
Location: Netherlands
Karma: 0
Recruit
The all known '!unstuck' / '!stuck' command.
I suggest you use Find_Teleport_Location and Can_Teleport(_Here) (dunno what it was again).
Instead of the current method you're using like what SirXeno said is true and will be abused.

EDIT: also Can_Teleport_And_Stand would be a good idea too...


Also Known As: Neijwiert

[Updated on: Sun, 13 January 2013 17:23]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Unstuck Command [message #478669 is a reply to message #478648] Mon, 14 January 2013 06:41 Go to previous messageGo to next message
ehhh is currently offline  ehhh
Messages: 2098
Registered: December 2010
Location: UK
Karma: 0
General (2 Stars)
happens on the mesa infantry wall and middle of walls.
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478672 is a reply to message #478648] Mon, 14 January 2013 11:13 Go to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Troll King wrote on Sun, 13 January 2013 18:22

The all known '!unstuck' / '!stuck' command.
I suggest you use Find_Teleport_Location and Can_Teleport(_Here) (dunno what it was again).
Instead of the current method you're using like what SirXeno said is true and will be abused.

EDIT: also Can_Teleport_And_Stand would be a good idea too...

Listen to this man. Can_Teleport_And_Stand is what Renegade's stock spawn system uses, and I don't know if you've noticed, but if you have enough spawn points on a map in Renegade, you never get stuck Razz it's because of that function.

P.S. It may very well be a specific variant of the "Can_Teleport" functions, but I think it is indeed Can_Teleport_And_Stand.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

[Updated on: Mon, 14 January 2013 11:14]

Report message to a moderator

Previous Topic: Night Vision Hud [4.0. Compatable]
Next Topic: [Map] C&C_Snow_Warfare
Goto Forum:
  


Current Time: Mon Nov 25 15:20:30 MST 2024

Total time taken to generate the page: 0.01619 seconds