eTony
-
Posts
14 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by eTony
-
-
I won't tell you how to fix it, everyone fucked with me when I asked for a help, so I'm going to fuck with everyone from now...
Then you have to leave this board. I can't imagine such sneaky behavior is tolerated here. You're acting like a little kid that didn't get his lolipop.
LoL :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD Go to school kid :-)
-
I won't tell you how to fix it, everyone fucked with me when I asked for a help, so I'm going to fuck with everyone from now...
-
Eh please, who know how to fix it?
-
I have this problem,like this guy....can someone help me how i can fix this=?? thanks
-
0 bugs/fails ...
// In code by Aveline is good only binary -
UserInterface/GameType.h
Change 5*9 for 9*5
#Solved, close please.
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA yes.... And just like creating bugs
- 1
-
Property for new objects.
https://mega.co.nz/#!C1JGzQ5b!RR_3wu3QU5TxQo-cnqLZCt38RjeByAY7xykFjR6sIRY
WOW RLY YOU'RE SO PRO CANCERITO, YOU CAN UNPACK PROPERTY OMG #NEXTLEVEL
-- Jsi pro smích stále většímu počtu lidí, všiml sis toho jak se ti tlemí už i všichni na epvp? :D
-
Vanilla make some stupid human .. This game have complete bug 3/4 inventory.. :D
-
Hello,
global chat + color empire with chat is by Denis. thx.
1) Enable global chat
Open input_p2p.cpp
Search :
Quoteif (!d->GetCharacter() || (d->GetCharacter()->GetGMLevel() == GM_PLAYER && d->GetEmpire() != m_bEmpire))
Replace with it:
Quoteif (!d->GetCharacter())
If you use novaline, search:
Quote
if (!d->GetCharacter())
return;
if(!g_bGlobalShoutEnable && (d->GetCharacter()->GetGMLevel() == GM_PLAYER && d->GetEmpire() != m_bEmpire))
return;And replace with it:
Quote
return;
2) Add chat functions
Open input_main.cpp
Search:
Quote
{
const int SHOUT_LIMIT_LEVEL = 15;
if (ch->GetLevel() < SHOUT_LIMIT_LEVEL)
{
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("외치기는 레벨 %d 이상만 사용 가능 합니다."), SHOUT_LIMIT_LEVEL);
return (iExtraLen);
}
if (thecore_heart->pulse - (int) ch->GetLastShoutPulse() < passes_per_sec * 15)
return (iExtraLen);
ch->SetLastShoutPulse(thecore_heart->pulse);
TPacketGGShout p;
p.bHeader = HEADER_GG_SHOUT;
p.bEmpire = ch->GetEmpire();
strlcpy(p.szText, chatbuf, sizeof(p.szText));
P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShout));
SendShout(chatbuf, ch->GetEmpire());
return (iExtraLen);
}Replace with it:
Quote
{
const int SHOUT_LIMIT_LEVEL = 15;
if (ch->GetLevel() < SHOUT_LIMIT_LEVEL)
{
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("외치기는 레벨 %d 이상만 사용 가능 합니다."), SHOUT_LIMIT_LEVEL);
return (iExtraLen);
}
if (thecore_heart->pulse - (int) ch->GetLastShoutPulse() < passes_per_sec * 15)
return (iExtraLen);
ch->SetLastShoutPulse(thecore_heart->pulse);
const char* kingdoms[4] = {"|cFF47DA00|H|h[GameMaster]|cFFA7FFD4|H|h","|cFFff0000|H|h[shinsoo]|cFFA7FFD4|H|h","|cFFFFFF00|H|h[Chunjo]|cFFA7FFD4|H|h","|cFF0080FF|H|h[Jinno]|cFFA7FFD4|H|h"};
char chatbuf_global[CHAT_MAX_LEN + 1];
int my_level = ch->GetLevel();
if (gSpecialShout == 1)
{
if (ch->GetGMLevel() != GM_PLAYER)
{
if (MasterGhostChat == 1)
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s : %s",kingdoms[0], buf);
}
else
{
if ((MasterColorEmpire == 1) and (MasterLevelChat == 0))
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s : %s",ch->GetName(), kingdoms[ch->GetEmpire()], buf);
}
else if ((MasterColorEmpire == 1) and (MasterLevelChat == 1))
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s [%d] : %s",ch->GetName(), kingdoms[ch->GetEmpire()], my_level, buf);
}
else if ((MasterColorEmpire == 0) and (MasterLevelChat == 1))
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s [%d] : %s",ch->GetName(), my_level, buf);
}
else
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s : %s",ch->GetName(), buf);
}
}
}
else
{
if ((PlayerColorEmpire == 1) and (PlayerLevelChat == 0))
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s : %s",ch->GetName(), kingdoms[ch->GetEmpire()], buf);
}
else if ((PlayerColorEmpire == 1) and (PlayerLevelChat == 1))
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s [%d] : %s",ch->GetName(), kingdoms[ch->GetEmpire()], my_level, buf);
}
else if ((PlayerColorEmpire == 0) and (PlayerLevelChat == 1))
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s [%d] : %s",ch->GetName(), my_level, buf);
}
else
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s : %s",ch->GetName(), buf);
}
}
}
else
{
int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s : %s",ch->GetName(), buf);
}
TPacketGGShout p;
p.bHeader = HEADER_GG_SHOUT;
p.bEmpire = ch->GetEmpire();
strlcpy(p.szText, chatbuf_global, sizeof(p.szText));
P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShout));
SendShout(chatbuf_global, ch->GetEmpire());
return (iExtraLen);
}
3) Add config function
Open config.cpp
Search:
Quoteint gShutdownEnable = 0;
Add after:
Quote
int MasterGhostChat = 0;
int MasterColorEmpire = 0;
int MasterLevelChat = 0;
int PlayerColorEmpire = 0;
int PlayerLevelChat = 0;Next search:
Quote
{
bool b_value = 0;
str_to_number(b_value, value_string);
g_bEmpireWhisper = !!b_value;
continue;
}Add after:
Quote
{
str_to_number(gSpecialShout, value_string);
continue;
}
TOKEN("gm_ghost_shout")
{
str_to_number(MasterGhostChat, value_string);
continue;
}
TOKEN("gm_empire_shout")
{
str_to_number(MasterColorEmpire, value_string);
continue;
}
TOKEN("gm_level_shout")
{
str_to_number(MasterLevelChat, value_string);
continue;
}
TOKEN("player_empire_shout")
{
str_to_number(PlayerColorEmpire, value_string);
continue;
}
TOKEN("player_level_shout")
{
str_to_number(PlayerLevelChat, value_string);
continue;
}Now open config.h
Search:
Quoteextern int gPlayerMaxLevel;
And add before:
Quote
extern int MasterGhostChat;
extern int MasterColorEmpire;
extern int MasterLevelChat;
extern int PlayerColorEmpire;
extern int PlayerLevelChat;
4) Game CONFIG
Open your CONFIG game and add:
Quote
gm_ghost_shout: 1
gm_empire_shout: 1
gm_level_shout: 1
player_empire_shout: 1
player_level_shout: 1=
Quote
gm_ghost_shout - (0/1 Enable GM Ghost chat [GM chat is only [GameMaster] : text]) - default 0
gm_empire_shout - (0/1 Enable GM empire with chat - only if gm_ghost_shout = 0) - default 0
gm_level_shout - (0/1 Enable GM level with chat - only if gm_ghost_shout = 0) - default 0
player_empire_shout - (0/1 Enable empire with player chat) - default 0
player_level_shout - (0/1 Enable level with player chat) - default 0
That's all, sorry for my bad english
Thx : Denis, Domco
- 45
- 3
- 2
- 1
- 1
- 2
- 1
- 10
- 3
- 44
-
I want add new function for quests. But when i apply this function to quest nothing happens. Please can you help me?
int game_mysql_query(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); SQLMsg *msg; msg = DBManager::instance().DirectQuery(lua_tostring(L, 1)); if (msg->uiSQLErrno != 0) { sys_err("game_mysql_query failed"); return 0; } } { "mysql_query", game_mysql_query },
Quest part: pc.give_item2(game.mysql_query("SELECT login FROM account.account WHERE id="..player_id.." ")) Thank you a lot
Pan frajer už najednou tak moc nemachruje jo? Nezapomeň zase psát že s staráš jen o web a autopatcher Tak hlavně že neumíš ani použít funkci pc.give_item2 a píšeš weby :D
//Sorry, i don't speak english :-)
-
Hi.. Sorry for my bad english
If you have install freebsd + mysql, open console :
Writemysql [ENTER] GRANT ALL PRIVILEGES ON *.* TO "user_name"@"ip_or_localhost_or_%" IDENTIFIED BY "password" WITH GRANT OPTION; [ENTER] exit [ENTER]
That's all -.- You have new user with all settings on "Y" -.-
- 1
-
Fuu DB... mysql [ENTER] GRANT ALL PRIVILEGES ON *.* TO "user"@"%" IDENTIFIED BY "password" WITH ALL PRIVILEGES; [ENTER] exit [ENTER]
AUTO POTION
in Community Support - Questions & Answers
Posted
Wtf? No it no work ..