Jump to content

problem Won System


Go to solution Solved by TMP4,

Recommended Posts

  • Contributor
  • Solution

You can remove that g_bChinaIntoxicationCheck completly from your char.cpp.

Chinese laws require such restriction to prevent addiction.

Martysama replaced the locale_newcibn (the china server) check with that variable if you wonder why you dont have it.

 

If you dont want to remove that china check then replace it with:

if (LC_IsNewCIBN() && amount > 0)

Edited by TMP4
Link to comment
Share on other sites

24 minutes ago, TMP4 said:

You can remove that g_bChinaIntoxicationChech completly from your char.cpp.

Martysama replaced the locale_newcibn (the china server) check with that variable if you wonder why you dont have it.

 

If you dont want to remove then replace it with:

if (LC_IsNewCIBN() && amount > 0)

i replace it with
if (LC_IsNewCIBN() && amount > 0)

but show another error in cmd_gm.cpp 

78788.jpg

999888.jpg

#ifdef WJ_CHEQUE_SYSTEM
        case DoSetTypes::CHEQUE: // Cheque
            {
                int amount = 0;
                str_to_number(amount, arg3);
                if (amount + tch->GetCheque() > CHEQUE_MAX)
                    return;
                tch->PointChange(POINT_CHEQUE, amount, true);
            }
            break;
#endif

i replace it with 
 

 

#ifdef ENABLE_CHEQUE_SYSTEM
        case 9: // won 
            {
                int won = 0;
                str_to_number(won, arg3);
                int before_won = tch->GetCheque();
                if (before_won + won > 200)
                {
                    ch->ChatPacket(CHAT_TYPE_INFO, "%s'nin Won toplami 200'u asiyor", tch->GetName());
                    return;
                }
                tch->PointChange(POINT_CHEQUE, won, true);
            }
            break;
#endif

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Contributor
19 minutes ago, WeedHex said:

You help people to fix things made by marty because you guys are dumb and don't understand a fuck.

I'm speaking general, if are not your works/default ymir, you don't have to help. Pay.

So it was a criticism for me because i helped him saying Marty replaced LC_IsNewCIBN  with g_bChinaIntoxicationCheck so he should use LC_IsNewCIBN?

Most of the tutorials nowdays made for Marty source by 3rd people too, and helping people who use original source with these little things is not even bad i think.

 

Otherwise i don't understand what did you wanted to say ?

Your english is controversal for me, sorry.

Edited by TMP4
Link to comment
Share on other sites

  • Contributor
1 hour ago, WeedHex said:

You help people to fix things made by marty because you guys are dumb and don't understand a fuck.

I'm speaking general, if are not your works/default ymir, you don't have to help. Pay.

 

1 hour ago, TMP4 said:

So it was a criticism for me because i helped him saying Marty replaced LC_IsNewCIBN  with g_bChinaIntoxicationCheck so he should use LC_IsNewCIBN?

Most of the tutorials nowdays made for Marty source by 3rd people too, and helping people who use original source with these little things is not even bad i think.

 

Otherwise i don't understand what did you wanted to say ?

Your english is controversal for me, sorry.

I know this guy from other communities and he doesn't understand a dime,Each time you fix one of his problems he'll post another one,And never even tries to use his brain(doubt he has one).

  • Love 1

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
Share on other sites

  • Premium
4 minutes ago, TMP4 said:

Okey but what WeedHex said because i helped that guy is just crazy.

If it's not self-made solution/work, you must not allow yourself to pass material to random people.

If the solution is your then you are free to do what you want.

 

He can ask to the src's owner if paid no?

Before to help, think... It's just my opinion/suggestion.

Link to comment
Share on other sites

  • Contributor

I still not understand you WeedHex.

What's more, i think you're not understanding the situation.

 

That won system is public, not mady by Marty afaik, just made for Marty's source style. (That's why it have g_bChinaIntoxicationCheck  instead of LC_IsNewCIBN)

That guy is cleary not using Marty's source since he does not have g_bChinaIntoxicationCheck.

 

So what's the problem actually @WeedHex?

Please tell because i really not understanding you.

Edited by TMP4
Link to comment
Share on other sites

  • Premium
2 minutes ago, TMP4 said:

I still not understand you WeedHex.

What's more, i think you're not understanding the situation.

 

That won system is public, not mady by Marty afaik, just made for Marty's source style. (That why it have g_bChinaIntoxicationCheck  instead of LC_IsNewCIBN)

That guy is cleary not using Marty's source since he does not have g_bChinaIntoxicationCheck.

 

So what's the problem actually @WeedHex?

Please tell because i really not understanding you.

Src may be stolen and you help "thiefs" to fix things, instead to leave them to the owners of things.

Btw was just a suggestion for a good behaviour, do what you want xD

Link to comment
Share on other sites

  • Contributor

But he is using the basic source, not Marty's, that why he can't install the won system.

(It's crystal clean in his pictures)

What are you expecting for him? To contact Ymir?

 

Edit: Ofc what MrQuin said can be a reason to not help him anymore, but that's an other and a valid reason.

Edited by TMP4
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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