Jump to content

ziad

Member
  • Posts

    42
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ziad

  1. Hello guys , as you can see in the GIF link , i have a small bugg with the friendlist everytime i teleport or each time i login if you want

    syserr

    1225 21:59:59243 :: Traceback (most recent call last):
    
    1225 21:59:59243 ::   File "ui.py", line 1863, in CallEvent
    
    1225 21:59:59243 ::   File "ui.py", line 96, in __call__
    
    1225 21:59:59243 ::   File "ui.py", line 78, in __call__
    
    1225 21:59:59243 ::   File "interfacemodule.py", line 1380, in ToggleMessenger
    
    1225 21:59:59243 ::   File "uimessenger.py", line 875, in Show
    
    1225 21:59:59243 ::   File "uimessenger.py", line 906, in __LoadWindow
    
    1225 21:59:59243 :: AttributeError
    1225 21:59:59243 :: : 
    1225 21:59:59243 :: 'module' object has no attribute 'MOBILE'
    1225 21:59:59243 :: 

     

    if someone can guide me where to look or what should i do it would be great ! 

    thank you so much . 

     

    https://metin2.download/picture/I7Zw5Pe6u8cLLOCYi4BAmz40IMs17Mzh/.gif

  2. Hello guys , sorry for disturbing . 

    ive got an issue ,when im wearing my belt its not appearing in any window . 

    i did check source client , binary , and inventory windows but im not really sure wheres the problem so if someone can help would be cool thanks 

     

     

    Inventorywindow.py

    Quote

                                    {
                                        "name" : "EquipmentSlot",
                                        "type" : "slot",

                                        "x" : 3, # giyili itemleri saða sola çeker
                                        "y" : 3, # giyili itemleri aþaðý yukarý çeker

                                        "width" : 150,
                                        "height" : 182,

                                        "slot" : (
                                                    {"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
                                                    {"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
                                                    {"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
                                                    {"index":EQUIPMENT_START_INDEX+18, "x":75, "y":2, "width":32, "height":32},
                                                    #Talisman Slot
                                                    {"index":EQUIPMENT_START_INDEX+25, "x":3, "y":106, "width":32, "height":32},
                                                    ## »õ ¹ÝÁö1
                                                    {"index":item.EQUIPMENT_NEW_RINGS11, "x":75, "y":106, "width":32, "height":32},
                                                    ##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
                                                    ## »õ º§Æ®
                                                    {"index":EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
                                                ),

    Gametype.h

    Quote

    const DWORD c_Equipment_Body    = c_Equipment_Start + 0;
    const DWORD c_Equipment_Head    = c_Equipment_Start + 1;
    const DWORD c_Equipment_Shoes    = c_Equipment_Start + 2;
    const DWORD c_Equipment_Wrist    = c_Equipment_Start + 3;
    const DWORD c_Equipment_Weapon    = c_Equipment_Start + 4;
    const DWORD c_Equipment_Neck    = c_Equipment_Start + 5;
    const DWORD c_Equipment_Ear        = c_Equipment_Start + 6;
    const DWORD c_Equipment_Unique1    = c_Equipment_Start + 7;
    const DWORD c_Equipment_Unique2    = c_Equipment_Start + 8;
    const DWORD c_Equipment_Arrow    = c_Equipment_Start + 9;
    const DWORD c_Equipment_Shield    = c_Equipment_Start + 10;
    #ifdef ENABLE_STOLE_REAL
    const DWORD c_Equipment_Stole = c_Equipment_Start + 18;
    #endif

    #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
        const DWORD c_New_Equipment_Start = c_Equipment_Start + 21;
    #ifdef ENABLE_PENDANT
        const DWORD c_New_Equipment_Count = 5;
    #else
        const DWORD c_New_Equipment_Count = 3;
    #endif
        const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0;
        const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1;
        const DWORD c_Equipment_Belt  = c_New_Equipment_Start + 2;
    #ifdef ENABLE_PENDANT
        const DWORD c_Equipment_Pendant = c_New_Equipment_Start + 4;
    #endif

     

    length.h

     

    Quote

    enum EWearPositions
    {
        WEAR_BODY,        // 0
        WEAR_HEAD,        // 1
        WEAR_FOOTS,        // 2
        WEAR_WRIST,        // 3
        WEAR_WEAPON,    // 4
        WEAR_NECK,        // 5
        WEAR_EAR,        // 6
        WEAR_UNIQUE1,    // 7
        WEAR_UNIQUE2,    // 8
        WEAR_ARROW,        // 9
        WEAR_SHIELD,    // 10
        WEAR_ABILITY1,  // 11
        WEAR_ABILITY2,  // 12
        WEAR_ABILITY3,  // 13
        WEAR_ABILITY4,  // 14
        WEAR_ABILITY5,  // 15
        WEAR_ABILITY6,  // 16
        WEAR_ABILITY7,  // 17
    #ifndef ENABLE_STOLE_REAL
        WEAR_COSTUME_STOLE,
    #else
        WEAR_ABILITY8,
    #endif
        WEAR_COSTUME_BODY,    // 19
        WEAR_COSTUME_HAIR,    // 20

        WEAR_RING1,            // 21    : ½Å±Ô ¹ÝÁö½½·Ô1 (¿ÞÂÊ)
    #ifdef ENABLE_MOUNT_COSTUME_SYSTEM
        WEAR_COSTUME_MOUNT = WEAR_RING1, // costume_mount == ring1
    #endif

        WEAR_RING2,            // 22    : ½Å±Ô ¹ÝÁö½½·Ô2 (¿À¸¥ÂÊ)
    #ifdef ENABLE_ACCE_SYSTEM
        WEAR_COSTUME_ACCE = WEAR_RING2, // costume_acce == ring2
    #endif

        WEAR_BELT,            // 23    : ½Å±Ô º§Æ®½½·Ô

     

  3. This include affected my binary , so its not the right solution .. 

     

    again i have a bad path while building my srcs , 

     

    VS 2022 in use . 

     

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

     


    Error    MSB3073    The command "cd C:\Users\Ziad-\OneDrive\Desktop\Altyapı\Binary\Client\CRootLib\\Workplace\
    call 2.bat
    call 3.bat

    I dont know if its related to this code

    if someone can help please thanks 

     

        <PreBuildEvent>
          <Command>cd $(ProjectDir)\Workplace\
    call 2.bat
    call 3.bat
    </Command>
          <Message>cythonizing root</Message>
        </PreBuildEvent>
      </ItemDefinitionGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
        <ClCompile>
          <WarningLevel>Level3</WarningLevel>
          <PrecompiledHeader>
          </PrecompiledHeader>
          <Optimization>MaxSpeed</Optimization>
          <FunctionLevelLinking>true</FunctionLevelLinking>
          <IntrinsicFunctions>true</IntrinsicFunctions>
          <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <AdditionalIncludeDirectories>..\..\Extern\include\Python-2.7;..\..\Extern\include</AdditionalIncludeDirectories>
          <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
          <CompileAs>CompileAsC</CompileAs>
          <MultiProcessorCompilation>true</MultiProcessorCompilation>
          <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
          <OmitFramePointers>true</OmitFramePointers>
          <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
          <WholeProgramOptimization>false</WholeProgramOptimization>
          <BrowseInformation>true</BrowseInformation>
        </ClCompile>
        <Link>
          <SubSystem>Windows</SubSystem>
          <GenerateDebugInformation>true</GenerateDebugInformation>
          <EnableCOMDATFolding>true</EnableCOMDATFolding>
          <OptimizeReferences>true</OptimizeReferences>
        </Link>
        <PreBuildEvent>
          <Message>cythonizing root</Message>
          <Command>cd $(ProjectDir)\Workplace\
    call 2.bat
    call 3.bat
    </Command>

  4. Hello guys , 

     

    im trying to compile my source and im having these errors .. 

    at my friend its compiling well , i have all the needed extensions and everything

    can someone please explain me more about the problem ? 

     

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

     

    https://metin2.download/picture/8VoGs3EZ99evfE5QYiRYRtVX00Z8gd0F/.png

     

    https://metin2.download/picture/5UXv6T5loPI8NqNjxIZQ9fAbUiNwzFKE/.png

     

    Thanks

     

     

  5. Hello thank you really for the help it worked well 

     

    But i've got a new problem , i tried to add multi language system , sources compiled fine no errors nothing , but when i try to log ingame it get stuck on the characters window , like the connection stops there or so , ill show u the multilanguage server source part if u had time to check it , do it if not , just tell me wich part can persist this problem to recheck on it 

     

    This is the hidden content, please

     

    search for : #ifdef ENABLE_MULTILANGUAGE , thanks again :D

    • Metin2 Dev 5
    • Good 3
    • Love 1
  6. hello i added multi language system , after i added it im getting this error 

     

    networkModule.SetSelectCharacterPhase - <type 'exceptions.SyntaxError'>:EOL while scanning string literal (uiGuild.py, line 2006)

     

    class BuildGuildBuildingWindow(ui.ScriptWindow):

        if localeInfo.IsJAPAN():
            GUILD_CATEGORY_LIST = (

    line 2006                ("HEADQUARTER", "?bz?),
                    ("FACILITY", "g?z?),
                    ("OBJECT", "???),
                )
        elif localeInfo.IsYMIR() or localeInfo.IsWE_KOREA():
            GUILD_CATEGORY_LIST = (
                    ("HEADQUARTER", "본건물"),
                    ("FACILITY", "기능건물"),
                    ("OBJECT", "조경물"),

     

    can anyone help me ?

  7. 0119 19:37:23150 :: Traceback (most recent call last):

    0119 19:37:23150 ::   File "game.py", line 1499, in OnMouseLeftButtonUp

    0119 19:37:23151 ::   File "game.py", line 1536, in __PutItem

    0119 19:37:23151 :: AttributeError
    0119 19:37:23151 :: : 
    0119 19:37:23151 :: 'GameWindow' object has no attribute '_GameWindow__DropItem'
    0119 19:37:23151 :: 

     

     

    can someone please help me ?

  8. 0119 19:37:23150 :: Traceback (most recent call last):

    0119 19:37:23150 ::   File "game.py", line 1499, in OnMouseLeftButtonUp

    0119 19:37:23151 ::   File "game.py", line 1536, in __PutItem

    0119 19:37:23151 :: AttributeError
    0119 19:37:23151 :: : 
    0119 19:37:23151 :: 'GameWindow' object has no attribute '_GameWindow__DropItem'
    0119 19:37:23151 :: 

     

     

    can someone help me ?

  9. hello i got this php vote4coins / is there anyway to make it vote for lets say 6/7 adders switchers ? (71051 , 71052)

    thats the page of vote

     

     

     

    <div class="container">
    	<div class="page-hd" style="background-image: url(<?php print $site_url; ?>images/ranking.png)">
    		<div class="bd-c">
    			<h2 class="pre-social"><?php print $lang['vote']; ?></h2>
    		</div>
    	</div>
    	<?php if(isset($voted_now) && isset($already_voted) && !$voted_now) { ?>
    	<div class="alert alert-danger alert-dismissible fade in" role="alert">
    		<button type="button" class="close" data-dismiss="alert" aria-label="Close">
    			<span aria-hidden="true">&times;</span>
    		</button><?php print $lang['vote-again'].' <strong>'.$already_voted.'</strong>'; ?>
    	</div>
    
    	<?php } if(count($vote4coins)) { ?>
    	<table class="table table-hover">
    		<thead class="thead-inverse">
    			<tr>
    				<th style="width: 15%">#</th>
    				<th style="width: 30%">Site</th>
    				<th style="width: 20%"><?php print $lang['value']; ?></th>
    				<th style="width: 20%"><?php print $lang['time']; ?></th>
    				<th><?php print $lang['vote']; ?></th>
    			</tr>
    		</thead>
    		<tbody>
    		<?php $i=1; foreach($vote4coins as $key => $vote) { ?>
    			<tr>
    				<th scope="row"><?php print $i++; ?></th>
    				<td><?php print $vote['name']; ?></td>
    				<td><?php print $vote['value']; if($vote['type']==1) print 'MD'; else print 'JD'; ?></td>
    				<td><?php print $vote['time'].' '.$lang['hours']; ?></td>
    				<td><a href="<?php print $site_url.'user/vote4coins/'.$key; ?>" class="btn btn-primary btn-sm"><?php print $lang['vote']; ?></a></td>
    			</tr>
    		<?php } ?>
    		</tbody>
    	</table>
    	<?php } else { ?>
    	<div class="alert alert-info" role="alert">
    		<strong>Info!</strong> <?php print $lang['no-download-links']; ?>
    	</div>
    	<?php } ?>
    </div>

    and this is the admin panel one

     

    <div class="container">
        <form action="" method="post">
    		<div class="form-group row">
    			<div class="col-sm-4">
    				<input type="text" class="form-control" name="site_name" placeholder="Site">
    			</div>
    			<div class="col-sm-8">
    				<input type="url" class="form-control" name="site_link" placeholder="Link" value="http://">
    			</div>
    		</div>
    		<div class="form-group row">
    			<div class="col-sm-4">
    				<input type="number" class="form-control" name="coins" placeholder="0" value="0">
    			</div>
    			<div class="col-sm-4">
    				<select class="form-control" name="type">
    					<option value="1">MD</option>
    					<option value="2">JD</option>
    				</select>
    			</div>
    			<div class="col-sm-4">				
    				<div class="input-group">
    					<input class="form-control" name="time" min="1" required="" type="number">
    					<span class="input-group-addon"><?php print $lang['hours']; ?></span>
    				</div>
    				
    			</div>
    		</div>
    
            <div class="form-group row">
                <div class="col-sm-10">
                    <button type="submit" name="submit" class="btn btn-primary"><?php print $lang['add']; ?></button>
                </div>
            </div>
        </form>
    	
    	<?php if(count($jsondataVote4Coins)) { ?>
    	<table class="table table-hover">
    		<thead class="thead-inverse">
    			<tr>
    				<th>#</th>
    				<th>Site</th>
    				<th><?php print $lang['coin']; ?></th>
    				<th><?php print $lang['value']; ?></th>
    				<th><?php print $lang['time']; ?></th>
    				<th><?php print $lang['delete']; ?></th>
    			</tr>
    		</thead>
    		<tbody>
    		<?php $i=1; foreach($jsondataVote4Coins as $key => $vote4coins) { ?>
    			<tr>
    				<th scope="row"><?php print $i++; ?></th>
    				<td><?php print $vote4coins['name']; ?></td>
    				<td><?php if($vote4coins['type']==1) print 'MD'; else print 'JD'; ?></td>
    				<td><?php print $vote4coins['value']; ?></td>
    				<td><?php print $vote4coins['time'].' '.$lang['hours']; ?></td>
    				<td><a href="<?php print $site_url.'admin/vote4coins/'.$key; ?>" class="btn btn-primary btn-sm"><?php print $lang['delete']; ?></a></td>
    			</tr>
    		<?php } ?>
    		</tbody>
    	</table>
    	<?php } ?>
    </div>

    ty for the help ! 

  10. system.py(line:163) Run
    uiscript/questiondialogitem.py(line:51) <module>

    LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'DROP'

     

    im getting this error does anyone knows how to fix it or what should i do ? ty

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