-
Posts
222 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by blaxis
-
-
After buy.. any idea?
- 1
-
Thx for sharing. What is problem?
-
Hi. I want to invoke the NPC and shop windows separately but it doesn't work at all. How can I do that?
Examp:
if shop.IsPrivateShop: self.offshop.Open(vid) self.offshop.SetTop() else: self.dlgShop.Open(vid) self.dlgShop.SetTop()
or:
if chr.IsNPC(): self.dlgShop.SetTop() self.dlgShop.Open(vid) else: self.offshop.Open(vid) self.offshop.SetTop()
But doesn't work.
-
Thanks. However, when I restart the server, the sold items are deleted from the market. Can we fix this?
-
1 hour ago, lime said:
Bruh, try another forum. This one does not support actions like yours.
Do not talk nonsense. Overfall is not paid as far as I know and is a file available to everyone. What's wrong with asking for help with this?
-
Hi, I'm trying to add the overfall2 store to my own files. But every time I try I get an "UNKNOWN HEADER" error. As soon as the store screen appears, it sends it on the login screen. The files work in martysama source files but not mainline/novaline files and this is the problem.
Can anyone help?
I hope I can find someone who has had the same problem and solved it before.. I've been dealing with this for days...SYSERR: Jan 6 19:35:33 :: Process: UNKNOWN HEADER: 84, LAST HEADER: 57(2), REMAIN BYTES: 1, fd: 17
-> HEADER_CG_OFFLINE_SHOP = 57,
-
Hi. How can I solve this error? The slots for the market are 80 slots, I reduced it to 40 but it still gives this error.
80:
CPythonNetworkStream::CheckPacket - Not enough dynamic packet size: header 47 packet size: 9612
40:
CPythonNetworkStream::CheckPacket - Not enough dynamic packet size: header 47 packet size: 4812
-
10 hours ago, boaspessoal said:
You could always just treat that specific NPC like a PC through ::SetRace in ActorInstanceData(register all the body parts) and add the part like it's attaching an actual weapon to the model.
Here's how I did it:case NRaceData::ATTACHING_DATA_TYPE_WEAPON: { CGraphicThing * m_pModelThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(c_pAttachingData->pWeaponData->strFileName.c_str()); RegisterModelThing(CRaceData::PART_WEAPON, m_pModelThing); SetModelInstance(CRaceData::PART_WEAPON, CRaceData::PART_WEAPON, 0); AttachModelInstance(CRaceData::PART_MAIN, c_pAttachingData->strAttachingBoneName.c_str(), CRaceData::PART_WEAPON); break; }
Thank you very much bro. Does it work like this?
And where exactly do I need to add this? -
-
6 hours ago, decimus said:
yeah of corse, this is my discord : Decimus#3874
I added
-
41 minutes ago, decimus said:
yeah of corse, this is my discord : Decimus#3874
Ok. I'll be home in a few hours. I'll let you know. I'm also using 2018, maybe I can help with crack.
-
10 hours ago, decimus said:
why do you want to combine a character and a weapon?
Is he an NPC?
Anyway, I need the crack of 2018 to show you
Yes, I will use it as an npc. Do you need 3dsmax 2018 crack? If you can give me Discord I can add you. Thank you very much.
-
If there is any purpose to collect information about the computer (like HWID), remove them from the source code and try again.
-
Hi. How can I combine the character and weapon in 3DS Max and use them in one piece?
-
Nobody wants to help with this?
-
-
On 12/21/2021 at 6:25 PM, Mali said:
How?
Edit: No answer. It's an error that was your fault then.
The description file you shared is incorrect. That's why I had this problem.
The explanation below is incorrect. (shopex.cpp)//Find switch (shop_tab.coinType) { case SHOP_COIN_TYPE_GOLD: if (bOtherEmpire) // no empire price penalty for pc shop pack_tab.items[i].price = shop_tab.items[i].price * 3; else pack_tab.items[i].price = shop_tab.items[i].price; break; case SHOP_COIN_TYPE_SECONDARY_COIN: pack_tab.items[i].price = shop_tab.items[i].price; break; } memset(pack_tab.items[i].aAttr, 0, sizeof(pack_tab.items[i].aAttr)); memset(pack_tab.items[i].alSockets, 0, sizeof(pack_tab.items[i].alSockets)); ///Change #if defined(ENABLE_RENEWAL_SHOPEX) pack_tab.items[i].price_type = shop_tab.items[i].price_type; pack_tab.items[i].price_vnum = shop_tab.items[i].price_vnum; pack_tab.items[i].price = shop_tab.items[i].price; if (bOtherEmpire && pack_tab.items[i].price_type == SHOPEX_GOLD) pack_tab.items[i].price *= 3; thecore_memcpy(pack_tab.items[i].aAttr, shop_tab.items[i].aAttr, sizeof(pack_tab.items[i].aAttr)); thecore_memcpy(pack_tab.items[i].alSockets, shop_tab.items[i].alSockets, sizeof(pack_tab.items[i].alSockets)); #else switch (shop_tab.coinType) { case SHOP_COIN_TYPE_GOLD: if (bOtherEmpire) // no empire price penalty for pc shop pack_tab.items[i].price = shop_tab.items[i].price * 3; else pack_tab.items[i].price = shop_tab.items[i].price; break; case SHOP_COIN_TYPE_SECONDARY_COIN: pack_tab.items[i].price = shop_tab.items[i].price; break; } memset(pack_tab.items[i].aAttr, 0, sizeof(pack_tab.items[i].aAttr)); memset(pack_tab.items[i].alSockets, 0, sizeof(pack_tab.items[i].alSockets)); #endif
Indeed, this is how it should be:
//Find memset(pack_tab.items[i].aAttr, 0, sizeof(pack_tab.items[i].aAttr)); memset(pack_tab.items[i].alSockets, 0, sizeof(pack_tab.items[i].alSockets)); ///Change #if defined(ENABLE_RENEWAL_SHOPEX) pack_tab.items[i].price_type = shop_tab.items[i].price_type; pack_tab.items[i].price_vnum = shop_tab.items[i].price_vnum; pack_tab.items[i].price = shop_tab.items[i].price; if (bOtherEmpire && pack_tab.items[i].price_type == SHOPEX_GOLD) pack_tab.items[i].price *= 3; thecore_memcpy(pack_tab.items[i].aAttr, shop_tab.items[i].aAttr, sizeof(pack_tab.items[i].aAttr)); thecore_memcpy(pack_tab.items[i].alSockets, shop_tab.items[i].alSockets, sizeof(pack_tab.items[i].alSockets)); #else memset(pack_tab.items[i].aAttr, 0, sizeof(pack_tab.items[i].aAttr)); memset(pack_tab.items[i].alSockets, 0, sizeof(pack_tab.items[i].alSockets)); #endif
And search:
char temp[8096]; // ÃÖ´ë 1728 * 3
Change:
char temp[8096 * 3]; // ÃÖ´ë 1728 * 3
This is how I solved the problem. Items and prices seem fine, but like I said, I can't buy. I am getting the error mentioned in my above post.
- 1
- 1
- 1
-
up. help please?
-
On 8/4/2020 at 11:32 AM, V0lvox said:
Have a other problem.
He use to show items:
CShopEx::AddGuest()
But when i buy something, he use:
pkShop->Buy()
This Buy is shop.cpp and not shopex.cppSo the Buy of shop.cpp does not know the items from shopex.
So everytime m_itemVector.size() = 0
And so i cant buy items on shopexSolve ?
- 1
- 1
-
Hi, I have a problem. I can't buy items shopex npc.
Syslog: Shop::Buy : invalid position 0 : Nick
how can i solve it?in the ::Buy func:
if (pos >= m_itemVector.size()) { sys_log(0, "Shop::Buy : invalid position %d : %s", pos, ch->GetName()); return SHOP_SUBHEADER_GC_INVALID_POS; }
-
I solved core error but I have this problem..
I can't buy items
Error: SHOP_INVALID_POS(locale_game.txt)
-
1 hour ago, V0lvox said:
Do: bt all
As I said, there is no other result other than that.
"bt full" results: -
1 hour ago, V0lvox said:
Send whole error
That is all. There is nothing else.
-
I am having this problem. From what I can see in the comments, a few people have had the same problem. No response from any of them!
Doesn't anyone care?
Shop Sold Info - Item Attr Problem
in Community Support - Questions & Answers
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
Hi. I added the "Shop Sold Info" system. It was working fine at first, but I'm having this problem as a result of an edit I made later.
The item looks fine before it is purchased. But after purchase, their bonus seems to be broken. (as image only)
The purchased item appears properly in the inventory.
I don't remember where I edited. I realized this problem much later. What could be the reason for this?
CItemManager::SelectItemData - FIND ERROR [1229735494] 0120 15:34:58006 :: SYSERR: Cannot find item by 1229735494 0120 15:34:58007 :: CItemManager::SelectItemData - FIND ERROR [1229735494] 0120 15:34:58007 :: SYSERR: Cannot find item by 1229735494 0120 15:34:58008 :: CItemManager::SelectItemData - FIND ERROR [1229735494] 0120 15:34:58009 :: SYSERR: Cannot find item by 1229735494 0120 15:34:58010 :: CItemManager::SelectItemData - FIND ERROR [1398752590] 0120 15:34:58011 :: SYSERR: Cannot find item by 1398752590 0120 15:34:58012 :: CItemManager::SelectItemData - FIND ERROR [1398752590] 0120 15:34:58012 :: SYSERR: Cannot find item by 1398752590 0120 15:34:58013 :: CItemManager::SelectItemData - FIND ERROR [1599098696] 0120 15:34:58013 :: SYSERR: Cannot find item by 1599098696 0120 15:34:58014 :: CItemManager::SelectItemData - FIND ERROR [1599098696] 0120 15:34:58014 :: SYSERR: Cannot find item by 1599098696