Beiträge von Corvus
-
-
Hey hab paar AMX Backraces:
[17:05:49] [debug] Run time error 4: "Array index out of bounds"
[17:05:49] [debug] Accessing element at negative index -400
[17:05:49] [debug] AMX backtrace:
[17:05:49] [debug] #0 0005b3b0 in public SaveGangAutos () from irp(3).amx
[17:05:49] [debug] #1 00086268 in public SaveServer () from irp(3).amx
[17:05:49] [debug] #2 001bfaa8 in public UpdateTime () from irp(3).amx
[17:05:49] [debug] #3 000805b4 in public OnGameModeInit () from irp(3).amx[17:06:18] [debug] Run time error 5: "Invalid memory access"
[17:06:18] [debug] AMX backtrace:
[17:06:18] [debug] #0 00055368 in public LoadKassenInfo () from irp(3).amx
[17:06:18] [debug] #1 0005caa4 in public OnGameModeInit () from irp(3).amx -
Hast vielleicht einen Tipp dafür?
-
Hier:
#define MaxHouse 31
new Text3D:House[MaxHouse];
new HousePickup[MaxHouse];
enum hInfo
{
Float:hEntrancex,
Float:hEntrancey,
Float:hEntrancez,
Float:hExitx,
Float:hExity,
Float:hExitz,
hOwner[MAX_PLAYER_NAME],
hBeschreibung[128],
hPreis,
hHealUpgrade,
hArmorUpgrade,
hInt,
hLock,
hOwned,
hRooms,
hRent,
hRentabil,
hKasse,
hDate,
hLevel,
hVW,
};
new HouseInfo[MaxHouse][hInfo] =
{
{1378.4648,-1753.1239,14.1406,446.100006,507.899993,1001.400024,"Staat","2 Room Apartment",100000,0,0,12,1,0,1,666,1,0,132,5,304},
{1242.2749,-1101.0942,27.9766,386.100006,1471.800048,1080.099975,"Staat","3 Room Apartment",150000,0,0,15,1,0,1,2000,0,0,131,5,307},
{1189.4886,-1017.9988,36.2344,301.299987,306.299987,1003.500000,"Staat","Bedsit",50000,0,0,4,1,0,1,200,0,0,131,3,309},
{980.5103,-677.2499,121.9763,225.600006,1023.500000,1084.000000,"Staat","8 Room Luxury",3000000,0,0,7,1,0,0,6000,1,0,132,11,361},
{1496.9773,-688.5631,95.3642,225.600006,1023.500000,1084.000000,"Staat","6 Room Luxury",1000000,0,0,7,1,0,0,500,0,0,131,9,362},
{1332.0663,-633.1792,109.1349,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,10,363},
{952.5779,-909.6609,45.7656,225.600006,1023.500000,1084.000000,"Staat","8 Room Luxury",3000000,0,0,7,1,0,0,6000,1,0,132,11,364},
{1106.319335,-299.648345,74.539062,2365.1992,-1134.7502,1050.8750,"Staat","4 Room Apartment",250000,0,0,8,1,0,0,25000,0,0,133,7},// Mittel
{1242.497192,-878.370666,46.640625,301.299987,306.299987,1003.500000,"Staat","Bedsit",50000,0,0,4,1,0,1,200,0,0,131,3,302},// Klein
{985.823974,-1094.754150,27.604057,23.000000,1405.599975,1084.400024,"Staat","4 Room House",250000,0,0,5,1,0,0,2500,1,0,133,7},// Mittel
{652.901733,-1619.912475,15.000000,376.299987,1417.199951,1081.300048,"Staat","4 Room Apartment",250000,0,0,15,1,0,0,200,1,0,131,7},// Mittel
{315.758697,-1769.920043,4.634671,83.300003,1324.699951,1083.800048,"Staat","6 Room House",1000000,0,0,9,1,0,0,500,0,0,131,9},// Gross
{1095.4082,-647.2377,113.6484,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1182.9657,-1076.0183,31.6719,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1182.9722,-1099.0010,28.2578,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1142.1216,-1093.2526,28.1875,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1142.1696,-1069.6936,31.7656,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1127.9697,-1022.8050,34.9922,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1102.8433,-1069.7996,31.8828,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1103.1816,-1092.6387,28.4688,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1284.7593,-1066.8260,31.6789,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1242.1627,-1076.3270,31.5547,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1540.1965,-851.3334,64.3361,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{251.7053,-1220.6342,75.9784,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{299.7329,-1154.8922,81.0911,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{255.1439,-1366.5763,53.1094,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1326.5747,-1067.8400,31.5547,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{2141.7119,-1802.1111,16.1475,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{946.1943,-710.1659,122.6199,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{1045.0592,-642.1236,120.1172,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99}, //Haus in vinewood
{190.0562,-1308.1864,70.2582,227.0870,1114.1605,1080.9969,"Staat","7 Room Luxury",2000000,0,0,5,1,0,0,5000,0,0,131,99} //Haus in vinewood
};#define MaxBiz 17
new Text3D:Biz[MaxBiz];
new BizPickup[MaxBiz];
enum bInfo
{
bOwned,
bOwner[MAX_PLAYER_NAME],
bMessage[128],
bExtortion[MAX_PLAYER_NAME],
Float:bEntranceX,
Float:bEntranceY,
Float:bEntranceZ,
Float:bExitX,
Float:bExitY,
Float:bExitZ,
bLevelNeeded,
bBuyPrice,
bEntranceCost,
bTill,
bLocked,
bInterior,
bProducts,
bMaxProducts,
bPriceProd,
bWorld,
bExtortionTill,
};
new BizInfo[MaxBiz][bInfo] =
{
{1,"Staat","Gun Shop SF","Niemand",-2626.4827,209.3238,4.6004,285.6058,-86.0131,1001.5229,5,500000,0,0,1,4,100000,100000,100,1,0},
{1,"Staat","Gun Shop LS","Niemand",1791.5143,-1164.1787,23.8281,2169.461181,1618.798339,999.976562,5,500000,0,0,1,1,100000,100000,100,2,0},
{0,"Staat","Restaurant","Niemand",1420999999.1936,-1623.8427,13.5469,-794.936218,490.632385,1376.195312,5,500000,0,0,1,1,100,500,100,3,0},
{1,"Staat","LS Polizei Waffenkammer","Niemand",1568.625122,-1690.535766,5.890600,246.376007,109.246002,1003.218811,5,500000,0,0,0,10,100000,1000000,100,1,0},
{1,"Staat","Bank LS","Niemand",1469999992.395751,-1012.391174,26.843799,389.3555,173.8684,1008.3828,5,500000,0,0,0,3,99999,100000,1,1,0},
{1,"Staat","SF Polizei Waffenkammer","Niemand",-15999993.8340,716.2302,-5.2422,226.7151,110.9211,1010.2188,5,500000,0,0,1,10,100000,1000000,100,2,0},
{1,"Staat","LV Polizei Waffenkammer","Niemand",699911.0042,-583.9974,17.9763,227.3422,122.0904,1010.2188,5,500000,0,0,0,10,100000,1000000,100,3,0},
{1,"Staat","Bank SF","Niemand",-1799949.3010,867.1620,25.0859,389.3555,173.8684,1008.3828,5,500000,0,0,0,3,99999,100000,1,2,0},
{1,"Staat","Gesund Fahren mit dem Fahrad verleih","Niemand",1399912.5642,-873.9422,39.5781,1312.5642,-873.9422,39.5781,5,500000,0,0,0,0,99999,100000,1,0,0},
{1,"Staat","Ammu Nation","Niemand",1367.9816,-1279.9513,13.5469,286.148986,-40.644397,1001.515625,5,500000,0,0,1,1,100000,100000,100,4,0},
{1,"Staat","Gun Shop LV","Niemand",2158.5098,943.0615,10.8203,296.919982,-108.071998,1001.515625,5,500000,0,0,1,6,100000,100000,100,5,0},
{0,"Staat","Alhambra","Niemand",1834.9247,-1682.5403,13.4112,493.2791,-24.2553,1000.6797,5,500000,0,0,1,17,500,500,100,2,0},
{0,"Staat","Jizzy","Niemand",-2699924.2668,1411.7013,7.0938,-2636.5610,1403.2194,906.4609,5,500000,0,0,1,3,500,500,100,2,0},
{0,"Staat","Donator Autohaus","Niemand",2209990.5083,1394.3988,11.0625,2200.5083,1394.3988,11.0625,5,500000,0,0,1,0,500,500,100,0,0},
{0,"Staat","Telefon GmbH","Niemand",1382.1464,-1088.7307,28.2098,-2240.3855,137.1735,1035.4141,5,500000,0,0,1,6,500,500,100,2,0},
{1,"Staat","Ammu Nation Angle Pine","Niemand",-2093.2163,-2464.3862,30.6250,316.524993,-167.706985,999.593750,5,500000,0,0,1,6,100000,100000,100,8,0},
{1,"Staat","Bank LV","Niemand",999938.7953,1733.1140,8.8516,389.3555,173.8684,1008.3828,5,500000,0,0,0,3,99999,100000,1,3,0}
};//Hab ausversehen als Erledigt markiert.
-
Keine drin sollten sich eig. selbst erstellen oder?
-
-
Folgendes:
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
´[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '4') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '5') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '6') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '7') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '8') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '9') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '10') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '11') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '12') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '13') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '14') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '15') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] CMySQLHandler::NumRows() - Returned 0 row(s)
[18:37:01] >> mysql_fetch_row_format( Connection handle: 1 )
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owned) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Owner) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Message) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Extortion) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(LevelNeeded) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(BuyPrice) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(EntranceCost) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Till) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Locked) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(Products) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(MaxProducts) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_fetch_field_row( Connection handle: 1 )
[18:37:01] CMySQLHandler::FetchField(PriceProd) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `biz` WHERE `BizID` = '16') - Successfully executed.
[18:37:01] >> mysql_store_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::StoreResult() - Result was stored.
[18:37:01] >> mysql_num_rows( Connection handle: 1 )
[18:37:01] >> mysql_free_result( Connection handle: 1 )
[18:37:01] CMySQLHandler::FreeResult() - The result is already empty.
[18:37:01] >> mysql_query( Connection handle: 1 )
[18:37:01] CMySQLHandler::Query(SELECT * FROM `tan Das ist nur ein Kleiner Auschnitt da nicht alles reinpasst. -
Hab die Tabelle drin aber es steht nix drin mysql log nix besonderes
-
Habe das System von DINI auf MySQL umgeschrieben davor hat es auch funktioniert könnte es daran liegen das es nix in der Datenbank findet?
-
Folgendes:
[15:23:22] OnGamemodeInt: LoadProperty
[15:23:22] OnGamemodeInt: LoadBiz
[15:23:22] OnGamemodeInt: LoadSBiz
[15:23:22] Eigentümer:Staat Name:Zoll Tanke Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:BSN Tanke Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer Alhambra Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer SFPD Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer FS Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Ammunations Tanke LV Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer LV Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer LVPD Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer Matpoint LV Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer Bandits Stadion Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer LV Land Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Tanke Fort Carson Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer LV Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer SF Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer MC Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer MC 2 Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Gasso Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] Eigentümer:Staat Name:Xoomer Spritpreis:5 Kasse:0 Produkte:0/1000
[15:23:22] Tanken laden
[15:23:22] OnGamemodeInt: LoadTankenBiz -
Hier wird folgendes aufgerufen:
Create3DTexte();
printf(">>>>> Create3DTexte Fertig <<<<<");public Create3DTexte()
{
new string[256];
for(new h = 0; h < sizeof(SBizInfo); h++)
{
if(SBizInfo[h][sbOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d",SBizInfo[h][sbMessage],SBizInfo[h][sbOwner],SBizInfo[h][sbExtortion],SBizInfo[h][sbEntranceCost],SBizInfo[h][sbLevelNeeded],(SBizInfo[h][sbMaxProducts]-SBizInfo[h][sbProducts]),SBizInfo[h][sbPriceProd]);
SBizPickup[h] = CreatePickup(1239, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Busines steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",SBizInfo[h][sbMessage],GetPoint(SBizInfo[h][sbBuyPrice]),SBizInfo[h][sbLevelNeeded]);
SBizPickup[h] = CreatePickup(1272, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
}
SBiz[h] = Create3DTextLabel(string, COLOR_GREY2, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]+0.5,15.0,0);
}
for(new h = 0; h < sizeof(TankenBizInfo); h++)
{
if(TankenBizInfo[h][TBOwned] == 1)
{
format(string, sizeof(string), "%s\n\n{21DD00}Besitzer: {0082FF}%s\n{21DD00}Erpresser: {0082FF}%s\n{21DD00}Spritpreis: {21DD00}$%d {0082FF}{21DD00}Level: {0082FF}%d\n{21DD00}Prods benötigt: {0082FF}%d\n{21DD00}Preis/Prod: {0082FF}$%d",TankenBizInfo[h][TBMessage],TankenBizInfo[h][TBOwner],TankenBizInfo[h][TBExtortion],TankenBizInfo[h][TBSpritPreis],TankenBizInfo[h][TBLevelNeeded],(TankenBizInfo[h][TBMaxProducts]-TankenBizInfo[h][TBProducts]),TankenBizInfo[h][TBProdPreis]);
TankenBizPickup[h] = CreatePickup(1239, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
}
else
{
format(string, sizeof(string), "%s\n{21DD00}Dieses Busines steht zum Verkauf\nKosten: {0082FF}%s$ {21DD00}Level: {0082FF}%d\n{21DD00}Benutze {0082FF}/buybiz{21DD00} um das Business zu kaufen",TankenBizInfo[h][TBMessage],GetPoint(TankenBizInfo[h][TBKaufPreis]),TankenBizInfo[h][TBLevelNeeded]);
TankenBizPickup[h] = CreatePickup(1272, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
}
TankenBiz[h] = Create3DTextLabel(string, GREEN, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]+0.5,15.0,0);
}
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
format(string, sizeof(string), "Dieses Haus gehört:\n%s\nLevel: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
}
else
{
format(string, sizeof(string), "Dieses Haus gehört:\n%s\nMiete: $%d\nLevel: %d\nBenutze /rentroom um dir eine Wohnung zu mieten",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
}
HousePickup[h] = CreatePickup(1239, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
}
else
{
format(string, sizeof(string), "Dieses Haus steht zum Verkauf\nBeschreibung: %s\nKosten: %s$\nLevel: %d\nBenutze /buyhouse um das Haus zu kaufen",HouseInfo[h][hBeschreibung],GetPoint(HouseInfo[h][hPreis]),HouseInfo[h][hLevel]);
HousePickup[h] = CreatePickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
}
House[h] = Create3DTextLabel(string, COLOR_GREY2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);
}
for(new h = 0; h < sizeof(BizInfo); h++)
{
if(BizInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\ngib /enter ein um das Biz zu betreten",BizInfo[h][bMessage],BizInfo[h][bOwner],BizInfo[h][bExtortion],BizInfo[h][bEntranceCost],BizInfo[h][bLevelNeeded],(BizInfo[h][bMaxProducts]-BizInfo[h][bProducts]),BizInfo[h][bPriceProd]);
BizPickup[h] = CreatePickup(1239, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
//CreatePickup(1239, 23, BizInfo[h][bExitX], BizInfo[h][bExitY], BizInfo[h][bExitZ], -1);
}
else
{
format(string, sizeof(string), "%s\nDieses Business steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",BizInfo[h][bMessage],GetPoint(BizInfo[h][bBuyPrice]),BizInfo[h][bLevelNeeded]);
BizPickup[h] = CreatePickup(1272, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
}
Biz[h] = Create3DTextLabel(string, COLOR_GREY2, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]+0.5,15.0,0);
}
return 1;
} -
Das mach ich hier:
public Update3DTexte()
{
new string[256];
for(new h = 0; h < sizeof(SBizInfo); h++)
{
DestroyPickup(SBizPickup[h]);
if(SBizInfo[h][sbOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\n\nGeschäft betreten: /enter",SBizInfo[h][sbMessage],SBizInfo[h][sbOwner],SBizInfo[h][sbExtortion],SBizInfo[h][sbEntranceCost],SBizInfo[h][sbLevelNeeded],(SBizInfo[h][sbMaxProducts]-SBizInfo[h][sbProducts]),SBizInfo[h][sbPriceProd]);
SBizPickup[h] = CreatePickup(1239, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Busines steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",SBizInfo[h][sbMessage],GetPoint(SBizInfo[h][sbBuyPrice]),SBizInfo[h][sbLevelNeeded]);
SBizPickup[h] = CreatePickup(1272, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
}
Update3DTextLabelText(Text3D:SBiz[h], COLOR_GREY2, string);
}
for(new h = 0; h < sizeof(TankenBizInfo); h++)
{
DestroyPickup(TankenBizPickup[h]);
if(TankenBizInfo[h][TBOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d",TankenBizInfo[h][TBMessage],TankenBizInfo[h][TBOwner],TankenBizInfo[h][TBExtortion],TankenBizInfo[h][TBSpritPreis],TankenBizInfo[h][TBLevelNeeded],(TankenBizInfo[h][TBMaxProducts]-TankenBizInfo[h][TBProducts]),TankenBizInfo[h][TBProdPreis]);
TankenBizPickup[h] = CreatePickup(1239, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Busines steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",TankenBizInfo[h][TBMessage],GetPoint(TankenBizInfo[h][TBKaufPreis]),TankenBizInfo[h][TBLevelNeeded]);
TankenBizPickup[h] = CreatePickup(1272, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
}
Update3DTextLabelText(Text3D:TankenBiz[h], COLOR_GREY2, string);
}
for(new h = 0; h < sizeof(HouseInfo); h++)
{
DestroyPickup(HousePickup[h]);
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
format(string, sizeof(string), "Dieses Haus gehört:\n%s\nLevel: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
}
else
{
format(string, sizeof(string), "Dieses Haus gehört:\n%s\nMiete: $%d\nLevel: %d\nBenutze /rentroom um dir eine Wohnung zu mieten",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
}
HousePickup[h] = CreatePickup(1239, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
}
else
{
format(string, sizeof(string), "Dieses Haus steht zum Verkauf\nBeschreibung: %s\nKosten: %s$\nLevel: %d\nBenutze /buyhouse um das Haus zu kaufen",HouseInfo[h][hBeschreibung],GetPoint(HouseInfo[h][hPreis]),HouseInfo[h][hLevel]);
HousePickup[h] = CreatePickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
}
Update3DTextLabelText(Text3D:House[h], COLOR_GREY2, string);
}
for(new h = 0; h < sizeof(BizInfo); h++)
{
DestroyPickup(BizPickup[h]);
if(BizInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\n\nGeschäft betreten: /enter",BizInfo[h][bMessage],BizInfo[h][bOwner],BizInfo[h][bExtortion],BizInfo[h][bEntranceCost],BizInfo[h][bLevelNeeded],(BizInfo[h][bMaxProducts]-BizInfo[h][bProducts]),BizInfo[h][bPriceProd]);
BizPickup[h] = CreatePickup(1239, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Business steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",BizInfo[h][bMessage],GetPoint(BizInfo[h][bBuyPrice]),BizInfo[h][bLevelNeeded]);
BizPickup[h] = CreatePickup(1272, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
}
Update3DTextLabelText(Text3D:Biz[h], COLOR_GREY2, string);
}
return 1;
}public Update3DTextHouse(HouseID)
{
new string[256], h;
h = HouseID;
DestroyPickup(HousePickup[h]);
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
format(string, sizeof(string), "Dieses Haus gehört:\n%s\nLevel: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
}
else
{
format(string, sizeof(string), "Dieses Haus gehört:\n%s\nMiete: $%d\nLevel: %d\nBenutze /rentroom um dir eine Wohnung zu mieten",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
}
HousePickup[h] = CreatePickup(1239, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
}
else
{
format(string, sizeof(string), "Dieses Haus steht zum Verkauf\nBeschreibung: %s\nKosten: %s$\nLevel: %d\nBenutze /buyhouse um das Haus zu kaufen",HouseInfo[h][hBeschreibung],GetPoint(HouseInfo[h][hPreis]),HouseInfo[h][hLevel]);
HousePickup[h] = CreatePickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
}
Update3DTextLabelText(Text3D:House[h], COLOR_GREY2, string);
return 1;
}public Update3DTextBiz(BizID)
{
new string[256], h;
h = BizID;
DestroyPickup(BizPickup[h]);
if(BizInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\n\nGeschäft betreten: /enter",BizInfo[h][bMessage],BizInfo[h][bOwner],BizInfo[h][bExtortion],BizInfo[h][bEntranceCost],BizInfo[h][bLevelNeeded],(BizInfo[h][bMaxProducts]-BizInfo[h][bProducts]),BizInfo[h][bPriceProd]);
BizPickup[h] = CreatePickup(1239, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Business steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",BizInfo[h][bMessage],GetPoint(BizInfo[h][bBuyPrice]),BizInfo[h][bLevelNeeded]);
BizPickup[h] = CreatePickup(1272, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
}
Update3DTextLabelText(Text3D:Biz[h], COLOR_GREY2, string);
return 1;
}public Update3DTextsBiz(sBiz)
{
new string[256], h;
h = sBiz;
DestroyPickup(SBizPickup[h]);
if(SBizInfo[h][sbOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\n\nGeschäft betreten: /enter",SBizInfo[h][sbMessage],SBizInfo[h][sbOwner],SBizInfo[h][sbExtortion],SBizInfo[h][sbEntranceCost],SBizInfo[h][sbLevelNeeded],(SBizInfo[h][sbMaxProducts]-SBizInfo[h][sbProducts]),SBizInfo[h][sbPriceProd]);
SBizPickup[h] = CreatePickup(1239, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Busines steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",SBizInfo[h][sbMessage],GetPoint(SBizInfo[h][sbBuyPrice]),SBizInfo[h][sbLevelNeeded]);
SBizPickup[h] = CreatePickup(1272, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
}
Update3DTextLabelText(Text3D:SBiz[h], COLOR_GREY2, string);
return 1;
}public Update3DTextTanke(Tanke)
{
new string[256], h;
h = Tanke;
DestroyPickup(TankenBizPickup[h]);
if(TankenBizInfo[h][TBOwned] == 1)
{
format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nSpritpreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d",TankenBizInfo[h][TBMessage],TankenBizInfo[h][TBOwner],TankenBizInfo[h][TBExtortion],TankenBizInfo[h][TBSpritPreis],TankenBizInfo[h][TBLevelNeeded],(TankenBizInfo[h][TBMaxProducts]-TankenBizInfo[h][TBProducts]),TankenBizInfo[h][TBProdPreis]);
TankenBizPickup[h] = CreatePickup(1239, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
}
else
{
format(string, sizeof(string), "%s\nDieses Busines steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",TankenBizInfo[h][TBMessage],GetPoint(TankenBizInfo[h][TBKaufPreis]),TankenBizInfo[h][TBLevelNeeded]);
TankenBizPickup[h] = CreatePickup(1272, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
}
Update3DTextLabelText(Text3D:TankenBiz[h], COLOR_GREY2, string);
return 1;
} -
Hey
Die Bizen etc. werden ingame nicht gespawned:
public LoadProperty()
{
new string[128];
for(new i = 0; i < sizeof(HouseInfo); i++)
{
format(string, sizeof(string),"SELECT * FROM `houses` WHERE `HouseID` = '%d'", i);
self_mysql_query(string);
mysql_store_result(MySQLConnection);
if(mysql_num_rows(MySQLConnection) != 0)
{
mysql_fetch_row_format(string);
new val[ 256 ];
self_mysql_get_field("Owner", val); strmid(HouseInfo[i][hOwner], val, 0, strlen(val), 255);
self_mysql_get_field("Beschreibung", val); strmid(HouseInfo[i][hBeschreibung], val, 0, strlen(val), 255);
self_mysql_get_field("Preis", val); HouseInfo[i][hPreis] = strval( val );
self_mysql_get_field("HealUpgrade", val); HouseInfo[i][hHealUpgrade] = strval( val );
self_mysql_get_field("ArmorUpgrade", val); HouseInfo[i][hArmorUpgrade] = strval( val );
self_mysql_get_field("Lock", val); HouseInfo[i][hLock] = strval( val );
self_mysql_get_field("Owned", val); HouseInfo[i][hOwned] = strval( val );
self_mysql_get_field("Rooms", val); HouseInfo[i][hRooms] = strval( val );
self_mysql_get_field("Rent", val); HouseInfo[i][hRent] = strval( val );
self_mysql_get_field("Rentabil", val); HouseInfo[i][hRentabil] = strval( val );
self_mysql_get_field("Kasse", val); HouseInfo[i][hKasse] = strval( val );
//self_mysql_get_field("Date", val); HouseInfo[i][hDate] = strval( val );
self_mysql_get_field("Level", val); HouseInfo[i][hLevel] = strval( val );
}
mysql_free_result(MySQLConnection);
}
return 1;
}public LoadBiz()
{
new string[128];
for(new i = 0; i < sizeof(BizInfo); i++)
{
format(string, sizeof(string),"SELECT * FROM `biz` WHERE `BizID` = '%d'", i);
self_mysql_query(string);
mysql_store_result(MySQLConnection);
if(mysql_num_rows(MySQLConnection) != 1)
{
mysql_fetch_row_format(string);
new val[ 256 ];
self_mysql_get_field("Owned", val); BizInfo[i][bOwned] = strval( val );
self_mysql_get_field("Owner", val); strmid(BizInfo[i][bOwner], val, 0, strlen(val), 255);
self_mysql_get_field("Message", val); strmid(BizInfo[i][bMessage], val, 0, strlen(val), 255);
self_mysql_get_field("Extortion", val); strmid(BizInfo[i][bExtortion], val, 0, strlen(val), 255);
self_mysql_get_field("LevelNeeded", val); BizInfo[i][bLevelNeeded] = strval( val );
self_mysql_get_field("BuyPrice", val); BizInfo[i][bBuyPrice] = strval( val );
self_mysql_get_field("EntranceCost", val); BizInfo[i][bEntranceCost] = strval( val );
self_mysql_get_field("Till", val); BizInfo[i][bTill] = strval( val );
self_mysql_get_field("Locked", val); BizInfo[i][bLocked] = strval( val );
self_mysql_get_field("Products", val); BizInfo[i][bProducts] = strval( val );
self_mysql_get_field("MaxProducts", val); BizInfo[i][bMaxProducts] = strval( val );
self_mysql_get_field("PriceProd", val); BizInfo[i][bPriceProd] = strval( val );
}
mysql_free_result(MySQLConnection);
}
return 1;
}
public LoadSBiz()
{
for(new i = 0; i < sizeof(SBizInfo); i++)
{
new string[256];
format(string, sizeof(string),"SELECT * FROM `sbiz` WHERE `SBizID` = '%d'", i);
self_mysql_query(string);
mysql_store_result(MySQLConnection);
if(mysql_num_rows(MySQLConnection) != 1)
{
mysql_fetch_row_format(string);
new val[ 256 ];
self_mysql_get_field("Owned", val); SBizInfo[i][sbOwned] = strval( val );
self_mysql_get_field("Owner", val); strmid(SBizInfo[i][sbOwner], val, 0, strlen(val), 255);
self_mysql_get_field("Message", val); strmid(SBizInfo[i][sbMessage], val, 0, strlen(val), 255);
self_mysql_get_field("Extortion", val); strmid(SBizInfo[i][sbExtortion], val, 0, strlen(val), 255);
self_mysql_get_field("LevelNeeded", val); SBizInfo[i][sbLevelNeeded] = strval( val );
self_mysql_get_field("BuyPrice", val); SBizInfo[i][sbBuyPrice] = strval( val );
self_mysql_get_field("EntranceCost", val); SBizInfo[i][sbEntranceCost] = strval( val );
self_mysql_get_field("Till", val); SBizInfo[i][sbTill] = strval( val );
self_mysql_get_field("Locked", val); SBizInfo[i][sbLocked] = strval( val );
self_mysql_get_field("Products", val); SBizInfo[i][sbProducts] = strval( val );
self_mysql_get_field("MaxProducts", val); SBizInfo[i][sbMaxProducts] = strval( val );
self_mysql_get_field("PriceProd", val); SBizInfo[i][sbPriceProd] = strval( val );
}
mysql_free_result(MySQLConnection);
}
return 1;
}public LoadTankenBiz()
{
new string[128];
for(new i = 1; i < sizeof(TankenBizInfo); i++)
{
format(string, sizeof(string),"SELECT * FROM `tankenbiz` WHERE `TankenBizID` = '%d'", i);
self_mysql_query(string);
mysql_store_result(MySQLConnection);
if(mysql_num_rows(MySQLConnection) != 1)
{
mysql_fetch_row_format(string);
new val[ 256 ];
self_mysql_get_field("Owned", val); TankenBizInfo[i][TBOwned] = strval( val );
self_mysql_get_field("Owner", val); strmid(TankenBizInfo[i][TBOwner], val, 0, strlen(val), 255);
self_mysql_get_field("Message", val); strmid(TankenBizInfo[i][TBMessage], val, 0, strlen(val), 255);
self_mysql_get_field("Extortion", val); strmid(TankenBizInfo[i][TBExtortion], val, 0, strlen(val), 255);
self_mysql_get_field("LevelNeeded", val); TankenBizInfo[i][TBLevelNeeded] = strval( val );
self_mysql_get_field("KaufPreis", val); TankenBizInfo[i][TBKaufPreis] = strval( val );
self_mysql_get_field("Spritpreis", val); TankenBizInfo[i][TBSpritPreis] = strval( val );
self_mysql_get_field("Kasse", val); TankenBizInfo[i][TBKasse] = strval( val );
self_mysql_get_field("Locked", val); TankenBizInfo[i][TBLocked] = strval( val );
self_mysql_get_field("Products", val); TankenBizInfo[i][TBProducts] = strval( val );
self_mysql_get_field("MaxProducts", val); TankenBizInfo[i][TBMaxProducts] = strval( val );
self_mysql_get_field("ProdPreis", val); TankenBizInfo[i][TBProdPreis] = strval( val );
}
mysql_free_result(MySQLConnection);
printf("Eigentümer:%s Name:%s Spritpreis:%d Kasse:%d Produkte:%d/%d",
TankenBizInfo[i][TBOwner],
TankenBizInfo[i][TBMessage],
TankenBizInfo[i][TBSpritPreis],
TankenBizInfo[i][TBKasse],
TankenBizInfo[i][TBProducts],
TankenBizInfo[i][TBMaxProducts]);
print("Tanken laden");
}
return 1;
}forward LoadProperty();
forward LoadBiz();
forward LoadSBiz();
forward LoadTankenBiz();Bei OnGamemodeInit:
LoadProperty();
printf("OnGamemodeInt: LoadProperty");
LoadBiz();
printf("OnGamemodeInt: LoadBiz");
LoadSBiz();
printf("OnGamemodeInt: LoadSBiz");
LoadTankenBiz();
printf("OnGamemodeInt: LoadTankenBiz"); -
würd auch einen nehmen.
-
Hier:
public PayDay(i)
{
new string[128],
PaydayZinsen,
account,
Stromkosten,
HouseRent,
Respekt,
Zinsen,
playername[MAX_PLAYER_NAME];
if(IsPlayerConnected(i)){
if(PlayerInfo[i][pLevel] > 0){
if(PlayerInfo[i][pPayDay] >= 60){
new Level = PlayerInfo[i][pLevel];
if(Level >= 0 && Level <= 2) { PlayerInfo[i][pPayCheck] += 600; }
else if(Level >= 3 && Level <= 4) { PlayerInfo[i][pPayCheck] += 1000; }
else if(Level >= 5 && Level <= 6) { PlayerInfo[i][pPayCheck] += 1400; }
else if(Level >= 7 && Level <= 8) { PlayerInfo[i][pPayCheck] += 1800; }
else if(Level >= 9 && Level <= 10) { PlayerInfo[i][pPayCheck] += 2200; }
else if(Level >= 11 && Level <= 12) { PlayerInfo[i][pPayCheck] += 2600; }
else if(Level >= 13 && Level <= 14) { PlayerInfo[i][pPayCheck] += 3000; }
else if(Level >= 15 && Level <= 16) { PlayerInfo[i][pPayCheck] += 3600; }
else if(Level >= 17 && Level <= 18) { PlayerInfo[i][pPayCheck] += 4000; }
else if(Level >= 19 && Level <= 20) { PlayerInfo[i][pPayCheck] += 4400; }
else if(Level >= 21) { PlayerInfo[i][pPayCheck] += 5000; }
GetPlayerName(i, playername, sizeof(playername));
account = PlayerInfo[i][pBank];
new HouseKey = PlayerInfo[i][pPhousekey];
new BizKey = PlayerInfo[i][pBizKey];
if(HouseKey != -1){
HouseRent = HouseInfo[HouseKey][hRent];
if(strcmp(playername, HouseInfo[HouseKey][hOwner], true) == 0){HouseRent = 0;}
else if(HouseRent > PlayerInfo[i][pCash]){
PlayerInfo[i][pPhousekey] = -1;
SendClientMessage(i, COLOR_ERRORTEXT, " Dein Mieter hat dich aus der Wohnung geschmissen !");
HouseRent = 0;
}
HouseInfo[HouseKey][hKasse] += HouseRent;
}
if(PlayerInfo[i][pBank] > 0){
if(HouseKey != -1 && strcmp(playername, HouseInfo[HouseKey][hOwner], true) == 0 || BizKey != -1){
SendClientMessage(i, COLOR_ERRORTEXT, "Stromkosten: %s$,Stromosten !");
Stromkosten = PlayerInfo[i][pBank]/20000;
PlayerInfo[i][pBank] -= Stromkosten;
SBizInfo[4][sbTill] += Stromkosten/100*10;
ExtortionSBiz(4, Stromkosten/100*5);
}
else
{
Stromkosten = 0;
}
}
else
{
Stromkosten = 0;
}
PlayerInfo[i][pPayDayHad] += 1;
Respekt = MinRespekt;
new GehaltCheck = PlayerInfo[i][pPayCheck];
GivePlayerMoneys(i, GehaltCheck);
if(PlayerInfo[i][pDonatorRank] == 0)
{
if(PlayerInfo[i][pPayDayHad] >= 4)
{
if(PlayerInfo[i][pBikeLicPoints] >= 2)
{
PlayerInfo[i][pBikeLicPoints] -= 2;
}
else if(PlayerInfo[i][pBikeLicPoints] >= 1)
{
PlayerInfo[i][pBikeLicPoints] -= 1;
}
if(PlayerInfo[i][pCarLicPoints] >= 2)
{
PlayerInfo[i][pCarLicPoints] -= 2;
}
else if(PlayerInfo[i][pCarLicPoints] >= 1)
{
PlayerInfo[i][pCarLicPoints] -= 1;
}
}
if(PlayerInfo[i][pPayDayHad] == 1 || PlayerInfo[i][pPayDayHad] == 3)
{
PaydayZinsen = 1;
}
if(PlayerInfo[i][pPayDayHad] >= 4)
{
PlayerInfo[i][pPayDayHad] = 0;
}
Zinsen = MinZinsen;
}
else if(PlayerInfo[i][pDonatorRank] == 1)
{
if(PlayerInfo[i][pPayDayHad] >= 4)
{
if(PlayerInfo[i][pBikeLicPoints] >= 2)
{
PlayerInfo[i][pBikeLicPoints] -= 2;
}
else if(PlayerInfo[i][pBikeLicPoints] >= 1)
{
PlayerInfo[i][pBikeLicPoints] -= 1;
}
if(PlayerInfo[i][pCarLicPoints] >= 2)
{
PlayerInfo[i][pCarLicPoints] -= 2;
}
else if(PlayerInfo[i][pCarLicPoints] >= 1)
{
PlayerInfo[i][pCarLicPoints] -= 1;
}
}
if(PlayerInfo[i][pPayDayHad] == 2 || PlayerInfo[i][pPayDayHad] >= 4)
{
Respekt += 1;
}
if(PlayerInfo[i][pPayDayHad] == 1 || PlayerInfo[i][pPayDayHad] == 3)
{
PaydayZinsen = 1;
}
if(PlayerInfo[i][pPayDayHad] >= 4)
{
PlayerInfo[i][pPayDayHad] = 0;
}
Zinsen = MinZinsen;
}
else if(PlayerInfo[i][pDonatorRank] >= 2)
{
if(PlayerInfo[i][pPayDayHad] >= 4)
{
if(PlayerInfo[i][pBikeLicPoints] >= 2)
{
PlayerInfo[i][pBikeLicPoints] -= 2;
}
else if(PlayerInfo[i][pBikeLicPoints] >= 1)
{
PlayerInfo[i][pBikeLicPoints] -= 1;
}
if(PlayerInfo[i][pCarLicPoints] >= 2)
{
PlayerInfo[i][pCarLicPoints] -= 2;
}
else if(PlayerInfo[i][pCarLicPoints] >= 1)
{
PlayerInfo[i][pCarLicPoints] -= 1;
}
}
if(PlayerInfo[i][pPayDayHad] == 2 || PlayerInfo[i][pPayDayHad] >= 4)
{
Respekt += 2;
}
if(PlayerInfo[i][pPayDayHad] == 1 || PlayerInfo[i][pPayDayHad] == 3)
{
PaydayZinsen = 1;
}
if(PlayerInfo[i][pPayDayHad] >= 4)
{
PlayerInfo[i][pPayDayHad] = 0;
}
Zinsen = MinZinsen+1;
}
#pragma unused PaydayZinsen
#pragma unused Zinsen
new Steuern = (PlayerInfo[i][pLevel]*StuffInfo[sSteuern]);
PlayerInfo[i][pBank] -= Steuern;
PlayerInfo[i][pBank] -= HouseRent;
StuffInfo[sSteuerkasse] += Steuern;
StuffInfo[sEinnahmen] += Steuern;
SendClientMessage(i, COLOR_BEIGE, string);
SendClientMessage(i, COLOR_BEIGE, "|-----------------Gehalts-Check------------------|");
format(string, sizeof(string), " Gehalt: %s$ Steuern: -%s$", GetPoint(GehaltCheck), GetPoint(Steuern));
SendClientMessage(i, COLOR_GREY, string);
format(string, sizeof(string), " Neuer Stand: %s$", GetPoint(PlayerInfo[i][pBank]));
SendClientMessage(i, COLOR_BEIGE, string);
format(string, sizeof(string), " Alter Kontostand: %s$", GetPoint(account));
SendClientMessage(i, COLOR_BEIGE, string);
if(HouseRent > 0)
{
format(string, sizeof(string), " Miete: -$%d", HouseRent);
SendClientMessage(i, COLOR_BEIGE, string);
}
format(string, sizeof(string), "~y~PayDay~n~~w~Zahltag");
GameTextForPlayer(i, string, 5000, 1);
PlayerInfo[i][pRespekt] += Respekt;
PlayerInfo[i][pPayDay] = 0;
PlayerInfo[i][pPayCheck] = 0;
PlayerInfo[i][pConnectTime] += 1;
if(PlayerInfo[i][pFestPD]>=1){PlayerInfo[i][pFestPD]-=1;}
else if(!PlayerInfo[i][pFestPD] && PlayerInfo[i][pFestgeld] != 0)
{
new tmp_brx = floatround(float(PlayerInfo[i][pFestgeld])*0.035);
format(string,sizeof(string),"Die Bank dir $%d überwiesen + einen Zinssatz von ca. 3%% ($%d)", PlayerInfo[i][pFestgeld], tmp_brx);
SendClientMessage(i,-1,string);
PlayerInfo[i][pBank]+=tmp_brx;
PlayerInfo[i][pFestgeld]=0;
PlayerInfo[i][pFestPD]=0;
}
new exp = PlayerInfo[i][pRespekt], nxtlevel = PlayerInfo[i][pLevel]+1, expamount = nxtlevel*levelexp;
if(exp >= expamount)
{
GameTextForPlayer(i, "LEVEL UP", 5000, 0);
PlayerInfo[i][pLevel] += 1;
PlayerInfo[i][pRespekt] = 0;
}
if(PlayerInfo[i][pCarLicPoints] >= 10)
{
PlayerInfo[i][pCarLicPoints] = 0;
new wielange = (LicensSperreTage*24*60*60);
new Zeit = wielange+Time();
PlayerInfo[i][pCarLic] = Zeit;
PlayerInfo[i][pLKWLic] = Zeit;
SendClientMessage(i, COLOR_LIGHTBLUE, "Dir wurde vom Staat deine License zum Führen eines Fahrzeuges entzogen.");
}
if(PlayerInfo[i][pBikeLicPoints] >= 10)
{
PlayerInfo[i][pBikeLicPoints] = 0;
new wielange = (LicensSperreTage*24*60*60);
new Zeit = wielange+Time();
PlayerInfo[i][pBikeLic] = Zeit;
PlayerInfo[i][pLKWLic] = Zeit;
SendClientMessage(i, COLOR_LIGHTBLUE, "Dir wurde vom Staat deine License zum Führen eines Fahrzeuges entzogen.");
}
if(strcmp(PlayerInfo[i][pWerberName], "Niemand", true) != 0)
{
if(PlayerInfo[i][pConnectTime] >= 36)
{
ForAllPlayers(ii){
if(IsPlayerConnected(ii) && gPlayerLogged[ii]){
GetPlayerName(ii, playername, sizeof(playername));
new playername2[MAX_PLAYER_NAME];
if(strcmp(playername, PlayerInfo[i][pWerberName], true) == 0)
{
GetPlayerName(i, playername2, sizeof(playername2));
if(PlayerInfo[ii][pDonatorRank] == 2)
{
}
else
{
PlayerInfo[ii][pDonatorRank] = 1;
}
PlayerInfo[ii][pRespekt] += 2;
strmid(PlayerInfo[i][pWerberName], "Niemand", 0, strlen("Niemand"), 255);
format(string, sizeof(string), "[System Info] %s hat dich als Werber angegeben! Du erhälst 2 Respektpunkte.", playername2);
SendClientMessage(ii, COLOR_LIGHTBLUE2, string);
break;
}}}}}
}
}
}
return 1;
}public MinutenTimer()
{
new string[256];
if(UsersOnline > StuffInfo[sUserRekord])
{
StuffInfo[sUserRekord] = UsersOnline;
SaveStuff();
}
if(StuffInfo[sSteuerkasse] >= 1000000000)
{
StuffInfo[sSteuerkasse] = 990000000;
SaveStuff();
}
if(StuffInfo[sDrogenBank] >= 199000000)
{
StuffInfo[sDrogenBank] = 190000000;
SaveStuff();
}
if(!mysql_ping(MySQLConnection))
{
//mysql_reconnect(MySQLConnection);
mysql_connect(MySQL_Host, MySQL_User, MySQL_DB, MySQL_Passwort); // Hier ist der Test da er so nicht reconnectet
print("MySQL: Connection lost! -> MySQL reconnect!");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_YELLOW,"MySQL: Connection lost ! Alles was nun passiert wird nich mehr gespeichert.");
SendClientMessageToAll(COLOR_YELLOW,"MySQL: Versucht zu Connecten.");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_GRAD2,"");
SendClientMessageToAll(COLOR_GRAD2,"");
// SendRconCommand("gmx");
// print("MySQL: Connection lost! -> Automatischer Restart!");
}
for(new i = 0; i < sizeof(GangfightSystemInfo); i++){
if(GangfightSystemInfo[i][GFPauseTime] != -1)
{
GangfightSystemInfo[i][GFPauseTime] += 1;
}
if(GangfightSystemInfo[i][GFPauseTime] >= 1440)
{
GangfightSystemInfo[i][GFPauseTime] = -1;
}
if(GangfightSystemInfo[i][GFRunningTime] != -1)
{
GangfightSystemInfo[i][GFRunningTime] += 1;
if(GangfightSystemInfo[i][GFRunningTime] >= 120)
{
new OwnerTeamText[20];
if(GangfightSystemInfo[i][GFOwnerID] == 5) { OwnerTeamText = "La Cosa Nostra"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 6) { OwnerTeamText = "Yakuza"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 15) { OwnerTeamText = "Biker Boys"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 17) { OwnerTeamText = "Camorra"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 18) { OwnerTeamText = "V.L.Aztecas"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 19) { OwnerTeamText = "Grove Street"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 20) { OwnerTeamText = "Ballas"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 21) { OwnerTeamText = "West Coast Customs"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 22) { OwnerTeamText = "Triaden"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 23) { OwnerTeamText = "Red Soldiers"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 24) { OwnerTeamText = "L.S.Vagos"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 25) { OwnerTeamText = "Guerilla"; }
else if(GangfightSystemInfo[i][GFOwnerID] == 26) { OwnerTeamText = "Cali Kartell"; }
new GegnerTeamText[20];
if(GangfightSystemInfo[i][GFGegnerID] == 5) { GegnerTeamText = "La Cosa Nostra"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 6) { GegnerTeamText = "Yakuza"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 15) { GegnerTeamText = "Biker Boys"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 17) { GegnerTeamText = "Camorra"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 18) { GegnerTeamText = "V.L.Aztecas"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 19) { GegnerTeamText = "Grove Street"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 20) { GegnerTeamText = "Ballas"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 21) { GegnerTeamText = "West Coast Customs"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 22) { GegnerTeamText = "Triaden"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 23) { GegnerTeamText = "Red Soldiers"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 24) { GegnerTeamText = "L.S.Vagos"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 25) { GegnerTeamText = "Guerilla"; }
else if(GangfightSystemInfo[i][GFGegnerID] == 26) { GegnerTeamText = "Cali Kartell"; }
if(GangfightSystemInfo[i][GFOwnerPoints] >= GangfightSystemInfo[i][GFGegnerPoints])
{
format(string, sizeof(string), "NEWS: Die %s haben ihr Gebiet erfolgreich gegen die %s mit %d zu %d Kills verteidigt.", OwnerTeamText, GegnerTeamText, GangfightSystemInfo[i][GFOwnerPoints], GangfightSystemInfo[i][GFGegnerPoints]);
OOCNews(COLOR_NEWS, string);
}
else if(GangfightSystemInfo[i][GFGegnerPoints] > GangfightSystemInfo[i][GFOwnerPoints])
{
format(string, sizeof(string), "NEWS: Die %s haben das Gebiet der %s mit %d zu %d Kills erobert.", GegnerTeamText, OwnerTeamText, GangfightSystemInfo[i][GFGegnerPoints], GangfightSystemInfo[i][GFOwnerPoints]);
OOCNews(COLOR_NEWS, string);
GangfightSystemInfo[i][GFOwnerID] = GangfightSystemInfo[i][GFGegnerID];
}
KassenInfo[GangfightSystemInfo[i][GFOwnerID]][tKasse] += 10000;
GangfightSystemInfo[i][GFGegnerID] = -1;
GangfightSystemInfo[i][GFOwnerPoints] = 0;
GangfightSystemInfo[i][GFGegnerPoints] = 0;
GangfightSystemInfo[i][GFRunningTime] = -1;
GangfightSystemInfo[i][GFPauseTime] = 0;
GangZoneStopFlashForAll(GangfightSystemInfo[i][GFGangZoneID]);
GangZoneHideForAll(GangfightSystemInfo[i][GFGangZoneID]);
new GANGZONE_COLOR;
if(GangfightSystemInfo[i][GFOwnerID] == 5)
{
GANGZONE_COLOR = GANGCOLOR_LCN;
}
if(GangfightSystemInfo[i][GFOwnerID] == 6)
{
GANGZONE_COLOR = GANGCOLOR_YAKUZA;
}
if(GangfightSystemInfo[i][GFOwnerID] == 18)
{
GANGZONE_COLOR = GANGCOLOR_ATZTECAS;
}
if(GangfightSystemInfo[i][GFOwnerID] == 19)
{
GANGZONE_COLOR = GANGCOLOR_GROVESTREET;
}
if(GangfightSystemInfo[i][GFOwnerID] == 20)
{
GANGZONE_COLOR = GANGCOLOR_BALLAS;
}
if(GangfightSystemInfo[i][GFOwnerID] == 23)
{
GANGZONE_COLOR = GANGCOLOR_REDSOLDIER;
}
if(GangfightSystemInfo[i][GFOwnerID] == 24)
{
GANGZONE_COLOR = GANGCOLOR_VAGOS;
}
if(GangfightSystemInfo[i][GFOwnerID] == 25)
{
GANGZONE_COLOR = GANGCOLOR_GUERILLA;
}
if(GangfightSystemInfo[i][GFOwnerID] == 26)
{
GANGZONE_COLOR = GANGCOLOR_KARTEL;
}
if(GangfightSystemInfo[i][GFOwnerID] == 17)
{
GANGZONE_COLOR = GANGCOLOR_CAMORA;
}
if(GangfightSystemInfo[i][GFOwnerID] == 22)
{
GANGZONE_COLOR = GANGCOLOR_RIFA;
}
GangZoneShowForAll(GangfightSystemInfo[i][GFGangZoneID], GANGZONE_COLOR);
if(GangfightSystemInfo[i][GFGegnerID] != -1)
{
if(GangfightSystemInfo[i][GFGegnerID] == 5)
{
GANGZONE_COLOR = GANGCOLOR_LCN;
}
if(GangfightSystemInfo[i][GFGegnerID] == 6)
{
GANGZONE_COLOR = GANGCOLOR_YAKUZA;
}
if(GangfightSystemInfo[i][GFGegnerID] == 18)
{
GANGZONE_COLOR = GANGCOLOR_ATZTECAS;
}
if(GangfightSystemInfo[i][GFGegnerID] == 19)
{
GANGZONE_COLOR = GANGCOLOR_GROVESTREET;
}
if(GangfightSystemInfo[i][GFGegnerID] == 20)
{
GANGZONE_COLOR = GANGCOLOR_BALLAS;
}
if(GangfightSystemInfo[i][GFGegnerID] == 23)
{
GANGZONE_COLOR = GANGCOLOR_REDSOLDIER;
}
if(GangfightSystemInfo[i][GFGegnerID] == 24)
{
GANGZONE_COLOR = GANGCOLOR_VAGOS;
}
if(GangfightSystemInfo[i][GFGegnerID] == 25)
{
GANGZONE_COLOR = GANGCOLOR_GUERILLA;
}
if(GangfightSystemInfo[i][GFGegnerID] == 26)
{
GANGZONE_COLOR = GANGCOLOR_KARTEL;
}
if(GangfightSystemInfo[i][GFGegnerID] == 17)
{
GANGZONE_COLOR = GANGCOLOR_CAMORA;
}
if(GangfightSystemInfo[i][GFGegnerID] == 22)
{
GANGZONE_COLOR = GANGCOLOR_RIFA;
}
GangZoneFlashForAll(GangfightSystemInfo[i][GFGangZoneID], GANGZONE_COLOR);
}
}
}
}
if(Rob247Timer > 0)
{
Rob247Timer -= 1;
}
if(AdminChatClose > 0)
{
AdminChatClose -= 1;
}
if(TransporterRobTimer > 0)
{
TransporterRobTimer -= 1;
}
if(TeamDmTime > 0)
{
TeamDmTime--;
if(TeamDmTime == 0)
{
Team1User = 0;
Team2User = 0;
ForAllPlayers(i){
if(IsPlayerConnected(i)){
if(PlayerTeamPaintballing[i] != 0){
if(Team1pk > Team2pk)
{
SendClientMessage(i,COLOR_YELLOW,"Team Grün hat gewonnen");
}
if(Team2pk > Team1pk)
{
SendClientMessage(i,COLOR_YELLOW,"Team Blau hat gewonnen");
}
if(Team1pk == Team2pk)
{
SendClientMessage(i,COLOR_YELLOW,"Beide Teams haben die Gleichen Punkte, es gibt keinen Gewinner.");
}
SetPlayerPos(i,SBizInfo[13][sbEntranceX],SBizInfo[13][sbEntranceY],SBizInfo[13][sbEntranceZ]);
TextDrawHideForPlayer(i,TeamDMDraw);
PlayerTeamPaintballing[i] = 0;
SetPlayerToTeamColor(i);
SetPlayerInterior(i,0);
SetPlayerHealth(i, 50);
ResetPlayerWeapon(i);
}}}
Team1pk = 0;
Team2pk = 0;
format(string, sizeof(string), "~b~Blau: ~w~%d~n~~g~Grun: ~w~%d",Team2pk,Team1pk);
TextDrawSetString(Text:TeamDMDraw, string);
}
else
{
ForAllPlayers(i){
if(IsPlayerConnected(i)){
if(PlayerTeamPaintballing[i] != 0){
format(string, sizeof(string), "Team-Paintball endet in %d Minute(n)",TeamDmTime);
SendClientMessage(i,COLOR_YELLOW,string);
}}}}}
ForAllPlayers(i){
if(IsPlayerConnected(i)){
SetPlayerTime(i,Stunde,Minute);
if(AFKModus[i] == 0){
CheckTime(i);
SetPlayerWeather(i, 1);
if(PlayerInfo[i][pJailed] != 2){
PlayerInfo[i][pPayDay] += 1;
}
if(PlayerInfo[i][pPayDay] == 15 || PlayerInfo[i][pPayDay] == 30 || PlayerInfo[i][pPayDay] == 45 || PlayerInfo[i][pPayDay] == 60 || PlayerInfo[i][pPayDay] == 5 || PlayerInfo[i][pPayDay] == 10 || PlayerInfo[i][pPayDay] == 20 || PlayerInfo[i][pPayDay] == 25 || PlayerInfo[i][pPayDay] == 35 || PlayerInfo[i][pPayDay] == 40 || PlayerInfo[i][pPayDay] == 50 || PlayerInfo[i][pPayDay] == 55)
{
if(PlayerInfo[i][pPayDay] == 5 || PlayerInfo[i][pPayDay] == 10 || PlayerInfo[i][pPayDay] == 20 || PlayerInfo[i][pPayDay] == 25 || PlayerInfo[i][pPayDay] == 35 || PlayerInfo[i][pPayDay] == 40 || PlayerInfo[i][pPayDay] == 50 || PlayerInfo[i][pPayDay] == 55)
{
if(IsAWheelmanCar(GetPlayerVehicleID(i)) || IsAtVersteck(i))
{
WantedVerlieren(i);
}
}
else if(PlayerInfo[i][pPayDay] == 15 || PlayerInfo[i][pPayDay] == 30 || PlayerInfo[i][pPayDay] == 45 || PlayerInfo[i][pPayDay] == 60)
{
}}
if(WantedLoseAllow[i] > 0){WantedLoseAllow[i] -= 1;}
if(PlayerInfo[i][pFishes] >= 1){PlayerInfo[i][pFishes] -= 1;}
if(PlayerInfo[i][pPayDay] >= 60){PayDay(i);}
if(PlayerToPoint(1.0, i, AntiAFKSavePlayerPos[i][AntiAFKLastX], AntiAFKSavePlayerPos[i][AntiAFKLastY], AntiAFKSavePlayerPos[i][AntiAFKLastZ]))
{
AntiAFKTimer[i] += 1;
}
//new rand = random(20);
if(AntiAFKTime[i] == 0 && (/*rand == 10 || */AntiAFKTimer[i] == 10) || AntiAFKTime[i] == 0 && AntiAFKTimer[i] == 5 && PlayerInfo[i][pJailed] == 2)
{
AntiAFKTime[i] = 0;
}
GetPlayerPos(i, AntiAFKSavePlayerPos[i][AntiAFKLastX], AntiAFKSavePlayerPos[i][AntiAFKLastY], AntiAFKSavePlayerPos[i][AntiAFKLastZ]);
}
else
{
TogglePlayerControllable(i, 0);
}
}
}
ResetAutohausTimer += 1;
if(ResetAutohausTimer >= 10)
{
ResetAutohausCars();
ResetAutohausTimer = 0;
}
ResetArenenCars();
UpdateTime();
TicketsUpdate();
return 1;
}
public ProTimer()
{
for(new TimerID = 0; TimerID < MAX_TIMERS; TimerID++)
{
if(ProTimerInfo[TimerID][PTActive] == 1)
{
ProTimerInfo[TimerID][PTCountTime]++;
if(ProTimerInfo[TimerID][PTCountTime] >= ProTimerInfo[TimerID][PTTime])
{
CallLocalFunction(ProTimerInfo[TimerID][PTName], "");
ProTimerInfo[TimerID][PTCountTime] = 0;
if(ProTimerInfo[TimerID][PTWiederholung] == 0)
{
ProTimerInfo[TimerID][PTActive] = 0;
}
}
}
}
return 1;
} -
Guten Tag,
Hab folgendes Problem:[18:27:49] [debug] Server crashed while executing irp(3).amx
[18:27:49] [debug] AMX backtrace:
[18:27:49] [debug] #0 native SendClientMessage () from samp03svr
[18:27:49] [debug] #1 00089f74 in public PayDay (0) from irp(3).amx
[18:27:49] [debug] #2 0008783c in public MinutenTimer () from irp(3).amx
[18:27:49] [debug] #3 native CallLocalFunction () from samp03svr
[18:27:49] [debug] #4 001c5e74 in public ProTimer () from irp(3).amx
[18:27:49] [debug] Native backtrace:
[18:27:49] [debug] #0 f69aae8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[18:27:49] [debug] #1 f69a3bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[18:27:49] [debug] #2 f69a4dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[18:27:49] [debug] #3 f69a5226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[18:27:49] [debug] #4 f69aaadc in ?? () from plugins/crashdetect.so
[18:27:49] [debug] #5 f772d410 in ?? ()
[18:27:49] [debug] #6 f74b6034 in _IO_vfprintf () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[18:27:49] [debug] #7 f74d5d5c in vsprintf () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[18:27:49] [debug] #8 080abd01 in ?? () from ./samp03svr
[18:27:49] [debug] #9 080d7429 in ?? () from ./samp03svr
[18:27:49] [debug] #10 08094054 in ?? () from ./samp03svr
[18:27:49] [debug] #11 f69a694b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[18:27:49] [debug] #12 f69a98f8 in ?? () from plugins/crashdetect.so
[18:27:49] [debug] #13 f69ad916 in amx_Exec () from plugins/crashdetect.so
[18:27:49] [debug] #14 f69a5be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:27:49] [debug] #15 f69a9659 in ?? () from plugins/crashdetect.so
[18:27:49] [debug] #16 080dd0e2 in ?? () from ./samp03svr
[18:27:49] [debug] #17 08094054 in ?? () from ./samp03svr
[18:27:49] [debug] #18 f69a694b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[18:27:49] [debug] #19 f69a98f8 in ?? () from plugins/crashdetect.so
[18:27:49] [debug] #20 f69ad916 in amx_Exec () from plugins/crashdetect.so
[18:27:49] [debug] #21 f69a5be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:27:49] [debug] #22 f69a9659 in ?? () from plugins/crashdetect.so
[18:27:49] [debug] #23 080e6995 in ?? () from ./samp03svr
[18:27:49] [debug] #24 080ad69b in ?? () from ./samp03svr
[18:27:49] [debug] #25 080a88ce in ?? () from ./samp03svr
[18:27:49] [debug] #26 f7488e66 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[18:27:49] [debug] #27 0804b4d1 in ?? () from ./samp03svr -
Das ist eine Textur glaube ich
-
RespawnL folgend Deklariert:
forward respawnL(playerid);
public respawnL(playerid)
{
new car = GetPlayerVehicleID(playerid);
SetVehicleToRespawn(car);
SendClientMessage(playerid,COLOR_RED,"Da du ausgestiegen bist hast du die Linie automatisch abgebrochen!");
DisablePlayerCheckpoint(playerid);
Gas[car] = 100;
return 1;
}new buscars[6];
Folgende Errors:
for(new h = 0; h < sizeof(buscars); h++){//gg
if(GetPlayerVehicleID(playerid) == buscars[h]){
KillTimer (respawnL);
}}syntax error in the expression, or invalid function call
-
Mich würd interresieren ob das Oben gekennzeichnete selbst gemacht wurde oder nicht:
-
Dürfe ich erfahren ob der Grundbau selbst gemacht wurde oder ob das ein schon fast fertiger Grundbau war?
Zur Map einfach nur Geil
10/10 Punkte