Jump to content

szotyizz

Inactive Member
  • Posts

    22
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by szotyizz

  1. Hello! The system I use : Sash system like official by LeNnT There is an item_scale.txt file for this system, and of course the sash positions could be adjusted there. But no matter what value I enter, the position of the sash does not change. It is as if the client does not load the item_scale.txt file. And the sashes seem so strangely "big". Does anyone have any ideas? Thank you in advance for your help!

    https://im gur.c om/a/1PQY4Z8

    That was the only way I could add the pictures. Please remove the space from it

  2. Hello. Thanks for the help. ♥

    The system I added is the: Title System on Belts

    Cliens source: 0 error

    Server source: 0 error

    Auth,Ch1,Database 0 error

    Has anyone encountered this error? If so, could you describe the solution? There is no packet 243 on the server.

     

    Client error after loading screan

    0922 19:42:20537 ::  CPythonPlayer::LinkPartyMember(dwPID=1096630611, dwVID=1852403044) - Failed to find party member
    0922 19:42:20538 :: Unknown packet header: 243, last: 1 91

  3. Anyone have any ideas? I'm already exhausted. Thanks in advance

     

    SYSERR: Sep 21 12:11:40 :: 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 't_choosed ,t_available FROM player WHERE id=1' 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,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina,UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point,,t_choosed ,t_available FROM player WHERE id=1 errno: 1064)

    SYSERR: Sep 21 12:11:40 :: RESULT_COMPOSITE_PLAYER: null MYSQL_RES QID 0

  4. I would add a little fix too. Presentation: https://metin2.download/picture/67vxVifX442WeL96BoRexPaUI6o0e7Hq/.png

     

    In uitooltip.py you have added an additional parameter to def AddItemData, your def probably looks something like this:

    "def AddItemData(self, itemVnum, metinSlot, attrSlot = 0, flags = 0, unbindTime = 0, preview = 1):"

     

    Solution: 

     

    Python: uiattachmetin.py

     

    ##Search

    self.oldToolTip.AddItemData

     

    ##Replace

    self.oldToolTip.AddItemData(itemIndex, metinSlot, 0, 0, 0, 0)

     

    ##Search

    self.newToolTip.AddItemData

     

    ##Replace

    self.newToolTip.AddItemData(itemIndex, metinSlot, 0, 0, 0, 0)

     

     

    ##Parameter explanation

     

    ## 1. itemVnum

    ## 2. metinSlot

    ## 3. attrslot (0 default)

    ## 4. flags (0 default)

    ## 5. preview (1 default)

    • Metin2 Dev 5
    • Not Good 1
    • Good 3
    • Love 2
  5. 23 hours ago, displayjokes said:

    My bad, i read weapons and assumed it was normal weapons.

    Anyway, your code is right by the tutorial i think.

     

    Here's how i fixed it (my costume weapon system uses value3 to identify the type of weapon):

    Search for (inside the "elif itemSubType == 3: #weapon") :

    
    
    					if player.GetRace() != 7 and player.GetRace() != 3:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())
    					if player.GetRace() == 5 or player.GetRace() == 1:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())
    					if player.GetRace() == 0 or player.GetRace() == 4:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())
    					if player.GetRace() == 7 or player.GetRace() == 3:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())

    Replace with:

    
    
    					if item.WEAPON_SWORD == item.GetValue(3): 
    						if player.GetRace() != 7 and player.GetRace() != 3:
    							self.__ModelPreview(itemVnum, 3, player.GetRace())
    					if item.WEAPON_DAGGER == item.GetValue(3) or item.WEAPON_BOW == item.GetValue(3):
    						if player.GetRace() == 5 or player.GetRace() == 1:
    							self.__ModelPreview(itemVnum, 3, player.GetRace())
    					if item.WEAPON_TWO_HANDED == item.GetValue(3):
    						if player.GetRace() == 0 or player.GetRace() == 4:
    							self.__ModelPreview(itemVnum, 3, player.GetRace())
    					if item.WEAPON_BELL == item.GetValue(3) or item.WEAPON_FAN == item.GetValue(3): 
    						if player.GetRace() == 7 or player.GetRace() == 3:
    							self.__ModelPreview(itemVnum, 3, player.GetRace())

     

    The piece of code you had is just randomly checking if you are a race or another and setting the weapon in the model.

    This fix checks the weapon you're using and if the race you are can use that type of weapon.

     

    Let me know if it works.

    Thank you very much! The code works!

  6. On 2021. 02. 22. at 15:20, displayjokes said:

    Hé, minden rendben működik, kivéve néhány effektet, mint a fehér oroszlánfüst / kék páncélfüst, mit csinálok rosszul vagy hiányzik?

    Erre gondolok:

    spacer.png

     

    Is:

    Nézd meg:

      Rejtett tartalom felfedése

    uitooltip.py

    keresés:

    
    
    
    
    		

     

    az elif végén ellenőrizze, hogy van-e így:

    
    
    
    
    
    			if preview != 0:
    				if item.WEAPON_SWORD == itemSubType: 
    					if player.GetRace() != 7 and player.GetRace() != 3:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())
    				if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType: 
    					if player.GetRace() == 5 or player.GetRace() == 1:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())
    				if item.WEAPON_TWO_HANDED == itemSubType: 
    					if player.GetRace() == 0 or player.GetRace() == 4:
    						self.__ModelPreview(itemVnum, 3, player.GetRace())
    				if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType: 
    					if player.GetRace() == 7 or player.GetRace() == 3:
    						self.__ModelPreview(itemVnum, 3,

     

     

    I have this in uitooltip.py please check it.

     

    This is the hidden content, please

    • Metin2 Dev 15
    • Eyes 1
    • Not Good 1
    • Smile Tear 1
    • Think 1
    • Good 5
    • Love 6
  7. 0213 22:17:28880 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:17:28880 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:17:30100 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:17:30100 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:17:31008 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:17:31008 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:17:31916 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:17:31916 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:17:32822 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:17:32822 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:17:33731 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:17:33731 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:18:40907 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:18:40907 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:18:43086 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:18:43086 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:18:45281 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:18:45281 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:18:46187 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:18:46187 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)
    0213 22:18:52211 :: Not a valid .WAV file: sound/pc2/assassin/bow/attack1.wav
    0213 22:18:52211 :: CSoundManager3D::GetInstance (filename: sound/pc2/assassin/bow/attack1.wav)

     

    Client syserr.

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