-
Posts
839 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Night
-
-
-
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);
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 scopeinput_main.cpp:747: warning: unused variable 'len'compile mining.cppcompile mob_manager.cppcompile monarch.cppgmake: *** [OBJDIR/input_main.o] Error 1gmake: *** 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);
-
Translate like google.
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
-
Hello metin2dev, i will teach you how to use the io.open function. You can create an editable quest announcement without restarting the server or reload anything.
• on login example
quest ioopenexample_1 begin state start begin when login begin announcements = io.open("locale/location/announcements.txt") notice("News:"..announcements:read()) end end end
That's pretty simple.
(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
- 1
-
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
- 1
-
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
-
seong or blacksmit the two read from same table
Are You Sure??! I Dont Think That Will Work
just set it to 100 and see if it works
-
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
-
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
- 1
-
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
- 1
-
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
- 2
-
@Aurora.
Thanks for posting
If you got notepad++ , then you go to coding.
In my case , i've selected Character Set - Central-European - Windows-1250 .
Everything i modify , it's working properly .
( FOR THIS SOLUTION , YOU NEED A BACKUP FROM WHAT DID YOU MODIFY.
I MEAN locale_string.txt who worked! )
Best regards,
Dr3Ame3r
I tryed but didn't work.
You need to change character set and use Windows-1252... problem came with accented letters such as à, ò, è etc...
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 :
-
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
- 1
-
sorry for double posting it was a mistake
-
bin -> packet.h
SHOP_HOST_ITEM_MAX_NUM = 40,
to
SHOP_HOST_ITEM_MAX_NUM = 80,
- 1
-
recline ?? how i watched the video but everything seem to be fine
-
https://mega.co.nz/#!4NxlEZgb!UZuHK3cqLlKskMRLe7F5S2_CA8raZN5SShwa4z_N3Ac
https://mega.co.nz/#!8MQTQDbI!9ZcrF2niuNS-cypVnoEXH_vq3jYtzejJCFm46ZGnaQs
one with the bleeding resist value printed and one without it
global chat c++
in Community Support - Questions & Answers
Posted
https://mega.co.nz/#!MB52FRSa!pmKC5UecfNYte4qA1rtN-kFSgypCZNSQgSCAQCdQHEM