Jump to content

HA MeCa

Banned
  • Posts

    131
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by HA MeCa

  1. Hi i have little problem with inivisble, when i revive and fast attack enemy character / mobs i always wait 5 sec, but when i revive and start 1 fight should I be visible at once.

     

    My config inisible all:

     

    char.cpp

     

    de2png_eexphsh.png

     

    char_skill.cpp

     

    devpng_eexpheq.png

     

    guild.cpp

     

    n2flu4.jpg

     

    HELP GUYS :P

  2. maybe?

    if (pkSk->dwType != 0)
    	{
    		// °©Ŕڱ⠱׷ąŔĚµĺ ľ÷ÇĎ´Â ÄÚµů
    		switch (GetSkillMasterType(pkSk->dwVnum))
    		{
    			case SKILL_NORMAL:
    				// ąřĽ·Ŕş ˝şĹł ľ÷±×·ąŔ̵ĺ 17~20 »çŔĚ ·Ł´ý ¸¶˝şĹÍ Ľö·Ă
    				if (GetSkillLevel(pkSk->dwVnum) >= 17)
    				{
    					if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1)
    						SetSkillLevel(pkSk->dwVnum, 20);
    				}
    				break;
    
    			case SKILL_MASTER:
    				if (GetSkillLevel(pkSk->dwVnum) >= 30)
    				{
    					if (number(1, 31 - MIN(30, GetSkillLevel(pkSk->dwVnum))) == 1)
    						SetSkillLevel(pkSk->dwVnum, 30);
    				}
    				break;
    
    			case SKILL_GRAND_MASTER:
    				if (GetSkillLevel(pkSk->dwVnum) >= 40)
    				{
    					SetSkillLevel(pkSk->dwVnum, 40);
    				}
    				break;
    		}
    	}
    

    but i try up

  3. check my quest, tested and everything works:

    quest thsgiftdev begin
        state start begin
            when login begin
                cmdchat("zetsugfsys "..q.getcurrentquestindex())
            end
             
            function giverandomitem()
                local random_nr = number(1,5)
                chat("<Informacja> Trwa losowanie przedmiotu...") 
                if random_nr==1 then
                    pc.give_item2(53001, 1)
                elseif random_nr==2 then
                    pc.give_item2(53002, 1)
                elseif random_nr==3 then
                    pc.give_item2(53003, 1)
                elseif random_nr==4 then
                    pc.give_item2(53005, 1)
                elseif random_nr==5 then
                    pc.give_item2(53006, 1)
                end
                pc.setqf("giftsystemuse", get_time()+60*60*12)
    			pc.change_gold(-1000000)
                cmdchat("giftsyshide")
            end
    		
    		when button or info begin
    			if pc.get_money() < 1000000 then
    				chat("<Informacja> Nie posiadasz 1.000000 Yang.") -- need 1kk
    				return
    			end
    		end
    		
    		when button or info begin
    			if pc.get_level() < 30 then
    				chat("<Informacja> Musisz posiadać 30 poziom.") -- need 30 lvl
    				return
    			end
    		end
    		
    		when button or info begin
    			if pc.get_empty_inventory_count() <= 1 then
    				chat("<Informacja> Masz za mało miejsca w ekwipunku.") -- if full invetory
    				return
    			end
    		end
     
            when button or info begin
                if pc.getqf("giftsystemuse") <= get_time() then
                    thsgiftdev.giverandomitem()
                else
                    chat("<Informacja> Ponowne użycie będzie możliwe po upływie 12H.")
                end
            end
        end
    end
  4. My quest is better you need to open 1000000 yang because everyone would create new character.

     

    BAD ENGLISH XD

    quest thsgiftdev begin
        state start begin
            when login begin
                cmdchat("zetsugfsys "..q.getcurrentquestindex())
            end
              
            function giverandomitem()
                local random_nr = number(1,5)
                chat("Trwa losowanie przedmiotu...") -- Opening 
                if random_nr==1 then
                    pc.give_item2(53001, 1)
                elseif random_nr==2 then
                    pc.give_item2(53002, 1)
                elseif random_nr==3 then
                    pc.give_item2(53003, 1)
                elseif random_nr==4 then
                    pc.give_item2(53005, 1)
                elseif random_nr==5 then
                    pc.give_item2(53006, 1)
                end
                pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  
                pc.change_gold(-1000000)
                cmdchat("giftsyshide")
            end
             
            when button or info begin
                if pc.get_money() < 1000000 then
                    chat("Nie posiadasz 1.000000 Yang")
                return
                end
            end
      
            when button or info begin
                if pc.getqf("giftsystemuse") <= get_time() then
                    thsgiftdev.giverandomitem()
                else
                    chat("Ponowne użycie będzie możliwe po upływie 12H...")
                end
            end
        end
    end
  5. mysql is useless.

    quest thsgiftdev begin
        state start begin
            when login begin
                cmdchat("zetsugfsys "..q.getcurrentquestindex())
            end
             
            function giverandomitem()
                local random_nr = number(1,5)
                chat("Trwa losowanie przedmiotu...") -- Opening 
                if random_nr==1 then
                    pc.give_item2(53001, 1)
                elseif random_nr==2 then
                    pc.give_item2(53002, 1)
                elseif random_nr==3 then
                    pc.give_item2(53003, 1)
                elseif random_nr==4 then
                    pc.give_item2(53005, 1)
                elseif random_nr==5 then
                    pc.give_item2(53006, 1)
                end
                pc.setqf("giftsystemuse", get_time()+60*60*12) -- 12 HRS  
    			pc.change_gold(-1000000)
                cmdchat("giftsyshide")
            end
    		
    		when button or info begin
    			if pc.get_money() < 1000000 then
    				chat("Nie posiadasz 1.000000 Yang")
    			return
    			end
    		end
     
            when button or info begin
                if pc.getqf("giftsystemuse") <= get_time() then
                    thsgiftdev.giverandomitem()
                else
                    chat("Ponowne użycie będzie możliwe po upływie 12H...")
                end
            end
        end
    end
  6.  

     

    syser from channel:

    SYSERR: May  8 17:55:28 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:28 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:30 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:30 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:30 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:31 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:31 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:31 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:32 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:32 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click

    You're the only one who's getting this error. How the fuck is possible.. Do you know how to install a quest? I'll upload it for you .. wait 5 minutes.

     

     

    ok i wait :P

     

  7. syser from channel:

    SYSERR: May  8 17:55:28 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:28 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:29 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:30 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:30 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:30 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:30 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:31 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:31 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:31 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:31 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:32 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
    SYSERR: May  8 17:55:32 :: RunState: LUA_ERROR: [string "gift"]:2: attempt to index global `thsgiftdev' (a nil value)
    SYSERR: May  8 17:55:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest gift.start click
  8.  

    I think that it could be this:

    if ( LC_IsYMIR() == true || LC_IsKorea() == true )
    	{
    		const int aiGrandMasterSkillBookCountForLevelUp_euckr[10] =
    		{
    			3, 3, 4, 5, 6, 7, 8, 9, 10, 15, 
    		};
    
    		const int aiGrandMasterSkillBookMinCount_euckr[10] = 
    		{
    			1, 1, 1, 2, 2, 2, 3, 3, 4, 5
    		};
    
    		const int aiGrandMasterSkillBookMaxCount_euckr[10] = 
    		{
    			5, 7, 9, 11, 13, 15, 18, 23, 25, 30
    		};
    
    		iMinReadCount = aiGrandMasterSkillBookMinCount_euckr[idx];
    		iMaxReadCount = aiGrandMasterSkillBookMaxCount_euckr[idx];
    		iBookCount = aiGrandMasterSkillBookCountForLevelUp_euckr[idx];
    	}

     

    what's changed?

  9. Anyone know how to do that after 10 books ability was on G? IN SOURCE

     

    maybe:

     

    pPC->SetFlag(flag, 0);
    
    
    ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĂĄŔ¸·Î ´ő łôŔş °ćÁöŔÇ Ľö·ĂŔ» Ľş°řŔűŔ¸·Î łˇł»ĽĚ˝Ŕ´Ď´Ů."));
    LogManager::instance().CharLog(this, dwSkillVnum, "READ_SUCCESS", "");
    return true;
    }
    else
    {
    pPC->SetFlag(flag, read_count + 1);
     
    to
     
    pPC->SetFlag(flag, 0);
    
    
    ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĂĄŔ¸·Î ´ő łôŔş °ćÁöŔÇ Ľö·ĂŔ» Ľş°řŔűŔ¸·Î łˇł»ĽĚ˝Ŕ´Ď´Ů."));
    LogManager::instance().CharLog(this, dwSkillVnum, "READ_SUCCESS", "");
    return true;
    }
    else
    {
    pPC->SetFlag(flag, read_count + 0);
     
    ?

     

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