// Red chips per kill in GW //

02/05/2017 04:33 /SALOUPIO\#1
Hello;

How to make a system of RC per kill in guildsiege? For example 1 kill = 10 RC

Thank's :handsdown:
02/05/2017 04:54 flyffdev#2
__Common/eveschool.cpp

Search for:


Code:
    if( bKillDiffernceGuild )
        ++nGetPoint;
Put this Below:


Code:
    CItemElem item;
    item.m_nItemNum = RC_KILL;
    item.m_dwItemId = II_CHP_RED;
    if( pAttacker->CreateItem( &item ) )
    {
        //pAttacker->AddText("" );
    }
Neuz and Worldserver Versioncommon.h
Code:
#define RC_KILL 10
02/05/2017 05:41 /SALOUPIO\#3
Thanks for the quick response, it works ! :D
02/05/2017 16:23 flyffdev#4
Its not copyright, its credits where i got the codes Sorry for that.
04/03/2017 01:08 LRAC72031#5
vla cki spasse kan on cé pa dev sal fdp ki sé r1 fer lui meme (ta lseum psk lortograf laisra pa lmodo traduir cke jdi hin fdp)

English translation :

All thanks to Flyffdev for his answer , well i don't think u need to put credits since the code is easy to put ?. (close request because subject is finished i guess)
04/03/2017 02:58 Ecrypter#6
Quote:
Originally Posted by flyffdev View Post
__Common/eveschool.cpp

Search for:


Code:
    if( bKillDiffernceGuild )
        ++nGetPoint;
Put this Below:


Code:
    CItemElem item;
    item.m_nItemNum = RC_KILL;
    item.m_dwItemId = II_CHP_RED;
    if( pAttacker->CreateItem( &item ) )
    {
        //pAttacker->AddText("" );
    }
Neuz and Worldserver Versioncommon.h
Code:
#define RC_KILL 10
The code from Azure Repo. So credit will exactly at Azure repo not yours
04/03/2017 08:45 FlyffServices#7
Quote:
Originally Posted by Rhyder` View Post
i like how you guys give tutorials... made my day

[Only registered and activated users can see links. Click Here To Register...]

why not make it like this?
Code:
    CItemElem item;
    item.m_nItemNum = 10;
    item.m_dwItemId = II_CHP_RED;
    pAttacker->CreateItem( &item );
Ohyeah.. but its better for Maintenance work.

But i would define this at the top of __Common/eveschool.cpp

Btw why worldserver AND NEUZ? This snippet is in part of a #ifdef __WORLDSERVER .. #endif and only in use of the WorldServer Project.
04/04/2017 12:05 Ecrypter#8
The code from Azure Repo. So credit will exactly at Azure repo not yours
04/05/2017 16:27 flyffdev#9
Quote:
Originally Posted by Ecrypter View Post
The code from Azure Repo. So credit will exactly at Azure repo not yours
do you see any words that i put credits on me?


Quote:
Originally Posted by Rhyder` View Post
i like how you guys give tutorials... made my day

[Only registered and activated users can see links. Click Here To Register...]

why not make it like this?
Code:
    CItemElem item;
    item.m_nItemNum = 10;
    item.m_dwItemId = II_CHP_RED;
    pAttacker->CreateItem( &item );

is that really matter?
04/06/2017 18:21 dpkidz#10
What he means is, the snippet is covered in a #ifdef __WORLDSERVER..
So defining in Neuz Versioncommon.h does nothing at all