Grand Theft Auto Asian City

Asian City - Discussion => Bug Reports => Topic started by: V3RY_Zer0SexY on Jan 10, 2026, 03:14 PM

Title: All gangwar bugs and downsides
Post by: V3RY_Zer0SexY on Jan 10, 2026, 03:14 PM
Your ingame nick: =TDAr=Zer0Skills
Date: wtf?
What bug:
- (#1) Balance system:
when a balance is being done, and a player from red knocked player from blue with spas and HP 1, so when player gets moved to the other team, it will say that 2 players from same team killed each others (player 'A' knocked 'B', and system switched 'B' to team 'A', it will say 'A' killed 'B' while they are in the same team)

Solution (1): Despawn the player once he gets team-swapped, and respawn him after 1 second.
Solution (2): Since the player's skin already gets switched to the other team's skin, make player.Health = 100; before u change his skin; so that he will not die from that shoot - player.Skin is not like player.SetAnim, what applies to spawning from class screen applies also to player.Skin, thats why he wont die (ITS AS IF HE RE-SPAWNED - DONT FORGET TO DO 100 HP).

- (#2) Same team kill bug:
I explained this problem in a previous topic(https://asian-city.net/index.php?topic=1525.0), in which i cited that - sometimes - players from same team can kill each others somehow.

Solution: bug might be happening due to player.Team interference, so there should be a prevention to this bug.


- (#3) [DOWNSIDE NOT BUG] - Balance system rejects disconnections:

Balance system doesnt take into account the potential disconnections may be done by players, when a player disconnects in the middle of match, and it becomes 4v2 or 4v3, system just simply doesnt try to solve this problem.

Solution: onPlayerQuit() -> check player's team -> if blue = move someone to blue to balance and vice versa.



- (#4) Auto-Rejoining to Gangwar:

When a player departs from the server - assuming he did /leavegw first - and when he reconnects, he will get sent back to gangwar no matter if he already left it or not.

Solution: onPlayerQuit() -> if its an array GangwarArray.remove(index) - IF player has already done /leavegw.

Extra notes: I think that when someone does /joingw, it doesnt take into consideration how much players are there in either blue or red. (When /q and auto-balance happens) [While it actually works good if nothing of those in parenthesis () happen]
Title: Re: All gangwar bugs and downsides
Post by: Broly on Jan 16, 2026, 06:36 PM
Hey,

Regarding Bug #1:
I'm not really sure whether this bug actually occurs or not, since no evidence has been provided. That said, it doesn't hurt to implement Solution #1 you suggested to prevent any potential issues. However, without auto-spawn enabled, the player will have to spawn manually.

Regarding Bug #2:
You didn't explain what exactly causes this bug. I tried to reproduce it myself but couldn't. Without knowing the cause, it can't really be fixed. Instead, it might be better to focus on fixing your lag if the issue is lag-related.

Regarding Bug #3:
This is incorrect. The team balancer already handles disconnections, AFK players, and similar situations. In cases like a 4v3, it won't do anything, since that scenario cannot be balanced further.

Regarding Bug #4:
This was already reported by [RT]Adam, and it has been fixed in an upcoming version.