Author |
Message |
Guest
Offline
|
Posted: Mon Aug 01, 2011 8:42 pm Post subject: A Bug When Warping With Flag |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Cheese Wow Cheese is so helpful!
![](images/avatars/aaaf835419a57f218775992153262b2246003dfa34c5c.gif)
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Tue Aug 02, 2011 12:11 am Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Hakaku Server Help Squatter
![](images/avatars/9120dd93f5e5f7e24bdbaff18d563ad6451870d9316b9.png)
Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
Posted: Wed Aug 03, 2011 12:55 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Guest
Offline
|
Posted: Wed Aug 03, 2011 5:08 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Guest
Offline
|
Posted: Wed Aug 03, 2011 5:19 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|