PROBLEMA INEL TELEPORT

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
AllexRo
Nou Venit

Nou Venit
Mesaje: 45
Membru din: 16 Mar 2018, 01:43
Aprecieri: 2  
Mulţumiri: 0
Medalii

*Problemă:Problema la questul de teleport
Tipologie server:
*Resursă folosită:
*ServerFiles utilizat:
*Syserr:
ABBC3_SPOILER_SHOW

Poză:
*Detalii suplimentare:Questul meu e asta:
local x
local y
local t
local e = pc . get_empire ( )
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
local s1 = select ( "Map1" , "Map2" , "Valea Orcilor" , "Desert" , "Sohan" , "Tara de foc" , "Urmatoarele" )
if s1 == 7 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
local s2 = select ( "Turnul Demonilor" , "V2" , "Grota Exilului" , "V4" , "Lungsam" , "Padurea Rosie" , "Urmatoarele" )
if s2 == 1 then
x = "590400"
y = "110500"
elseif s2 == 2 then
x = "704100"
y = "464100"
elseif s2 == 3 then
x = "284200"
y = "809600"
elseif s2 == 4 then
x = "241600"
y = "1274600"
elseif s2 == 5 then
x = "1119900"
y = "70800"
elseif s2 == 6 then
x = "287800"
y = "42500"
elseif s2 == 7 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
local s3 = select ( "Mapa Farm" , "Mapa 100-130" , "Mapa 130-160" , "Mapa 160-190" , "Mapa 190-220" , "Mapa 220-250" , "Inchide" )
if s3 == 1 and pc . level <= 100 then
x = "1211200"
y = "19900"
elseif s3 == 1 and pc . level > 100 then
say_title ( "Teleporter" )
say ( "Nu te pot teleporta , deoarece levelul tau este prea mare" )
elseif s3 == 2 and pc . level >= 100 then
x = "665600"
y = "230400"
elseif s3 == 2 and pc . level < 100 then
say_title ( "Teleporter" )
say ( "Nu te pot teleporta decat atunci cand vei ajunge la Nivelul 100" )
elseif s3 == 3 and pc . level >= 130 then
x = "719100"
y = "261300"
elseif s3 == 2 and pc . level < 130 then
say_title ( "Teleporter" )
say ( "Nu te pot teleporta decat atunci cand vei ajunge la Nivelul 130" )
elseif s3 == 4 and pc . level >= 160 then
x = "768000"
y = "230400"
elseif s3 == 4 and pc . level < 160 then
say_title ( "Teleporter" )
say ( "Nu te pot teleporta decat atunci cand vei ajunge la Nivelul 160" )
elseif s3 == 5 and pc . level >= 190 then
x ="2302100"
y ="2084000"
elseif s3 == 5 and pc . level < 190 then
say_title ( "Teleporter" )
say ( "Nu te pot teleporta decat atunci cand vei ajunge la Nivelul 190" )
elseif s3 = == 6 and pc . level >= 220 then
x ="1024000"
y ="1664000"
elseif s3 == 6 and pc . level < 220 then
say_title ( "Teleporter" )
say ( "Nu te pot teleporta decat atunci cand vei ajunge la Nivelul 220" )
elseif s3 == 7 then
end
elseif s1 == 1 then
say_title ( "Teleporter" )
say ( "Încotro vrei sa mergi straine?" )
regat1 = select ( "Regatul Rosu" , "Regatul Galben" , "Regatul Albastru" , "Închide" )
if regat1 == 1 then
x = "473900"
y = "954600"
elseif regat1 == 2 then
x = "63200"
y = "166700"
elseif regat1 == 3 then
x = "959600"
y = "269700"
end
elseif s1 == 2 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
regat2 = select ( "Regatul Rosu" , "Regatul Galben" , "Regatul Albastru" , "Închide" )
if regat2 == 1 then
x = "352300"
y = "882700"
elseif regat2 == 2 then
x = "145700"
y = "239800"
elseif regat2 == 3 then
x = "863800"
y = "246000"
end
elseif s1 == 3 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
orc = select ( "Început" , "Centru" , "Arahani" , "Închide" )
if orc == 1 then
if e == 1 then
x = "402100"
y = "673900"
elseif e == 2 then
x = "270400"
y = "739900"
elseif e == 3 then
x = "321300"
y = "808000"
end
elseif orc == 2 then
x = "332700"
y = "745600"
elseif orc == 3 then
x = "282800"
y = "792800"
end
elseif s1 == 4 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
desert = select ( "Inceput" , "Sfârsit" , "Închide" )
if desert == 1 then
if e == 1 then
x = "217800"
y = "627200"
elseif e == 2 then
x = "221900"
y = "502700"
elseif e == 3 then
x = "344000"
y = "502500"
end
elseif desert == 2 then
x = "296300"
y = "547500"
end
elseif s1 == 5 then
say_title ( "Teleporter" )
say ( "Încotro vrei sa mergi straine?" )
mtg = select ( "Început" , "Mijloc" , "Închide" )
if mtg == 1 then
if e == 1 then
x = "434200"
y = "290600"
elseif e == 2 then
x = "375200"
y = "174900"
elseif e == 3 then
x = "491800"
y = "173600"
end
elseif mtg == 2 then
x = "436200"
y = "215300"
end
elseif s1 == 6 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
foc = select ( "Început" , "Închide" )
if foc == 1 then
if e == 1 then
x = "599400"
y = "756300"
elseif e == 2 then
x = "597800"
y = "622200"
elseif e == 3 then
x = "730700"
y = "689800"
end
elseif foc == 2 then
return
end
end
if s1 ~= 8 or s2 ~= 7 or s3 ~= 8 then
pc . warp ( x , y )
end


Ma poate ajuta cineva? De data asta macar?
Avatar utilizator
yonr1
Nivel 4

Nivel 4
Mesaje: 677
Membru din: 03 Dec 2013, 08:42
Aprecieri: 297  
Mulţumiri: 30  
  Rezolvări prob.: 14
Medalii

Cod: Selectaţi tot

quest teleporters begin
   state start begin
      when 70007.use begin
         local x
         local y
         local t
         local e = pc.get_empire()
         say_title("Teleporter:")
         say("Incotro vrei sa mergi straine?")
         local s = select("Map1", "Map2", "Valea Orcilor", "Desert", "Sohan", "Tara de foc", "Urmatoarele", "Inchide")
         if s==7 then
            say_title("Teleporter:")
            say("Incotro vrei sa mergi straine?")
            local p = select("Turnul Demonilor", "V1", "Padurea Fantomelor", "Padurea Rosie", "Tara Gigantilor", "Grota Exilului", "Inchide")
            if p==1 then
               x="590400"
               y="110500"
            elseif p==2 then
               x="91900"
               y="525400"
            elseif p==3 then
               x="289000"
               y="5800"
            elseif p==4 then
               say_title("Teleporter")
               say("Incotro vrei sa mergi straine?")
               t = select("Inceput", "Sfarsit", "Inchide")
               if t==1 then
                  x="1119900"
                  y="70800"
               elseif t==2 then
                  x="1119200"
                  y="7000"
               end
            elseif p==5 then
               x="828100"
               y="763400"
            elseif p==6 then
               x="284200"
               y="809600"
            end
         elseif s==1 then
            say_title("Teleporter")
            say("Incotro vrei sa mergi straine?")
            t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru","Inchide")
            if t==1 then
               x="473900"
               y="954600"
            elseif t==2 then
               x="63200"
               y="166700"
            elseif t==3 then
               x="959600"
               y="269700"
            end
         elseif s==2 then
            say_title("Teleporter:")
            say("Incotro vrei sa mergi straine?")
            t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru", "Inchide")
            if t==1 then
               x="352300"
               y="882700"
            elseif t==2 then
               x="145700"
               y="239800"
            elseif t==3 then
               x="863800"
               y="246000"
            end
         elseif s==3 then
            say_title("Teleporter:")
            say("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Centru", "Arahani", "Inchide")
            if t==1 then
               if e==1 then
                  x="402100"
                  y="673900"                  
               elseif e==2 then
                  x="270400"
                  y="739900"
               elseif e==3 then
                  x="321300"
                  y="808000"
               end
            elseif t==2 then
               x="332700"
               y="745600"
            elseif t==3 then
               x="282800"
               y="792800"
            end
         elseif s==4 then
            say_title("Teleporter:")
            say("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Sfarsit", "Inchide")
            if t==1 then
               if e==1 then
                  x="217800"
                  y="627200"                  
               elseif e==2 then
                  x="221900"
                  y="502700"
               elseif e==3 then
                  x="344000"
                  y="502500"
               end
            elseif t==2 then
               x="296300"
               y="547500"
            end
         elseif s==5 then
            say_title("Teleporter")
            say("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Mijloc", "Inchide")
            if t==1 then
               if e==1 then
                  x="434200"
                  y="290600"                  
               elseif e==2 then
                  x="375200"
                  y="174900"
               elseif e==3 then
                  x="491800"
                  y="173600"
               end
            elseif t==2 then
               x="436200"
               y="215300"
            end         
         elseif s==6 then
            say_title("Teleporter:")
            say("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Inchide")
            if t==1 then
               if e==1 then
                  x="599400"
                  y="756300"                  
               elseif e==2 then
                  x="597800"
                  y="622200"
               elseif e==3 then
                  x="730700"
                  y="689800"
               end
            elseif t==2 then
               return
            end
         end         
         if s!=8 or p!= 7 then
            pc.warp(x, y)
         end
      end
   end
end
[ Postat de pe Android ] Imagine
Imagine
Afișează semnătura
Avatar utilizator
antoce
Nivel 1

Nivel 1
Mesaje: 108
Membru din: 24 Noi 2018, 19:53
Regat: Jinno
Aprecieri: 2  
Mulţumiri: 3  
Medalii

esti sigur ca asta este tot questul tau? ai lipsuri...... tia dat colegu quest complet
Avatar utilizator
AllexRo
Nou Venit

Nou Venit
Mesaje: 45
Membru din: 16 Mar 2018, 01:43
Aprecieri: 2  
Mulţumiri: 0
Medalii

Salut , da acesta e questul meu , e modificat , pentru un server de level max 250 ,
Serverul e functional , si as dori sa fac mapele de la map farm pana la aia de 250 sa fie cu level , gen , ai level 100 si vrei sa intri mapa de 130 sa nu poti
Avatar utilizator
yonr1
Nivel 4

Nivel 4
Mesaje: 677
Membru din: 03 Dec 2013, 08:42
Aprecieri: 297  
Mulţumiri: 30  
  Rezolvări prob.: 14
Medalii

Poti nodifica acest quest NPC cum vrei pentru mapele tale si de la ce lv sa intri in ele.

Cod: Selectaţi tot

 quest betamapwarp begin
    state start begin
        when 20095.chat."Bay Black Sand (Lv. 95)" with pc.get_level() > 94 begin
            say_title("Bay Black Sand")
            say("")
            say("Este un loc frumos..")
            say("Dar foarte foarte periculos,")
            say("Deci sigur doresti sa mergi acolo?")
            say("")
            say_reward("Sigur vrei sa te teleportezi?")
         
            local s1=select("Da","Nu")
            if s1 == 1 then
                pc.warp(1087000, 1655400)
            else
                return
            end         
        end
        when 20095.chat."Cape Dragon Head (Lv. 99)" with pc.get_level() >= 99 begin
            say_title("Cape Dragon Head")
            say("")
            say("Este un loc frumos..")
            say("Dar foarte foarte periculos,")
            say("Deci sigur doresti sa mergi acolo?")
            say("")
            say_reward("Sigur vrei sa te teleportezi?")
         
            local s1=select("Da","Nu")
            if s1 == 1 then
                pc.warp(1084600, 1784400)
            else
                return
            end         
        end
        when 20095.chat."Dawn Mist Wood (Lv. 110)" with pc.get_level() > 109 begin
            say_title("Dawn Mist Wood")
            say("")
            say("Este un loc frumos..")
            say("Dar foarte foarte periculos,")
            say("Deci sigur doresti sa mergi acolo?")
            say("")
            say_reward("Sigur vrei sa te teleportezi?")
         
            local s1=select("Da","Nu")
            if s1 == 1 then
                pc.warp(1226600, 1680600)
            else
                return
            end         
        end
        when 20095.chat."Mt Thunder (Lv. 120)" with pc.get_level() > 119 begin
            say_title("Mt Thunder")
            say("")
            say("Este un loc frumos..")
            say("Dar foarte foarte periculos,")
            say("Deci sigur doresti sa mergi acolo?")
            say("")
            say_reward("Sigur vrei sa te teleportezi?")
         
            local s1=select("Da","Nu")
            if s1 == 1 then
                pc.warp(1134400, 1654800)
            else
                return
            end         
        end
    end
end 
[ Postat de pe Android ] Imagine
Imagine
Afișează semnătura
Avatar utilizator
AllexRo
Nou Venit

Nou Venit
Mesaje: 45
Membru din: 16 Mar 2018, 01:43
Aprecieri: 2  
Mulţumiri: 0
Medalii

Questul in sine merge, singura problema e ca vreau sa il implementez sa ceara level , stiu ca se poate , doar ca inca nu am invatat eu cum
Avatar utilizator
yonr1
Nivel 4

Nivel 4
Mesaje: 677
Membru din: 03 Dec 2013, 08:42
Aprecieri: 297  
Mulţumiri: 30  
  Rezolvări prob.: 14
Medalii

Pai acel quest cere lv
with pc.get_level() > 94 begin la 94 modifici de la ce lv vrei

[ Postat de pe Android ] Imagine
Imagine
Afișează semnătura
Avatar utilizator
AllexRo
Nou Venit

Nou Venit
Mesaje: 45
Membru din: 16 Mar 2018, 01:43
Aprecieri: 2  
Mulţumiri: 0
Medalii

Pe inel as dori , nu imi place sa fac la un npc , ca vreau sa aibe acces de oriunde
Avatar utilizator
AllexRo
Nou Venit

Nou Venit
Mesaje: 45
Membru din: 16 Mar 2018, 01:43
Aprecieri: 2  
Mulţumiri: 0
Medalii

Hai ma frate nimeni , sunt atatia tech cu metine de level max 250 si nimeni nu stie sa faca un inel ...
Avatar utilizator
AllexRo
Nou Venit

Nou Venit
Mesaje: 45
Membru din: 16 Mar 2018, 01:43
Aprecieri: 2  
Mulţumiri: 0
Medalii

t/c rezolvat
Închis
Răspunsuri
5
Vizualizări
277
Răspunsuri
3
Vizualizări
283
Răspunsuri
5
Vizualizări
464
Răspunsuri
13
Vizualizări
846

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

  • Informaţie
  • Cine este conectat

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