Jump to content

[Vanilla-Core] Problem modify the source and recompile


Recommended Posts

Good Morning community, I would have a problem changing the core source of the famous vanilla: Let me give an example:
 
 
TOKEN ("emotion_without_mask")
{
flags int = 0;
 
str_to_number (STEAG, value_string);
 
If ( == 1)
{
emotion_without_mask = true;
fprintf (stderr, "EMOTION_WITHOUT_MASK: 1 0" Padiglione);
}
}
 
% D n ---> instead of these letters I write or or 0 1?
   % I n ---> instead of these letters we write or or 0 1?
 
If you should do so for all the options you want to change config.cpp cure?
 
Or if I change config.cpp later we have to change other files to one strength ??
 
_____________ -------- _________________ ------------ _____________--------------
I also have another problem <. <
 
After making the changes as I recompile it in a single file
 
how do I even for mysql ??
 
 
Please help me
 
I made the topic in Romanian because I thought the forum was Romanian
I apologize for any typos
Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try this:
 
TOKEN ("emotion_without_mask")
{
int flags = 0;


str_to_number (flags, value_string);


if (flags == 1)
{
        emotion_without_mask = true;
        fprintf (stderr, "EMOTION_WITHOUT_MASK: 1");
}
else if (!flags)
{
        fprintf (stderr, "EMOTION_WITHOUT_MASK: 0");
}}
Edited by Grudge
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.