Author |
Message |
Guest
Offline
|
Posted: Mon Aug 01, 2011 8:42 pm Post subject: A Bug When Warping With Flag |
|
|
|
|
I noticed an error on asss when you grab a flag and warp, the flag sometimes goes with you. It still gets dropped, but it will be close to where you warped to.
It doesn't happen all the time, but it happens enough to be a pain.
I was wondering if anyone else has seen this, or has a solution to fix it. |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Tue Aug 02, 2011 12:11 am Post subject: |
|
|
|
|
where did you see this?
what was the flag system?
what was the flag settings? turf? warzone? _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|
Back to top |
|
|
Hakaku Server Help Squatter
Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
Posted: Wed Aug 03, 2011 12:55 pm Post subject: |
|
|
|
|
Assuming this is a warzone-style zone, then the flag will drop near the last location of the player if that player changes ship. Depending on the arena's settings, the flags will either retain their team ownership, or might neutralize.
When a player warps, it's not the same. The flags will continue to be attached to that player. |
|
Back to top |
|
|
Guest
Offline
|
Posted: Wed Aug 03, 2011 5:08 pm Post subject: |
|
|
|
|
I am trying to use Smong's fg_ctf module.
Its not supposed to allow teams to warp with the flag, so it forces a drop at the players location, but it seems that it sometimes doesn't return the flag to the spot warped from, but the spot warp to. |
|
Back to top |
|
|
Guest
Offline
|
Posted: Wed Aug 03, 2011 5:19 pm Post subject: |
|
|
|
|
Also, more info:
I have tried setting it so that the flags are automatically set to their spawn location when a player changes ships and what not.
Not sure if its a ASSS setting or a setting custom to fg_ctf.
[Flag]
; the time until a flag dropped (nueted) outside of its home is moved back.
; if this is set to 0, it will move back immediately and no arena message will
; be sent.
FlagRespawnDelay = 0
I think the issue is, when a player warps with the flag, the module moves the flag back to the original location. But its not set as neutral -1.
When a player changes ships, the flag is set to -1 and the module then starts a timer or moves the flag immediately if flag:respawndelay=0.
Not sure how to get around this...
Maybe add a timer to when the flag is dropped and is not -1, if its not it is home or in the goal, start the flag respawn delay function.
I'm not very good with C. I have a hard time understanding it. |
|
Back to top |
|
|
|