Jump to content

Renco

Banned
  • Posts

    37
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Renco

  1. 1 hour ago, Hesher said:
    
    	char chatbuf[CHAT_MAX_LEN + 1];
    #ifdef ENABLE_CHAT_COLOR_SYSTEM
    	// static const char* colorbuf[] = {" |h|r[寔햇?|cFFffa200|h", " |h|r[遁鞍?|cFFff0000|h", " |h|r[讀安?|cFFffc700|h", " |h|r[警仰]|cFF000bff|h"}; // Arab
    	static const char* colorbuf[] = {"|cFFffa200|H|h[STAFF]|h|r", "|cFFff0000|H|h[Rosu]|h|r", "|cFFffc700|H|h[Galben]|h|r", "|cFF000bff|H|h[Albastru]|h|r"};
    	int len = snprintf(chatbuf, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);
    #else
    	int len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);
    #endif

     

    In what file from source must put and what must be replaced?

  2. 3 hours ago, Undead2014 said:

    search in this client 

    
    http://dosya.co/8y61tj54vhaq/BESTProduction_Client_Pack.rar.html

     

    I want directly the system because I don't know exactly what I have to take from it, and I need something from client too, I give 5e paypal anyone who helps me with the system.

    • Love 2
  3. 39 minutes ago, tierrilopes said:

    Nvm Sema, you didnt understood.

    Renco, on UserInterface.cpp, inside:

    
    bool RunMainScript (CPythonLauncher &pyLauncher, const char *lpCmdLine)

    Add this at the ending (remove what you added previously)

    
    std::string stRegisterDebugFlag;
    #ifdef NDEBUG
    	stRegisterDebugFlag = "__DEBUG__ = 0";
    #else
    	stRegisterDebugFlag = "__DEBUG__ = 1";
    #endif

     

    Example (dont copy paste below code):

    
    bool RunMainScript (CPythonLauncher &pyLauncher, const char *lpCmdLine)
    {
    	initpack();
    	initdbg();
    	initime();
    	initgrp();
    	initgrpImage();
    	initgrpText();
    	initwndMgr();
    	initapp();
    	initsystemSetting();
    	initchr();
    	initchrmgr();
    	initPlayer();
    	initRandomKey();
    	initProtections();
    	initObfuscation();
    	initTMTAntiCheat();
    	initItem();
    	initNonPlayer();
    	initTrade();
    	initChat();
    	initTextTail();
    	initnet();
    	initMiniMap();
    	initProfiler();
    	initEvent();
    	initeffect();
    	initfly();
    	initsnd();
    	initeventmgr();
    	initshop();
    	initskill();
    	initquest();
    	initBackground();
    	initMessenger();
    	initsafebox();
    	initguild();
    	initServerStateChecker();
    	std::string stRegisterDebugFlag;
    #ifdef NDEBUG
    	stRegisterDebugFlag = "__DEBUG__ = 0";
    #else
    	stRegisterDebugFlag = "__DEBUG__ = 1";
    #endif
    	if (!pyLauncher.RunLine (stRegisterDebugFlag.c_str())) {
    		TraceError ("RegisterDebugFlag Error");
    		return false;
    	}
    	if (!pyLauncher.RunFile ("system.py")) {
    		TraceError ("RunMain Error");
    		return false;
    	}
    	return true;
    }

     

    It's work, thx man.

  4. 34 minutes ago, ѕeмa™ said:

    self.isShowDebugInfo  is just a variable to show or hide the frames per second, etc... nothing more.

    If you put as my image in False you wont see the fps but if you put True, you will see it.

    fc439cf18a2a2a0854cfab34136998ed.png

    75cb7b67d4aacd8fed534f4a80848d61.png

    aa102ce0be8b001e7949cf44da9a28fc.png

    It is the same at me and are still appearing.

  5. 3 minutes ago, Amour said:

    so looks good but your client source some have error.

    if solve these problems, successfully build.

    userinterface.cpp > line 198

    pythonplayermodule.. > 978 & 763

    networkctormanager.. > 364 & 417

    and ime.cpp > 309 & 1182

    You think you have not understand my problem. Me I go to compile the source.

    Hi, does anyone know how out of this source?

    432049f20b7a4431be09f37969dd7a31.png

     

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