OX

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
SysT3m
Nivel 2

Nivel 2
Mesaje: 176
Membru din: 28 Mai 2014, 17:40
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 1  
Medalii

Cum rezolv bugul la ox cand te misti de pe o pe x si invers nu il da afara.
Dau tanks
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

quest oxevent_manager begin
state start begin
when letter with pc.get_map_index()==113 begin
send_letter("Paraseste OX")
end
when button or info begin
say_title("Concursul OX")
say("Vrei sa parasesti harta OX?")
local s=select("Da", "Nu")
if s==2 then
send_letter("Paraseste OX")
return
end
local empire = pc.get_empire()
if empire== 1 then
pc.warp(433300, 219600)
elseif empire == 2 then
pc.warp(431500, 209200)
elseif empire == 3 then
pc.warp(439800, 211000)
end
end
when 20011.chat."Concursul OX" begin
say_title("Uriel")
say("Hey ,tu de acolo")
say("Da, da tu,vino pana aici!")
say("Hai sa iti arat ceva interesant")
say("Concursul OX.Eu te pot duce aici")
say("Si poti castiga premii interesante!")
say("A da...inca ceva,ai nevoie de lv 65!")
wait()
if game.get_event_flag("oxevent_status") == 0 then
say_title("Uriel")
say("Cand concursul va incepe eu te voi lasa")
say("sa intrii si sa le dovedesti ce stii tu.")
say("Fii atent ....curand va incepe!")
elseif game.get_event_flag("oxevent_status") == 1 then
say_title("Uriel")
say("Vrei sa participi?")
say("Aaa eram sa uit...poti sta si ca spectator...")
local s = select("Particip", "Spectator", "Renunt")
if s == 1 and pc.get_level() <65 then
say_title("Uriel")
say("Imi pare rau, dar nu ai Lv 65.")
say("Revino data viitoare, cand ai Lv 65!")
return
end
if s == 1 and pc.level >= 65 then
say_title("Uriel")
say("Chiar vrei sa participi?")
say("Bine - hai sa mergem.")
wait()
pc.warp(896500, 24600)
elseif s == 2 then
say_title("Uriel")
say("Doar Spectator?")
say("Bine - eu iti respect decizia.")
say("")
wait()
pc.warp(896300, 28900)
end
elseif game.get_event_flag("oxevent_status") == 2 then
say_title("Uriel")
say("Concursul OX a inceput deja")
say("si nu mai poti intra!")
say("Dar fii pregatit ca oricand poate")
say("sa inceapa un alt Concurs OX.")
say("Acum te pot lasa doar ca spectator!")
say("Vrei sa intrii ca spectator?")
local s = select("Da", "Renunt")
if s == 1 then
say_title("Uriel")
say("Hmm, Hmm, vrei sa te uiti?")
say("Bine te voi lasa sa te uiti!")
say("")
wait()
pc.warp(896300, 28900)
end
end
end
when 20358.chat."GM: OX-Panel" with pc.is_gm() begin
local stat = oxevent.get_status()
if stat == 0 then
say_title("Concursul OX")
say("Incepe OX?")
local s = select("Da", "Nu")
if s==2 then return end
local v = oxevent.open()
if v == 0 then
say_title("Concursul OX")
say("Nu am putut incarca oxquiz.lua .")
return
elseif v == 1 then
say_title("Concursul OX")
say("Concursul OX a inceput cu succes.")
server_timer("automatic1", 10*60, 113)
notice_all ( "Concursul OX a inceput !" )
notice_all ( "Fugi repede la Uriel si participa si tu!" )
else
say("Nu esti GM!")
return
end
elseif stat == 1 then
say_title("Concursul OX")
say("Usile inca sunt deschise.")
say("Jucatori intrati: "..oxevent.get_attender().." ")
say("")
local s = select("Inchide intrarea", "Inapoi")
if s == 1 then
notice_all("Portile concursului OX au fost inchise!")
oxevent.close()
end
elseif stat == 2 then
say_title("Concursul OX")
say("Optiuni:")
local s = select("Intrebari OX", "Premiu OX", "Inchide OX", "Anuleaza OX", "Inapoi")
if s == 1 then
local v = oxevent.quiz(1, 30)
if v == 0 then
say_title("Concursul OX")
say("Error2")
return
else
say_title("Concursul OX")
say("Intrebare adresata cu succes!")
return
end
elseif s == 2 then
say_title("Concursul OX")
say("Te rog sa pui in ID de Item.")
local item_vnum = input()
say_title("Concursul OX")
say("Introduceti numarul de articole.")
local item_count = input()
oxevent.give_item(item_vnum, item_count)
say_title("Concursul OX")
say(" "..oxevent.get_attender().." Castigatorii au primit "..item_count.."x")
say(item_name(item_vnum).." emis.")
notice_all ( "Jucatorii Din arena OX au primit " .. item_count .. "x " .. item_name ( item_vnum ) )
elseif s == 3 then
oxevent.end_event()
notice_all("Concursul OX s-a terminat.")
notice_all("Toti jucatorii vor fi teleportati in oras.")
setskin(0)
elseif s == 4 then
say_title("Concursul OX")
say("Renuntarea la OX poate crea probleme.")
say("Sigur vrei sa faci asta?")
local s = select("Da", "Nu")
if s == 1 then
oxevent.end_event_force()
end
elseif s == 5 then
return
end
elseif stat == 3 then
say_title("Concursul OX")
say("Acum este adresata o intrebare.")
else
say_title("Concursul OX")
say("Error4")
return
end
end
end
end
Vezi acuma.
https:/horus-maps.com
Afișează semnătura
Avatar utilizator
SysT3m
Nivel 2

Nivel 2
Mesaje: 176
Membru din: 28 Mai 2014, 17:40
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 1  
Medalii

o sa revin cu raspuns. Azi la ora 20:00 fac ox.
Avatar utilizator
WooOk
Nivel 1

Nivel 1
Mesaje: 98
Membru din: 22 Noi 2017, 13:24
Server: NewChallenge
Regat: Jinno
Aprecieri: 0
Mulţumiri: 6  
 Contact:
Medalii

Uite aici , am avut si eu problema asta.

Cod: Selectaţi tot

quest oxevent_manager begin
state start begin
when letter with pc.get_map_index()==113 begin
send_letter("Paraseste OX")
end
when button or info begin
say_title("Concursul OX")
say("Vrei sa parasesti harta OX?")
local s=select("Da", "Nu")
if s==2 then
send_letter("Paraseste OX")
return
end
local empire = pc.get_empire()
if empire== 1 then
pc.warp(433300, 219600)
elseif empire == 2 then 
pc.warp(431500, 209200)
elseif empire == 3 then 
pc.warp(439800, 211000)
end
end
when 20011.chat."Concursul OX" begin
say_title("Uriel")
say("Hey ,tu de acolo")
say("Da, da tu,vino pana aici!")
say("Hai sa iti arat ceva interesant")
say("Concursul OX.Eu te pot duce aici")
say("Si poti castiga premii interesante!")
say("A da...inca ceva,ai nevoie de lv 65!")
wait()
if game.get_event_flag("oxevent_status") == 0 then
say_title("Uriel")
say("Cand concursul va incepe eu te voi lasa")
say("sa intrii si sa le dovedesti ce stii tu.")
say("Fii atent ....curand va incepe!")
elseif game.get_event_flag("oxevent_status") == 1 then
say_title("Uriel")
say("Vrei sa participi?")
say("Aaa eram sa uit...poti sta si ca spectator...")
local s = select("Particip", "Spectator", "Renunt")
if s == 1 and pc.get_level() <65 then
say_title("Uriel")
say("Imi pare rau, dar nu ai Lv 65.")
say("Revino data viitoare, cand ai Lv 65!")
return
end
if s == 1 and pc.level >= 65 then
say_title("Uriel")
say("Chiar vrei sa participi?")
say("Bine - hai sa mergem.")
wait()
pc.warp(896500, 24600)
elseif s == 2 then
say_title("Uriel")
say("Doar Spectator?")
say("Bine - eu iti respect decizia.")
say("")
wait()
pc.warp(896300, 28900)
end
elseif game.get_event_flag("oxevent_status") == 2 then
say_title("Uriel")
say("Concursul OX a inceput deja")
say("si nu mai poti intra!")
say("Dar fii pregatit ca oricand poate")
say("sa inceapa un alt Concurs OX.")
say("Acum te pot lasa doar ca spectator!")
say("Vrei sa intrii ca spectator?")
local s = select("Da", "Renunt")
if s == 1 then
say_title("Uriel")
say("Hmm, Hmm, vrei sa te uiti?")
say("Bine te voi lasa sa te uiti!")
say("")
wait()
pc.warp(896300, 28900)
end
end
end
when 20358.chat."GM: OX-Panel" with pc.is_gm() begin	
local stat = oxevent.get_status()
if stat == 0 then
say_title("Concursul OX")
say("Incepe OX?")
local s = select("Da", "Nu")
if s==2 then return end
local v = oxevent.open()
if v == 0 then
say_title("Concursul OX")
say("Nu am putut incarca oxquiz.lua .")
return
elseif v == 1 then
say_title("Concursul OX")
say("Concursul OX a inceput cu succes.")
server_timer("automatic1", 10*60, 113)
notice_all ( "Concursul OX a inceput !" ) 
notice_all ( "Fugi repede la Uriel si participa si tu!" ) 
else
say("Nu esti GM!")
return
end
elseif stat == 1 then
say_title("Concursul OX")
say("Usile inca sunt deschise.")
say("Jucatori intrati: "..oxevent.get_attender().." ")
say("")
local s = select("Inchide intrarea", "Inapoi")
if s == 1 then
notice_all("Portile concursului OX au fost inchise!")
oxevent.close()	
end
elseif stat == 2 then
say_title("Concursul OX")
say("Optiuni:")
local s = select("Intrebari OX", "Premiu OX", "Inchide OX", "Anuleaza OX", "Inapoi")
if s == 1 then
local v = oxevent.quiz(1, 30)
if v == 0 then
say_title("Concursul OX")
say("Error2")
return	
else
say_title("Concursul OX")
say("Intrebare adresata cu succes!")
return
end
elseif s == 2 then
say_title("Concursul OX")
say("Te rog sa pui in ID de Item.")
local item_vnum = input()
say_title("Concursul OX")
say("Introduceti numarul de articole.")
local item_count = input()
oxevent.give_item(item_vnum, item_count)
say_title("Concursul OX")
say(" "..oxevent.get_attender().." Castigatorii au primit "..item_count.."x")	
say(item_name(item_vnum).." emis.")
notice_all ( "Jucatorii Din arena OX au primit " .. item_count .. "x " .. item_name ( item_vnum ) ) 
elseif s == 3 then	
oxevent.end_event()
notice_all("Concursul OX s-a terminat.")
notice_all("Toti jucatorii vor fi teleportati in oras.")
setskin(0)
elseif s == 4 then
say_title("Concursul OX")
say("Renuntarea la OX poate crea probleme.")
say("Sigur vrei sa faci asta?")
local s = select("Da", "Nu")
if s == 1 then
oxevent.end_event_force()
end
elseif s == 5 then
return
end
elseif stat == 3 then
say_title("Concursul OX")
say("Acum este adresata o intrebare.")
else
say_title("Concursul OX")
say("Error4")
return
end
end	
end
end
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

Subiect arhivat, autorul nu a dat nici un semn timp de 3zile.
https:/horus-maps.com
Afișează semnătura
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 136 vizitatori