[BUG]-How to Clean Bugs in server like few?
#1

Hi guys i got [GM] using it on VPS and 0 Lag and I got some Bugs like House buy Logo's [PICK UP] is like sometimes doesn't appear on the door's + map so some people can't Buy house because of that and some other stuff like Suddenly
when i type something on the chat box it appears like after 20 sec Can someone help me for it please...



Problems:

-House Logo doesn't appear sometimes. - like when i drive car i so house and i bought + i restart my server, To check did it save it but i can't see some house pick ups there to buy + on the map but still some houses logos are there.

-When Teleporting Some place or To player - Object Buildings Load kind of Slow

-The Code Don't have Bugs i believe

This is my /teleport command

Код:
    }
	if(strcmp(cmd, "/teleport", true) == 0 || strcmp(cmd, "/tp", true) == 0)
	{
		if(PlayerInfo[playerid][pAdmin] >= 3)
		{
			if(dostup[playerid] != 1) return ShowPlayerDialog(playerid,2934,DIALOG_STYLE_INPUT, "Yцnetici yetkilendirme", "Sifreyi girin\n\nSifre latin harfleri ve rakamlar dan olusmali\n	Yukari 6 ila 15 sembol iзin olarak", "Giris", "Iptal");
			new listitems[] = "Yol servis istasyonu\nWinwood\nMerkezi SF\nMerkezi LV\nFBI\nYьkleyiciler Зalisma\nAzinlik Mahallesi\nOkul Sьrьs\nWood\nOtogar-2\nBaskanin ofisi\nBanka\nBцlge 51 Kontrol Noktalari\nCasino Bellagio\nAmmo LS\nUзak gemisi park\nOrdu 51 Anayasasi\nMotorlu-Tasit havuzu\nYarislari\nYцnetici kцyь\nAero LS\nPaintBall\nMotosiklet yarislari\nHapishane Ls\nHapishane Hilecileri";
			ShowPlayerDialog(playerid, 9000, DIALOG_STYLE_LIST, "Teleport List", listitems, "Seз","Kapat");
		}
		else
		{
 			SendClientMessage(playerid, COLOR_GREY, "Bu komutu kullanmak iзin yetkiniz yok!");
			return true;
		}
		return true;
	}
House:

Код:
stock BuyHouse()
{
	for(new h = 0; h < sizeof(HouseInfo); h++)
	{
		if(HouseInfo[h][hOwned] == 0)
		{
			DestroyDynamicMapIcon(HouseInfo[h][hMIcon]);
			DestroyPickup(HouseInfo[h][hPickup]);
			AddStaticPickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			pickups++;
			HouseInfo[h][hMIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, COLOR_WHITE, 0, -1, -1);
		}
		if(HouseInfo[h][hOwned] == 1)
		{
			DestroyDynamicMapIcon(HouseInfo[h][hMIcon]);
			DestroyPickup(HouseInfo[h][hPickup]);
  			AddStaticPickup(1272, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			pickups++;
			HouseInfo[h][hMIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 32, COLOR_WHITE, 0, -1, -1);
		}
	}
	return true;
}

Код:
	//============================== Таймеры ===================================
	synctimer = SetTimer("SyncUp", 5000, 1);
	unjailtimer = SetTimer("SetPlayerUnjail", 1000, 1);
	advertisetimer = SetTimer("AdvertiseTimer",350000,1);
	CheckCheatersTimer = SetTimer("CheckCheaters", 5000, 1);
	freshtimer = SetTimer("Fresh",1000,1);
	TT = SetTimer("CountEx", 5000,1);
	othtimer = SetTimer("OtherTimer", 3000, 1);
	Hptimer = SetTimer("HPCheck", 300000, 1);
	pickuptimer = SetTimer("CustomPickups", 3600, 1);
	GzCheckTimer = SetTimer("GzCheck",5000,1);
	MzCheckTimer = SetTimer("MzCheck",10000,1);
	//==========================================================================
Код:
public CustomPickups()
{
	new Float:oldposx, Float:oldposy, Float:oldposz;
	new string[128];
	new enters[256];
	NameTimer();
	DollahScoreUpdate();
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
			if(startaddiction[i] == 1)
			{
				if(PlayerInfo[i][pAddiction] >=1000)
				{
		    		if(send[i] == 0)
		    		{
						SendClientMessage(i, COLOR_REDD, "Size yikim basladi");
						SendClientMessage(i, COLOR_WHITE, "Dozu kabul etmek iзin: /usedrugs Veya hizli yol iзin: /c ");
						send[i] = 1;
					}
					ApplyAnimation(i, "CRACK", "crckdeth1", 4.0, 1, 0, 0, 0, 0);
					send[i] = 1;
				}
			}
			GetPlayerPos(i, oldposx, oldposy, oldposz);
			if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
			{
				for(new b = 0; b < sizeof(AvtoInfo); b++)
				{
					if (PlayerToPoint(1, i,AvtoInfo[b][abEntranceX], AvtoInfo[b][abEntranceY], AvtoInfo[b][abEntranceZ]))
					{
						if(AvtoInfo[b][abOwned] == 0)
						{
							format(enters,sizeof(enters), "Bir onarim kamyon satin almak ister misiniz?");
		   				 	ShowPlayerDialog(i,9829,DIALOG_STYLE_MSGBOX, "Onarim kamyon satiliyor", enters, "Evet", "Yok");
							return true;
						}
Reply
#2

Can anyone Help me? For this how the will come how to clean how to fix ?
Reply
#3

Why are you showing us server.cfg.. I don't get it.
Reply
#4

lol am just saying no [FS] and no +++ like how do i get Bug its just roleplay
Reply
#5

I hope you're joking... Else... pff...

Anyways, why do you think a pickup bug is from Server.cfg?
Dude, check your code... -.-..
Reply
#6

Quote:
Originally Posted by hydravink
Посмотреть сообщение
I hope you're joking... Else... pff...

Anyways, why do you think a pickup bug is from Server.cfg?
Dude, check your code... -.-..
OMG bro you like a joke ini am showing server.cfg Bcs like am saying NO [FS] and the problem might be in the [GM] or the sa-mp did you get it + I don;t know how to clean the bug so thats why i come here open new thread to ask ini so Any more question?
Reply
#7

Then check the gamemode... There might be the problem.
Reply
#8

Quote:
Originally Posted by hydravink
Посмотреть сообщение
Then check the gamemode... There might be the problem.
OMG BRO AM GETTING SICK PLEASE I BEG YOU BRO DON'T COMMENT YOU DON'T EVEN GET WHAT AM SAYING...

The problem is inside the [GM] and i ..::: DON'T:::.. Know how to ..:::FIX:::.. so i want someone to help Did you get or even if you didn't get it Don't comment if you don't know Stop ...:::SPAM:::.. on the post
Reply
#9

Quote:
Originally Posted by aslan890
Посмотреть сообщение
OMG BRO AM GETTING SICK PLEASE I BEG YOU BRO DON'T COMMENT YOU DON'T EVEN GET WHAT AM SAYING...

The problem is inside the [GM] and i ..::: DON'T:::.. Know how to ..:::FIX:::.. so i want someone to help Did you get or even if you didn't get it Don't comment if you don't know Stop ...:::SPAM:::.. on the post
There is something wrong with you! He is right. Why are even showing us your server.cfg? There is some problem in your gamemode.
Reply
#10

Quote:
Originally Posted by Mr.Anonymous
Посмотреть сообщение
There is something wrong with you! He is right. Why are even showing us your server.cfg? There is some problem in your gamemode.
OMG i can just say there like i don't use [FS] and this my things that i use if i say that people still asking like use plugin to spam the post and i get angry and i don't want swear so that is the reason get it ?

Plus if you try to help why should i get angry or blame on you?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)