Jump to content

TMP4

Contributor
  • Posts

    1112
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Posts posted by TMP4

  1. Okey.

     

    Aura:

     

    You can read the comments, it's a bad coded version. Maybe you can find better version in google.

     

    Talisman: Since i cannot link another forum's post because of metin2dev rules, i can't help you. If you don't want to use google, then you will not get the system, it's simple.

     

    JbstT0y.png

  2. Use the gdb like Night said and we may help you. What you show us is not showing the error's origin, ITEM_MANAGER::GetTable only involved but not your problem, i'm sure.

     

    so

    gdb
    set gnutarget i386-marcel-freebsd
    
    file game
    
    core game.core
    
    bt
    
    bt full

    Show in a screenshot/copy here the output from bt and bt full too, sometimes bt is enough to solve the problem and it's shorter.

    • Love 1
  3. Your error: gmake[2]: gcc49: Command not found

     

    So install it:

    cd /usr/ports/lang/gcc49/ && make install clean

     

    Since you're using a 6-7years old system i do not reccomend to update the ports, current ports are not compatible with 9.2.

    (Just if anyone wondering why i didn't mentioned "portsnap fetch extract update" command, that's why)

  4. Hi, actully it is a good idea!

     

    db/GuildManager.cpp

    void CGuildManager::ProcessDraw(DWORD dwGuildID1, DWORD dwGuildID2)
    {
    	sys_log(0, "GuildWar: \tThe war between %d and %d is ended in draw", dwGuildID1, dwGuildID2);
    
    	GuildWarDraw(dwGuildID1);
    	GuildWarDraw(dwGuildID2);
    	ChangeLadderPoint(dwGuildID1, 1); //edited 0 to 1
    	ChangeLadderPoint(dwGuildID2, 1); //edited 0 to 1
    
    	QueryRanking();
    }
    
    void CGuildManager::ProcessWinLose(DWORD dwGuildWinner, DWORD dwGuildLoser)
    {
    	GuildWarWin(dwGuildWinner);
    	GuildWarLose(dwGuildLoser);
    	sys_log(0, "GuildWar: \tWinner : %d Loser : %d", dwGuildWinner, dwGuildLoser);
    
    	//Commented these because we set the score manually to 3 or 0 under
    	// int iPoint = GetLadderPoint(dwGuildLoser);
    	// int gain = (int)(iPoint * 0.05);
    	// int loss = (int)(iPoint * 0.07);
    
    	// if (IsHalfWinLadderPoint(dwGuildWinner, dwGuildLoser))
    		// gain /= 2;
    
    	// sys_log(0, "GuildWar: \tgain : %d loss : %d", gain, loss);
    
    	ChangeLadderPoint(dwGuildWinner, 3); //edited
    	ChangeLadderPoint(dwGuildLoser, 0); //edited
    
    	QueryRanking();
    }

    Maybe i would change the loss to 1 point and draw to 2, then people would do wars any way, at least they get a point.

     

    Also in game/guild.h i would change the minimum member from 8 to 4 at least.

    GUILD_WAR_MIN_MEMBER_COUNT = 8, 

     

    • Love 1
  5. Since link is down, somebody can tell me in what client can i find map_b2 and map_c2?

     

    Edit: found it in a random client, reupload of that 2 map: 

    This is the hidden content, please

    Other maps should be in every client (season1-season2.eix-epk)

    • Metin2 Dev 14
    • Think 1
    • Confused 1
    • Lmao 1
    • Good 4
    • Love 2
    • Love 7
  6. Those are from the 2004 korean beta.

    This client is 2005 chinese beta. (I know the topic's title say 2004 but it's actually a 2005 one)

     

    If someone upload the 2004 korea beta i swear i will log in with that even if it's hard, but we're in 2020, so that file published 16years ago to korean people only, i don't think we will ever see that client in action ?

     

    Btw the map in your pictures called "metin2_map" what was kept by Ymir in outdoor.eix-epk in the released client, so we still have that.

    Not long ago i made a rework of that map, take a look to this: 

     

    • Love 1
  7. I don't reccomend to open a text file every time and delete from it, we have eventflags for that.

    quest m2dev begin
        state start begin
            when 101.kill begin
                 if get_game.get_event_flag("drop1") == 0 and math.random(100) >= 50 then
                     game.drop_item_with_ownership(19, 1)
                     game.set_event_flag("drop1", 1)
                 end
                 if get_game.get_event_flag("drop2") == 0 and math.random(100) >= 50 then
                     game.drop_item_with_ownership(149, 1)
                     game.set_event_flag("drop2", 1)
                end
                if get_game.get_event_flag("drop3") == 0 and math.random(100) >= 50 then
                     game.drop_item_with_ownership(279, 1)
                     game.set_event_flag("drop3", 1)
                end
            end
        end
    end

    math.random(100) >= 50 <-- This is the chance, so it will generate a number up to 100 and if it 50 or greater, it will drop. So basicly 50% chance.

     

    If you want re-enable a drop, write "/e drop1 0" with a GM character for re-enabling drop1.

    You can re-enable with a quest too game.set_event_flag("drop1", 0)

    • Love 2
  8. Of course it will be wrong because you still use wndChat's paramteres while it's not related to wndChat anymore.

    You want to stick with the upper right corner, so you don't need wndMgr.GetScreenHeight(), you only need wndMgr.GetScreenWidth().

    (Using ScreenHight would make it stick to the bottom right corner btw)

     

    Try this:

    yangText = self.NewGoldChat(None, wndMgr.GetScreenWidth() - 50, 125)

    This code make it stick -50 pixel in right, and -125 from top.

     

    These numbers are not accurate with your wish, i don't have that type of yangChat to test where it will fit 100% with your exception,

    so you'll have to test and edit those numbers. I just guessed rough numbers where it will be somewhat good.

    • Love 1
  9. Only translate.lua (in a lot of languages) and it's quests leaked back in 2014. (Most likely 2013 ones like kraizy.tgz just published later)

    You can find that in this forum too.

     

    txts and database files never leaked, most of us still using Rain's txt files with extended with the new stuffs.

    (My common_dtop_item.txt is 100% same with Rain's :D )

    While you can see people using new gf item and mob_proto, those are actually made from the clientside with reverse dump_proto.

    • Love 1
  10. Version of Files : Default 40k from kraizy.tgz

    Hi, so i was browsing Martysama's website checking what he fixed in his source version, and i found that there is a myshop_pricelist dbcache corrupted data fix.

    So i checked mine table (source from kraizy.tgz), and yes it write totally wrong numbers to that table when we open a private shop and wait for 7 minute to "flush". 

     

    So i'm looking for a fix for that. I don't have Martysama source to check and i don't want to pirate it from nasty sites.

     

    Thanks, Sincerly,
    TMP4

     

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