-
Posts
404 -
Joined
-
Last visited
-
Days Won
20 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Ikarus_
-
-
post uicharacter.py (under spoiler or through pastebin )
-
I think I found the hitch :
eAcce = eAcce + 65536; // __ClearAcceRefineEffect(); // Clear the previous effect // m_acceEffect = EFFECT_REFINED + EFFECT_ACCE_SPECIAL; // __EffectContainer_AttachEffect(m_acceEffect); m_GraphicThingInstance.AttachAcce(eAcce, 0, CRaceData::PART_ACCE); if (!eAcce) { __ClearAcceRefineEffect(); m_GraphicThingInstance.SetScale(1.0f, 1.0f, 1.0f); m_GraphicThingInstance.SetScalePosition(0.0f, 0.0f, 0.0f); m_awPart[CRaceData::PART_ACCE] = 0; } if(!eAcce) it not possible because eAcce = eAcce + 65536; -> eAcce is never 0 so.. replace this part with eAcce = eAcce + 65536; // __ClearAcceRefineEffect(); // Clear the previous effect // m_acceEffect = EFFECT_REFINED + EFFECT_ACCE_SPECIAL; // __EffectContainer_AttachEffect(m_acceEffect); m_GraphicThingInstance.AttachAcce(eAcce, 0, CRaceData::PART_ACCE); if ( eAcce == 65536) { __ClearAcceRefineEffect(); m_GraphicThingInstance.SetScale(1.0f, 1.0f, 1.0f); m_GraphicThingInstance.SetScalePosition(0.0f, 0.0f, 0.0f); m_awPart[CRaceData::PART_ACCE] = 0; }
-
1
-
-
I want to see this func :
__ClearAcceRefineEffect
-
try to replace :
if 28 == key:
with
if key == app.DIK_RETURN :
-
i can't see that , can you use pastebin plaese?
-
35 minutes ago, Human said:
well this is my function
{
int iMapIndex = static_cast<int>(lua_tonumber(L, 1));
std::string szFilename(lua_tostring(L, 2));LPSECTREE_MAP pkMap = SECTREE_MANAGER::instance().GetMap(iMapIndex);
if (pkMap != NULL)
{
regen_load_in_file( szFilename.c_str(), iMapIndex, pkMap->m_setting.iBaseX ,pkMap->m_setting.iBaseY );
}return 0;
}and the lua quest that calling that regen function is
regen_in_map(data["map_index"], data["regens"][game.get_event_flag("icedungeon_monster_cycle")]);
function.lua
["regens"] = {
[1] = "data/dungeon/icedungeon/regen_1.txt",
[2] = "data/dungeon/icedungeon/regen_2.txt",
[3] = "data/dungeon/icedungeon/regen_3.txt",
[4] = "data/dungeon/icedungeon/regen_4.txt",
[5] = "data/dungeon/icedungeon/regen_5.txt"
},and yes after that function only game crashes if i disable that regen_in_map then no crash..
Check the statement yes im passing the right parameters
can you starts with replacing the c ++ function with mine, which is anti crash
than can you replace your declaration of data["regens"] with this :
data["regens"] = {} table.insert(data["regens"],"data/dungeon/icedungeon/regen_1.txt") table.insert(data["regens"],"data/dungeon/icedungeon/regen_2.txt") table.insert(data["regens"],"data/dungeon/icedungeon/regen_3.txt") table.insert(data["regens"],"data/dungeon/icedungeon/regen_4.txt") table.insert(data["regens"],"data/dungeon/icedungeon/regen_5.txt")
-
ok , do it works now?
-
does not complile or does not work?
if it do not compile post the error.
if it does not work i want to see how you set the event_flag. -
12 hours ago, riku11 said:
That func interrupt your called of "regen_in_map" (in lua quest) if you have not passed the function parameters correctly.
if after that func your game crash , you are not passing the correct parameters.
regen_in_map( NUMBER , STRING)
-
1
-
-
Search in introselect.py
def OnKeyDown(self , key):post it , i want check it.
#add at end of def OnKeyDown(self , key): metods if 28 == key: id = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID) if 0 == id: self.CreateCharacter() else: self.StartGame() #the if you have to put it indented like the others
-
2 hours ago, emanuel said:
Bro it's maybe from my host? I test alot yesterday and still have that problem, i add map to game99 and core 1,sometimes its working, sometimes not, after reboot, or maybe my problem its from command : killall cores instantly? Or host.. In sysser i dont see anything about that..
with shell command "ps" you can see all process started on your machine.
Try giving this command after running the channel "stop" and post a screenshot with result output
-
try to change your func with that
int _regen_in_map (lua_State* L) { int iMapIndex = static_cast<int> (lua_tonumber (L, 1)); std::string szFilename (lua_tostring (L, 2)); if(!lua_isnumber(L,1) || !lua_isstring(L,2)) { sys_err("_regen_in_map : you used the function badly , pass me a number and a string please."); return 0; } int iMapIndex = static_cast<int> (lua_tonumber (L, 1)); LPSECTREE_MAP pkMap = SECTREE_MANAGER::instance().GetMap (iMapIndex); if (pkMap != NULL) { regen_load_in_file (szFilename.c_str(), iMapIndex, pkMap->m_setting.iBaseX , pkMap->m_setting.iBaseY); } return 0; }
That func interrupt your called of "regen_in_map" (in lua quest) if you have not passed the function parameters correctly.
this will prevent the game crashing, but you have to find where the function is being used badly (lua func regen_in_map into a lua quest)
-
6 hours ago, NinfTrack said:
DWORD idplayer = GetPlayerID();
char sFlag[100];
snprintf(sFlag, sizeof(sFlag), "prest_%d", idplayer);else if (quest::CQuestManager::instance().GetEventFlag(sFlag) == 1)
{
m_afAffectFlag.Set(AFF_PREST_1);
ChatPacket(CHAT_TYPE_INFO, "Test work");
}How can I make it work well?
char csFlag[100]; snprintf(csFlag, sizeof(csFlag), "prest_%d", idplayer); std::string sFlag = csFlag; if (quest::CQuestManager::instance().GetEventFlag(sFlag) == 1) { m_afAffectFlag.Set(AFF_PREST_1); ChatPacket(CHAT_TYPE_INFO, "Test work"); }
-
that "not configured use default" is just to know that , just for info
-
I can not sincerely see the error.
I think you mean the missing icons in the trade near gold and won (?).
If I'm right, send exchangedialog.py to uiscript or locale
-
can u tell me which of these is line 557?
Usually this error is done in a xrange.
-
15 hours ago, emanuel said:
Hey bro,it's something weird here..look,i make some test,if i have for example map 44 to game99,just in game99 allow_map i cannot enter in map and i am blocked in that map,if i delete map44 from game99 and i add map44 to core 1 to map_allow that is working,i think no one map from game99 working,it's something wrong here ?
Send syserr and syslog of game99 while you can not find its map , so when the only map_index 44 it's in game99 config.
Post syslog/syserr of the channel which you stay logged too.
-
post the code please.
exchange.cpp in game/src
uiexchange.py in root
UNDER SPOILER
-
Show the code.
post uitarget.py (under spoiler)
-
game99 only wants global maps.
In map allowed on game99 you can find all the other channel players (like for example in guild war map)
The index map allowed in game99 is not to be put into other cores
-
1
-
-
what kind of selectwindow have you? with all characters in screen ? with only one character? screen please
-
Just now, emanuel said:
Now i create two other cores,cores works nice,core 1 and core 3 have same map_allow and core 2 and core 4 have same map_allow and all woks perfect..of i get problems i must add different index in cores map_allow, right ?
example of map_allow in normally situation :
core1 : 1 2 3 4 5
core 2 : 6 7 8 9 10
core3 : 11 12 13 14 15 16 17 18 19 20
core 4 : 21 22 23 24 25 26 27 28 29 30
game99 : 31 32 33 34 35 36 37
all different for core in the same CHANNEL
your situation:
core1 : 1 2 3 4 5
core 2 : 6 7 8 9 10
core3 : 1 2 3 4 5
core 4 : 6 7 8 9 10
game99 : 6 7 8 9 10
if you want to stay in your situation, stay out and then come back for other problems ( my opinion )
Bye
-
1 minute ago, emanuel said:
Why i find problems ? and for no problems whatt can i do ?
because is not normally to insert an index map into 3 core , so that can be dangerous.
for now you can continue with this setting, when and if you have problems then we will investigate.
-
there is a mad packet with header 209 that is unkow for client (omg really?)
search which packet header (in packet.h , type HEADER_GC) have 209 value.
if there'isnt packet HEADER_GC with that value , the question is much difficult to resolve
problem in quests
in Community Support - Questions & Answers
Posted
Decomment lines 376 and 395