Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Pet system SG (Rev.34083) PROBLEM!

Discussion on Pet system SG (Rev.34083) PROBLEM! within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 13
Received Thanks: 0
Pet system SG (Rev.34083) PROBLEM!

Hi guys,
I would have a problem, almost as soon as I click sull'items 53001 (the call of the pet) does not happen nothing, obviously with the quest runnata.

Here's what I get in SYSERR:

PHP Code:
SYSERRJul 26 11:36:30 :: RunStateLUA_ERROR: [string "pet_system"]:6attempt to call field `is_summon' (a nil value)
SYSERR: Jul 26 11:36:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_system.start letter 
Here is the quest:

PHP Code:
quest pet_system begin
    state start begin
        
function get_pet_info(itemVnum)
            
pet_info_map = {
            --  [
ITEM VNUMMOB_VNUM, DEFAULT NAMEbuff_idxspawn_effect_idx
                
[53001]     = { 34001" - Fenice Rossa"0},
                [
53002]     = { 34002" - Renna"0},
                [
53003]     = { 34003" - Fenice Blu"0},
                [
53004]     = { 34005" - Baby Azrael"0},
                [
53005]     = { 34006" - Baby Azrael"1},
                [
53010]     = { 34008" - Leonida"0},
                [
53011]     = { 34007" - Khan"0}, --Tigre
                
[53012]     = { 34005" - Porky"0}, --Chingiale
                
[53013]     = { 34006" - Rufus"0}, --Cane
                
[53007]     = { 34010" - Bambi"0},
            }

            
itemVnum tonumber(itemVnum)

            return 
pet_info_map[itemVnum]
        
end
        
function get_spawn_effect_file(idx)
            
effect_table = {
                [
0] = nil,
                [
1] = "d:\\\\ymir work\\\\effect\\\\etc\\\\appear_die\\\\npc2_appear.mse",
            }
            return 
effect_table [idx]
        
end
        when 53007.
use or 53013.use or 53012.use or 53011.use or 53010.use or 53005.use or 53004.use or 53003.use or 53002.use or 53001.use begin
            local pet_info 
pet_system.get_pet_info(item.vnum)

            if 
null != pet_info then

                local mobVnum 
pet_info[1]
                
local petName pet_info[2]
                
local spawn_effect_file_name pet_system.get_spawn_effect_file(pet_info[3])

                if 
true == pet.is_summon(mobVnumthen
                    
if spawn_effect_file_name != nil then
                        pet
.spawn_effect (mobVnumspawn_effect_file_name)
                    
end
                    pet
.unsummon(mobVnum)
                else
                    if 
pet.count_summoned() < 1 then
                        pet
.summon(mobVnumpetNamefalse)
                    else
                        
syschat("You already summoned a pet.")
                    
end
                    
if spawn_effect_file_name != nil then
                        pet
.spawn_effect(mobVnumspawn_effect_file_name)
                    
end
                end 
-- if pet.is_summon
            end  
-- if null != pet_info
        end 
-- when
    end 
-- state
end 
-- quest 

Help me please

help me please is urgent: (

pleaseeeeeeeeee
[Gherusio] is offline  
Reply

Tags
gherusio


Similar Threads Similar Threads
[34083]Energy system files
07/21/2013 - Metin2 Private Server - 0 Replies
Hi, which files are responsible for the energy system in global metin2 client. I want to run this system on game 34083 I do not have the correct files in the client. Help me, please!
34083 6&7
07/09/2013 - Metin2 Private Server - 0 Replies
*deleted*
34083 mob_proto
06/27/2013 - Metin2 Private Server - 0 Replies
*deleted*
34083 6-7 bonis
06/27/2013 - Metin2 Private Server - 0 Replies
Hey! Someone could give dif it? I would really appreciate (google translator)
Problem mit Game 34083
06/25/2013 - Metin2 Private Server - 5 Replies
Hey, Hab nen problem mit der neuen Game, eig sollte alles einwandfrei laufen... Aber es heißt ja immer 4 Augen sidn besser als 2. Undzwar hab ich folgendes Problem, beim erfolgreichem einloggen schliesst sich einfach der Client.



All times are GMT +1. The time now is 04:45.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.