30.11.2014, 18:32
Ok no problem, more code as requested.
Variables near g_sCustomCarCategory.
@******
I have to admit that this issue appeared since I've installed a custom made plugin on the server. It uses amx_SetString on the variable g_cmdString which is very close to g_sCustomCarCategory. Could amx_SetString with wrong length parameter cause this issue?
My plugins (ordered as in server.cfg): crashdetect 4.15, sscanf 2.8.1, streamer 2.7.4, mysql static R38, custom plugin made by me.
Not yet. I will try this too at the next restart.
Variables near g_sCustomCarCategory.
pawn Код:
new Iterator:iterRaceJoins<MAX_PLAYERS>,
Iterator:iterDerbyVoters<MAX_PLAYERS>,
Iterator:iterPlayerIgnore[MAX_PLAYERS]<MAX_PLAYERS>,
Iterator:iterLottoNumberPool<75>,
Iterator:iterGangWar<3000>,
Float:g_RaceVehCoords[RACE_MAX_PLAYERS][4],
Float:g_RaceCPs[RACE_MAX_CHECKPOINTS][3],
g_DerbyFreezePool = DERBY_FREEZE_TIME / DERBY_FREEZE_INTERVAL,
g_SpawnAreas[5],
g_RaceForceMap = 0,
g_BuildRace = INVALID_PLAYER_ID,
g_BuildDeployTime = 0,
g_BuildRaceType = 1,
g_BuildVirtualWorld = 0,
g_BuildCheckPointCount = 0,
g_BuildVehPosCount = 0,
g_BuildModeVMID = 0,
bool:g_BuildTakeCheckpoints = false,
bool:g_BuildTakeVehPos = false,
g_BuildVehicle = -1,
g_RaceArray[e_race_data],
g_RaceStatus = RaceStatus_Inactive,
g_RaceCount = 0,
g_RaceCountDown = COUNT_DOWN_TILL_RACE_START,
g_RacePlayerCount = 0,
g_RaceSpawnCount = 0,
g_tRaceCounter = -1,
g_tRaceOpenSelection = -1,
g_RaceTick = 0,
g_RaceTime = MAX_RACE_TIME,
g_NextRace,
g_RaceFinishCount = 0,
g_iRaceEnd = 0,
g_rPosition = 0,
g_CPProgress[MAX_PLAYERS],
g_RaceVehicle[MAX_PLAYERS],
g_RacePosition[MAX_PLAYERS],
m_PlayerRecord,
g_CustomCarShops[CAR_SHOPS][E_CAR_SHOP],
g_dialogTpString[2048],
g_cmdString[32],
gstr[144],
gstr2[255],
g_LottoNumber,
g_LottoJackpot,
bool:bLottoActive = false,
g_ServerStats[4],
g_sCustomCarCategory[512],
mathsAnswered = -1,
mathsCurrent[14],
mathsAnswer,
mathsAward,
bool:IsMellnikGateMoving = false,
bool:IsMellnikRampMoving = false,
MellnikGate,
MellnikRamp,
I have to admit that this issue appeared since I've installed a custom made plugin on the server. It uses amx_SetString on the variable g_cmdString which is very close to g_sCustomCarCategory. Could amx_SetString with wrong length parameter cause this issue?
My plugins (ordered as in server.cfg): crashdetect 4.15, sscanf 2.8.1, streamer 2.7.4, mysql static R38, custom plugin made by me.
Not yet. I will try this too at the next restart.