Jump to content

darkess

Inactive Member
  • Posts

    25
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by darkess

  1. Acum 20 minute, Weles a spus:

    1220 15:57:14586 :: 'SafeboxWindow' object has no attribute 'BindInterface'
    1220 15:57:40490 :: 'Interface' object has no attribute 'wndGameButton'
    1220 15:57:40875 :: 'NoneType' object has no attribute 'SetMapName'
    1220 15:57:40880 :: 'NoneType' object has no attribute 'RefreshQuickSlot'

    These are your mistakes. I have no idea what you did.

    Me neither

  2. Hi

    After i implement this sistem   

     

     

    i got these errors that kill me inside

    1220 15:57:14586 :: Traceback (most recent call last):
    
    1220 15:57:14586 ::   File "networkModule.py", line 239, in SetGamePhase
    
    1220 15:57:14586 ::   File "game.py", line 102, in __init__
    
    1220 15:57:14586 ::   File "interfaceModule.py", line 316, in MakeInterface
    
    1220 15:57:14586 ::   File "interfaceModule.py", line 189, in __MakeWindows
    
    1220 15:57:14586 :: AttributeError
    1220 15:57:14586 :: : 
    1220 15:57:14586 :: 'SafeboxWindow' object has no attribute 'BindInterface'
    1220 15:57:14586 :: 
    
    1220 15:57:40490 :: Traceback (most recent call last):
    
    1220 15:57:40490 ::   File "game.py", line 670, in RefreshStatus
    
    1220 15:57:40490 ::   File "game.py", line 664, in CheckGameButton
    
    1220 15:57:40490 ::   File "interfaceModule.py", line 1113, in CheckGameButton
    
    1220 15:57:40490 :: AttributeError
    1220 15:57:40490 :: : 
    1220 15:57:40490 :: 'Interface' object has no attribute 'wndGameButton'
    1220 15:57:40490 :: 
    
    1220 15:57:40875 :: Traceback (most recent call last):
    
    1220 15:57:40875 ::   File "game.py", line 880, in ShowMapName
    
    1220 15:57:40875 ::   File "interfaceModule.py", line 973, in SetMapName
    
    1220 15:57:40875 :: AttributeError
    1220 15:57:40875 :: : 
    1220 15:57:40875 :: 'NoneType' object has no attribute 'SetMapName'
    1220 15:57:40875 :: 
    
    1220 15:57:40880 :: Traceback (most recent call last):
    
    1220 15:57:40880 ::   File "game.py", line 670, in RefreshStatus
    
    1220 15:57:40880 ::   File "game.py", line 664, in CheckGameButton
    
    1220 15:57:40880 ::   File "interfaceModule.py", line 1113, in CheckGameButton
    
    1220 15:57:40880 :: AttributeError
    1220 15:57:40880 :: : 
    1220 15:57:40880 :: 'Interface' object has no attribute 'wndGameButton'
    1220 15:57:40880 :: 
    
    1220 15:57:40880 :: Traceback (most recent call last):
    
    1220 15:57:40880 ::   File "game.py", line 803, in RefreshInventory
    
    1220 15:57:40880 ::   File "interfaceModule.py", line 603, in RefreshInventory
    
    1220 15:57:40880 :: AttributeError
    1220 15:57:40880 :: : 
    1220 15:57:40880 :: 'NoneType' object has no attribute 'RefreshQuickSlot'
    1220 15:57:40880 :: 
    
    1220 15:57:40880 :: Traceback (most recent call last):
    
    1220 15:57:40880 ::   File "game.py", line 682, in RefreshSkill
    
    1220 15:57:40880 ::   File "game.py", line 664, in CheckGameButton
    
    1220 15:57:40881 ::   File "interfaceModule.py", line 1113, in CheckGameButton
    
    1220 15:57:40881 :: AttributeError
    1220 15:57:40881 :: : 
    1220 15:57:40881 :: 'Interface' object has no attribute 'wndGameButton'
    1220 15:57:40881 :: 
    
    1220 15:57:40881 :: Traceback (most recent call last):
    
    1220 15:57:40881 ::   File "game.py", line 670, in RefreshStatus
    
    1220 15:57:40881 ::   File "game.py", line 664, in CheckGameButton
    
    1220 15:57:40881 ::   File "interfaceModule.py", line 1113, in CheckGameButton
    
    1220 15:57:40881 :: AttributeError
    1220 15:57:40881 :: : 
    1220 15:57:40881 :: 'Interface' object has no attribute 'wndGameButton'
    1220 15:57:40881 :: 
    
    1220 15:57:40922 :: Traceback (most recent call last):
    
    1220 15:57:40922 ::   File "networkModule.py", line 239, in SetGamePhase
    
    1220 15:57:40922 ::   File "game.py", line 102, in __init__
    
    1220 15:57:40922 ::   File "interfaceModule.py", line 316, in MakeInterface
    
    1220 15:57:40922 ::   File "interfaceModule.py", line 189, in __MakeWindows
    
    1220 15:57:40922 :: AttributeError
    1220 15:57:40922 :: : 
    1220 15:57:40922 :: 'SafeboxWindow' object has no attribute 'BindInterface'
    1220 15:57:40922 :: 

    Someone knows what`s wrong?

  3. Acum 2 ore, Fleon a spus:
    
    
     
    Acum 2 ore, Fleon a spus:

    He stated clearly that you have to call it differently from your previous Open().
     

    Just call the others, 

    
    
    Mydick = ItemQuestionDialog() # Should be already done in game.py
    
    
    Mydick.Open(vnum, slot, text)

    Didnt test but it should work

    For me it`s not working

    1219 13:52:17113 :: Traceback (most recent call last):

    1219 13:52:17113 ::   File "game.py", line 781, in BINARY_NEW_AddAffect

    1219 13:52:17113 ::   File "game.py", line 1851, in BINARY_DragonSoulGiveQuilification

    1219 13:52:17113 ::   File "interfaceModule.py", line 1017, in DragonSoulGiveQuilification

    1219 13:52:17113 :: AttributeError
    1219 13:52:17113 :: : 
    1219 13:52:17113 :: 'NoneType' object has no attribute 'SetToolTipText'
    1219 13:52:17113 :: 

    1219 13:52:21535 :: Failed to load script file : QuestionDialog.py
    1219 13:52:21535 :: error  : No file or directory
    1219 13:52:21536 :: 
    ui.py(line:3146) LoadScriptFile
    system.py(line:192) execfile
    system.py(line:161) Run
    system.py(line:176) __LoadTextFile__
    system.py(line:61) __init__

  4. Acum 6 minute, xP3NG3Rx a spus:

    x1f62d.png.pagespeed.ic.Hlf30hkFMH.png

    Oh i`m sorry if i didn`t got what you said but i think that i solved it with 

    I`m really tying to learn something man :( Do not laugh man

    Acum 10 ore, canco a spus:

    input_login.cpp

    search void CInputLogin::Entergame(LPDESC d, const char * data) and add

    
    if (ch->GetHorseLevel() > 0)
    {
    	DWORD pid = ch->GetPlayerID();
    
    	if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL)
    		db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD));
    
    	ch->SetHorseLevel(ch->GetHorseLevel());
    	ch->SkillLevelPacket();
    }

     

    Thanks aloot

     

    Edit:

    Do you know something about this?

    https://metin2.download/picture/vyclHgnj98x543a0jZP9z3bs41cCbxK7/.gif first bug  (i need to  use twice the item to work)

    https://metin2.download/picture/L0xaWhkkK0561K4rgTM8RvF9R35ewMD4/.gif Second bug

    Do you know how i can resolve that?

    My quest it`s this

    quest new_mount begin
    	state start begin
    		when 71124.use or 71125.use or 71126.use or 71127.use or 71128.use begin
    			local tabel_pc = {
    			[71124] = "leu_alb",
    			[71125] = "mistret",
    			[71126] = "lup",
    			[71127] = "tigru",
    			[71128] = "tigru_foc",
    			}
    			local tabel_mount = {
    			[71124] = 20114,
    			[71125] = 20115,
    			[71126] = 20116,
    			[71127] = 20117,
    			[71128] = 20118,
    			}
    			if pc.is_polymorphed() then
    				syschat("Nu poti calarii cat esti transformat.")
    				return
    			end
    			if pc.is_riding() then
    				syschat("Nu poti invoca un mount cat timp calaresti!")
    				return
    			end
    
    			if pc.getqf(tabel_pc[item.get_vnum()]) == 1 then
    				horse.unsummon()
    				pc.setqf(tabel_pc[item.get_vnum()], 0)
    				return
    			end
    
    			pc.setqf(tabel_pc[item.get_vnum()], 1)
    			horse.unsummon()
    			horse.set_appearance(tabel_mount[item.get_vnum()])
    			horse.summon()
    		end
    	end
    end

     

  5. Acum 9 ore, xP3NG3Rx a spus:

    Which mode you are building the server?

    Edit: 40k

    Acum 11 ore, canco a spus:

    input_login.cpp

    search void CInputLogin::Entergame(LPDESC d, const char * data) and add

    
    if (ch->GetHorseLevel() > 0)
    {
    	DWORD pid = ch->GetPlayerID();
    
    	if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL)
    		db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD));
    
    	ch->SetHorseLevel(ch->GetHorseLevel());
    	ch->SkillLevelPacket();
    }

     

    The points are not dissapearing just from horse,all of them dissapear except the language points

  6. Acum 4 ore, tierrilopes a spus:

    You didn't had your item and mob vnum into the quest i sent you. The quest is the original one, if you make new mounts you will need to add them to the quest also

    I have a simillar problem with following mount made with mysql part

    https://metin2.download/picture/vyclHgnj98x543a0jZP9z3bs41cCbxK7/.gif first bug  (i need to  use twice the item to work)

    https://metin2.download/picture/L0xaWhkkK0561K4rgTM8RvF9R35ewMD4/.gif Second bug

    Do you know how i can resolve that?

    My quest it`s this

    quest new_mount begin
    	state start begin
    		when 71124.use or 71125.use or 71126.use or 71127.use or 71128.use begin
    			local tabel_pc = {
    			[71124] = "leu_alb",
    			[71125] = "mistret",
    			[71126] = "lup",
    			[71127] = "tigru",
    			[71128] = "tigru_foc",
    			}
    			local tabel_mount = {
    			[71124] = 20114,
    			[71125] = 20115,
    			[71126] = 20116,
    			[71127] = 20117,
    			[71128] = 20118,
    			}
    			if pc.is_polymorphed() then
    				syschat("Nu poti calarii cat esti transformat.")
    				return
    			end
    			if pc.is_riding() then
    				syschat("Nu poti invoca un mount cat timp calaresti!")
    				return
    			end
    
    			if pc.getqf(tabel_pc[item.get_vnum()]) == 1 then
    				horse.unsummon()
    				pc.setqf(tabel_pc[item.get_vnum()], 0)
    				return
    			end
    
    			pc.setqf(tabel_pc[item.get_vnum()], 1)
    			horse.unsummon()
    			horse.set_appearance(tabel_mount[item.get_vnum()])
    			horse.summon()
    		end
    	end
    end

    I tried the login part that you put up but i didn`t work

  7. Hello there.

    I have a little problem on client

    1213 19:45:05627 :: 
    networkModule.py(line:200) SetSelectCharacterPhase
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    introSelect.py(line:25) <module>
    system.py(line:130) __pack_import

    networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unindent does not match any outer indentation level (uiCharacter.py, line 767)

    1213 19:45:05627 :: ============================================================================================================
    1213 19:45:05627 :: Abort!!!!

    Someone know to help me?

  8. So i just put a swap item system on my server and i got a anoying "bug"

    when i`m trying to move an item to a free slot the slot it`s red

    When i`m trying to move an item to a slot where allready it`s an item the slot it`s white

    The anoying part it`s the red slot

    Photos:

    https://metin2.download/picture/ke7bATBrINbbi68c3V13wCWGLvYE6tMM/.jpg      

     

    https://metin2.download/picture/vG48tCdO0vKBuiAlfPwFd1Ojqt3Pd6pA/.jpg

    Sorry for my bad english .

    • Metin2 Dev 1
  9.  

    I really need help with something that i can`t solve

    I have the book 50300 and that book it`s dropping randomly a skill book (evrything perfect so far)

    But sometimes the book 50300 drops some books without name(i think the books were lycan books)

    I lookt on char  and  item manager and on 50300 it`s settled 1-111 randomly

    I even deleted the books from locale but nothing changed

    My function it`s this"

    Citat

            if (vnum == 50300 && bTryMagic)
            {
                // 수련서를 아이템 번호를 다르게 만들어 준다.
                DWORD dwSkillVnum;

                do
                {
                    dwSkillVnum = number(1, 111);

                    CSkillProto * pkSk = CSkillManager::instance().Get(dwSkillVnum);

                    if (!pkSk)
                        continue;

                    break;
                } while (1);

                vnum = 50400 + dwSkillVnum;
            }
        }

    Help please?

×
×
  • 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.