Zevilke
-
Posts
19 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Zevilke
-
-
Finally i found it.
at the client source: InstanceBase.cpp
find this: bool CInstanceBase::IsAttackableInstance(CInstanceBase& rkInstVictim)and after
if (GetVirtualID() == rkInstVictim.GetVirtualID())
return false;put this two lines:
if (IAbstractPlayer::GetSingleton().IsSamePartyMember(GetVirtualID(), rkInstVictim.GetVirtualID()))
return false;
Hope it will help for all, who want to make the same feature!
-
int iIndex;
if (!PyTuple_GetInteger(poArgs, 0, &iIndex))
return Py_BadArgument();but you can start to find the problem's reason. This condition says that you want to use a bad argument in the slots (it's a handling problem).
If i were you, i'd check the system from the start point. f. e. everywhere has the shop array the same size. can the items pass into the slots etc.
I don't use this system, but if you attach the release we can debug it
-
in the comments there is a .py code for help for the syserrs. maybe also helps to you.
-
maybe check your client item_proto, or item_list.txt maybe you call the icons from a wrong place
-
do you have these item vnums in your proto, on serverside?
-
can you tell me a little closer information Denis Sensei?
-
it's working, i can't take damage for the grouped mate. Is there any solution to avoid the attack? for example if i write a run, it's embrassing when the hit away each others
by the way thanks your help, i'm very glad
-
i take damage. That's funny But thanks the replies.
-
...
if (pkVictim->GetParty() && pkVictim->GetParty() == pkChr->GetParty())
{
if (pkChr->GetEmpire() != pkVictim->GetEmpire())
return false;
// Cannot attack same party on any pvp model
}
else
{
if (pkVictim->IsKillerMode())
{
return true;
}if (pkChr->GetAlignment() < 0 && pkVictim->GetAlignment() >= 0)
{
if (g_protectNormalPlayer)
{
// ąüąýŔÚ´Â ĆňȸđµĺŔÎ ÂřÇŃ»ç¶÷Ŕ» °ř°ÝÇŇ Ľö ľř´Ů.
if (PK_MODE_PEACE == pkVictim->GetPKMode())
return false;
}
}
switch (pkChr->GetPKMode())...
here is the part of my function. Your suggestion was there in the else condition,
-
it's not solved my problem. i can still hit each other. :/
-
if (pkVictim->GetParty() && pkVictim->GetParty() == pkChr->GetParty())
{
return false;
// Cannot attack same party on any pvp model
}
i found this condition that place, if i'm right, it should have block hurt others, but the problem still alive.
-
Hy community,
I'm working on to make party between different empires.
Now i can make the group, but different empire charaters in the group can hurt each others in the group,
I hope you can suggest me a solution for this.Thanks
-
Hello community!
I made a 2x2 map, but sometimes the server makes the client kicked.
with some syslog line: SECTREE DIFFER: Admin 221x346 was 221x345I hope you can give me some advice!
Thanks Have a nice daysometimes get kicked from map with this syserr: Sync: cannot find tree at -2147483648 -2147483648 (name: Admin)
-
Hello everyone!
I would like to know, how can i handle / create an is_open_safebox() function.
If i have to write into the source, please tell me, how. I don't know the relation questfunctions.lua with source implementations.Thanks!
-
When i have one craft for npc, i get the same error, try to add one more cube for the npc. It's solved my problem.
-
Solved. The aimed map, and the dungeon were not at the same channel core.
-
Dear Guys,
I've done my start map CapeDragonHead. It's working fine, but when i finished my dungeon, and call d.exit_all() function my client get kick.
After when i relog, i'm at the start position.
i get this error on the ch core:
SYSERR: Mar 22 20:25:27.856863 :: GetValidLocation: cannot find sectree_map by map index 301
SYSERR: Mar 22 20:25:27.856938 :: PlayerLoad: InputDB::PlayerLoad : cannot find valid location 1082600 x 1793300 (name: [SA]Admin)
Client atlasinfo and the serverside coordinates are the same.
Sorry for my bad english
Best wishes,
Zevilke
Sync: cannot find tree
in Community Support - Questions & Answers
Posted
Same problem here. I'm waiting for answers!