In "mob_proto" am la fiecare mob codul "Globul transformari(70104)" si am incercat sa sterg fisierul de mai sus cu "_test_poly.lua din fisierul "Quest" si din "/usr/game/share/locale/romania/quest/object/70104", aici isi face un alt Folder "Use" care la randul lui are in el un fisier "System_poly.start" dar dupa ce le sterg, nu mai pot sa dau pe "Globul transformari" , nu il mai citeste deloc, apare in inventar ca un item care nu foloseste la nimic, nu are nici o functie... am incercat sa modific acele fisiere .lua si .start ca sa imi dea doar 3 monstri in care sa ma transform si sa il pun doar intr o mapa .... si nici asta nu a functionat!
As dori ca sa le modific ca si cum erau ele initial sa te transforme separat la fiecare mob la care pica, doar in mob ul respectiv sau macar sa stiu cum sa le sterg definitiv ca a poi sa caut un Quest pe Globul transformari care sa te transforme doar in 3 mobi, orice idee este bine venita!
Am sa pun mai jos continutul fiserului .lua cat si al celui .start .
usr/game/share/locale/romania/quest/ _test_poly.lua :
quest system_poly begin
state start begin
when 70104.use begin
say_reward("Alege o categorie de monstri :")
say(" ")
local a = select("Boss", "Creatura", "NPC", "Inchide")
if a == 1 then
say("Ce Boss vrei sa fii ?")
say(" ")
wait()
local z = select("Pirat", "Boss orc", "Regele maimutelor", "Regina Painjenilor", "Regele Paianjenilor", "Testoasa", "Vulpea cu 9 cozi", "Vrajitoarea de gheata", "Continua")
if z == 1 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(5001, 600)
elseif z == 2 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(691, 600)
elseif z == 3 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(5163, 600)
elseif z == 4 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2091, 600)
elseif z == 5 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2092, 600)
elseif z == 6 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2191, 600)
elseif z == 7 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1901, 600)
elseif z == 8 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1191, 600)
elseif z == 9 then
say("Page 2")
say(" ")
wait()
local e = select("Regele Focului", "Dragon Rosu", "Tigru Galben", "Regele Demon", "Moartea", "Spiritul copacului", "Dragon Albastru", "Rege Spirit de Copac", "Inchide")
if e == 1 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2206, 600)
elseif e == 2 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2291, 600)
elseif e == 3 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1304, 600)
elseif e == 4 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1091, 600)
elseif e == 5 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1092, 600)
elseif e == 6 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2306, 600)
elseif e == 7 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2493, 600)
elseif e == 8 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2307, 600)
elseif e == 9 then
return
end
end
elseif a == 2 then
say("In ce vrei sa te transformi ?")
say(" ")
wait()
local r = select("Câine", "Urs", "Tigru", "Soldat du serment blanc","Minion Barbare", "Orc negru", "Fanatic Estoric", "Continua")
if r == 1 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(101, 600)
elseif r == 2 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(110, 600)
elseif r == 3 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(114, 600)
elseif r == 4 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(301, 600)
elseif r == 5 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(502, 600)
elseif r == 6 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(636, 600)
elseif r == 7 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(701, 600)
elseif r == 8 then
say("Page 2")
say(" ")
wait()
local t = select("Soldat demoniac", "Yeti", "Golem de gheata", "Pianjen Tanar", "Tigre Luptator", "Dryade", "Maimuta Soldat", "Croque-mitaine", "Continua")
if t == 1 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1001, 600)
elseif t == 2 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1106, 600)
elseif t == 3 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1107, 600)
elseif t == 4 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2301, 600)
elseif t == 5 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2203, 600)
elseif t == 6 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(2303, 600)
elseif t == 7 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(5121, 600)
elseif t == 8 then
say("Esti transformat !")
say(" ")
wait()
pc.polymorph(1333, 600)
elseif t == 9 then
say("Page 3")
say(" ")
wait()
local d = select("Goe-Pae", "Chuong", "Bo", "Mahon", "Câine Zombie", "Rege Zombie", "Moartea", "Luptator Zin Celest", "Inchide")
if d == 1 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(493, 600)
elseif d == 2 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(494, 600)
elseif d == 3 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(492, 600)
elseif d == 4 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(491, 600)
elseif d == 5 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(2502, 600)
elseif d == 6 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(2595, 600)
elseif d == 7 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(2597, 600)
elseif d == 8 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(2492, 600)
elseif d == 9 then
return
end
end
end
elseif a == 3 then
say("In ce NPC vrei sa te transformi ?")
say(" ")
wait()
local y = select("Fierar", "Cetatean Turmentat", "Teleporter", "Paznic", "Vanator", "Cal Militar", "Vanzator Ambulant", "Inchide")
if y == 1 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(20016, 600)
elseif y == 2 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(20041, 600)
elseif y == 3 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(9012, 600)
elseif y == 4 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(11000, 600)
elseif y == 5 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(20019, 600)
elseif y == 6 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(20109, 600)
elseif y == 7 then
say("Esti Transformat !Acum te poti distra cu noua ta aparenta !")
say(" ")
wait()
pc.polymorph(20042, 600)
elseif y == 8 then
return
end
end
if a == 4 then
return
end
end
end
endsay_reward ( "Alege o categorie de monstri :" ) say ( " " ) local a = select ( "Boss" , "Creatura" , "NPC" , "Inchide" ) if a == 1 then say ( "Ce Boss vrei sa fii ?" ) say ( " " ) wait ( ) local z = select ( "Pirat" , "Boss orc" , "Regele maimutelor" , "Regina Painjenilor" , "Regele Paianjenilor" , "Testoasa" , "Vulpea cu 9 cozi" , "Vrajitoarea de gheata" , "Continua" ) if z == 1 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 5001 , 600 ) elseif z == 2 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 691 , 600 ) elseif z == 3 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 5163 , 600 ) elseif z == 4 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2091 , 600 ) elseif z == 5 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2092 , 600 ) elseif z == 6 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2191 , 600 ) elseif z == 7 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1901 , 600 ) elseif z == 8 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1191 , 600 ) elseif z == 9 then say ( "Page 2" ) say ( " " ) wait ( ) local e = select ( "Regele Focului" , "Dragon Rosu" , "Tigru Galben" , "Regele Demon" , "Moartea" , "Spiritul copacului" , "Dragon Albastru" , "Rege Spirit de Copac" , "Inchide" ) if e == 1 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2206 , 600 ) elseif e == 2 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2291 , 600 ) elseif e == 3 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1304 , 600 ) elseif e == 4 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1091 , 600 ) elseif e == 5 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1092 , 600 ) elseif e == 6 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2306 , 600 ) elseif e == 7 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2493 , 600 ) elseif e == 8 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2307 , 600 ) elseif e == 9 then return end end elseif a == 2 then say ( "In ce vrei sa te transformi ?" ) say ( " " ) wait ( ) local r = select ( "Câine" , "Urs" , "Tigru" , "Soldat du serment blanc" , "Minion Barbare" , "Orc negru" , "Fanatic Estoric" , "Continua" ) if r == 1 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 101 , 600 ) elseif r == 2 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 110 , 600 ) elseif r == 3 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 114 , 600 ) elseif r == 4 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 301 , 600 ) elseif r == 5 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 502 , 600 ) elseif r == 6 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 636 , 600 ) elseif r == 7 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 701 , 600 ) elseif r == 8 then say ( "Page 2" ) say ( " " ) wait ( ) local t = select ( "Soldat demoniac" , "Yeti" , "Golem de gheata" , "Pianjen Tanar" , "Tigre Luptator" , "Dryade" , "Maimuta Soldat" , "Croque-mitaine" , "Continua" ) if t == 1 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1001 , 600 ) elseif t == 2 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1106 , 600 ) elseif t == 3 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1107 , 600 ) elseif t == 4 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2301 , 600 ) elseif t == 5 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2203 , 600 ) elseif t == 6 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 2303 , 600 ) elseif t == 7 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 5121 , 600 ) elseif t == 8 then say ( "Esti transformat !" ) say ( " " ) wait ( ) pc . polymorph ( 1333 , 600 ) elseif t == 9 then say ( "Page 3" ) say ( " " ) wait ( ) local d = select ( "Goe-Pae" , "Chuong" , "Bo" , "Mahon" , "Câine Zombie" , "Rege Zombie" , "Moartea" , "Luptator Zin Celest" , "Inchide" ) if d == 1 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 493 , 600 ) elseif d == 2 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 494 , 600 ) elseif d == 3 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 492 , 600 ) elseif d == 4 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 491 , 600 ) elseif d == 5 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 2502 , 600 ) elseif d == 6 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 2595 , 600 ) elseif d == 7 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 2597 , 600 ) elseif d == 8 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 2492 , 600 ) elseif d == 9 then return end end end elseif a == 3 then say ( "In ce NPC vrei sa te transformi ?" ) say ( " " ) wait ( ) local y = select ( "Fierar" , "Cetatean Turmentat" , "Teleporter" , "Paznic" , "Vanator" , "Cal Militar" , "Vanzator Ambulant" , "Inchide" ) if y == 1 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 20016 , 600 ) elseif y == 2 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 20041 , 600 ) elseif y == 3 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 9012 , 600 ) elseif y == 4 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 11000 , 600 ) elseif y == 5 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 20019 , 600 ) elseif y == 6 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 20109 , 600 ) elseif y == 7 then say ( "Esti Transformat !Acum te poti distra cu noua ta aparenta !" ) say ( " " ) wait ( ) pc . polymorph ( 20042 , 600 ) elseif y == 8 then return end end if a == 4 then return end
Mentionez ca: Server file-ul este 40k , sursa, client...Astept o rezolvare, o parere
. Multumesc!
