Jump to content

Night

Inactive Member
  • Posts

    839
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    0%

Everything posted by Night

  1. input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)': input_main.cpp:747: error: 'chatbuf_global' was not declared in this scope input_main.cpp:747: warning: unused variable 'len' compile mining.cpp compile mob_manager.cpp compile monarch.cpp gmake: *** [OBJDIR/input_main.o] Error 1 gmake: *** Waiting for unfinished jobs.... error.. this code: static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"}; int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf); char chatbuf_global[CHAT_MAX_LEN + 1]; 747 linea: int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf); not like that , like this : char chatbuf_global[CHAT_MAX_LEN + 1]; static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"}; int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf); chatbuf_global must be declared b4 len
  2. add it like this char chatbuf_global[CHAT_MAX_LEN + 1]; int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);
  3. excatly like google bcz its using it ahah
  4. this is the definition in your old code char chatbuf_global[CHAT_MAX_LEN + 1]; just do this : change int len = snprintf(chatbuf, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf); to : int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf); and add this char chatbuf_global[CHAT_MAX_LEN + 1]; above it
  5. (get_locale_base_path().."/announcements.txt") maybe this could be better
  6. @JinHan already post it , didn't he? + sorry but i dont even have a sql item proto
  7. 71051 ٍط،¤ہç°،؛ٌ¼­ ITEM_USE USE_SPECIAL 1 ANTI_DROP | ANTI_SELL | ANTI_STACK LOG | STACKABLE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0 71052 ٍط،¤ہç°و؛ٌ¼­ ITEM_USE USE_SPECIAL 1 ANTI_DROP | ANTI_SELL | ANTI_STACK LOG | STACKABLE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0
  8. input_main.cpp:752: error: 'chatbuf_global' was not declared in this scope whats on line 752?
  9. i would not hurt my head to make something as huge as that some things can realy be usless for player the only thing that you need is a hgihlighting for the player names you can do this with c++ or even some old public python code
  10. Are You Sure??! I Dont Think That Will Work just set it to 100 and see if it works
  11. you can always search on how to fix such errors on google
  12. static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"}; int len = snprintf(chatbuf, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf); they it
  13. navicate : account db -> account table -> design table then change the default value for those to get it on all the new account + update account set safebox_expire = '2012-12-31 00:00:00'; update account set autoloot_expire = '2012-12-31 00:00:00'; -- etc depend on what you want to good luck
  14. That's right. How can i do this? Do a shop, and send us a screen please. gf client and other does not have such a thing it is usless btw. but im sure that its public.
  15. just comment this #define ENABLE_NEW_EQUIPMENT_SYSTEM and this system will became just for show (removing the rest is up to you)
  16. the bg is so old ahah , it made me remember when i was still about lv 50 just to help you improve use insted of this : "text" : "Patch Version: 00001" do this : import uiScriptLocale then : "text" : uiScriptLocale.Patch_Version on locale_interface.txt add : Patch_Version Patch Version: 00001 this is easyer to translate to many other lang , better the plain text on a py script ^^ good luck
  17. pong ahah this has not been used sence r2089 (about 3 years ago) well there was a bug in the client version check where : if (version <= date) it should have been if (version <= date || version >= date ) or the easy way : if (version != date) that the only explanation i have . i hope that this help you
  18. I tryed but didn't work. I tryed your solution to but it didn't work. but in my channel syerr this is what they say. I get alot of this messages locale_find: LOCALE_ERROR: "¹ö¸± ¼ö ¾ø´Â ¾ÆÀÌÅÛÀÔ´Ï´Ù."; "¹ö¸± ¼ö ¾ø´Â ¾ÆÀÌÅÛÀÔ´Ï´Ù."; add it to locale string.txt for your problem mostlikely its from notepad++ disable this :
  19. to active them just do this : NEW_678TH_SKILL_ENABLE = app.NEW_678TH_SKILL_ENABLE SKILL_INDEX_DICT = [] def DefineSkillIndexDict(): global NEW_678TH_SKILL_ENABLE global SKILL_INDEX_DICT if NEW_678TH_SKILL_ENABLE: SKILL_INDEX_DICT = { JOB_WARRIOR : { 1 : (1, 2, 3, 4, 5, 6, 0, 0, 137, 0, 138, 0, 139, 0,), 2 : (16, 17, 18, 19, 20, 21, 0, 0, 137, 0, 138, 0, 139, 0,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131, 0, 0,), }, JOB_ASSASSIN : { 1 : (31, 32, 33, 34, 35, 36, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 2 : (46, 47, 48, 49, 50, 51, 0, 0, 137, 0, 138, 0, 139, 0, 140,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131, 0, 0,), }, JOB_SURA : { 1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,), 2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131, 0, 0,), }, JOB_SHAMAN : { 1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,), 2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131, 0, 0,), }, } else: SKILL_INDEX_DICT = { JOB_WARRIOR : { 1 : (1, 2, 3, 4, 5, 0, 0, 0, 137, 0, 138, 0, 139, 0,), 2 : (16, 17, 18, 19, 20, 0, 0, 0, 137, 0, 138, 0, 139, 0,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,), }, JOB_ASSASSIN : { 1 : (31, 32, 33, 34, 35, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 2 : (46, 47, 48, 49, 50, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,), }, JOB_SURA : { 1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,), 2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,), }, JOB_SHAMAN : { 1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,), 2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,), "SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,), }, } info i use app.NEW_678TH_SKILL_ENABLE to define them from the bin you are free to use it or just put a 1/0 TRUE/FALSE
  20. sorry for double posting it was a mistake
  21. bin -> packet.h SHOP_HOST_ITEM_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80,
  22. recline ?? how i watched the video but everything seem to be fine
  23. [Hidden Content] [Hidden Content] one with the bleeding resist value printed and one without it
×
×
  • 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.