EmreGokceSnsz
-
Posts
15 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by EmreGokceSnsz
-
-
16 hours ago, alin2894 said:
bonus bug fix
char.cpp open
char szColumns[QUERY_MAX_LEN], szValues[QUERY_MAX_LEN];
find
change the following
char szColumns[QUERY_MAX_LEN], szValues[QUERY_MAX_LEN];
int iLen = snprintf(szColumns, sizeof(szColumns), "id,owner_id,pos,count,price,vnum");
int iUpdateLen = snprintf(szValues, sizeof(szValues), "%u,%u,%d,%u,%u,%u", pkItem->GetID(), GetPlayerID(), (pTable + i)->display_pos, pkItem->GetCount(), (pTable + i)->price, pkItem->GetVnum());iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ",socket0,socket1,socket2");
iUpdateLen += snprintf(szValues + iUpdateLen, sizeof(szValues) - iUpdateLen, ",%ld,%ld,%ld", pkItem->GetSocket(0), pkItem->GetSocket(1), pkItem->GetSocket(2));iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ",attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6");
iUpdateLen += snprintf(szValues + iUpdateLen, sizeof(szValues) - iUpdateLen, ",%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d",
pkItem->GetAttributeType(0), pkItem->GetAttributeValue(0),
pkItem->GetAttributeType(1), pkItem->GetAttributeValue(1),
pkItem->GetAttributeType(2), pkItem->GetAttributeValue(2),
pkItem->GetAttributeType(3), pkItem->GetAttributeValue(3),
pkItem->GetAttributeType(4), pkItem->GetAttributeValue(4),
pkItem->GetAttributeType(5), pkItem->GetAttributeValue(5),
pkItem->GetAttributeType(6), pkItem->GetAttributeValue(6));char szInsertQuery[QUERY_MAX_LEN];
snprintf(szInsertQuery, sizeof(szInsertQuery), "INSERT INTO %soffline_shop_item (%s) VALUES (%s)", get_table_postfix(), szColumns, szValues);
std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szInsertQuery));
pkItem->RemoveFromCharacter();bonus bug fix
-
On 07.04.2016 at 10:44 AM, DeYaN. said:
Hei ,my old friends, i add the sash system,and i have 2 errors :
1) Two slots problem , i belive in python is the problem,but where :
Edit : Solve from Gametype.h .
2) Visual sash problem , in syserr client :
0406 22:40:21114 :: Acce number 19366 is not exist.
0406 22:40:21146 :: Acce number 19366 is not exist.EDIT ! 2 - SOLVE from item_proto.sql
I am also giving me what I need to do
0523 20:04:11161 :: Acce number 5332 is not exist.
0523 20:04:11258 :: Acce number 42206 is not exist. -
2 minutes ago, gummyantifi said:
Check your file uiinventory.py
are you throw uiinventoy.py my compare
-
7 minutes ago, Law™ said:
add me on skype so i try to help you on night
readly file uiscript/costumewindows.py can you throw
I got an error
pack sysser
Spoiler521 13:01:33885 :: Traceback (most recent call last):
0521 13:01:33885 :: File "ui.py", line 1097, in CallEvent
0521 13:01:33885 :: File "ui.py", line 88, in __call__
0521 13:01:33885 :: File "ui.py", line 70, in __call__
0521 13:01:33886 :: File "uiInventory.py", line 507, in ClickCostumeButton
0521 13:01:33886 :: File "uiInventory.py", line 47, in __init__
0521 13:01:33886 :: File "uiInventory.py", line 89, in __LoadWindow
0521 13:01:33886 :: AttributeError 0521 13:01:33886 :: : 0521 13:01:33886 :: 'CostumeWindow' object has no attribute 'costume' 0521 13:01:33886 ::
they have costumewindow.py
what cloud be my problem
-
1 minute ago, gummyantifi said:
Where i have problem ?
quest costume begin
state start begin
when login begin
cmdchat("costume "..q.getcurrentquestindex())
end
when button or info begin
if pc.getqf("costume") == 1 then
chat("You chose visibility costume.")
pc.setqf("costume", 2)
pc.costume(0)
elseif pc.getqf("costume") == 2 then
chat("You chose visibility armor.")
pc.setqf("costume", 1)
pc.costume(1)
end
end
end
end
syserr
SYSERR: May 21 16:08:05 :: RunState: LUA_ERROR: [string "costume"]:4: attempt to call field `costume' (a nil value)
SYSERR: May 21 16:08:05 :: WriteRunningStateToSyserr: LUA_ERROR: quest costume.start click
SYSERR: May 21 16:08:05 :: Input: no quest running for pc, cannot process input : 9088
SYSERR: May 21 16:08:07 :: RunState: LUA_ERROR: [string "costume"]:8: attempt to call field `costume' (a nil value)
SYSERR: May 21 16:08:07 :: WriteRunningStateToSyserr: LUA_ERROR: quest costume.start click
SYSERR: May 21 16:08:07 :: Input: no quest running for pc, cannot process input : 9088
my problem you
-
12 hours ago, VegaS said:
Not completely, i give you other part ( Some parts of the code are not mine ):
1. Search in char.cpp:
cannot_dead = false;
2. Add below:
costume_visible = true;
1. Search:
WORD CHARACTER::GetPart(BYTE bPartPos) const { assert(bPartPos < PART_MAX_NUM); return m_pointsInstant.parts[bPartPos]; }
2. Change with:
WORD CHARACTER::GetPart(BYTE bPartPos) const { assert(bPartPos < PART_MAX_NUM); if(bPartPos == PART_MAIN && GetWear(WEAR_COSTUME_BODY) && CostumeVisible() == false) if(const LPITEM pArmor = GetWear(WEAR_BODY)) return pArmor->GetVnum(); return m_pointsInstant.parts[bPartPos]; }
1. Search:
WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const { switch (bPartPos) { case PART_MAIN: if (!IsPC()) return GetPart(PART_MAIN); else return m_pointsInstant.bBasePart; case PART_HAIR: return GetPart(PART_HAIR); case PART_ACCE: return GetPart(PART_ACCE); default: return 0; } }
2. Change with:
WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const { switch(bPartPos) { case PART_MAIN: if(GetWear(WEAR_COSTUME_BODY) && CostumeVisible() == false) if(const LPITEM pArmor = GetWear(WEAR_BODY)) return pArmor->GetVnum(); if(!IsPC()) return GetPart(PART_MAIN); else return m_pointsInstant.bBasePart; case PART_HAIR: return GetPart(PART_HAIR); #ifdef __ENABLE_ACCE_ case PART_ACCE: return GetPart(PART_ACCE); #endif default: return 0; } }
1. Search in char.h:
void SetLastSyncTime(const timeval &tv) { memcpy(&m_tvLastSyncTime, &tv, sizeof(timeval)); } const timeval& GetLastSyncTime() { return m_tvLastSyncTime; } void SetSyncHackCount(int iCount) { m_iSyncHackCount = iCount;} int GetSyncHackCount() { return m_iSyncHackCount; }
2. Add below:
public: bool CostumeVisible() const { return costume_visible; }; void SetCostumeVisible(bool visible) { costume_visible = visible; }; private: bool costume_visible;
1. Search in item.cpp:
case ITEM_ARMOR: { if (0 != m_pOwner->GetWear(WEAR_COSTUME_BODY)) break; if (GetSubType() == ARMOR_BODY || GetSubType() == ARMOR_HEAD || GetSubType() == ARMOR_FOOTS || GetSubType() == ARMOR_SHIELD) { if (bAdd) { if (GetProto()->bSubType == ARMOR_BODY) m_pOwner->SetPart(PART_MAIN, GetVnum()); } else { if (GetProto()->bSubType == ARMOR_BODY) m_pOwner->SetPart(PART_MAIN, m_pOwner->GetOriginalPart(PART_MAIN)); } } } break;
2. Delete function and change with this:
case ITEM_ARMOR: { if(m_pOwner->GetWear(WEAR_COSTUME_BODY) && m_pOwner->CostumeVisible() == true) break; if(GetSubType() == ARMOR_BODY || GetSubType() == ARMOR_HEAD || GetSubType() == ARMOR_FOOTS || GetSubType() == ARMOR_SHIELD) { if(bAdd) { if(GetProto()->bSubType == ARMOR_BODY) m_pOwner->SetPart(PART_MAIN, GetVnum()); } else { if(GetProto()->bSubType == ARMOR_BODY) m_pOwner->SetPart(PART_MAIN, m_pOwner->GetOriginalPart(PART_MAIN)); } } } break;
1. Search:
case ITEM_COSTUME: { DWORD toSetValue = this->GetVnum(); EParts toSetPart = PART_MAX_NUM; if (GetSubType() == COSTUME_BODY) { toSetPart = PART_MAIN; if (false == bAdd) { const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY); toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN); } }
2. Change with:
case ITEM_COSTUME: { DWORD toSetValue = this->GetVnum(); EParts toSetPart = PART_MAX_NUM; if(GetSubType() == COSTUME_BODY) { toSetPart = PART_MAIN; if(false == bAdd || (m_pOwner->GetWear(WEAR_BODY) && m_pOwner->CostumeVisible() == false)) { const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY); toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN); } }
Good quest:
quest costume begin state start begin when login begin cmdchat("costume "..q.getcurrentquestindex()) end when button or info begin if pc.getqf("costume") == 1 then chat("You chose visibility costume.") pc.setqf("costume", 2) pc.costume(0) elseif pc.getqf("costume") == 2 then chat("You chose visibility armor.") pc.setqf("costume", 1) pc.costume(1) end end end end
quest login_costume_use begin state start begin when login with pc.getqf("block_quest") == 0 begin pc.setqf("block_quest", 1) pc.setf("costume", "costume", 1) end end end
sysser
521 13:01:33885 :: Traceback (most recent call last):
0521 13:01:33885 :: File "ui.py", line 1097, in CallEvent
0521 13:01:33885 :: File "ui.py", line 88, in __call__
0521 13:01:33885 :: File "ui.py", line 70, in __call__
0521 13:01:33886 :: File "uiInventory.py", line 507, in ClickCostumeButton
0521 13:01:33886 :: File "uiInventory.py", line 47, in __init__
0521 13:01:33886 :: File "uiInventory.py", line 89, in __LoadWindow
0521 13:01:33886 :: AttributeError 0521 13:01:33886 :: : 0521 13:01:33886 :: 'CostumeWindow' object has no attribute 'costume' 0521 13:01:33886 ::
costumewindow.py
where is the problem ?
-
I get this error when start the game and it won't open what can I do
/usr/game/share/bin/game: Shared object has no run-time symbol table /usr/game/share/bin/db: Shared object has no run-time symbol table
-
-
Up up help
Tr:aynisi arkadasda varmis
-
-
How can I get these issues resolved I 'm sorry I'm using for my english translation
channel 1 sysser
SYSERR: Oct 25 02:28:02.872980 :: Analyze: login phase does not handle this packet! header 13
SYSERR: Oct 25 02:28:02.991925 :: Analyze: login phase does not handle this packet! header 100
SYSERR: Oct 25 02:36:45.561916 :: Process: UNKNOWN HEADER: 21, LAST HEADER: 254(2), REMAIN BYTES: 8, fd: 17Game99 Sysserr
SYSERR: Oct 25 02:51:54.179326 :: Show: cannot find sectree by 934024x242657 mapindex 41
SYSERR: Oct 25 02:51:54.179364 :: Show: cannot find sectree by 934790x241722 mapindex 41
SYSERR: Oct 25 02:51:54.179649 :: RegenNPC: Cannot create guild npc
SYSERR: Oct 25 02:51:54.179657 :: Show: cannot find sectree by 935635x242344 mapindex 41
SYSERR: Oct 25 02:51:54.179664 :: Show: cannot find sectree by 935768x240940 mapindex 41
SYSERR: Oct 25 02:51:54.179671 :: Show: cannot find sectree by 935549x240918 mapindex 41
SYSERR: Oct 25 02:52:27.895935 :: LoadMotion: cannot find accumulation data in file 'data/monster/horse_event1/03.msa'
SYSERR: Oct 25 02:52:28.61463 :: heart_idle: losing 45 seconds. (lag occured) -
Mainline_released source problem sysser
SYSERR: Oct 24 14:38:24.4932 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 0 mob 3596 skill 257
SYSERR: Oct 24 14:38:24.5603 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 1 mob 3596 skill 258
SYSERR: Oct 24 14:38:24.408938 :: LoadMotion: cannot find accumulation data in file 'data/monster/horse_event1/03.msa'
SYSERR: Oct 24 14:38:24.411916 :: LoadMotion: cannot find accumulation data in file 'data/monster/boar/run.msa'
SYSERR: Oct 24 14:38:24.412994 :: LoadMotion: cannot find accumulation data in file 'data/monster/dog_god/run.msa'
SYSERR: Oct 24 14:38:24.414658 :: LoadMotion: cannot find accumulation data in file 'data/monster/lion/run.msa'
SYSERR: Oct 24 14:38:24.414824 :: LoadMotion: cannot find accumulation data in file 'data/monster/boar/run.msa'
SYSERR: Oct 24 14:38:24.414957 :: LoadMotion: cannot find accumulation data in file 'data/monster/dog_god/run.msa'
SYSERR: Oct 24 14:38:24.415086 :: LoadMotion: cannot find accumulation data in file 'data/monster/lion/run.msa'
SYSERR: Oct 24 14:38:24.415211 :: LoadMotion: cannot find accumulation data in file 'data/monster/boar/run.msa'
SYSERR: Oct 24 14:38:24.415348 :: LoadMotion: cannot find accumulation data in file 'data/monster/dog_god/run.msa'
SYSERR: Oct 24 14:38:24.415476 :: LoadMotion: cannot find accumulation data in file 'data/monster/lion/run.msa'
SYSERR: Oct 24 14:38:24.415558 :: LoadMotion: cannot find accumulation data in file 'data/monster/horse_event1/03.msa'
SYSERR: Oct 24 14:46:30.652171 :: Click: CQuestManager::Click(pid=10000, target_npc_name=Silah Satıcısı) - NOT EXIST NPC RACE VNUM[9007]
SYSERR: Oct 24 14:46:32.604251 :: Click: CQuestManager::Click(pid=10000, target_npc_name=Hong-Hae) - NOT EXIST NPC RACE VNUM[20094]How do I resolve
KEN Offlineshop syserr problem_
in Community Support - Questions & Answers
Posted
How can I resolve