Register for your free account! | Forgot your password?

You last visited: Today at 08:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Sammelthread]kleinere sources Releases

Discussion on [Sammelthread]kleinere sources Releases within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 73
Received Thanks: 31
[Sammelthread]kleinere sources Releases

[EN]Hello, I make this post for people who want to use srcs tips & tutorial and not help or anything like this, so I think it is really helpful, because srcs tutorial are mixed between tutorial & help.

So, what do you want if a thread of src tutorial are here ? Post here your tuts !
galetlefrancais is offline  
Old 09/02/2014, 21:17   #2
 
callmax's Avatar
 
elite*gold: 20
Join Date: Mar 2010
Posts: 1,166
Received Thanks: 684
i think, its still a good idea, so i reported all posts with no tuts / changes for the source

antispam:

if your db core is ****** up every ~third-second time you start it, disable hotbackup

PHP Code:
    int iDisableHotBackup;
    if (
CConfig::instance().GetValue("DISABLE_HOTBACKUP", &iDisableHotBackup))
    {
        if (
iDisableHotBackup)
        {    
            
sys_log(0"CONFIG: DISABLE_HOTBACKUP");
            
g_bHotBackup false;
        }
    } 
its possible that you must uncomment all things they are reffering to "g_bHotBackup"

then you write in conf.txt

DISABLE_HOTBACKUP = 1
callmax is offline  
Thanks
2 Users
Old 09/08/2014, 21:40   #3
 
elite*gold: 0
Join Date: Sep 2010
Posts: 73
Received Thanks: 31
Thanks, so I will carry with mine, how to activate ds_drop flag in game to drop needed item (gemstone) for dragonsoul !

You must go in : item_manager.cpp

And then replace :
PHP Code:
    //if (pkChr->GetLevel() >= 30 && (GetDropPerKillPct(50, 100, iDeltaPercent, "ds_drop") >= number(1, iRandRange)))
    //{
    //    const static DWORD dragon_soul_gemstone = 30270;
    //    if ((item = CreateItem(dragon_soul_gemstone, 1, 0, true)))
    //        vec_item.push_back(item);
    //} 
by
PHP Code:
    if (pkChr->GetLevel() >= 30 && (GetDropPerKillPct(50100iDeltaPercent"ds_drop") >= number(1iRandRange)))
    {
        const static 
DWORD dragon_soul_gemstone 30270;
        if ((
item CreateItem(dragon_soul_gemstone10true)))
            
vec_item.push_back(item);
    } 
Compile, and in game, type : /e ds_drop 1

Have a nice day []
galetlefrancais is offline  
Reply




All times are GMT +2. The time now is 08:27.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.