[RELEASE] Pet System Advanced quest

09/10/2012 22:05 sema1995#31
make sure you not use illegal char in name and make sure directory pet have right read/write permiss

Has 777 perm pet folder, and put the pet name "hello" and I closed, not running the action of invoking the pet: S
09/10/2012 22:09 d3m0n3#32
Quote:
Originally Posted by sema1995 View Post
make sure you not use illegal char in name and make sure directory pet have right read/write permiss

Has 777 perm pet folder, and put the pet name "hello" and I closed, not running the action of invoking the pet: S
have you replaced in DATA_PATH italy with your locale?
config file was created?
09/10/2012 22:29 sema1995#33
if I put germany, but within germany / objet / pet not believe anything: S
09/10/2012 22:36 d3m0n3#34
Quote:
Originally Posted by sema1995 View Post
if I put germany, but within germany / objet / pet not believe anything: S
can you post how you have mod function "inizializza"
09/10/2012 22:41 sema1995#35
Quote:
function inizializza(i)
say_title("Sistema de Mascotas:")
say("")
say("Hola , tendras que ponerle un nombre a tu mascota para ")
say("invocarla")
say("piensa uno que le quede bien")
local scelta = select("Renombrar","Salir")
if scelta == 2 then
return -1
end
say_title("Pet System:")
say("")
say("Escriba un nombre para su mascota")
say("")
say_reward("Nombre:")
local PetName = tostring(input())
if PetName == "" then
say_title("Pet System:")
say("")
say_reward("No se puede dejar la entrada vacķa!")
return -1
end
local DATA_PATH = "locale/germany/quest/object/pet/"
local LOCAL_PATH = pc.get_name().."/"
local PET_FILE = PetArray[i][2]..".txt"
local PET_BONUS_FILE = PetArray[i][2].."_bonus.txt"
if pc.getqf("local_path") != 1 then
os.execute("cd "..DATA_PATH.." && mkdir "..LOCAL_PATH.." && chmod 777 "..LOCAL_PATH)
pc.setqf("local_path", 1)
end
local file = io.open(DATA_PATH..LOCAL_PATH..PET_FILE , "w")
file:write(PetName.."\n1\n0\n") --nome livello exp
io.close(file)
local bonus = io.open(DATA_PATH..LOCAL_PATH..PET_BONUS_FILE , "w")
bonus:write("0\n0\n0\n0\n0\n")
io.close(bonus)
os.execute("cd "..DATA_PATH..LOCAL_PATH.." && chmod 777 *.txt")
return 0
end
so I have the function
09/10/2012 22:48 d3m0n3#36
ok sounds good when the quest is completed you get errors of functions are not recognized?
09/10/2012 22:49 sema1995#37
No, all that happens is that the pet does not come out when clicking the item
09/10/2012 22:51 d3m0n3#38
Quote:
Originally Posted by sema1995 View Post
No, all that happens is that the pet does not come out when clicking the item
other pet work right?
09/10/2012 22:56 sema1995#39
no, no pet works
09/10/2012 23:01 wzy26022#40
Cavalli come guidare
09/10/2012 23:03 sema1995#41
the problem is that the pet does not leave
09/10/2012 23:03 d3m0n3#42
Quote:
Originally Posted by sema1995 View Post
no, no pet works
I'm sorry but I have no idea what error you have produced by modifying the quest

different users have confirmed to me that works for them properly then the problem is in your changes
09/10/2012 23:07 wzy26022#43
game_r2089M_32
00035011: 74 0F
00035012: 43 8C
00035013: 66 15
00035014: 3D 01
00035015: 86 00
00035016: 4E 00
00035017: 74 90
00035018: 3D 90
0003501B: 87 B6
00035020: 74 7E
00035022: 66 90
00035023: 3D 90
00035024: 88 90
00035025: 4E 90
00035026: 74 90
00035027: 2E 90
00035028: 66 90
00035029: 3D 90
0003502A: 89 90
0003502B: 4E 90
0003502C: 8D 90
0003502D: 74 90
0003502E: 26 90
0003502F: 00 90
00035030: 74 90
00035031: 24 90
00035032: 66 90
00035033: 3D 90
00035034: 8A 90
00035035: 4E 90
00035036: 74 90
00035037: 1E 90
00035038: 66 90
00035039: 3D 90
0003503A: 8B 90
0003503B: 4E 90
0003503C: 8D 90
0003503D: 74 90
0003503E: 26 90
0003503F: 00 90
00035040: 74 90
00035041: 14 90
00035042: 66 90
00035043: 3D 90
00035044: 8C 90
00035045: 4E 90
00035046: 74 90
00035047: 0E 90
0003504A: 8D B6
00430784: 8B 98
004307B4: 8B 9B
004307E4: 8B 9E
00430814: 8B A1
00430844: 8B A4
00430874: 8B A7
004308A4: 8B AA
004308D4: 8B AD
00430904: 8B B0

Necessitą di soddisfare le dif?
09/10/2012 23:20 d3m0n3#44
Quote:
Originally Posted by wzy26022 View Post
game_r2089M_32
00035011: 74 0F
00035012: 43 8C
00035013: 66 15
00035014: 3D 01
00035015: 86 00
00035016: 4E 00
00035017: 74 90
00035018: 3D 90
0003501B: 87 B6
00035020: 74 7E
00035022: 66 90
00035023: 3D 90
00035024: 88 90
00035025: 4E 90
00035026: 74 90
00035027: 2E 90
00035028: 66 90
00035029: 3D 90
0003502A: 89 90
0003502B: 4E 90
0003502C: 8D 90
0003502D: 74 90
0003502E: 26 90
0003502F: 00 90
00035030: 74 90
00035031: 24 90
00035032: 66 90
00035033: 3D 90
00035034: 8A 90
00035035: 4E 90
00035036: 74 90
00035037: 1E 90
00035038: 66 90
00035039: 3D 90
0003503A: 8B 90
0003503B: 4E 90
0003503C: 8D 90
0003503D: 74 90
0003503E: 26 90
0003503F: 00 90
00035040: 74 90
00035041: 14 90
00035042: 66 90
00035043: 3D 90
00035044: 8C 90
00035045: 4E 90
00035046: 74 90
00035047: 0E 90
0003504A: 8D B6
00430784: 8B 98
004307B4: 8B 9B
004307E4: 8B 9E
00430814: 8B A1
00430844: 8B A4
00430874: 8B A7
004308A4: 8B AA
004308D4: 8B AD
00430904: 8B B0

Necessitą di soddisfare le dif?
that dif is used on each pet system without it nothing would work

I assume that anyone using a pet system has already applied that dif :D
09/11/2012 01:06 Grimmjo#45
where is npc.get_level plz ? and what will you do with that ?