Jump to content

Vaynz

Active Member
  • Posts

    185
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Vaynz

  1. Looks nice, keep it up.
  2. Right click on UserInterface in Visual Studio, ADD -> Add Existing Item -> Search your file in UserInterface and add them.
  3. Search binary source (Ib effect / Pythontextail.cpp) or root (Check probably is on locale translated locale_game / interface).
  4. Can you show us the code to understand better what you mean please?
  5. Check your gametype.h Do a debug to see what slot is using and after you can correct it.
  6. You dont give a lot of information but how i can see, if your locale info is set on arabic the position (x -> left right) is set to 190 and if you have another locale info like set on EN / IT / FR is set to 0 (x -> left right) Give more infos please. What you need
  7. Use english default, you dont have to remove the function if you dont know how to remove all functions, just put 0 {8009, 0, {0, 0, 0, 0, 0} }, Like this
  8. So "grey lines" are showing in these 2 maps. The problem is they are not destroying/hiding when teleport. So. You have to make them to destroy/hide "grey lines"
  9. Game source constants.cpp Search const SStoneDropInfo aStoneDrop[STONE_INFO_MAX_NUM] Example and how works. // mob pct {+0 +1 +2 +3 +4} {8009, 60, {21, 27, 33, 17, 2} },
  10. For more security you can use ipfw. If you go on cmd and type "netstat -n" can see all IPs running for your game/application and can be easily found Metin2 IP + port.
  11. I have worked with them in the past, a very good quality staff (friendly, transparent and other positive things). I recommend that you play this server as a player - Why? Very stable, very nice gameplay, unique maps from what I see in the presentation and unique and pleasant systems. Good luck with the server. Update. I played from the player's perspective for a few good hours and I didn't get bored, the gameplay is very long-lived and interesting, the market is stable for upgrade objects and the market between players is a decent one. For those who really want a medium pvm to "easy" (skills, level, and low level items) and "hard" to level 120 gameplay (items with bosses, stones, and full pvp 120) this is the server you are looking for. Aswell wiki is a very good thing for new players.
  12. Try to use debug by marty [Hidden Content] . And you will find the problem for sure. Before debug, try to check if you did all steps from tutorial correctly.
  13. Check packets game source and binary. Check this packets command_exchange SShopItemTable packet_shop_update_price packet_exchange #ifdef ENABLE_REMOVE_LIMIT_GOLD unsigned long long price; #else DWORD price; #endif extend_inventory_packet #ifdef ENABLE_REMOVE_LIMIT_GOLD enum { HEADER_GC_CHARACTER_GOLD = 224, HEADER_GC_CHARACTER_GOLD_CHANGE = 225, }; typedef struct packet_gold { BYTE header; unsigned long long gold; } TPacketGCGold; typedef struct packet_gold_change { int header; DWORD dwVID; long long amount; unsigned long long value; } TPacketGCGoldChange; #endif Remember that it must coincide. But first of all check if your binary packages match those on the src game.
  14. "Let's kill source, and find best solution comment sync yeah.." This fix worked for my server, the bug apperead since 2020 February when Microsoft updated our windows. Char.cpp & Char.h game source and there is fix Char.h - search float m_fSyncTime; Change with DWORD m_fSyncTime; Char.cpp - search if (get_float_time() - m_fSyncTime < 0.2f) Change with if (get_dword_time() - m_fSyncTime < 50) Search m_fSyncTime = get_float_time(); Change with m_fSyncTime = get_dword_time(); Search if (get_float_time() - m_fSyncTime >= 3.0f) Change with if (get_dword_time() - m_fSyncTime >= 100)
  15. Bro he gived you all what you need, you have to install what he gived you in your quest function, make a quest with any name example "teleportsyreldarclean.lua" after control your directory, example "cd ../usr/game/quest/" after compile your quest example "./qc teleportsyreldarclean.lua" reload your quest in server like "/reload q" in game and thats all. when 70007.use or 9012.click begin and if you want to make that on NPC teleport just change 9012 vnum with your NPC
  16. For windows defender you have to submit a ticket to microsoft, and tell them are false positive and is not harm or viruses. Select "Developer plan", upload your file, say your win defender version and tell them to remove false positive. Example: "Hello i want to remove false positive viruses from my application. There is list: Trojan, GameWin32, WinBatac etc"
  17. In short, the server side is more to store the specular information, to make the specular visible you have to convert your proto txt to the client part with dump proto. To see where your item_proto is you can search the binary source - UserInterface / PythonApplication.cpp -> szItemProto. Once you dump proto with the specular you want. Proto item from the premises or from your location loads your specular. And from what I read you use proto txt because it returns to the default values. Short -> Compile your txt proto and compile your locale for new item proto with specular and specular will be solved. If is not showing check if you have spheremap01 & 02 in your client. And in another case you can try a debug on uiinventory / binary source to see if is taking corectly specular and values.
  18. For special storage - "categories" Search Search def SetCategoryPage(self, page): [...] Add after def OnRunMouseWheel(self, nLen): if nLen > 0: if self.categoryPageIndex < 3: self.SetCategoryPage(self.categoryPageIndex + 1) else: if self.categoryPageIndex > 0: self.SetCategoryPage(self.categoryPageIndex - 1) " < 3 : " change with how much categories you have.
  19. The tutorial is complete, for those who have problems with this "pack_open" not defined Search: ShopData = pack_open(REMOTE_FILE_NAME, "r").readlines() Change with: ShopData = open(REMOTE_FILE_NAME, "r").readlines() And if you have problem with buying items is from ENABLE_MULTISHOP, you have to adapt the system in localeinfo.py and uishop.py in function AskBuyItem. 70,75,48 is from your mysql player -> shop_item (Vnum where is opening the shop with items "doing what you want") Example: Like in my case ->shop item : Vnum (3 is to open the window with weapons and where you find items) In player -> shop you have (Shop vnum - (3), Name (bla bla), NPC - Npc vnum (9001) ) example In remote_shop_names.txt you have to put them like how in input_main.cpp vnum it is. Example (3, ) Locale- 3 go first and name in remote_shop_names.txt -> Weapons If we go for a new shop (Do same like weapons and go in input_main.cpp vnum in row 3, 4, 5) and in remote shop again do that 3 = Weapons 4 = Armors 5 = General. - How Input_main.cpp how looks How remote_shop_names looks. Sorry for bad english and bad "explain", i just woke up. I hope you understood the idea. "Market name is working" aswell, maybe u missed something from tutorial.
×
×
  • 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.