Jump to content

petmen021

Member
  • Posts

    15
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by petmen021

  1. Hello Forum..

    I have little problem. 

    I press the W and kick off the dungeon... in the loginpanel..

    SetDungeon: [NAME] is trying to reassigning dungeon (current 0x70274540, new party 0x70274540)
    SetDungeon:  [NAME] is trying to reassigning dungeon (current 0x70274540, new party 0x70274540)

    Anyone can help how can fix?

    Chat.cpp i found..

     

    Spoiler

    void CHARACTER::SetDungeon(LPDUNGEON pkDungeon)
    {
        if (pkDungeon && m_pkDungeon)
            sys_err("%s is trying to reassigning dungeon (current %p, new party %p)", GetName(), get_pointer(m_pkDungeon), get_pointer(pkDungeon));

        if (m_pkDungeon == pkDungeon) {
            return;
        }

        if (m_pkDungeon)
        {
            if (IsPC())
            {
                if (GetParty())
                    m_pkDungeon->DecPartyMember(GetParty(), this);
                else
                    m_pkDungeon->DecMember(this);
            }
            else if (IsMonster() || IsStone())
            {
                m_pkDungeon->DecMonster();
            }
        }

        m_pkDungeon = pkDungeon;

        if (pkDungeon)
        {
            sys_log(0, "%s DUNGEON set to %p, PARTY is %p", GetName(), get_pointer(pkDungeon), get_pointer(m_pkParty));

            if (IsPC())
            {
                if (GetParty())
                    m_pkDungeon->IncPartyMember(GetParty(), this);
                else
                    m_pkDungeon->IncMember(this);
            }
            else if (IsMonster() || IsStone())
            {
                m_pkDungeon->IncMonster();
            }
        }
    }

    Thanks for help

  2. Anyone can help?

    I cant put item... all items say my syserr on the ch1 

    SYSERR: Mar 31 21:30:43 :: RunState: LUA_ERROR: [string "mb_igshop"]:143: attempt to call field `get_attr_type' (a nil value)
    SYSERR: Mar 31 21:30:43 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click
    SYSERR: Mar 31 21:30:45 :: RunState: LUA_ERROR: [string "mb_igshop"]:143: attempt to call field `get_attr_type' (a nil value)
    SYSERR: Mar 31 21:30:45 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click
    SYSERR: Mar 31 21:30:47 :: RunState: LUA_ERROR: [string "mb_igshop"]:143: attempt to call field `get_attr_type' (a nil value)
    SYSERR: Mar 31 21:30:47 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click
    SYSERR: Mar 31 21:30:50 :: RunState: LUA_ERROR: [string "mb_igshop"]:143: attempt to call field `get_attr_type' (a nil value)
    SYSERR: Mar 31 21:30:50 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click


    Client syserr 0

    (gcc++11)
    (vs2022)

  3. 52 minutes ago, dumita123 said:

    #include <memory>

    add it inside the header files that you receive the error.

    Thanks now get error 

    Quote

    LODController.h(213): error C2664: 'void CGrannyLODController::ChangeMotionPointer(const std::shared_ptr<CGrannyMotion>,int,float)' : cannot convert argument 1 from 'const CGrannyMotion *' to 'const std::shared_ptr<CGrannyMotion>'
    3>          Constructor for class 'std::shared_ptr<CGrannyMotion>' is declared 'explicit'

    Quote

    1>..\..\source\EterGrnLib\ModelInstanceMotion.cpp(101): warning C4244: 'argument' : conversion from 'float' to 'granny_int32x', possible loss of data




    I dont know why..

    All error this "explicit"

  4. Hello guys 

    I drop my server this pet system (Lua only + gui) 
    and my pet not summoned 😕 
    I Trying 2day the fixing 😕 ..

    Sorry my bad english 

    My syserr : 
    Ch1 


    Db : 0 
    Client : 0 

    I create GUI and etc... (Client syserr 0)

     

    Quote

    RR: Sep 26 21:46:59.190468 :: RunState: LUA_ERROR: [string "pet_rendszer"]:2: attempt to index field `?' (a nil value)
    SYSERR: Sep 26 21:46:59.190596 :: WriteRunningStateToSyserr: LUA_ERROR: quest pet_rendszer.start click
     


    My Quest :

     

    Spoiler

    quest pet_rendszer begin
        state start begin
            when 53001.use  begin
                local v = item.get_vnum()
                local petName, mobVnum, effect = pet_info[v][2], pet_info[v][1], pet_info[v][3]
                local petName
                if pet.is_named() then petName = " - "..pet.get_name(mobVnum)..""
                else petName = pet_info[v][2] end
                if pet.get_level() == 0 then pc.give_pet(v) return end
                if true == pet.is_summon(mobVnum) then pet.seal_menu() return end
                if pet.count_summoned() < 1 then
                    pet.summon(mobVnum, petName, false)
                    pc.setqf("pet_spawn", mobVnum) pc.setqf("pet_spawn_id", v)
                    pet.spawn_effect(mobVnum, effect_table[pet_info[v][6]])
                    pet.give_bonus() pet.summon_log()
                    loop_timer("refresh_pet_stats", 0.5)
                else syschat(pet_text.cantsummonmore) end
            end
            when refresh_pet_stats.timer with pc.getqf("pet_spawn") != 0 begin
            if pc.is_dead() then pet.remove_bonus() pet.delete_infos() end pet.gui_info() end
            when kill with not npc.is_pc() and pet.count_summoned() >= 1 and pet.get_level() < 150 begin pet.level_up() end
            when login begin cmdchat("SetPetIncreaseBoniButtonIndex "..q.getcurrentquestindex()) end
            when info or button begin  pet.remove_bonus() pet.increase_stats()  pet.give_bonus() end
            when logout with pc.getqf("pet_spawn") != 0 and pet.count_summoned() > 0 begin  pet.remove_bonus() pet.delete_infos() end
            when 302.use
              or 303.use
              or 304.use with pc.getqf("pet_spawn") ~= 0 begin pet.set_item(item.get_vnum())
              end
            when 21000.click begin if pet.is_mine() == true then pet.gui_info() cmdchat("ShowPet") end
            end
        end
    end



    And my funcion..

     


    Thanks the help me

  5. Hello everyone, i need help :( 
    I search 2 days ago... and i not found solution its my problem...

    This problem : I delete all accounts and player characters and items and etc and full clean...
    And i try registrate the server and cant create the account.... "Alredy exists" and i delete my account :(  I can registrate other username... 
    but according to them the old is inside, and i not know how delete the deleted account.. where save 😕  (Syserr 0..) 
    And the question : Where find log the deleted accounts and player "data" ? :(  

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.