Jump to content

Ace

Mapper
  • Posts

    365
  • Joined

  • Last visited

  • Days Won

    37
  • Feedback

    0%

Posts posted by Ace

  1. Spoiler

    Hi, what do you mean with:

    int quest_get_current_quest_name(lua_State* L)
    	{
    		CQuestManager& q = CQuestManager::instance();
    		PC* pPC = q.GetCurrentPC();
    	
    		lua_pushstring(L, pPC->GetCurrentQuestName().c_str());
    		return 1;
    	}
    
    	void RegisterQuestFunctionTable()
    	{
    		luaL_reg quest_functions[] = 
    		{
    			{ "getcurrentquestname",	quest_get_current_quest_name},
    			{ NULL,						NULL						}
    		};
    
    		CQuestManager::instance().AddLuaFunctionTable("q", quest_functions);

    replace the whole with this?

     

    int quest_get_current_quest_index(lua_State* L)

    Spoiler
    int quest_get_current_quest_index(lua_State* L)
    	{
    		CQuestManager& q = CQuestManager::instance();
    		PC* pPC = q.GetCurrentPC();
    
    		int idx = q.GetQuestIndexByName(pPC->GetCurrentQuestName());
    		lua_pushnumber(L, idx);
    		return 1;
    	}

     

    void RegisterQuestFunctionTable()

    Spoiler
    void RegisterQuestFunctionTable()
    	{
    		luaL_reg quest_functions[] = 
    		{
    			{ "setstate",				quest_setstate				},
    			{ "set_state",				quest_setstate				},
    			{ "yield",					quest_coroutine_yield		},
    			{ "set_title",				quest_set_title				},
    			{ "set_title2",				quest_set_another_title		},
    			{ "set_clock_name",			quest_set_clock_name		},
    			{ "set_clock_value",		quest_set_clock_value		},
    			{ "set_counter_name",		quest_set_counter_name		},
    			{ "set_counter_value",		quest_set_counter_value		},
    			{ "set_icon",				quest_set_icon_file			},
    			{ "start",					quest_start					},
    			{ "done",					quest_done					},
    			{ "getcurrentquestindex",	quest_get_current_quest_index	},
    			{ "no_send",				quest_no_send				},
    			// begin_other_pc_block(pid), end_other_pc_block 사이를 other_pc_block이라고 하자.
    			// other_pc_block에서는 current_pc가 pid로 변경된다.
    			//						끝나면 다시 원래의 current_pc로 돌아간다.
    			/*		이런 것을 위해 만듬.
    					for i, pid in next, pids, nil do
    						q.begin_other_pc_block(pid)
    						if pc.count_item(PASS_TICKET) < 1 then
    							table.insert(criminalNames, pc.get_name())
    							canPass = false
    						end
    						q.end_other_pc_block()
    					end
    			*/
    			// 주의 : other_pc_block 내부에서는 절대로 yield가 일어나서는 안된다.(ex. wait, select, input, ...)
    			{ "begin_other_pc_block",	quest_begin_other_pc_block	}, 
    			{ "end_other_pc_block",		quest_end_other_pc_block	},
    			{ NULL,						NULL						}
    		};
    
    		CQuestManager::instance().AddLuaFunctionTable("q", quest_functions);
    	}

     


    #Edit: Okay.. lol

  2. 2 minutes ago, ASIKOO said:

    My first map that I created almost 2 years ago... xD

    Yea, my first Map ever was Arbana.

    the Firsttime is the best time.

    • Metin2 Dev 2
    • Confused 1
    • Good 1
    • Love 1
    • Love 3
  3. 10 hours ago, MEHOK said:

    ok deal ..

     

    The work you have put into it is definitely not worth only 15 € to you, is it? It's not just about how cool the map looks, but how and what has been placed. And there I see a certain order, which is worth more than this tiny, shitty 15 €.

     

    10 hours ago, MrQuin said:

    I give you 15 for this!

    For this 15 € you will eventually get the WorldEditor v50, but not a map.

    • Good 1
  4. Hello people, who has interest and boredom, can now and then look at me on my channel over :).

    It's not an advertisement for those who don't know me. It's about mapping and C # Program (Forevermetin2)

    https://www.twitch.tv/iacemetin2

     

    Spoiler

    I was excluded from the chat for any inexplicable reasons, otherwise I could have asked where to put my thread, and if I can push this..

    cya

  5. On 5/18/2021 at 3:50 PM, Tatsumaru said:

    Another old problem that nobody seems to have reported yet.
    The world editor seems to have problems displaying objects where transparency has been applied. Such objects are not visible in the program, but they are visible in the game. For an example, you can check this object:
    D:\ymir work\zone\dungeon\dawnmistwood_dungeon\prayer_banner01

    giphy.gif

    I asked myself a few times and also researched. At the end I was told that something has to be changed in Worldeditor.

     

     

    Alternative: saves the objects transparently in clients and nontransparently in worldeditor.

    • Think 1
    • Good 1
    • Love 1
  6. Hello guys,

    any idea's for pserver section?

    top is the old ui and bottom is the new ui.

    i hope you can give me some ideas :)

    Spoiler

    105258Unbenannt-3.png

    Pserver is the last think i have to work on :)

    if this is finished and the other details, i will

    update the thread.

  7. M2 Download Center

    This is the hidden content, please
    ( Internal )

    hello people

    i wanted to publish something small.

    You can see icons that I modded at the end of 2013.

    The idea is or was that skills jump directly from m1 to G1 through a soul book.

    it was intended for an oldschool server. I think the icons are very beautiful 

    and that's why I'm happy to share them with you.

    If you want to create a quest for it, you are welcome to do it. I'll adjust these later and add them here.

     

    Have fun with it

    Kind regards

    Ace

     

    Bookindow

    Spoiler

    212151bookindow.png

     

    Download

    Spoiler

    This is the hidden content, please

     

    • Metin2 Dev 17
    • Dislove 1
    • Not Good 1
    • Scream 1
    • Lmao 2
    • Good 11
    • Love 12
  8. 4 hours ago, Summex said:

    Looks very good! I already enjoyed the earlier versions and this seems to be even better. It's like a mini SDK for Metin 👍🏼

    This one is different yes Summes. Some guys like you will enjoy the full functions. :)

    thank you 

    • Love 2
  9. On 3/28/2021 at 3:40 PM, betsch96 said:

    spacer.png

     

    Does anyone know how to fix that bug?

    best regards

    Dont do "F4" or "F3" if your on the A Page.

    That is it.

    • Good 1
    • Love 2
  10. On 8/15/2020 at 5:45 PM, Speachless said:

    Can this be fixed ? It happens when we create mountains.

     

    I6QoYvS.jpg

     

     

    It's upset here and there, I can agree.

     

     

    This method here is the easiest (for me personally) to deal with. It's called:

    Spoiler

    Love

    Spoiler

    Don't work sloppily.

     

     

     

     

     

    • Good 1
  11.  

    No, it's definitely not over. It is a long term project. Work on

     

    Spoiler

    Whim

     

    Spoiler

    Motivation

    Spoiler

    Situation

    Spoiler

     

    And the most important thing:

    Spoiler

     

    Time

     

     

     

    Spoiler

    Mhm..

     

    Spoiler

    forevermetin2

    You can follow this instagram page. every now and then ... well, rarely news about the tool.

     

    :) be Forevermetin2 ❤️

     

     

     

     

     

     

     

    okay, I had time for that, yes, right. But that's different.

     

  12. On 8/19/2020 at 10:58 PM, Finnael said:

    Yeah, but not only the color. It just looks too flat imo. Especially compared to the rest of the map.

     

    mhm, well.

    the color make me angry. next time i will install 3ds and try to create another mid.

  13. 15 hours ago, Finnael said:

    The atmosphere really looks great on this one. Only the field where guilds fight looks kinda out of place I think.

     

    you mean that one on the middle? so the color, if yes, well the color is out of place.

    kind regards

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