Hesher
-
Posts
35 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Hesher
-
-
On 25.12.2016 at 2:26 PM, Hesher said:
For respawn time , open cmd_general.cpp and search :
if (iTimeToDead > 170)
replace with if (iTimeToDead > 180)
because 180 = 0 sec
This is solution for revive time 0.
-
Try to incubate an egg :-/
-
colorinfo.py
CHR_NAME_RGB_OFFLINE_SHOP = (255, 140, 0)
http://www.rapidtables.com/web/color/RGB_Color.htm
just edit ”255, 140 , 0” with your color code
-
Input_main.cpp
-
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
-
For respawn time , open cmd_general.cpp and search :
if (iTimeToDead > 170)
replace with if (iTimeToDead > 180)
because 180 = 0 sec
-
Penger item_scale is incomplete , miss some functions
-
Client syserr?
-
Problem is just in PM or PM and chat?
-
Check in uitooltip.py
class HyperlinkItemToolTip(ItemToolTip):
-
Just now, inamata001 said:
I know that but i can't find for add
Are you fucking seriously?
-
Just now, inamata001 said:
Why i joking? I have serverfile and client with 1 kingdom and i try reversing this process for adding another kingdom. But is something what i don't make good. Maybe other file where i need modify
On 30.10.2014 at 1:24 AM, HellBoy said:Well imma do it for you how to make 1 kingdom for this dont need sv side just client since they wont be able to create more:
first in " introempire.py seek for this
EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B, net.EMPIRE_C : uiScriptLocale.EMPIREDESC_C, }
and remove the lines and keep the kingdom you want i will pick A [ RED ]
EMPIRE_DESCRIPTION_TEXT_FILE_NAME = { net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A, }
then seek for
self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
and replace with this
self.empireAreaCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaDestAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0 } self.empireFlagCurAlpha = { net.EMPIRE_A:0.0 } self.empireFlagDestAlpha = { net.EMPIRE_A:0.0 }
then seek for this
self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireArea[net.EMPIRE_B] = GetObject("EmpireArea_B") self.empireArea[net.EMPIRE_C] = GetObject("EmpireArea_C") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireAreaFlag[net.EMPIRE_B] = GetObject("EmpireAreaFlag_B") self.empireAreaFlag[net.EMPIRE_C] = GetObject("EmpireAreaFlag_C") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A") self.empireFlag[net.EMPIRE_B] = GetObject("EmpireFlag_B") self.empireFlag[net.EMPIRE_C] = GetObject("EmpireFlag_C")
replace with this
self.empireArea[net.EMPIRE_A] = GetObject("EmpireArea_A") self.empireAreaFlag[net.EMPIRE_A] = GetObject("EmpireAreaFlag_A") self.empireFlag[net.EMPIRE_A] = GetObject("EmpireFlag_A")
then seek for this
def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=3 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>3: self.empireID=1
replace with this
def ClickLeftButton(self): self.empireID-=1 if self.empireID<1: self.empireID=1 self.OnSelectEmpire(self.empireID) def ClickRightButton(self): self.empireID+=1 if self.empireID>1: self.empireID=1
then seek for this
self.empireID=app.GetRandom(1, 3)
and replace with this
self.empireID=app.GetRandom(1, 1)
that was with root now we goo to uiscript at " selectempirewindow.py "
and we seek for this
## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" }, { "name" : "EmpireFlag_B", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_b.sub" }, { "name" : "EmpireFlag_C", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_c.sub" },
and we remove last 2 kingdoms should look this
## Empire Flag { "name" : "EmpireFlag_A", "type" : "expanded_image", "x" : 0, "y" : 0, "horizontal_align" : "center", "vertical_align" : "center", "image" : "d:/ymir work/ui/intro/empire/empireflag_a.sub" },
watch it with the " } " or you will end up f****** it xD
This will alow players to pick one of the kingdoms the one you want so there is no need of any sv side modifications!
Hope will work xD i have 2 Kingdoms and work like a charm!
Look at this ...you must add not remove.
-
On type 16 nothing work. I try
-
Another solution is : search in game.py
if debugInfo.IsDebugMode()
self.ToggleDebugInfo()replace with
#if debugInfo.IsDebugMode()
#self.ToggleDebugInfo()- 1
-
-
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
if (CHAT_TYPE_SHOUT == pinfo->type)
{
LogManager::instance().ShoutLog(g_bChannel, ch->GetEmpire(), chatbuf);
} -
Work but times expires when i have item in inventory . I think its a problem with type 16 only items with type 16 have this problem
-
Hello, i have a problem with exp ring and thief glove . The problem is when i equip , time still remain 1h/3h etc and bonus is not active
Its not server-side, i think its a problem with type 16 or with costume mount
-
Fix its like this :
In ui.py you dont have HideCorners function in class InfoBoard
-
Solved , topic closed
- 1
-
Hi dev , i have this problem
1204 22:50:25215 :: File "networkModule.py", line 247, in SetGamePhase1204 22:50:25215 :: File "game.py", line 114, in __init__
1204 22:50:25216 :: File "uiTarget.py", line 97, in __init__
1204 22:50:25216 :: File "uiTarget.py", line 699, in __init__
1204 22:50:25216 :: AttributeError
1204 22:50:25216 :: :
1204 22:50:25216 :: 'InfoBoard' object has no attribute 'HideCorners'
1204 22:50:25216 ::
can someone help me? -
Poor person, you have not bought the system so no one will give you support
-
Enter in serverside / OFFLINE_SHOP_CONFIG and change this : OFFLINE_SHOP_NEED_MONEY: 0 500
with this
#OFFLINE_SHOP_NEED_MONEY: 0 500
- 1
-
[C++]Fix duplicate Acce in ShopOffline
in Community Support - Questions & Answers
Posted
Much easy if you add in offlineshop_manager.cpp in function void COfflineShopManager::AddItem
and in char.cpp in function void CHARACTER::OpenMyOfflineShop the same thing