Jump to content

Recommended Posts

  • Forum Moderator
Am 6.1.2018 um 11:30 schrieb Mali61:

Check the last update, CPU overload fixed.

Thank you for the update! :)

Can it be that something is missing on the tutorial?
My Client close after login and my syserr is empty..

 

  • Love 2
49 minutes ago, Raylee said:

Thank you for the update! :)

Can it be that something is missing on the tutorial?
My Client close after login and my syserr is empty..

 

Im sure the problem is in py files ... check here 

  • Forum Moderator
Gerade eben schrieb Darknetto:

Im sure the problem is in py files ... check here 

i have fixxed it thank you :)

Problem was in Clientsource.
I forgot to edit the PythonApplicationModule with the new "ENABLE_EXTEND_INVEN_SYSTEM".

Thank you guys :)

  • Premium
4 hours ago, ReFresh said:

I got some error when compiling src. I checked all files, but can't find a problem in them. 


1>PythonNetworkStreamPhaseGameItem.obj : error LNK2005: "public: bool __thiscall CPythonNetworkStream::Expansion_packets(void)" (?Expansion_packets@CPythonNetworkStream@@QAE_NXZ) already defined in PythonNetworkStreamPhaseGame.obj
1>D:\Users\ReFresh\Desktop\binary\Metin2Release.exe : fatal error LNK1169: one or more multiply defined symbols found

But when I delete this function:


#ifdef NEW_ADD_INVENTORY
bool CPythonNetworkStream::Expansion_packets()
{
    if (!__CanActMainInstance())
        return true;

    TPacketCGInventory expansionpackets;
    expansionpackets.header = POINT_EXPANSION;

    if (!Send(sizeof(expansionpackets), &expansionpackets))
    {
        Tracen("Error system->[Inventory-Expansion]");
        return false;
    }

    return SendSequence();
}
#endif

then I can compile source.

You are retarted :) already defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.objalready defined in PythonNetworkStreamPhaseGame.obj

  • Love 1


 

Hello, i have this problem with the System... 

 

SYSERR: Jan 19 21:30:03 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'envanter' at line 1 (query: SELECT id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime,gold,level,level_step,st,ht,dx,iq,exp,stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair,skill_level,quickslot,skill_group,alignment,mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina,UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point FROM player WHERE id=51,envanter errno: 1064)

 

can you help me pls?
 

Use the new update ;)

 

Bug Trade

If i have inventory almost full and sombody trade with me i recive some item but not all,need to add a ckeck ,if i don't have space for all items from trade to recive a messaje "can' trade"

 

Check  your function CExchange::CheckSpace

  • 2 weeks later...

Hello , I have a problem . I am talking about here last code... https://paste2.org/mJgPFLxK

Did I paste well?

Cytat

    def SetEquipmentPage(self, page):
        self.equipmentPageIndex = page
        self.equipmentTab[1-page].SetUp()
        self.RefreshEquipSlotWindow()
        
if app.ADD_INVENTORY:
        def en_ac(self):
            if player.GetEnvanter() < 4:
                envanter = 2
                self.questionDialog = uiCommon.QuestionDialog()
                self.questionDialog.SetText(localeInfo.ENVANTER_GENIS_1 % envanter)
                self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.genislet))
                self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
                self.questionDialog.Open()
                # self.questionDialog.slotIndex = slotIndex
            elif player.GetEnvanter() == 4 or player.GetEnvanter() == 5:
                envanter = 3
                self.questionDialog = uiCommon.QuestionDialog()
                self.questionDialog.SetText(localeInfo.ENVANTER_GENIS_1 % envanter)
                self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.genislet))
                self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
                self.questionDialog.Open()
                # self.questionDialog.slotIndex = slotIndex
            elif player.GetEnvanter() == 6 or player.GetEnvanter() == 7 or player.GetEnvanter() == 8:
                envanter = 4
                self.questionDialog = uiCommon.QuestionDialog()
                self.questionDialog.SetText(localeInfo.ENVANTER_GENIS_1 % envanter)
                self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.genislet))
                self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
                self.questionDialog.Open()
                # self.questionDialog.slotIndex = slotIndex
            elif player.GetEnvanter() == 9 or player.GetEnvanter() == 10 or player.GetEnvanter() == 11:
                envanter = 5
                self.questionDialog = uiCommon.QuestionDialog()
                self.questionDialog.SetText(localeInfo.ENVANTER_GENIS_1 % envanter)
                self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.genislet))
                self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
                self.questionDialog.Open()
                # self.questionDialog.slotIndex = slotIndex
            elif player.GetEnvanter() == 12 or player.GetEnvanter() == 13 or player.GetEnvanter() == 14:
                envanter = 6
                self.questionDialog = uiCommon.QuestionDialog()
                self.questionDialog.SetText(localeInfo.ENVANTER_GENIS_1 % envanter)
                self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.genislet))
                self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
                self.questionDialog.Open()
                # self.questionDialog.slotIndex = slotIndex
            elif player.GetEnvanter() == 15 or player.GetEnvanter() == 16 or player.GetEnvanter() == 17:
                envanter = 7
                self.questionDialog = uiCommon.QuestionDialog()
                self.questionDialog.SetText(localeInfo.ENVANTER_GENIS_1 % envanter)
                self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.genislet))
                self.questionDialog.SetCancelEvent(ui.__mem_func__(self.OnCloseQuestionDialog))
                self.questionDialog.Open()
                # self.questionDialog.slotIndex = slotIndex
            else:
                self.wndPopupDialog = uiCommon.PopupDialog()
                self.wndPopupDialog.SetText(localeInfo.ENVANTER_ZATEN_GENIS_3)
                self.wndPopupDialog.Open()
        
    def SetAntyExp(self):
        activare_antiexp = constInfo.ANTIEXP_QUESTINDEX
        event.QuestButtonClick(activare_antiexp)

When he logs in to the game,  he throws me out . Error syser :

Cytat

0128 00:21:06752 ::
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:12) <module>
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unexpected indent (uiInventory.py, line 594)

0128 00:21:06752 :: ============================================================================================================
0128 00:21:06752 :: Abort!!!!

 

Pleasy help ;3...

I used a taboo but now I have such an error in syser:

Cytat

0128 12:40:42670 ::
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:12) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiInventory.py(line:249) <module>
uiInventory.py(line:595) InventoryWindow

networkModule.SetSelectCharacterPhase - <type 'exceptions.AttributeError'>:'module' object has no attribute 'ADD_INVENTORY'

0128 12:40:42670 :: ============================================================================================================
0128 12:40:42670 :: Abort!!!!

 

 

My line 595 uinvetory.py

19225325_1541143059293701_2154100853774199144_n.jpg

Maybe someone paste this code correctly from the update ?;> Pleasy

Edited by Metin2 Dev
Core X - External 2 Internal

The next problem, the game does not want to load .

Syser client clear .

Syser db source error ->>

 

Cytat

SYSERR: Jan 28 16:59:42 :: pid_init:
Start of pid: 1295

SYSERR: Jan 28 16:59:42 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Jan 28 16:59:42 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Column 'name' in field list is ambiguous
query: SELECT empire, pid, name, money, windate FROM monarch a, player b where a.pid=b.id
SYSERR: Jan 28 17:00:57 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'player WHERE id=58850' at line 1 (query: SELECT id, name, job, voice, dir, x, y, z, map_index, exit_x, exit_y, exit_map_index, hp, mp, stamina, random_hp, random_sp, playtime, gold, level, level_step, st, ht, dx, iq, exp, stat_point, skill_point, sub_skill_point, stat_reset_count, part_base, part_hair, part_sash, skill_level, quickslot, skill_group, alignment, mobile, horse_level, horse_riding, horse_hp, horse_hp_droptime, horse_stamina, UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play), horse_skill_point envanterFROM player WHERE id=58850 errno: 1064)
SYSERR: Jan 28 17:00:57 :: RESULT_COMPOSITE_PLAYER: null MYSQL_RES QID 0

 

0129 21:15:16132 :: 
uiInventory.py(line:318) __LoadWindow
ui.py(line:2893) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'cover_open_0'

0129 21:15:16132 :: ============================================================================================================
0129 21:15:16132 :: Abort!!!!

 

Anny sugestion?

  • 2 weeks later...
  • Forum Moderator
vor 14 Stunden schrieb Danonek:

Hey guys i found a bug

Everything is working fine but only for the first 2 slots of the inventory for the 4th & 3rd inventory slot it doesn't and says the inventory is full.

Hmm... i tested it actual.
I do not have such a problem.

Best regards
Raylee

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.