03.01.2013, 18:05
Hey folks,
i just tried to compile JunkBuster 11 for my server, but it does not work.
The compiler does it's thing for a couple of seconds, then completely fills up my RAM,
and then simply stops compiling.
Full output of the compiler:
The code where the error occurs:
I hope someone can help me with this.
Thanks in advance,
Blowfish
i just tried to compile JunkBuster 11 for my server, but it does not work.
The compiler does it's thing for a couple of seconds, then completely fills up my RAM,
and then simply stops compiling.
Full output of the compiler:
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase /home/samp/pawn/include/Double-O-Files_2.inc(1150) : fatal error 102: table overflow: "literal table" Compilation aborted.
PHP код:
1144 stock DOF2::udb_encode (nickname [])
1145 {
1146 new
1147 buf [256],
1148 result [256];
1149
1150 new symbols [][2][] =
1151 {
1152 {"_", "_00"},
1153 {";", "_01"},
1154 {"!", "_02"},
1155 {"/", "_03"},
1156 {"\\", "_04"},
1157 {"[", "_05"},
1158 {"]", "_06"},
1159 {"?", "_07"},
1160 {".", "_08"},
1161 {"*", "_09"},
1162 {"<", "_10"},
1163 {">", "_11"},
1164 {"{", "_12"},
1165 {"}", "_13"},
1166 {" ", "_14"},
1167 {"\"", "_15"},
1168 {":", "_16"},
1169 {"|", "_17"},
1170 {"=", "_18"}
1171 };
1172
1173 strcat (buf, nickname);
1174 for (new i = 0; i < sizeof (symbols); ++i)
1175 {
1176 str_replace (symbols [i][1], symbols [i][0], buf, result);
1177 buf [0] = '\0';
1178 strcat (buf, result);
1179 }
1180 return result;
1181 }
Thanks in advance,
Blowfish