Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

problem Won System


Syrex
Go to solution Solved by TMP4,

Question

12 answers to this question

Recommended Posts

  • 0
  • Solution
Posted (edited)

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 (see edit history)
Link to post
  • 0
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

Link to post
  • 0
  • VIP
Posted (edited)

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.

Edited by WeedHex (see edit history)
  • Think 1
Link to post
  • 0
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 (see edit history)
Link to post
  • 0
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
Link to post
  • 0
  • VIP
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 post
  • 0

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 (see edit history)
Link to post
  • 0
  • VIP
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 post
  • 0

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 (see edit history)
  • Love 1
Link to post
Guest
This topic is now closed to further replies.


  • Current Donation Goals

  • Activity

    1. 11

      Mysql56 to Mysql8

    2. 0

      Does anyone have Kami-Sama's Contact?

    3. 1

      [Trailer][1/3]NerviL2 The return of the Legend

    4. 0

      Won " price" change

    5. 10

      Inferna - The new "metin3"?

    6. 6

      We need you!

    7. 2

      Highlight system bug

  • Recently Browsing

    No registered users viewing this page.

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