Jump to content

[40250] Reference Serverfile + Client + Src [15 Available Languages]


TMP4

Recommended Posts

  • Contributor
On 7/21/2022 at 11:44 AM, Ceettosa said:

Are this files using txt protos or sql? because i cant see a NO_TXT command in configs.

40k uses TXT by default.

NO_TXT argument is not an official development, there is zero custom system in this serverfile that's why you can't find it.

Link to comment
Share on other sites

  • Contributor
24 minutes ago, ShyD said:

Hi @ TMP4, do u know why sash is at wrong position attached on ur files?

It is a basic and we can even call official(ish) serverfile from a Ymir-Webzen leak from end of 2013. I only applied some fix for known bugs and exploits (none related to models or 3d). Therefore when a custom system not works, it's either on you or the tutorial.

This should work: 

This is the hidden content, please

  • Metin2 Dev 32
  • Eyes 2
  • Dislove 1
  • Scream 1
  • Lmao 1
  • Good 12
  • Love 5
Link to comment
Share on other sites

  • Contributor
7 hours ago, ShyD said:

ty for ur answer. im using acce tutorial.. idk a friend has same problem. btw can u give a working link?

This is the hidden content, please

https://data.hu/get/13368912/Sash_with_scale.rar
https://files.fm/u/a84skfgev
This is the hidden content, please

  • Metin2 Dev 28
  • Dislove 1
  • Smile Tear 1
  • Think 2
  • Lmao 1
  • Good 8
  • Love 7
Link to comment
Share on other sites

On 7/23/2022 at 11:12 PM, TMP4 said:

it's either on you or the tutorial.

i now tested ur tutorial. its completely same. all working good but its not same position like on official server(its too much at the back of character when equiped).. its not fixable with ur tutorial...its 100% not about me. a friend tried same (he has more than 2 years experience in this editing now) and he got same problem... i actually would pay for a fix. can sb help?

Link to comment
Share on other sites

  • Contributor
17 hours ago, garlandometn said:

when i login it crashes this is the channel syserr

 

SYSERR: Jul 29 19:57:10 :: pid_init: 
Start of pid: 1104
 

Recompile the game and db on your machine. If it's x64, then recompile it in x32 same version.

Syserr does not record crashes.

Link to comment
Share on other sites

¡Hi!

I've installed the server, change language to spanish and i want to implement 4 inventory wich u added in extensions folder. I did all the steps and the client vanished when I input user and password.

syserr:

0730 23:35:10750 :: 
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'>:unindent does not match any outer indentation level (uiInventory.py, line 464)



¿Anyone can help with this error?

 

Edited by Ator
Link to comment
Share on other sites

  • Contributor
9 hours ago, Ator said:

¡Hi!

I've installed the server, change language to spanish and i want to implement 4 inventory wich u added in extensions folder. I did all the steps and the client vanished when I input user and password.

syserr:

0730 23:35:10750 :: 
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'>:unindent does not match any outer indentation level (uiInventory.py, line 464)

0730 23:35:10750 :: ============================================================================================================
0730 23:35:10750 :: Abort!!!!


uiInventory.py

Lines 461-462:
    def Close(self):
        self.Hide()

Lines 464-468:
    def SetInventoryPage(self, page):
        self.inventoryTab[self.inventoryPageIndex].SetUp()
        self.inventoryPageIndex = page
        self.inventoryTab[self.inventoryPageIndex].Down()
        self.RefreshBagSlotWindow()


Lines 470-473:
    def SetEquipmentPage(self, page):
        self.equipmentPageIndex = page
        self.equipmentTab[1-page].SetUp()
        self.RefreshEquipSlotWindow()

¿Anyone can help with this error?

 

Tabulator error. You can't mess up tabs in Python.

Either upload uiinventory.py or enable showing tabs in your editor and you probably will see the error.

Link to comment
Share on other sites

On 7/31/2022 at 9:44 AM, TMP4 said:

Tabulator error. You can't mess up tabs in Python.

Either upload uiinventory.py or enable showing tabs in your editor and you probably will see the error.

That's right, ty sir!

But now... when login I can select character but crashes insta...

0731 11:43:42619 :: 
uiInventory.py(line:313) __LoadWindow
ui.py(line:2704) GetChild

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

0731 11:43:42619 :: ============================================================================================================
0731 11:43:42619 :: Abort!!!!

 

 

Solved:
I have locale_es renamed to locale then the client don't recognize.

Edited by Ator
Link to comment
Share on other sites

  • Contributor
15 minutes ago, Ator said:

That's right, ty sir!

But now... when login I can select character but crashes insta...

0731 11:43:42619 :: 
uiInventory.py(line:313) __LoadWindow
ui.py(line:2704) GetChild

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

0731 11:43:42619 :: ============================================================================================================
0731 11:43:42619 :: Abort!!!!


 

Inventory_Tab_03 missing / forgot to repack from locale's inventorywindow.py.

Link to comment
Share on other sites

*RESOLVED

i just used the command "gamecompile" to compile the 'game' folder.

 

Hello @ TMP4

I'm trying to implement 4 inventories, everything went fine, but the game doesn't recognize the two additional inventories as valid slots and my equipped items will end up there, can you tell me why?

Thank you so much for supporting the files!

https://www.imagemhost.com.br/image/rp5zxy

  • Metin2 Dev 1
Link to comment
Share on other sites

Hello guys,

I receive random unknown patcket header from client, header 133, last 21, 16 or header 169 but i guess they are just random announced.

In serverside (game2 ch1) i got header 26 and 29 and some other quest related errors

Quote

SYSERR: Aug  9 19:25:22 :: Analyze: login phase does not handle this packet! header 26
SYSERR: Aug  9 19:25:22 :: Analyze: login phase does not handle this packet! header 29
SYSERR: Aug  9 19:25:22 :: Analyze: login phase does not handle this packet! header 26
SYSERR: Aug  9 19:25:22 :: Analyze: login phase does not handle this packet! header 29
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:25:22 :: Select: wrong QUEST_SELECT request! : 512
SYSERR: Aug  9 19:27:33 :: pc_give_or_drop_item: QUEST Make item call error : wrong argument
SYSERR: Aug  9 19:28:18 :: Select: wrong QUEST_SELECT request! : 499
SYSERR: Aug  9 19:28:19 :: Select: wrong QUEST_SELECT request! : 499
SYSERR: Aug  9 19:28:19 :: Select: wrong QUEST_SELECT request! : 499

in first channel ch1 

Quote

SYSERR: Aug  9 19:16:40 :: ReadDragonSoulTableFile: dragon_soul_table.txt load error
SYSERR: Aug  9 19:16:40 :: Boot: cannot load DragonSoulTable: locale/romania/dragon_soul_table.txt
SYSERR: Aug  9 19:19:24 :: Analyze: login phase does not handle this packet! header 3
SYSERR: Aug  9 19:19:24 :: Process: SEQUENCE 21fa6d00 mismatch 0xca != 0x2f header 3
SYSERR: Aug  9 19:19:24 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [109 : 0xaf]
    [003 : 0xca]

SYSERR: Aug  9 19:22:48 :: Process: SEQUENCE 361b7680 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:22:48 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:23:31 :: Process: SEQUENCE 361b8480 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:23:31 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:26:56 :: Process: SEQUENCE 361b9280 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:26:56 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:29:41 :: Process: SEQUENCE 361b9980 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:29:41 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:31:35 :: Analyze: login phase does not handle this packet! header 3
SYSERR: Aug  9 19:31:35 :: Process: SEQUENCE 361b7680 mismatch 0xca != 0x2f header 3
SYSERR: Aug  9 19:31:35 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [109 : 0xaf]
    [003 : 0xca]

SYSERR: Aug  9 19:40:53 :: Process: SEQUENCE 361bb580 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:40:53 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:46:31 :: Process: SEQUENCE 361bb580 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:46:31 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:48:33 :: Process: SEQUENCE 3625df80 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:48:33 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 19:58:38 :: Process: SEQUENCE 3625df80 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 19:58:38 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 20:11:36 :: Process: SEQUENCE 361b5e00 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 20:11:36 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 20:13:38 :: Process: SEQUENCE 29542600 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 20:13:38 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug  9 20:13:47 :: Process: SEQUENCE 21fa8900 mismatch 0xaf != 0x64 header 254
SYSERR: Aug  9 20:13:47 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

I removed alchemy system from the serverside (quests from quest & object/state and notarget, item proto vnums npc quest, and renamed that dragon_soul_table and the button from inventory. i think the dragon soul table is one of the problem but its for all of my issues? i think the unknown headers are not from there.

And one more thing, the server is online in a VPS. 

Should i use some ip on configs here? because the players can play without any issues on my server. Could be related to the unknown packets? Just the client is closing randomly sometimes.

#BIND_IP: Your Private/Internal IPv4 address
#PROXY_IP: Your Public/External IPv4 address
 

Thanks a lot.

 

Edited by minigutza
Link to comment
Share on other sites

On 23/2/2022 at 23:52, Amun said:

Apri la macchina virtuale e scrivilo nella console

Quindi cancella tutto e scrivi questo nel file (premi ctrl+k per rimuovere riga per riga, se vuoi):

Sostituisci 25.26.45.233 con il tuo IP di hamachi.

Dove dice 25.26.45.100 scrivi il tuo IP da hamachi, ma invece degli ultimi 3 numeri, scrivi 100.

Per renderlo più semplice, ciò di cui hai bisogno è ifconfig_em0 e defaultrouter, ma ho appena copiato e incollato tutto dal mio..

Premi esc, esci dall'editor e salva le modifiche.

 

Successivamente, riavvia l'interfaccia di rete (scrivila nella console):

Se non si aggiorna automaticamente, riavvialo.

 

Inoltre, assicurati che la configurazione di rete della tua macchina virtuale sia impostata su Bridged Adapter e denomina LogMeIn Hamachi.

Ecco un paio di immagini:

 

Qualcosa per gli altri utenti:

Se ci vuole del tempo per connettersi alla tua VM da SSH o WinSCP, elimina semplicemente `resolv.conf` da ecc.

OPPURE, modificalo e inserisci il tuo IP lì. Nel mio caso, potrei fare questo:





Oppure cancellalo:

 

Buona fortuna!

Hi, I did the whole procedure and also changed the serverinfo.py file but when I start the machine the client does not log in. it gives me connection error with the server

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

On 7/24/2022 at 7:42 AM, TMP4 said:

This is the hidden content, please

https://data.hu/get/13368912/Sash_with_scale.rar
https://files.fm/u/a84skfgev
This is the hidden content, please

i tried edit 01. Svn\Client\GameLib\ItemData.h but i didn't find WEAR_COSTUME_HAIR, in my ItemData.h

// 1) Search:
            WEAR_COSTUME_HAIR,
// 2) After this make a new line and paste:
            #ifdef ENABLE_SASH_SYSTEM
            WEAR_COSTUME_SASH,
            #endif

or Should i ignore that modification?

Here my ItemData.h and its seem dont have WEAR_COSTUME section

https://metin2.download/picture/haBNYMAu0fCpx0QgI5ox8Q7YFqU1cgr4/.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
Link to comment
Share on other sites

  • Contributor
4 hours ago, Darkchrono said:

i tried edit 01. Svn\Client\GameLib\ItemData.h but i didn't find WEAR_COSTUME_HAIR, in my ItemData.h

// 1) Search:
            WEAR_COSTUME_HAIR,
// 2) After this make a new line and paste:
            #ifdef ENABLE_SASH_SYSTEM
            WEAR_COSTUME_SASH,
            #endif

or Should i ignore that modification?

Here my ItemData.h and its seem dont have WEAR_COSTUME section

https://metin2.download/picture/1zymjoD4VZmtUx7r494XCh8O5GmmeUj7/.png

It would go to EWearPositions but it's unused afaik so ignore it. But make sure you have COSTUME_SASH in ECostumeSubTypes.

But it's off-topic, if you have further questions abouts systems please ask in their corresponding forum which would be https://metin2.dev/forum/35-questions-answers/

12 hours ago, BoyBen said:

Hi, I have a problem. I lose hp and sp when entering the game - they are not full and I have to use potions. Any fixes?

 

What is your max hp? If it's over 32k, you need to change the player table hp and mp datatype to int(11).
It's already changed in the source (tables.h) so you only need the database.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Angry 1
  • Good 3
Link to comment
Share on other sites

Announcements



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