Jump to content

TyWin

Inactive Member
  • Posts

    88
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by TyWin

  1. 40k

    Hello guys, I want to ask anyone, who already faced this problem.

    On Lycan it's ok. The problem is, that the item_scale is not working only WHEN i meet someone in town etc. When he will die and click (restart here) it's allright.

    Its doing only on characters warrior, ninja, sura, shaman.

     

    The problem:

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

     

     

    Do you have any tips, what should I update/change?

    Thanks in advance,

    Tywin.

  2. 40125

    Hello community.

     

    I have small question about disabling client Granny sysser.

    This things is doing literally nothing to me, everything is fine, but it's spamming my client sysser.

    I tried to search the field but I only found it in .dll files (the text).

     

    Problem:

    GRANNY: d:/dev/rad/granny/rt/granny_animation_binding.cpp(492): ERROR: The track group "Bip01" has keyframed animation tracks, which are meant for preprocessing only.  They will be ignored during playback. --- [2] Warning --- [33] Animation

     

    Do you know, how to disable Granny sysser sending into client?

    Thank you in advance,

    Tywin.

     

  3. Version of Files 40123

    Hello guys,

    Im curently adding shared official pet system into my server.

     

    I faced a lot of problems, then solved them, but now Im struggling with this weird error. 

     

    Photo: https://metin2.download/picture/XgL9t9Ng2X6Xhg6PB8STdCv32i8wIq98/.png

     

    Sysser:

    0603 22:03:16338 :: Exception 
    0603 22:03:16338 :: AttributeError
    0603 22:03:16338 :: : 
    0603 22:03:16338 :: "'PetSystemMini' object has no attribute 'hWnd'"
    0603 22:03:16338 ::  in 
    0603 22:03:16338 :: <bound method PetSystemMini.__del__ of <uipetsystem.PetSystemMini object at 0x2472D0F0>>
    0603 22:03:16338 ::  ignored
    
    0603 22:03:16338 :: Traceback (most recent call last):
    
    0603 22:03:16338 ::   File "networkModule.py", line 239, in SetGamePhase
    
    0603 22:03:16338 ::   File "game.py", line 125, in __init__
    
    0603 22:03:16338 :: TypeError
    0603 22:03:16338 :: : 
    0603 22:03:16338 :: __init__() takes at least 2 arguments (1 given)
    0603 22:03:16338 :: 

     

     

    Thank you in advance,

    Tywin

     

     

  4. import uiScriptLocale
    import app
    
    window = {
    
    	"x" : 0,
    	"y" : 0,
    
    	"width" : SCREEN_WIDTH,
    	"height" : SCREEN_HEIGHT,
    
    	"children" :
    	[
    		## Board
    		{
    			"name" : "BackGround",
    			"type" : "expanded_image",
    
    			"x" : 0,
    			"y" : 0,
    
    			"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",
    
    			"x_scale" : float(SCREEN_WIDTH) / 800.0,
    			"y_scale" : float(SCREEN_HEIGHT) / 600.0,
    		},
    		{ 
    			"name":"ErrorMessage", 
    			"type":"text", "x":10, "y":10, 
    			"text": uiScriptLocale.LOAD_ERROR, 
    		},
    		
    		{
    			"name" : "GageBoard",
    			"type" : "window",
    			"style" : ("ltr",),
    			"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
    			"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
    			"width" : 400, 
    			"height": 80,
    
    			"children" :
    			(
    			
    				{
    					"name" : "BackGage",
    					"type" : "expanded_image",
    
    					"x" : 40,
    					"y" : 25,
    
    					"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_empty.dds",
    				},
    				{
    					"name" : "FullGage",
    					"type" : "expanded_image",
    
    					"x" : 40,
    					"y" : 25,
    
    					"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_full.dds",
    				},
    			),
    		},
    	],
    }
    
    window["children"] = window["children"] + [
    {
    	"name" : "TipBackground",
    	"type" : "middleboard",
    	
    	"x"	: 0,
    	"y" : float(SCREEN_HEIGHT) * 500 / 600.0 - 100,
    	
    	"width" : SCREEN_WIDTH,
    	"height" : 100,
    	
    	"children" :
    	(
    		{
    			"name" : "LoadingTip",
    			"type" : "text",
    			
    			"x"	: float(SCREEN_WIDTH) / 2,
    			"y" : 40,				
    			
    			"text" : " ",
    			"text_horizontal_align" : "center",
    			"fontsize" : "LARGE",
    		},
    	),		
    },]

    Official one, still same error

  5. Maybe try some light VPS, not every core working there, but its easier and much cheaper than dedicated servers. I also think the cost of the electricity & public ip fees will be bigger than cost of the VPS monthly price.

     

    If you want to run it on your PC you need to own Public Ip adress, ask your internet provider. 

    • Love 1
  6. Hello, first of all this not a release, it's just 1-5 second work.

    Today I found a problem on my server, it was lagging when we were in map in small distance and attacking a lot of monsters.

     

    There was like 1-3s delay and it was horrible.

    I know a lot of you know about it, dont write it here please.

     

    Open:

    PythonNetworkStreamPhaseGame.cpp

    Search for: 

    const DWORD MAX_RECV_COUNT =

    You have different value there, I recommend edit it to 32

    It will look like this:

    const DWORD MAX_RECV_COUNT = 32;

    Save it, build it, enjoy.

    Result for me: No delay when mount/unmount, no delay when adding new status points etc.

     

    • Not Good 1
    • Love 13
  7. Hello guys, I have small problem with adding new hotkey button. When I edit already working button.

    For example, Ill edit hotkey "O" with my special window its working good.

    But when I want to add another one (I tried F6, 5 and "K" button)

    <type 'exceptions.IndentationError'>:unexpected indent (game.py, line 385)

    My code:

            onPressKeyDict[app.DIK_K]			= lambda : self.interface.ToggleSpecialStorageWindow()

    Thank you.

  8. Hello community.

    First I want to ask you if you already faced this problem before.

    I have a very strange problem with locale_string and translating those texts.

     

    I just finished translation of full locale_string into my major language.

    But some of them are working, some of them not. But when I put those strings just (2-4 lines) alone they are working good.

     

    There is a small example

    Every translate on this quote work except on line called "The bonuses has transfered..."

    But when I delete everything the line except the line with "The bonuses  has transfered..." is working.

    As I said this is just an example. I have fully translated locale_string and the translate is like 50%. Some of them are working, some of them not.

    I'm really confused, it's maybe some stupid bug, but it's really annoying and I'm really pissed off right know.

     

    (<Dračí alchymie> lines are working)

    "°­Č­Ă˘Ŕ» ż¬ »óĹÂżˇĽ­´Â ľĆŔĚĹŰŔ» żĹ±ć Ľö ľř˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Okno výběru je otevřené, nemůžeš přesunout žádné předměty.";
    
    "żëČĄĽ® ĂßĂ⿡ Ľş°řÇĎż´˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Dračí kámen byl úspěšně vylepšen.";
    
    "żëČĄĽ® ĂßĂ⿡ ˝ÇĆĐÇĎż© %s¸¦ ľňľú˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Dračí kámen se nepodařilo vylepšit. Stálo tě to %s.";
    
    "ŔĚąĚ Ŕĺşń¸¦ ÂřżëÇĎ°í ŔÖ˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Předmět byl již vybaven.";
    
    "Âřżë ÁßŔÎ żëČĄĽ®Ŕş ĂßĂâÇŇ Ľö ľř˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Dračí kámen nemohl být extrahován.";
    
    "żë˝É ĂßĂ⿡ Ľş°řÇĎż´˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Dračí kámen byl odebrán.";
    
    "ĂćŔüÇŇ Ľö ľř˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Nelze zaúčtovat.";
    
    "%dĂĘ ¸¸Ĺ­ ĂćŔüµÇľú˝Ŕ´Ď´Ů.";
    "<Dračí alchymie>  %d doba trvání.";
    
    "µî±Ţ °ł·®żˇ ˝ÇĆĐÇß˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Nepodařilo se zlepšit úroveň.";
    
    "µî±Ţ °ł·®żˇ Ľş°řÇß˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Podařilo se vylepšit dračí kámen.";
    
    "´Ü°č °ł·®żˇ ˝ÇĆĐÇß˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Nepodařilo se vylepšit úroveň.";
    
    "´Ü°č °ł·®żˇ Ľş°řÇß˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Podařilo se vylepšit úroveň.";
    
    "°­Č­żˇ Ľş°řÇß˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Bylo úspěšné.";
    
    "°­Č­żˇ ˝ÇĆĐÇß˝Ŕ´Ď´Ů.";
    "<Dračí alchymie> Vylepšování selhalo.";
    
    "<Alchemy> Succeeded in improving the grade.";
    "<Dračí alchymie> Zušlechťování stupně Dračího kamene bylo úspěšné.";
    
    "<Alchemy> Failed to improve ratings.";
    "<Dračí alchymie> Zušlechťování úrovně Dračího kamene selhalo.";
    
    "<Alchemy> Step in improving success.";
    "<Dračí alchymie> Zušlechťování stupně čirosti Dračího kamene bylo úspěšné.";
    
    "<Alchemy> Improved step failed.";
    "<Dračí alchymie> Zušlechťování stupně čirosti Dračího kamene selhalo.";
    
    "The bonuses has transfered to the Costume 1 succesfully!";
    "Bonusy kostýmu byly úspěšně přesunuty.";
    
    

    When I put it alone it's working good....

    "The bonuses has transfered to the Costume 1 succesfully!";
    "Bonusy kostýmu byly úspěšně přesunuty.";

     

    Thank you in advance for your reactions maybe some tips.

  9. Ok, I fixed it.

    There was stupid mistake with vnum of the monster as already said. So the problem was only in ITEM_PROTO.txt

    Old line looked like this:

    52045    고급 소환의 패    ITEM_COSTUME    COSTUME_MOUNT    1    ANTI_DROP|ANTI_SELL|ANTI_GIVE|ANTI_STACK|ANTI_MYSHOP    NONE    NONE    NONE    0    0    0    0    0    REAL_TIME    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    3    0    0    0    0    0    0    0    0        

    New looks like this:

    52045	mount	ITEM_COSTUME	COSTUME_MOUNT	1	ANTI_STACK	NONE	NONE	NONE	0	0	0	0	0	REAL_TIME_FIRST_USE	2592000	LIMIT_NONE	0	APPLY_ATT_GRADE_BONUS	100	APPLY_NONE	0	APPLY_NONE	0	0	20244	0	0	0	0	0	0	0		

    #solved

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