Jump to content

waLkerWEED

Inactive Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

About waLkerWEED

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

waLkerWEED's Achievements

Apprentice

Apprentice (3/16)

  • Dedicated
  • Reacting Well
  • First Post
  • Conversation Starter
  • Week One Done

Recent Badges

6

Reputation

  1. Hello, I'm back with the problem related to selling to NPCs. To explain again, I added special inventory on the K key, it works perfectly and i can sell items to NPC, then I extended the item stack from 200 to 2000 and that works perfectly but now I can't sell to NPCs anymore, when I try to sell to NPCs something disconnects me from the server at the login page. Initially I thought it was from the client but I was wrong, it seems the problem is from the server side. After other tests I tend to believe that the problem is coming from input_main.cpp more precisely from the function int CInputMain::Shop(LPCHARACTER ch, const char * data, size_t uiBytes) In this file I modified as follows: I've tried different adaptations for SHOP_SUBHEADER_CG_SELL2: but none of them work. In one case I have to sell an item several times to be disconnected. In another case, as soon as I sell an item I'm disconnected. In another case, it doesn't disconnect me at all, but I can't sell anything either, basically nothing happens... I've tried to get this piece of code from another serverfile but I haven't found anything that works so far... This is case SHOP_SUBHEADER_CG_SELL2: after I add specila inventory and the FIX to be able to sell items to NPC: This is case SHOP_SUBHEADER_CG_SELL2: after I add extended stack items and in installation tutorial it's ask me to change it as follow: And finally this is my result when i try to merge them: None of them works. NOTE: Serverfile is TMP4 if needed.
  2. Hello, I added special inventory successfully, I receive items where they should be in it, and I added the fixes to be able to move items between special inv and normal, plus the one to sell to NPCs. Then I added Extended Stack Items, to increase the stacked items from 200 to 2000. Everything works fine, the items are stacked up to 2000, I can move them between the inventory until we get to the sales section, where when I try to sell an item, regardless of whether it is in special or normal inv, I get disconnected from the server back to login page. After all the tests I did, I came to the conclusion that the problem could be in the client_SRC file PythonNetworkStreamPhaseGameItem.cpp The following function was adapted by me so that it meets the conditions for special inv and sell NPC fix ... can someone help me solve this problem? Also with the below function which is the function from NPC sell fix from special inventory the server works fine but i can't sell anything to NPC and the above function is the one adapted by me.
      • 3
      • Love
      • Metin2 Dev
  3. Hi, I managed to adapt everything, it's look like the stack stay 2000 but i have find the next issue. When i try to sell something to NPC, when i take the item and drop it into the NPC window to sell it the client disconnect me down to login page. There is no error generated in syserr... Does anyone know from where ca be the problem?
  4. @devilconx can you please share with us the FIX to sell items on NPC? When i try to sell from special inventory nothing hapens and when i try to sell an item from normal inventory it's said "this item can not be sold" ...
  5. Hi, i'm trying to get the download link but even if I react to the post i still get the msg Download Center Hidden Content Give reaction to this post to see the hidden content. or Hidden ContentGive reaction to this post to see the hidden content. The files are uploaded to Google Drive. Hello! Im here again. I made more changes and im goin Can someone help me with the download link?
  6. Hi there, can someone provide me a link to an offline shop and search shop who was implemented and test on this server file please? Thanks!
  7. Hi all, Can someone tell me what version of BSD i need to run an metin2 server? I find people which said v9 and others said v12 ... and now i'm confused. Also i find some SF where people mention that the SF it's 40k, what does it mean? Cheers!
  8. Hello gents, I just finis to implement Offline Shop by great and I have few error on clinet.When i try to login on server, after i select character the game is crashed and i have this errors on syserr.Can someone help me to resolve this please? 0405 15: 49: 19099 :: GameButtonWindow.LoadScript - 'GiftIcon' 0405 15: 49: 19099 :: =================== ========================= =========================== ========================= ================ 0405 15: 49: 19099 :: Abort !!!! 0405 15: 49: 19099 :: ============================================ == ==================================================== == ================ 0405 15: 49: 19099 :: Abort !!!! 0405 15: 49: 19099 :: ============================================ == ==================================================== == ================ 0405 15: 49: 19099 :: Abort !!!! 0405 15: 49: 19099 :: ============================================ == ==================================================== == ================ 0405 15: 49: 19099 :: Abort !!!! 0405 15: 49: 19099 :: ============================================ == ==================================================== == ================ 0405 15: 49: 19099 :: Abort !!!! 0405 15: 49: 19099 :: ============================================ == ==================================================== == ================ 0405 15: 49: 19099 :: Abort !!!! 0405 15: 49: 19099 :: Traceback (most recent call last): 0405 15: 49: 19099 :: File "networkModule.py", line 232, in SetGamePhase 0405 15: 49: 19099 :: File "game.py" , line 100, in __init__ 0405 15: 49: 19099 :: File "interfaceModule.py", line 411, in MakeInterface 0405 15: 49: 19099 :: File "interfaceModule.py", line 279, in __MakeGameButtonWindow 0405 15: 49: 19100 :: AttributeError 0405 15: 49: 19100 ::: 0405 15: 49: 19100 :: 'Interface' object has no attribute '_Interface__OnClickGiftButton' 0405 15: 49: 19100 ::
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.