SA-MP Forums Archive
fatal error 102: table overflow: "staging buffer" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: fatal error 102: table overflow: "staging buffer" (/showthread.php?tid=439899)



fatal error 102: table overflow: "staging buffer" - zombieking - 27.05.2013

Code:
pawn Код:
format(Query, sizeof(Query), Query, ReturnName(playerid),PlayerInfo[playerid][pLevel],
        PlayerInfo[playerid][pSpawn],
        PlayerInfo[playerid][pTester],
        PlayerInfo[playerid][pHelper],
        PlayerInfo[playerid][pAdmin],
        PlayerInfo[playerid][pRegularRank],
        PlayerInfo[playerid][gPupgrade],
        PlayerInfo[playerid][pConnectSeconds],
        PlayerInfo[playerid][pReg],
        PlayerInfo[playerid][pSex],
        PlayerInfo[playerid][pAge],
        PlayerInfo[playerid][pGPS],
        PlayerInfo[playerid][pOrigin],
        PlayerInfo[playerid][pCK],
        PlayerInfo[playerid][pMuted],
        PlayerInfo[playerid][pFrozen],
        PlayerInfo[playerid][pBlind],
        PlayerInfo[playerid][pExp],
        PlayerInfo[playerid][pCash],
       PlayerInfo[playerid][pAccount],
        PlayerInfo[playerid][pCrimes],
        PlayerInfo[playerid][pCrimeReason],
           //. . . List goes on for 228 more variables
Error:
Quote:

fatal error 102: table overflow: "staging buffer"




Re: fatal error 102: table overflow: "staging buffer" - Smokkr - 27.05.2013

The error says everything...You've got too many variables.


Re: fatal error 102: table overflow: "staging buffer" - zombieking - 27.05.2013

Aaand... what am I supposed to do? Writing PlayerInfo[playerid] (this being the only line) didn't work


Re: fatal error 102: table overflow: "staging buffer" - Smokkr - 27.05.2013

No, delete some lines, PlayerInfo[playerid][pCash] for example is correct code.Just the dialog can't be showed, because they are too many variables as I said.


Re: fatal error 102: table overflow: "staging buffer" - zombieking - 27.05.2013

I'm not showing any dialog.


Re: fatal error 102: table overflow: "staging buffer" - Pottus - 27.05.2013

Why would you want to have a table so damn big anyways? You should break it up in to a bunch of tables categorized by type.


Re: fatal error 102: table overflow: "staging buffer" - Smokkr - 27.05.2013

Anyway, you should delete some lines and try again!


Re: fatal error 102: table overflow: "staging buffer" - zombieking - 27.05.2013

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Why would you want to have a table so damn big anyways? You should break it up in to a bunch of tables categorized by type.
The question isn't why I need it - let's say I simply need it.


Re: fatal error 102: table overflow: "staging buffer" - DobbysGamertag - 27.05.2013

pawn Код:
PlayerInfo[playerid][pTester],
        PlayerInfo[playerid][pHelper],
        PlayerInfo[playerid][pAdmin],
        PlayerInfo[playerid][pRegularRank],
        PlayerInfo[playerid][gPupgrade],
Do you really need that many variables for what looks like admin ranks?


Re: fatal error 102: table overflow: "staging buffer" - zombieking - 27.05.2013

Like I said, I do need everything I got there