-
Posts
839 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Night
-
[Hidden Content]
-
try this : [Hidden Content]
-
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
-
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);
-
excatly like google bcz its using it ahah
-
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
-
(get_locale_base_path().."/announcements.txt") maybe this could be better
-
@JinHan already post it , didn't he? + sorry but i dont even have a sql item proto
-
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
-
input_main.cpp:752: error: 'chatbuf_global' was not declared in this scope whats on line 752?
-
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
-
Changing BlackSmith Ratio
Night replied to DieMaQ's topic in Community Support - Questions & Answers
Are You Sure??! I Dont Think That Will Work just set it to 100 and see if it works -
[GAME]Warnings over warnings
Night replied to florinrevine's topic in Community Support - Questions & Answers
you can always search on how to fix such errors on google -
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
-
[Basic Problem unsolved] Starter BONUS
Night replied to valessio's topic in Community Support - Questions & Answers
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 -
How can i do this? [Shop name in Private Shop]
Night replied to Cali's topic in Community Support - Questions & Answers
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. -
just comment this #define ENABLE_NEW_EQUIPMENT_SYSTEM and this system will became just for show (removing the rest is up to you)
-
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
-
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
-
Korean text after translating local_string
Night replied to Aurora's topic in Community Support - Questions & Answers
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 : -
New skills from GF on 40k?
Night replied to Krixius's topic in Community Support - Questions & Answers
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 -
sorry for double posting it was a mistake
-
bin -> packet.h SHOP_HOST_ITEM_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80,
-
recline ?? how i watched the video but everything seem to be fine
-
Official server patches unpack
Night replied to phayara's topic in Community Support - Questions & Answers
[Hidden Content] [Hidden Content] one with the bleeding resist value printed and one without it