[Include] Timer Fix (seamlessly makes SetTimer very accurate)
#61

filterscripts\34342342.pwn(765) : fatal error 111: user error: Set your Restart Config before using please!!!!


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
how to fix this ?
Reply
#62

Quote:
Originally Posted by Inverse
Посмотреть сообщение
That it does. But then it also fucks up everything on linux. So as long as it doesn't get fixed, I'm going to stick with your include.
You can use TimerFix plugin by Dan..
Reply
#63

Slice, I have big problem !

I have this in server.log

And when i login in Server account, game freeze and CPU activity is 60-70 %

Quote:

[18:20:11] (TimerFix) ERROR: The function "Vracanje_Kamere" didn't properly execute, some timers might not have been called.

Code is

Код:
SetTimerHook("Vracanje_Kamere", Spawn[spawn_id][sAnimTrajanje], false, "id", playerid, spawn_id);
Код:
public Vracanje_Kamere(playerid, spawn_id)
{
	new inst_kod[25];
	
    gpci(playerid, inst_kod, 25);

	
	//GASENJE SPAWN ANIMACIJE
	ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);

	SetCameraBehindPlayer(playerid);
	
	Spawn[spawn_id][sEnble] = false;
	
	//UKOLIKO JE PROSLI PUT KRESALO
	if(Korisnik[playerid][pCrashed] == true)
	{
		SetTimerHook("CrashSpawn", 3000, false, "i", playerid);
	}

	//PROVJERA PRVE PRIJAVE
	if(!strcmp(Korisnik[playerid][pGPCI], "none", true))
	{
  		Korisnik[playerid][pGPCI_Kod] = false;
		
		strmid(Korisnik[playerid][pGPCI], inst_kod, 0, strlen(inst_kod), 30);
	
		ShowPlayerDialog(playerid,999,DIALOG_STYLE_MSGBOX,
		"Prva prijava",""BIJELA"Ovo računalo je zabiljeћeno kao glavno računalo Vaљeg računa.\nUkoliko se netko bude htio prijavit na Vaљ račun s drugog računala, morat će ukucat kod koji će biti poslan na Vaљ e-Mail.\n"ZUTA"Samo korisnici s visokom razinom zaљtite uz Premium Silver.\n"BIJELA"Za viљe pitanja posjetite "SPLAVA""FORUM""BIJELA" ili putem komande "PINK"/report"BIJELA".\n\nUgodnu igru Vam ћeli Haswell RolePlay tim.","OK","");

		SpremiKorisnika(playerid);
	}

	//UKOLIKO GPCI NIJE ISTI KAO KOD KOJI JE ZABILJEZEN KAO GLAVNI
	if(strcmp(Korisnik[playerid][pGPCI], inst_kod, true))
	{
		ShowPlayerDialog(playerid, DIALOG_SECURE_GPCI_QUE, DIALOG_STYLE_MSGBOX, "Sigurnosno pitanje - Računalo", ""BIJELA"Dali je ovo vaљe glavno računalo koje će te stalno\nkoristiti za prijavu na Vaљ korisnički racun?", "Da", "Ne");
	}

	return TogglePlayerControllable(playerid, true);
}
How I can fix this problem?

P.S.: Sorry for my bed English
Reply
#64

Wow nice, very usaful...
Reply
#65

great!
Reply
#66

Oh God.
Код HTML:
[14:08:11] [part] Denise5 has left the server (0:2)
[14:08:11] (TimerFix) WARNING: The function "KickHere" took 1081ms to execute! This will affect other timers.
Код HTML:
SetTimerEx("KickHere", 1000, false, "i", playerid);
public KickHere(playerid) {
	Kick(playerid);
	return 1;
}
Reply
#67

Quote:
Originally Posted by TitanZ
Посмотреть сообщение
Oh God.
Код HTML:
[14:08:11] [part] Denise5 has left the server (0:2)
[14:08:11] (TimerFix) WARNING: The function "KickHere" took 1081ms to execute! This will affect other timers.
Код HTML:
SetTimerEx("KickHere", 1000, false, "i", playerid);
public KickHere(playerid) {
	Kick(playerid);
	return 1;
}
Read the very FIRST line on this entire thread.
Reply
#68

Link is not working
Reply
#69

There is a problem while starting the server:
PHP код:
[debugRun time error 19"File or function is not found"
[debug]  IsValidTimer 
The plugin loaded successfully.

Anyone knows how to solve it?
Reply
#70

im already using this and its great !
Reply
#71

Download link of include was hidden?
Код:
http://%2A%2A%2A%2A%2A%2A%2A/a3PJz
Reply
#72

Quote:
Originally Posted by brayancamaroes
Посмотреть сообщение
Download link of include was hidden?
Код:
http://%2A%2A%2A%2A%2A%2A%2A/a3PJz
Was removed. Read the first line in the first post on the first page. It tells you what to use
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)