PROBLEMA INEL ANTI EXP

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

Salut, am gasit un quest intr-un server (game) si l-am pus la mine dar primesc exp si cand e dezactivat, si cand e pornit..
quest anti_exp begin
	state start begin
		when 72501.use begin
			if pc.getqf("enabled") == 0 then
				pc.setqf("enabled", 1)
				syschat("Inelul Anti-Experienþã este activ, nu mai primiþi experienþã.")
			else
				pc.setqf("enabled", 0)
				syschat("Inelul Anti-Experienþã este dezactivat, primiþi experienþã.")
			end
		end
	end
end
La acest quest nu a[/S[/Sursa]ursa]m bug, doar ca imi da exp si cand il opresc.. la restul am bug
Aici bugu de la inel -> http://just4metin.ro/post467957.html#p467957
Pentru acest mesaj, Marin for the post:
deumada91
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Poftim, incearca-l pe acesta:

Cod: Selectaţi tot

quest inelantiexp begin
state start begin
when 72501.use begin
if pc.getqf("antiexp") == 0 then
pc.setqf("antiexp", 1)
chat("Inelul este activat. Punctele dvs. de experienţă sunt setate la 0 la fiecare 3 secunde.")
local exppeminus = pc.get_exp()
pc.give_exp2(-exppeminus)
timer("experienta", 3)
elseif pc.getqf("antiexp") == 1 then
pc.setqf("antiexp", 0)
chat("Inelul a fost dezactivat. Acum veţi primi experienţă!")
end
end 

when experienta.timer with pc.getqf("antiexp") == 1 begin
local exppeminus = pc.get_exp()
pc.give_exp2(-exppeminus)
timer("experienta1", 3)
pc.setqf("antiexp", 1)
end 

when experienta1.timer with pc.getqf("antiexp") == 1 begin
local exppeminus = pc.get_exp()
pc.give_exp2(-exppeminus)
timer("experienta", 3)
pc.setqf("antiexp", 1) 
end
end
end
Astept reply.
Pentru acest mesaj, [RaffaeL] for the post:
Marin
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

[RaffaeL] scrie:Poftim, incearca-l pe acesta:

Cod: Selectaţi tot

quest inelantiexp begin
state start begin
when 72501.use begin
if pc.getqf("antiexp") == 0 then
pc.setqf("antiexp", 1)
chat("Inelul este activat. Punctele dvs. de experienţă sunt setate la 0 la fiecare 3 secunde.")
local exppeminus = pc.get_exp()
pc.give_exp2(-exppeminus)
timer("experienta", 3)
elseif pc.getqf("antiexp") == 1 then
pc.setqf("antiexp", 0)
chat("Inelul a fost dezactivat. Acum veţi primi experienţă!")
end
end 

when experienta.timer with pc.getqf("antiexp") == 1 begin
local exppeminus = pc.get_exp()
pc.give_exp2(-exppeminus)
timer("experienta1", 3)
pc.setqf("antiexp", 1)
end 

when experienta1.timer with pc.getqf("antiexp") == 1 begin
local exppeminus = pc.get_exp()
pc.give_exp2(-exppeminus)
timer("experienta", 3)
pc.setqf("antiexp", 1) 
end
end
end
Astept reply.
Tot la fel, imi da lv 110
Pentru acest mesaj, Marin for the post:
deumada91
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

Am rezolvat, cu ajutorul lui [RafaeL]
Pentru acest mesaj, Marin for the post:
deumada91
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Rezolvat.Mutat in Probleme rezolvate.
Pentru acest mesaj, [RaffaeL] for the post:
Marin
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Închis
Răspunsuri
2
Vizualizări
210
Răspunsuri
3
Vizualizări
166
Răspunsuri
5
Vizualizări
714
Răspunsuri
3
Vizualizări
364

Înapoi la “Probleme rezolvate”

  • Informaţie