Jump to content

Koray

Active Member
  • Posts

    384
  • Joined

  • Last visited

  • Days Won

    58
  • Feedback

    0%

Posts posted by Koray

  1.  

     

    Which branch are you using? (novaline / mainline_sg etc..)

     

    Best regards,

    Can BARAN...

     

    mainline

     

    Self-owned "locale_string.txt" take the backup file. Will you try the file I've made? 

     

    File: http://dosya.co/7knl3fbbse9a/locale_string.rar.html

    VirusTotal: 
    This is the hidden content, please
     
    Edit: Never install without making changes to the file. (It is necessary to change the character sets.)
     
    Best regards,
    Can BARAN...

     

     

    same

  2. quest afkauto begin
    	state start begin
    	end
    	state run begin
    		when login begin
    			if(game.get_event_flag("afk_mod") == 0) then
    				return
    			else
    				if(pc.getqf("afk") == 0) then
    					pc.setqf("limit_time",get_time()+15*60)
    					pc.setqf("afk",1)
    					pc.setqf("localy",pc.get_local_y())
    					pc.setqf("localx",pc.get_local_x())
    					timer("Check",10)
    				elseif(pc.getqf("afk") == 1 and not pc.is_polymorphed() and not pc.is_gm()) then
    					if(get_time() >= pc.getqf("limit_time") and pc.getqf("localy") == pc.get_local_y() and pc.getqf("localx") == pc.get_local_x()) then
    						command("logout")
    						notice_in_map(pc.name.." Afk moduna geçmiştir.Bu yüzden oyundan çıkartıldı. [AFK-MOD] ")
    						notice_all("Writer By : Mehmet")
    						pc.setqf("afk",0)
    					else
    						timer("Check",10)
    					end
    				else
    					timer("Check",10)
    				end
    			end
    		end
    		
    		when Check.timer begin
    			if(game.get_event_flag("afk_mod") == 0) then
    				return
    			else
    				if(pc.getqf("afk") == 0) then
    					pc.setqf("limit_time",get_time()+15*60)
    					pc.setqf("afk",1)
    					pc.setqf("localy",pc.get_local_y())
    					pc.setqf("localx",pc.get_local_x())
    				 elseif(pc.getqf("afk") == 1 and not pc.is_polymorphed()) then
    					if(get_time() >= pc.getqf("limit_time") and pc.getqf("localy") == pc.get_local_y() and pc.getqf("localx") == pc.get_local_x()) then
    						command("logout")
    						notice_in_map(pc.name.." Afk moduna geçmiştir.Bu yüzden oyundan çıkartıldı. [AFK-MOD] ")
    						notice_all("Writer by : Mehmet")
    						pc.setqf("afk",0)
    						cleartimer("Checkone")
    						cleartimer("Check")						
    					else
    						timer("Checkone",10)
    					end
    				else
    					timer("Checkone",10)
    				end
    			end
    		end
    		
    		when Checkone.timer begin
    			if(game.get_event_flag("afk_mod") == 0) then
    				return
    			else
    				if(pc.getqf("afk") == 0) then
    					pc.setqf("limit_time",get_time()+15*60)
    					pc.setqf("afk",1)
    					pc.setqf("localy",pc.get_local_y())
    					pc.setqf("localx",pc.get_local_x())
    				 elseif(pc.getqf("afk") == 1 and not pc.is_polymorphed()) then
    					if(get_time() >= pc.getqf("limit_time") and pc.getqf("localy") == pc.get_local_y() and pc.getqf("localx") == pc.get_local_x()) then
    						command("logout")
    						notice_in_map(pc.name.." Afk moduna geçmiştir.Bu yüzden oyundan çıkartıldı. [AFK-MOD] ")
    						notice_all("Writer by : Mehmet")
    						pc.setqf("afk",0)
    						cleartimer("Checkone")
    						cleartimer("Check")
    					else
    						timer("Check",10)
    					end
    				else
    					timer("Check",10)
    				end
    			end
    		end 
    

     

    Writed by Aveline, I hope that would be enough

  3. Notepad ++ is a problem stemming from the program.

     

    TR: Notepad++ 'dan kaynaklanan bir sorun. Karakter takımını kendiliğinden verdiği için birkez kayıt ettiğinde komple locale_string.txt bozuluyor. Notepad2 ile çalışırsan sorunsuz düzenleyebilir veya çalıştığını görebileceksindir. (Başka bir problem olmadığını var sayarak bunu söylüyorum. Editlemelerinide bildirirsen mantık yürütebilirim.)

     

    Best regards,

    Can BARAN...

     

    Unfortunately not because for notepad, When using my old compiled a core no problem, related with core but i dont know associated with what

  4.  

    In game.py, add in serverCommandList 

    "QuestIndex"	: self.__ReceiveQuestIndex
    "get_input_value"    : self.__GetInputValue
    

    Then add the folowing functions in game.py:

    		def __ReceiveQuestIndex(self, index):
    			constInfo.QuestIndex = int(index)
    		def __GetInputValue(self):
    			net.SendQuestInputStringPacket(str(constInfo.Answer))
    

    Then in constInfo.py, add:

    QuestIndex = 0
    Answer = ""
    

    In uichat.py, in __SendChatPacket function, add:

    if text[0] == '&' and text[1] == '&':
    	com = text.split(" ")
    	constInfo.Answer = com[1]
    	import event
    	event.QuestButtonClick(int(constInfo.QuestIndex))
    	return
    

    Now, in the quest, you receive the answer like this:

    when login begin
            cmdchat("QuestIndex "..q.getcurrentquestindex())
    end
    when info or button begin
            
    	local answer= input(cmdchat("get_input_value"))
    	if answer == "CorrectAnswer" then
                chat("Your answer is correct!")
            end
    end
     

    I hope this will work, it is not tested.

    You have to adapt the if answer == "CorrectAnswer" then to check the question too. If you do not succed, let me know.

     

     

    it worked thanks bro :)

  5. Hi guys,

     

    I am trying new event like ox, but question-answer shaped with using chat.

     

    How it should work:

    We add some questions and their answers to the quest file

    like every 20 minutes a random question will be chosen from the question list

    when a player writes the correct answer to chat label using this format: &&<answer>(quest input) he will get a reward

     

    Example; November is how many days?

    Answer; "30"

     

    User send answer like this > "&& 30"

     

    I am trying this way split answer and sending quest

     

     

    com = text.split(" ")
     
    if com[0] == "&&":
    net.SendQuestInputStringPacket(com[1])
     
    but of course it did not work because quest keys attached from game.py, I trying from uichat because chat label attached uichat
     
    hopefully was able to tell, I'm really confused, please help
     
    Regards

     

  6.  

     

     

     

    Hello community

     

    My little core collection, all files untouched

     

     

    Links:

     

    Game;

    https://yadi.sk/d/CORRRcHkbx4sL

    Db;

    https://yadi.sk/d/jLZdYmpWbx4ru

     

    Scan Result:

     

    Game:

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

    Db:

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

     

     

    Regards

     

    The pet system is like that of the officer? 
    Then we just need to add the quests?
     
    @Koray

     

     

    I don't know because i don't make this core

    Yes you need quest

     

    the quest to use is one that is used in the 34 / 40k?

     

    34k quests

  7.  

     

    Hello community

     

    My little core collection, all files untouched

     

     

    Links:

     

    Game;

    https://yadi.sk/d/CORRRcHkbx4sL

    Db;

    https://yadi.sk/d/jLZdYmpWbx4ru

     

    Scan Result:

     

    Game:

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

    Db:

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

     

     

    Regards

     

    The pet system is like that of the officer? 
    Then we just need to add the quests?
     
    @Koray

     

     

    I don't know because i don't make this core

    Yes you need quest

    • Scream 1
  8.  

     

    Hello community

     

    My little core collection, all files untouched

     

     

    Links:

     

    Game;

    https://yadi.sk/d/CORRRcHkbx4sL

    Db;

    https://yadi.sk/d/jLZdYmpWbx4ru

     

    Scan Result:

     

    Game:

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

    Db:

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

     

     

    Regards

     

    What is "2089m_pet"? 
    I know that the revision 2089m may not have the pet system.

     

    modded core, having pet system

  9. M2 Download Center

    This is the hidden content, please
    ( Internal )

    Hello community!

    My little core collection, all files untouched

     

    Spoiler

    db_r2007

    db_r1667

    db_r1866

    db_r33820

    db_r40146

    game_r404

    game_r1765

    game_r2019

    game_r2089

    game_r2089m

    game_r2089m_pet

    game_r2138

    game_r3008

    game_r27967_1

    game_r27967_2

    game_r32073

    game_r32075

    game_r34083_6

    game_r34083_8

    game_r34083_62

    game_r36912

    game_r36911_2

    game_r36911_wolf

    game_r40250

    game_r40267

    game_r40424

    game_r41115

    game_r41260

    game_r44680

    game_r48437

     

    Links:

     

     

     

    Scan Result:

     

     

     

    Regards

     

    • Metin2 Dev 3
    • Good 3
    • Love 1
    • Love 5
  10. &nbsp;

    @Ellie, i cant send you a pm message, could you delete the old messages or active the message system? thanks.

    Or i write here.

    If you send the number 8:

    net.SendCreateCharacterPacket(chrSlot, textName, raceIndex, shapeIndex, statCon, statInt, statStr, statDex)

    raceIndex = 8 when u use the wolfman , if the number &gt;7 , return you can't create the character, i'm searching in the source of db "ClientManagerPlayer" but i not find how unlock the number 8 or bigger.

    Anyone know how?

    PD: i fix the number 4 of the index

    if (index&amp;amp;lt;0 &amp;amp;amp;amp;&amp;amp;amp;amp; index&amp;amp;gt;4) // edit, normal index&amp;amp;gt;3

    return Py_BuildException();

    &nbsp;

    &nbsp;

    @Ellie, i cant send you a pm message, could you delete the old messages or active the message system? thanks.

    Or i write here.

    If you send the number 8:

    net.SendCreateCharacterPacket(chrSlot, textName, raceIndex, shapeIndex, statCon, statInt, statStr, statDex)

    raceIndex = 8 when u use the wolfman , if the number &gt;7 , return you can't create the character, i'm searching in the source of db "ClientManagerPlayer" but i not find how unlock the number 8 or bigger.

    Anyone know how?

    PD: i fix the number 4 of the index

    if (index&amp;amp;lt;0 &amp;amp;amp;amp;&amp;amp;amp;amp; index&amp;amp;gt;4) // edit, normal index&amp;amp;gt;3

    return Py_BuildException();

    &nbsp;

    common/lenght.h open

    falow this code block

    enum EJobs

    {

    JOB_WARRIOR,

    JOB_ASSASSIN,

    JOB_SURA,

    JOB_SHAMAN,

    JOB_MAX_NUM

    };

    replace wth

    enum EJobs

    {

    JOB_WARRIOR,

    JOB_ASSASSIN,

    JOB_SURA,

    JOB_SHAMAN,

    JOB_WOLFMAN,

    JOB_MAX_NUM

    };

    open game/input_login.cpp and search this "bool RaceToJob(unsigned race, unsigned* ret_job)"

    and replace func

    {

    *ret_job = 0;

    switch (race)

    {

    case MAIN_RACE_WARRIOR_M:

    *ret_job = JOB_WARRIOR;

    break;

    case MAIN_RACE_WARRIOR_W:

    *ret_job = JOB_WARRIOR;

    break;

    case MAIN_RACE_ASSASSIN_M:

    *ret_job = JOB_ASSASSIN;

    break;

    case MAIN_RACE_ASSASSIN_W:

    *ret_job = JOB_ASSASSIN;

    break;

    case MAIN_RACE_SURA_M:

    *ret_job = JOB_SURA;

    break;

    case MAIN_RACE_SURA_W:

    *ret_job = JOB_SURA;

    break;

    case MAIN_RACE_SHAMAN_M:

    *ret_job = JOB_SHAMAN;

    break;

    case MAIN_RACE_SHAMAN_W:

    *ret_job = JOB_SHAMAN;

    break;

    case MAIN_RACE_WOLFMAN_M:

    *ret_job = JOB_WOLFMAN;

    break;

    default:

    return false;

    break;

    }

    return true;

    }

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