Jump to content

Freakazoid

Members
  • Posts

    25
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Freakazoid

  1. Hmmm...

     

    In fact, you are the real beginner here. It is great that you have the initiative to "code" something (because lets be honest to ourselves, just by the information posted about the event configurations, it seems like an old L2J version of it), but you should share this stuff and not try to sell (something that somebodyelse codded or maybe not) it for just a few bucks.

     

    As Anarchy said:

     

    1 hour ago, An4rchy said:

    Such events are shared in numerous packs nowadays, I don't see the reason for someone to buy it.

     

    GL.

     

    and I totally agree, dude. I am not trying to demoralize you or trash the time you spent modifying the code, I am just trying to be real. STOP SELLING and START SHARING AGAIN. People learn from what you share by reading the code and making it work by themselves, not from buying it and paying for you to install it on their crappy packs to open crappy servers and contribute ruining the community (more than it already is).

     

    And one last thing: if you are trying to sell something, sell something ORIGINAL and WELL CODDED. Most of the codes people sell are shit and so are they designs (html, textures, codes).

     

    First, you should learn how to do it GOOD. And then, you'll be able to sell stuff.

     

    But you know, that's just my opinion, and this is none of my business.

     

    GL.

  2. 33 minutes ago, LineageLover said:

    Thank you for your help but I found a way to do it without editing Ai.obj.

    As learning skills require 2 quests - subclass(id=235) and  More Than Meets the Eye(id=136) i changed {[quest_num]=136} to {[quest_num]=235} inside npcdata for master_transformation npc. 

     

    I hope it makes sense.

     

    Solved.

     

    It does, and its also a clean solution to your problem.

     

    I am glad that you could have been able to solve it!

  3. 
    set_compiler_opt base_event_type(@NTYPE_NPC_EVENT)
    
    class transform_teacher : citizen {
    parameter:
    	int	quest_num = -1;
    	int	flag_subjob_start = 10255;
    	int	flag_subjob_end = 10266;
    	int	fee_delete_subjob = 10000000;
    	int	skill_acquire = 4;
    	int	multisell = -1;
    	int	skill_acquire2 = 5;
    	int	skill_book_id1 = 0;
    	int	skill_book_id15 = 0;
    	int	skill_book_id16 = 10612;
    	string	fnHi3 = "master_transformation008.htm";
    	string	fnHi4 = "master_transformation008.htm";
    	string	fnHi5 = "master_transformation007.htm";
    	string	fnHi6 = "master_transformation009no.htm";
    	string	fnHi7 = "master_transformation008no.htm";
    	string	fnHi8 = "master_transformation010no.htm";
    
    handler:
    	EventHandler MENU_SELECTED(talker,ask,reply,i0,i1)
    	{
    		if( ask == -299 )
    		{
    			if( reply == 0 )
    			{
    				ShowEtcSkillList(talker, skill_acquire, "");
    			}
    			else if( reply == 1 )
    			{
    				if( multisell > -1 )
    				{
    					ShowMultisell(multisell, talker);
    				}
    			}
    		}
    		else if( ask == -282 )
    		{
    			if( reply == 0 )
    			{
    				i0 = 0;
    				i1 = 0;
    				if( talker.subjob_id != 0 )
    				{
    					ShowPage(talker, fnHi3);
    					return;
    				}
    				for( i0 = skill_book_id1; i0 < skill_book_id15 + 1; ++i0 )
    				{
    					if( OwnItemCount(talker, i0) > 0 )
    					{
    						i1 = i1 + 1;
    					}
    				}
    				if( OwnItemCount(talker, skill_book_id16) > 0 )
    				{
    					i1 = i1 + 1;
    				}
    				if( i1 == 0 )
    				{
    					ShowPage(talker, fnHi4);
    					return;
    				}
    				if( GetOneTimeQuestFlag(talker, quest_num) == 0 )
    				{
    					ShowPage(talker, fnHi5);
    					return;
    				}
    				ShowEtcSkillList(talker, skill_acquire2, "");
    			}
    			else if( reply == 1 )
    			{
    				i0 = 0;
    				i1 = 0;
    				if( talker.subjob_id != 0 )
    				{
    					ShowPage(talker, fnHi3);
    					return;
    				}
    				if( OwnItemCount(talker, @adena) < fee_delete_subjob )
    				{
    					ShowPage(talker, fnHi7);
    					return;
    				}
    				if( GetOneTimeQuestFlag(talker, quest_num) == 0 )
    				{
    					ShowPage(talker, fnHi5);
    					return;
    				}
    				for( i0 = flag_subjob_start; i0 < flag_subjob_end + 1; ++i0 )
    				{
    					if( GetOneTimeQuestFlag(talker, i0) == 1 )
    					{
    						i1 = i1 + 1;
    					}
    				}
    				if( i1 == 0 )
    				{
    					ShowPage(talker, fnHi8);
    					return;
    				}
    				DeleteItem1(talker, @adena, fee_delete_subjob);
    				for( i0 = skill_book_id1; i0 < skill_book_id15 + 1; ++i0 )
    				{
    					if( OwnItemCount(talker, i0) > 0 )
    					{
    						DeleteItem1(talker, i0, OwnItemCount(talker, i0));
    					}
    				}
    				if( OwnItemCount(talker, skill_book_id16) > 0 )
    				{
    					DeleteItem1(talker, skill_book_id16, OwnItemCount(talker, skill_book_id16));
    				}
    				for( i0 = flag_subjob_start; i0 < flag_subjob_end + 1; ++i0 )
    				{
    					if( GetOneTimeQuestFlag(talker, i0) == 1 )
    					{
    						SetOneTimeQuestFlag(talker, i0, 0);
    					}
    				}
    				DeleteAcquireSkills(talker, skill_acquire2);
    				AddLogByNpc(899, talker, fee_delete_subjob, 0);
    				ShowPage(talker, fnHi6);
    			}
    		}
    	}
    
    	EventHandler ONE_SKILL_SELECTED(talker,skill_name_id,need_quest,i0)
    	{
    		ShowGrowEtcSkillMessage(talker, skill_name_id, i0, "");
    	}
    }

     

    Test it.

  4. On 3/18/2020 at 4:43 AM, LexaKAZAN said:

    they are and there is nothing to create (NPC)

     

    Small Fix:
    add packages:
    ExPCCafeRequestOpenWindowWithoutNPC (package for opening Pc-bang shop)
    RequestFlyMove, RequestFlyMoveStart (this package is responsible for "JUMPING" need a test  https://cloud.mail.ru/public/Wwcy/4aBKTPse8 )
    Fix npc in Aden not correctly finding npc places in god-client
    Fix Auto-Shots and Auto-Learning
    etc continue to work further with this source

     

    Are you working private with this free source?

     

  5. UPDATE:

     

    I dont know the guy, but his work is amazing. I havent seen anything original and fresh like this in 5 years MINIMUM. It is great to see people still investing time in Lineage II to obtain these amazing pieces of work.

    I would love to work with people like him and I am somehow exited and looking forward to see more about this. Keep it going!

     

    I totally recommend buying this if you're a server owner or just a player. It will boost your game experience or your server quality.

     

    quitarse-el-sombrero.png

     

    Respect.

    • Thanks 2
×
×
  • Create New...