29.07.2012, 08:36
Well, when I try to start my server, all plugins are correct,everything what is needed, is there.
But it unloads directly after it starts.
I have really no clue why this is happening.
Here's my OnGameModeInit():
Server.cfg:
Also, when I look into Crashinfo.txt it says this:
But it unloads directly after it starts.
I have really no clue why this is happening.
Here's my OnGameModeInit():
pawn Код:
public OnGameModeInit()
{
//initiateVehicleSpawns();
//initiateHouseSpawns();
SetGameModeText("Trucking - Flying - Roleplay - Transport"); // Set the Mode of the gamemode, which appears in the list of servers
GameModeInit_VehiclesPickups(); // Add all static vehicles and pickups when the server starts that are required (also load the houses)
GameModeInit_Classes(); // Add character models to the class-selection (without weapons)
Convoys_Init(); // Setup textdraws and default data for convoys
ShowPlayerMarkers(1); // Show players on the entire map (and on the radar)
ShowNameTags(1); // Show player names (and health) above their head
ManualVehicleEngineAndLights(); // Let the server control the vehicle's engine and lights
EnableStuntBonusForAll(0); // Disable stunt bonus for all players
DisableInteriorEnterExits(); // Removes all building-entrances in the game
UsePlayerPedAnims(); // Use CJ's walking animation
// Start the timer that will show timed messages every 2 minutes
SetTimer("Timer_TimedMessages", 1000 * 60 * 2, true);
// Start the timer that will show a random bonus mission for truckers every 5 minutes
SetTimer("ShowRandomBonusMission", 1000 * 60 * 5, true);
//SetTimer("LaserPolice", 500, true);
// Start the timer that checks the toll-gates
SetTimer("Toll", 1000, true);
AutomaticGate1 = CreateObject(971, -1530.4000244141, 482.5, 9.6999998092651, 0, 0, 179);
AutomaticGate2 = CreateObject(3113, -1465.8000488281, 501.20001220703, 1.2000000476837, 0, 0, 0);
elevator = CreateObject(3115, -1456.6999511719, 501.29998779297, 9.8999996185303, 0, 0, 0); // main lift
elevator2 = CreateObject(3114, -1414.450439, 516.463256, 16.679368, 0.000000, 0.000000, 0.000000); // side lift
// Fix the bugged houses (after fixing the houses, you can remove this line, as it's not needed anymore)
//FixHouses();
// While the gamemode starts, start the global timer, and run it every second
SetTimer("GlobalTimer", 1000, true);
SetTimer("RandomWeather", RWTime , true);
tijd=TextDrawCreate(545, 31, "00:00");
TextDrawColor(tijd, COLOR_WHITE);
TextDrawSetOutline(tijd, 1);
TextDrawSetShadow(tijd, 1);
TextDrawFont(tijd, 3);
Tsec= 0;
THrs= 0;
SetTimer("TimeU",1000,true);
workBox = TextDrawCreate(320.000000, 143.000000, "~n~Do you want to work?~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~_");
TextDrawAlignment(workBox, 2);
TextDrawBackgroundColor(workBox, 255);
TextDrawFont(workBox, 2);
TextDrawLetterSize(workBox, 0.500000, 1.000000);
TextDrawColor(workBox, -1);
TextDrawSetOutline(workBox, 0);
TextDrawSetProportional(workBox, 1);
TextDrawSetShadow(workBox, 1);
TextDrawUseBox(workBox, 1);
TextDrawBoxColor(workBox, 255);
TextDrawTextSize(workBox, 45.000000, 115.000000);
workyes = TextDrawCreate(320.000000, 180.000000, "Yes");
TextDrawAlignment(workyes, 2);
TextDrawBackgroundColor(workyes, 255);
TextDrawFont(workyes, 2);
TextDrawLetterSize(workyes, 0.260000, 0.799999);
TextDrawColor(workyes, -1);
TextDrawSetOutline(workyes, 0);
TextDrawSetProportional(workyes, 1);
TextDrawSetShadow(workyes, 1);
workno = TextDrawCreate(320.000000, 205.000000, "No");
TextDrawAlignment(workno, 2);
TextDrawBackgroundColor(workno, 255);
TextDrawFont(workno, 2);
TextDrawLetterSize(workno, 0.260000, 0.799999);
TextDrawColor(workno, -1);
TextDrawSetOutline(workno, 0);
TextDrawSetProportional(workno, 1);
TextDrawSetShadow(workno, 1);
TextDrawSetSelectable(workBox, false);
TextDrawSetSelectable(workyes, true);
TextDrawSetSelectable(workno, true);
print("[ACP]: Aircraft panel is now loading!");
print("[ACP]: Loading MapAndreas...");
new iTick = GetTickCount();
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
printf("[ACP]: MapAndreas has loaded! Took %d ms.", GetTickCount() - iTick);
print("[ACP]: Setting timer.");
UpdateTimer = SetTimer("AircraftUpdate", 100, true);
print("[ACP]: Timer has been set!");
print("[ACP]: Aircraft panel by Bicentric has loaded!");
mysql_connect(SQL_HOST,SQL_USER,SQL_DB,SQL_PASS);
return 1;
}
Код:
echo Executing Server Config... lanmode 0 rcon_password ******* password asfkjKJSFHLKiur030214)(* maxplayers 500 port 7777 hostname Transporter Roleplay [TESTING] gamemode0 ******** 1 plugins streamer sscanf mysql Whirlpool MapAndreas announce 0 filterscripts query 1 weburl www.transrp.tk onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S]
Код:
SA-MP Server: 0.3e Exception At Address: 0x77E9DFE4 Module: (ntdll.dll) Registers: EAX: 0x05E60018 EBX: 0x05E60020 ECX: 0x6C3E22E4 EDX: 0x00290174 ESI: 0x007C0000 EDI: 0x00000000 EBP: 0x0018FDC8 ESP: 0x0018FDB8 EFLAGS: 0x00010246 Stack: +0000: 0x6C3E22E4 0x002915A0 0x01FBE838 0x00000000 +0010: 0x0018FDDC 0x761314DD 0x007C0000 0x00000000 +0020: 0x05E60020 0x0018FDF0 0x6C3D1671 0x007C0000 +0030: 0x00000000 0x05E60020 0x76133498 0x6C3D143C +0040: 0x05E60020 0x00291568 0x6C3D150A 0x6C3D15BD +0050: 0x02014F00 0x00000000 0x0046972B 0x01FBE838 +0060: 0xFFFFFFFF 0x004AFFD2 0x00000000 0x01FBE838 +0070: 0x0018FEA4 0x004A405E 0x00000000 0x00486737 +0080: 0x00000000 0x00001DB1 0x0018FF88 0x7EFDE000 +0090: 0x0000E000 0x00010101 0x000001F4 0x00001E61 +00A0: 0x000000E0 0x00000E3C 0x00298E88 0x656D6167 +00B0: 0x65646F6D 0x00003531 0x004BB014 0x004BB010 +00C0: 0x7EFDE000 0x004A4710 0x0018FE70 0x0018FF78 +00D0: 0x0018FF78 0x004965F8 0x004B13D8 0xFFFFFFFF +00E0: 0x00494881 0x00494891 0x004A4710 0x0018FF78 +00F0: 0x004A43A1 0xFFFFFFFF 0x00496095 0x00000001 +0100: 0x00291938 0x00291980 0x00000094 0x00000006 +0110: 0x00000001 0x00001DB1 0x00000002 0x76726553 +0120: 0x20656369 0x6B636150 0x00003120 0x00000000 +0130: 0x00000000 0x00000000 0x00000000 0x00000000 -------------------------- Loaded Modules: samp-server.exe A: 0x00400000 - 0x004EE000 (C:\Users\Barbara\Desktop\SAMP Kevin\hoi\samp-server.exe) ntdll.dll A: 0x77E70000 - 0x77FF0000 (C:\Windows\SysWOW64\ntdll.dll) kernel32.dll A: 0x76120000 - 0x76230000 (C:\Windows\syswow64\kernel32.dll) KERNELBASE.dll A: 0x757A0000 - 0x757E6000 (C:\Windows\syswow64\KERNELBASE.dll) SHELL32.dll A: 0x76940000 - 0x7758A000 (C:\Windows\syswow64\SHELL32.dll) msvcrt.dll A: 0x755B0000 - 0x7565C000 (C:\Windows\syswow64\msvcrt.dll) SHLWAPI.dll A: 0x76660000 - 0x766B7000 (C:\Windows\syswow64\SHLWAPI.dll) GDI32.dll A: 0x757F0000 - 0x75880000 (C:\Windows\syswow64\GDI32.dll) USER32.dll A: 0x76710000 - 0x76810000 (C:\Windows\syswow64\USER32.dll) ADVAPI32.dll A: 0x75DC0000 - 0x75E60000 (C:\Windows\syswow64\ADVAPI32.dll) sechost.dll A: 0x766F0000 - 0x76709000 (C:\Windows\SysWOW64\sechost.dll) RPCRT4.dll A: 0x76230000 - 0x76320000 (C:\Windows\syswow64\RPCRT4.dll) SspiCli.dll A: 0x75550000 - 0x755B0000 (C:\Windows\syswow64\SspiCli.dll) CRYPTBASE.dll A: 0x75540000 - 0x7554C000 (C:\Windows\syswow64\CRYPTBASE.dll) LPK.dll A: 0x77E40000 - 0x77E4A000 (C:\Windows\syswow64\LPK.dll) USP10.dll A: 0x768A0000 - 0x7693D000 (C:\Windows\syswow64\USP10.dll) WSOCK32.dll A: 0x72760000 - 0x72767000 (C:\Windows\system32\WSOCK32.dll) WS2_32.dll A: 0x76010000 - 0x76045000 (C:\Windows\syswow64\WS2_32.dll) NSI.dll A: 0x75790000 - 0x75796000 (C:\Windows\syswow64\NSI.dll) WINMM.dll A: 0x726F0000 - 0x72722000 (C:\Windows\system32\WINMM.dll) IMM32.DLL A: 0x75880000 - 0x758E0000 (C:\Windows\system32\IMM32.DLL) MSCTF.dll A: 0x76050000 - 0x7611C000 (C:\Windows\syswow64\MSCTF.dll) nvinit.dll A: 0x753D0000 - 0x75408000 (c:\windows\syswow64\nvinit.dll) detoured.dll A: 0x0F000000 - 0x0F006000 (C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\detoured.dll) nvd3d9wrap.dll A: 0x703F0000 - 0x7042D000 (C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll) SETUPAPI.dll A: 0x76320000 - 0x764BD000 (C:\Windows\syswow64\SETUPAPI.dll) CFGMGR32.dll A: 0x75BE0000 - 0x75C07000 (C:\Windows\syswow64\CFGMGR32.dll) OLEAUT32.dll A: 0x75E60000 - 0x75EEF000 (C:\Windows\syswow64\OLEAUT32.dll) DEVOBJ.dll A: 0x77590000 - 0x775A2000 (C:\Windows\syswow64\DEVOBJ.dll) nvdxgiwrap.dll A: 0x703C0000 - 0x703EF000 (C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvdxgiwrap.dll) NLAapi.dll A: 0x714D0000 - 0x714E0000 (C:\Windows\system32\NLAapi.dll) napinsp.dll A: 0x714C0000 - 0x714D0000 (C:\Windows\system32\napinsp.dll) pnrpnsp.dll A: 0x714A0000 - 0x714B2000 (C:\Windows\system32\pnrpnsp.dll) mswsock.dll A: 0x723C0000 - 0x723FC000 (C:\Windows\System32\mswsock.dll) DNSAPI.dll A: 0x71450000 - 0x71494000 (C:\Windows\system32\DNSAPI.dll) winrnr.dll A: 0x71440000 - 0x71448000 (C:\Windows\System32\winrnr.dll) WLIDNSP.DLL A: 0x71410000 - 0x71437000 (C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL) PSAPI.DLL A: 0x75B70000 - 0x75B75000 (C:\Windows\syswow64\PSAPI.DLL) wshbth.dll A: 0x71400000 - 0x7140D000 (C:\Windows\system32\wshbth.dll) mdnsNSP.dll A: 0x713D0000 - 0x713F1000 (C:\Program Files (x86)\Bonjour\mdnsNSP.dll) Iphlpapi.DLL A: 0x742A0000 - 0x742BC000 (C:\Windows\system32\Iphlpapi.DLL) WINNSI.DLL A: 0x74290000 - 0x74297000 (C:\Windows\system32\WINNSI.DLL) rasadhlp.dll A: 0x70E40000 - 0x70E46000 (C:\Windows\system32\rasadhlp.dll) MapAndreas.DLL A: 0x6C3D0000 - 0x6C3E7000 (C:\Users\Barbara\Desktop\SAMP Kevin\hoi\plugins\MapAndreas.DLL) wshtcpip.dll A: 0x723B0000 - 0x723B5000 (C:\Windows\System32\wshtcpip.dll)