server log after including fixes2
#1

Hi guys,
recently I included fixes2 include(and plugin) - https://sampforum.blast.hk/showthread.php?tid=571505
Server and timers work fine, but I have other problem. After I start the server, I see log(messages from server and print/printf functions) in console(I'm talking for Windows server) but when I open server_log.txt I see only this

Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[22.03.2016. 12:25:23] password = "" (string)
[22.03.2016. 12:25:23]
[22.03.2016. 12:25:23] Server Plugins
[22.03.2016. 12:25:23] --------------
[22.03.2016. 12:25:23] Loading plugin: crashdetect
[22.03.2016. 12:25:23] CrashDetect v4.15.1 is OK.
[22.03.2016. 12:25:23] Loaded.
[22.03.2016. 12:25:23] Loading plugin: fixes2
[22.03.2016. 12:25:23]

[22.03.2016. 12:25:23] ===============================

[22.03.2016. 12:25:23] fixes plugin loaded.

[22.03.2016. 12:25:23] © 2012 Alex "******" Cole

[22.03.2016. 12:25:23] ===============================
Why? I'm using 8 plugins, below is server.cfg
Quote:

echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 100
port 7777
hostname Kucni server
gamemode0 HRP 1
filterscripts TDE
plugins crashdetect fixes2 mysql streamer sscanf CTime whirlpool TDE
announce 1
query 1
chatlogging 0
weburl haswell-samp.web44.net
onfoot_rate 40
incar_rate 50
weapon_rate 40
stream_distance 200.00
stream_rate 1000
maxnpc 0
logtimeformat [%d.%m.%Y. %H:%M:%S]
messageholelimit 3000
logqueries 1
language HR-hr
password

I don't have any errors in script and server.

@ SECOND QUESTION

Does anybody have download links for timerfix(https://github.com/udan11/samp-plugin-timerfix) plugin? On GitHub I can download only include file and source files. I tried compile plugin for Windows but I don't have SDK. Thanks guys!
Reply
#2

Your log seems freezed, but as you said server continue running. Right?
Reply
#3

Yes. When I "unplug" plugin, it runs normal.
Also, I have problem with timer when I use fixes2(plugin only). Parametar _kamera for timer is always zero.

Код:
_HRP_CMD(testcam)
{
	new _kamera;
	if(sscanf(_params, "d", _kamera)) return (true);
	SetPlayerFacingAngle(_playerid, 310.00);
	switch(_kamera)
	{
		case 0: // NA KROVU L.A. ARENE
		{
			SetPlayerPos(_playerid,  2669.6633, -1751.8671, 36.5852);
			
			SetPlayerCameraPos(_playerid, 2672.3801, -1758.7853, 40.2160);
			SetPlayerCameraLookAt(_playerid, 2671.3955, -1758.9524, 40.0310);						
		}

		case 1: // ZGRADA PORED BANKE
		{
			SetPlayerPos(_playerid,  1405.7518, -1472.6769, 125.3672);
			
			SetPlayerCameraPos(_playerid, 1408.0811, -1477.3142, 126.9508);
			SetPlayerCameraLookAt(_playerid, 1407.0870, -1477.4117, 126.7508);						
		}

		case 2: // NA VRHU ZGRADE U RODEO KVARTU
		{
			SetPlayerPos(_playerid,  589.8210, -1481.6154, 80.1563);
			
			SetPlayerCameraPos(_playerid, 599.0934, -1478.3815, 85.3926);
			SetPlayerCameraLookAt(_playerid, 598.3483, -1477.7166, 85.3625);					
		}

		case 3: // NA VRHU KONSTRUKCIJE PORED SKATE PARKA
		{
			SetPlayerPos(_playerid,  1893.5349, -1324.8877, 49.4088);
			
			SetPlayerCameraPos(_playerid, 1895.5381, -1329.4221, 51.0881);
			SetPlayerCameraLookAt(_playerid, 1895.8969, -1328.4901, 50.9631);					
		}

		case 4: // KROV PIZZA STACKA
		{
			SetPlayerPos(_playerid,  2112.9502, -1790.4541, 22.2188);
			
			SetPlayerCameraPos(_playerid, 2116.1418, -1794.0623, 24.6638);
			SetPlayerCameraLookAt(_playerid, 2115.2693, -1794.5468, 24.618);					
		}

		case 5: // KOŠARKAŠKO IGRALIŠTE
		{
			SetPlayerPos(_playerid,  2322.3950, -1541.8126, 25.3438);
			
			SetPlayerCameraPos(_playerid, 2320.7024, -1547.7882, 29.3317);
			SetPlayerCameraLookAt(_playerid, 2320.0740, -1547.0115, 29.3867);					
		}

		case 6: // NADVOŽNJAK
		{
			SetPlayerPos(_playerid,  1622.5574, -1111.1586, 61.0234);
			
			SetPlayerCameraPos(_playerid, 1617.9465, -1117.0867, 62.3309);
			SetPlayerCameraLookAt(_playerid, 1617.5775, -1116.1583, 61.7160);					
		}

		case 7: // GYM NA PLAŽI
		{
			SetPlayerPos(_playerid,  666.8121, -1871.7465, 5.4609);
			
			SetPlayerCameraPos(_playerid, 666.4212, -1877.8949, 9.4934);
			SetPlayerCameraLookAt(_playerid, 665.4494, -1877.6656, 9.4084);					
		}

		case 8: // FONTANA NA GLAVNOM TRGU
		{
			SetPlayerPos(_playerid,  1490.5436, -1645.7990, 15.0395);
			
			SetPlayerCameraPos(_playerid, 1496.6299, -1646.4161, 17.8001);
			SetPlayerCameraLookAt(_playerid, 1496.3990, -1645.4449, 17.6751);					
		}

		case 9: // POGLED NA HOLLYWOOD NATPIS
		{
			SetPlayerPos(_playerid, 1471.2583, -1008.4384, 61.1703);
			
			SetPlayerCameraPos(_playerid, 1473.9495, -1013.6516, 63.1709);
			SetPlayerCameraLookAt(_playerid, 1474.8263, -1013.1736, 63.0760);			
		}										
	}	

	SetTimerEx("testtimer", 3500, 0, "dd", _playerid, _kamera);
	return (true);
}

forward testtimer(_playerid, _kamera);
public testtimer(_playerid, _kamera)
{
	switch(_kamera)
	{
		case 0: // NA KROVU L.A. ARENE
		{
			InterpolateCameraPos(_playerid, 2672.3801, -1758.7853, 40.2160, 2672.66333, -1752.362792, 36.360099, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 2671.3955, -1758.9524, 40.0310, 2669.663330, -1750.369018, 37.110202, 2000, CAMERA_MOVE);						
		}

		case 1: // ZGRADA PORED BANKE
		{
			InterpolateCameraPos(_playerid, 1408.0811, -1477.3142, 126.9508, 1408.751953, -1473.172485, 125.142097, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 1407.0870, -1477.4117, 126.7508, 1405.751953, -1471.178710, 125.892204, 2000, CAMERA_MOVE);						
		}

		case 2: // NA VRHU ZGRADE U RODEO KVARTU
		{
			InterpolateCameraPos(_playerid, 599.0934, -1478.3815, 85.3926, 592.820983, -1482.111083, 79.931198, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 598.3483, -1477.7166, 85.3625, 589.820983, -1480.117309, 80.681304, 2000, CAMERA_MOVE);					
		}

		case 3: // NA VRHU KONSTRUKCIJE PORED SKATE PARKA
		{
			InterpolateCameraPos(_playerid, 1895.5381, -1329.4221, 51.0881, 1896.535034, -1325.383544, 49.183700, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 1895.8969, -1328.4901, 50.9631, 1893.535034, -1323.389770, 49.933803, 2000, CAMERA_MOVE);					
		}

		case 4: // KROV PIZZA STACKA
		{
			InterpolateCameraPos(_playerid, 2116.1418, -1794.0623, 24.6638, 2115.950195, -1790.949829, 21.993700, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 2115.2693, -1794.5468, 24.6188, 2112.950195, -1788.956054, 22.743804, 2000, CAMERA_MOVE);					
		}

		case 5: // KOŠARKAŠKO IGRALIŠTE
		{
			InterpolateCameraPos(_playerid, 2320.7024, -1547.7882, 29.3317, 2325.395019, -1542.308227, 25.118700, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 2320.0740, -1547.0115, 29.3867,  2322.395019, -1540.314453, 25.868804, 2000, CAMERA_MOVE);					
		}

		case 6: // NADVOŽNJAK
		{
			InterpolateCameraPos(_playerid, 1617.9465, -1117.0867, 62.3309, 1625.557495, -1111.651367, 60.855701, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 1617.5775, -1116.1583, 61.7160, 1622.557495, -1109.662353, 61.523914, 2000, CAMERA_MOVE);					
		}

		case 7: // GYM NA PLAŽI
		{
			InterpolateCameraPos(_playerid, 666.4212, -1877.8949, 9.4934, 669.812072, -1872.242187, 5.235899, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 665.4494, -1877.6656, 9.4084, 666.812072, -1870.248413, 5.986003, 2000, CAMERA_MOVE);					
		}

		case 8: // FONTANA NA GLAVNOM TRGU
		{
			InterpolateCameraPos(_playerid, 1496.6299, -1646.4161, 17.8001, 1493.543457, -1646.294555, 14.814499, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 1496.3990, -1645.4449, 17.6751, 1490.543457, -1644.300781, 15.564603, 2000, CAMERA_MOVE);					
		}

		case 9: // POGLED NA HOLLYWOOD NATPIS
		{
			InterpolateCameraPos(_playerid, 1473.9495, -1013.6516, 63.1709, 1474.258300, -1008.934326, 60.945301, 2000, CAMERA_MOVE);
			InterpolateCameraLookAt(_playerid, 1474.8263, -1013.1736, 63.0760, 1471.258300, -1006.940551, 61.695404, 2000, CAMERA_MOVE);
		}										
	}	
	return (true);
}
Reply
#4

I fixed problem with "always zero" parameter. Only left problem with freezed log.
Reply
#5

Anybody? Everthing is fine but log gets freeze
Reply
#6

It's been a while since I used those "timerfix" plugins but all the source code (and binaries) is on GitHub. Try removing crashdetect from plugins when not needed. I also recommend trying Dan...'s timerfix plugin to which you linked to, something seemed to be messed about ******' IIRC.
Reply
#7

Thanks, I replaced fixes2 with timerfix plugin, it's same
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)