Kreciok
-
Posts
17 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Kreciok
-
-
update your devil.dll in client.
-
Make sure you load items in every windows. ClientManagerPlayer.cpp
#ifdef ENABLE_SPECIAL_STORAGE snprintf(queryStr, sizeof(queryStr), "SELECT id,window+0,pos,count,vnum,socket0,socket1,socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 " "FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','UPGRADE_INVENTORY','BOOK_INVENTORY','STONE_INVENTORY'))", GetTablePostfix(), packet->player_id); #else snprintf(queryStr, sizeof(queryStr), "SELECT id,window+0,pos,count,vnum,socket0,socket1,socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 " "FROM item%s WHERE owner_id=%d AND (window < %d or window = %d)", GetTablePostfix(), packet->player_id, SAFEBOX, DRAGON_SOUL_INVENTORY); #endif #ifdef ENABLE_SPECIAL_STORAGE snprintf(szQuery, sizeof(szQuery), "SELECT id,window+0,pos,count,vnum,socket0,socket1,socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 " "FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','UPGRADE_INVENTORY','BOOK_INVENTORY','STONE_INVENTORY'))", GetTablePostfix(), pTab->id); #else snprintf(szQuery, sizeof(szQuery), "SELECT id,window+0,pos,count,vnum,socket0,socket1,socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 " "FROM item%s WHERE owner_id=%d AND (window < %d or window = %d)", GetTablePostfix(), pTab->id, SAFEBOX, DRAGON_SOUL_INVENTORY); #endif
Also u should check a delete query:
#ifdef ENABLE_SPECIAL_STORAGE snprintf(queryStr, sizeof(queryStr), "DELETE FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','UPGRADE_INVENTORY','BOOK_INVENTORY','STONE_INVENTORY'))", GetTablePostfix(), pi->player_id); #else snprintf(queryStr, sizeof(queryStr), "DELETE FROM item%s WHERE owner_id=%d AND (window < %d or window = %d)", GetTablePostfix(), pi->player_id, SAFEBOX, DRAGON_SOUL_INVENTORY); #endif
You can also check it easier by changing just this lines in a query: SAFEBOX, DRAGON_SOUL_INVENTORY -> on a SAFEBOX, STONE_INVENTORY.
-
19 minut temu, Artefact napisał:
Yeah but if the system is not enabled the inventory and dragon soul cases wont work.
Then use directive properly.
case INVENTORY: case DRAGON_SOUL_INVENTORY: #ifdef ENABLE_SPECIAL_STORAGE case UPGRADE_INVENTORY: case BOOK_INVENTORY: case STONE_INVENTORY: #endif item->AddToCharacter(ch, TItemPos(p->window, p->pos)); break;
-
Dnia 8.11.2018 o 13:30, firewall napisał:
in class CSpecialItemGroup add
int GetGroupSize() const { return m_vecProbs.size(); }
Thanks Brother! :)
-
Hi even if i include grid.h i havent got pGroup->GetGroupSize() function, can someone share it?
-
@avertuss
Which mob_scale do you use?
Can u link it? -
Dnia 8.11.2017 o 18:08, Den napisał:
You can try this
Thanks i will try
-
What do u mean?
-
10 godzin temu, Jokerino napisał:
Have you checked the syserr ?
Yes syserr is clean :c
-
Hello i have added an Okey Cards event everything is ok but i have one small problem.
After plaing okey cards game when i click on the quest scroll the quest's text isnt disappearing... :c
It looks like that:
How can i fix it? :c -
Thanks!
-
Hello today i created a new dungeon map based on dawnmistwood zone and textures.
To make this map work u need: property and zone of dawnmistwood dungeon ( new forest map ). You can find it on forum i wont upload it because this models are not mine.
Hope u like it.
https://mega.nz/file/bqJixIDC#UqAEq60PQg0oUGEvEovqaKGfH1vPCn9X2TWswqtwdzc
- 27
- 1
- 2
- 3
- 1
- 10
- 3
- 25
Command /b
in Community Support - Questions & Answers
Posted
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Just use: /big_notice xDDDDD