Jump to content

Cunoo

Inactive Member
  • Posts

    326
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Cunoo

  1. UTF8? For Czech?! xd

    Try use brain...

    Use charset windows1250 (Central European) and save as charset no instadead save..


    Edit: CZ - UTF8 neumí diakritiku je to mezinárodní univerzal.. Musíš použít charset co jsem ti napsal a před zápisem prvně otevři locale_string.txt - já používám sublime místo notepadu.. V něm dej reopen with encoding.. Dej windows1250.. Zapiš si vše co chceš a pak to s tím ulož..

  2. Hi,

    Today I add new bonuses in character status, but I dont know how to add texts..

    Whats I know:

    1. 2D - windows.dds
    2. Python - characterwindow.py

    Problem is I dont know what I must search and where is .sub file..
    Can anyone help me?

    Here is screenshot what I need:


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

     

    Thanks!

  3. affect.add_collect
    affect.remove_collect

     You can use this.. Its so ugly but works.

    Edit:
     

    If you want quest whats work..

    20lv - 3
    40lv - 5
    60lv - 10
    80lv - 12
    100lv - 20

    3+5+10+12+20 = 50 at 100lv..

    I mean this is better than after 20lv´s receive 10.. This is better balanced for actual lv..

    quest human begin
    	state start begin
    		when login or levelup with pc.get_level() >= 20 begin
    			affect.add_collect(apply.ATTBONUS_HUMAN, 3, 60*60*24*365*60)
    			set_state(lv40)
    		end
    	end
    	state lv40 begin
    		when login or levelup with pc.get_level() >= 40 begin
    			affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*24*365*60)
    			set_state(lv60)
    		end
    	end
    	state lv60 begin
    		when login or levelup with pc.get_level() >= 60 begin
    			affect.add_collect(apply.ATTBONUS_HUMAN, 10, 60*60*24*365*60)
    			set_state(lv80)
    		end
    	end
    	state lv80 begin
    		when login or levelup with pc.get_level() >= 80 begin
    			affect.add_collect(apply.ATTBONUS_HUMAN, 12, 60*60*24*365*60)
    			set_state(lv100)
    		end
    	end
    	state lv100 begin
    		when login or levelup with pc.get_level() >= 100 begin
    			affect.add_collect(apply.ATTBONUS_HUMAN, 20, 60*60*24*365*60)
    			set_state(__COMPLETE__)
    		end
    	end
    	state __COMPLETE__ begin
    	end
    end

     

    • Love 1
  4. Hi guys,

    I have little problem with my client.. So sounds works good (character, hitbox, monter, etc.. just sounds) but music dont play..
    I mean .mp3.. List is ok, BGM folder is ok, miles folder is ok.. I can see ingame music in BGM folder, I can play music, but without volume.. And yes volume is on max...

    Did anyone have a similar problem or tip where is problem?
    Syserr is clean and I dont know how long I have this problem.. But I never changed anything..
    Binary is packed by enigma but without miles folder..

    Thanks for tips..

  5. Anyone has solution how to fix it? I want minimalize filter like classic mobs..

     

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

    Thanks!

    Edit: Fix by yourself..

    This:

    // Metin
    		STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_METIN));
    		aIterator = m_MetinPositionVector.begin();
    		while (aIterator != m_MetinPositionVector.end())
    		{
    			TMarkPosition & rPosition = *aIterator;
    			m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY);
    			m_WhiteMark.Render();
    			++aIterator;
    		}

    Not under this:

    // NPC
    	STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_NPC));
    	aIterator = m_NPCPositionVector.begin();
    	while (aIterator != m_NPCPositionVector.end())
    	{
    		TMarkPosition & rPosition = *aIterator;
    		m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY);
    		m_WhiteMark.Render();
    		++aIterator;
    	}

    But under this:

    // Monster
    		STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_MOB));//m_MarkTypeToColorMap[TYPE_MONSTER]);
    		aIterator = m_MonsterPositionVector.begin();
    		while (aIterator != m_MonsterPositionVector.end())
    		{
    			TMarkPosition & rPosition = *aIterator;
    			m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY);
    			m_WhiteMark.Render();
    			++aIterator;
    		}

     

    • Metin2 Dev 1
    • Good 3
    • Love 1
    • Love 1
  6. 28 minutes ago, AlleXuSS said:

    Tottaly agree with you but you need to work a bit on 40k serverfiles to learn how to make things you can't delete a new function when you don't know how to delete it from any files not only the call of that function :D personally for me i'm newbie in 40k sf and it's so damn hard for me to delete or add some new stuff,system! look for example i wanted to implement the target info system and that taked me more than 1 day to put it in the source sf without errors .. now it's  work on the SF part then next day comes the client source part and a big problem when i try to compile the new source i get "CWebBrowser.lib is not a valid win32 application"i don't know why i get this i asked the guy that put the sf at download and he says he don't know too xD well what i can do in this case, abandon the current sf and move to another ? xD

    Yes but if you use old core you cant implement this system..  Same problem as if you dont know how.. And if you want start with complete basic source files, just use fliege files.. This is not best way, but better than old core..

  7. On 2/6/2020 at 9:25 AM, AlleXuSS said:

    Agree with you but this is the start from 404 you started to play metin :) you can't let your past because the most famous "40k with source is alive" yea it's alive but isn't like the experience from the 404 when all players would have the same items,bonuses ,etc on 40k that alchemy,sash,energy,etc personally i hate those "New Systems"!

    Peace! 

    This is true, but you can simply edit source and delete all new functions.. Second way is hide/disable all new functions.. Welcome same game as 2008, but with source.. If you have source, you can repair 1000 bugs from old game.. You can upgrade python, granny library, you can more protect your game.. You can what you want.. Not reason using old game core and easy way change core.. I have old 2011 server with source.. Game is same, but I have more options..

    • Love 1
  8. 6 hours ago, mogulul said:

    Is possible to switch from VB to VPS or VDS?i mean can i host this kind of sf?

    And why not? So sorry but your question is same as using this sf for server in 2020... And I dont know if is 404 core safe... Better use 2089m or 40k.. You can use locale repositary.. Same as 90% of client... (item_list, proto, skilldesc, icons, items, maps, just all what you need for game like 2004).. Btw. you can simple pack game from vdi to tar or tar.gz in console and unpack on vps..

    Edit: Btw... Better use daroo, same effect but you cant must translate korea text..

  9. 11 hours ago, AOS said:

    You have any links?

    This is the hidden content, please


    password for rar is "germany"
    This is not my backup, but is it original. Full VDI 2089m original daroo mega edition..

    I lose link for client, but I have original rar in pc.. Still wait for link uploading mega..

    You can create your server with this files.. Its original clean 2012 game without dragon alchemy, belts, costume and more new updates..
    I recommend change core for clean 40k, because 2089m is rlly old and you dont have source...

    Edit: Here client from my mega: 
    This is the hidden content, please

    • Metin2 Dev 1
    • Good 3
    • Love 3
  10. 14 minutes ago, Heathcliff™ said:

    Then check what you did wrong :D

    • # Online member
      ALREADY_NOTIFY_LIST = []

     

    •         if not name in constInfo.ALREADY_NOTIFY_LIST:
                  self.onlinePopup = uiCommon.OnlinePopup()
                  self.onlinePopup.SetUserName(name)
                  self.onlinePopup.SetEvent(ui.__mem_func__(self.OpenWhisper), "MOUSE_LEFT_BUTTON_UP", name)
                  self.onlinePopup.SlideIn()
              
                  constInfo.ALREADY_NOTIFY_LIST.append(name)    

    i remove these parts

  11. 10 hours ago, Flourine said:

    Buffer overflow i think. I had same and i used one fix from another forum

    Yes you are right.. I create mistake in code.. Forgot change all code.. Now working fine..

    10 hours ago, filipw1 said:

    Why would I change that?

    For example if you need more characters than 64 in your quest functions.. I want this for function "say_item"  because I need longer desc..

  12. Hi everyone,

    I need change lenght for "QUEST_STATE_MAX_LEN".. Default size is 64, but I have after changes problems.. Just after open longest quest client frozen..

    My changes:

    Serverside:

    common/tables.h

    #define QUEST_STATE_MAX_LEN	64

    to

    #define QUEST_STATE_MAX_LEN	128

    Clientside:

    eterlib/parses.cpp // 2x

    if (iValueLen >= 64)
    				{
    					TraceError("argument value overflow: must be shorter than 64 letters");
    					return false;
    				}

    to

    if (iValueLen >= 128)
    				{
    					TraceError("argument value overflow: must be shorter than 128 letters");
    					return false;
    				}

    What can I do bad?

    Edit: Ok I´m idiot!.. I forgot this:

    char szValue[64 + 1];

    to

    char szValue[128 + 1];

    same files in clientside before first code..

    Okey thanks, here is free guide if someone need too :D

  13. Open in client/src/UserInferface/UserInferface.cpp

    Search this line:

    #ifdef _DISTRIBUTE 
    		stRegisterDebugFlag ="__DEBUG__ = 0";
    #else
    		stRegisterDebugFlag ="__DEBUG__ = 1"; 
    #endif

    replace with this:

    #ifdef _DISTRIBUTE 
    		stRegisterDebugFlag ="__DEBUG__ = 0";
    #elif _DEBUG
    		stRegisterDebugFlag ="__DEBUG__ = 1";
    #else
    		stRegisterDebugFlag ="__DEBUG__ = 0";
    #endif

     

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