Jump to content
Forgot your email address? ×
×
×
  • Create New...

VegaS™

Moderator
  • Posts

    549
  • Joined

  • Last visited

  • Days Won

    179

VegaS™ last won the day on September 22

VegaS™ had the most liked content!

About VegaS™

  • Birthday December 22

Informations

  • Nationality
    Singaporean
  • Country
    Singapore
  • Gender
    Male

Social Networks

Recent Profile Visitors

28097 profile views

VegaS™'s Achievements

  1. Halloween sale! Most of the customers asked me multiple times if I do any discount for a specific system, but in the last years, I didn't because I wanted to keep a fair price for everyone. So that would be the way to benefit everyone from this discount. Up to 50% discount on all systems. For those products that don't have a price, you've to contact me. Available from 22.10.2021 to 03.11.2021. You can find all the products here: https://www.vegas-projects.com/product-list/ Enjoy.
  2. It won't work because you just initialized the structure with the default values from the constructor, which means window_type will be always INVENTORY You already have the GetWindow function inside of CItem class, you can use it like this: if (MALL == item->GetWindow()) { [...] } Or if you really want to use TItemPos and the functions from it, you must initialize it properly: const TItemPos Cell(item->GetWindow(), item->GetCell());
  3. or: That's a small tip for the next time when you're coding, so you'll know if it's a critical warning and it needs real attention or not, based on the level. [Hidden Content]
  4. I will update the repo when I will have some free time, right now I'm very busy with the university and the job. For those who want to contribute to it, you can do a pull request in the GitHub repository.
  5. self.wndItem[itemSlotIndex].SetChangerImage() self.wndItem it's an object, basically a class (GridSlotWindow), not a list/tuple/dict [...], that means it doesn't have a __getitem__ method implemented by default. So, you should replace that line with a simple call as a member function from an instance: self.wndItem.SetChangerImage() The function must be implemented in ui.py inside of class GridSlotWindow. Seems that your 'system' is incomplete. But based on the function name, I think it's changing the base image of the slot, so you can try to add something like this: [Hidden Content] Of course, you've to change the image path based on your needs.
  6. Hi, thanks for the release, but you don't need any extra function, you just need to select the change look vnum. item.SelectItem(changelookVnum) valu3 = item.GetValue(3) # Set selected item as the old one because it's used later in other conditions item.SelectItem(oldItemVnum) So, the code should looks like: elif itemSubType == item.COSTUME_TYPE_HAIR: if self.__ItemGetRace() == player.GetRace(): value3 = item.GetValue(3) if app.ENABLE_CHANGE_LOOK_SYSTEM and getChangelookVnum: item.SelectItem(getChangelookVnum) value3 = item.GetValue(3) self.__ModelPreview(value3, 1, player.GetRace()) item.SelectItem(itemVnum)
  7. This topic is in continuous development! For any reports, bits of advice, contact me via PM. Hello! As you have probably seen in the previous days we cleaned the Guides & How-To category and moved most of the topics that belong to Programming & Scripts / Systems and others. Meanwhile, I checked the content of over 1000 topics manually and I found a drama in a topic like: some people praised themselves with some fixes that don't belong to them, but they were posted in m2dev years ago and were lost in the indexation. After I finished with the sorting, I talked with the rest of the staff about that and @ασικοοcame with an idea, doing a summary thread. Of course, doing something like this manually would take weeks and so much research. With all of this, an idea came to my mind, to do a smart Python tool that analyzing everything through the metin2dev database and develop a strong algorithm that can find and building HTML code for different tags with their own settings. Challenge accepted, and this is the result after some days of working on the tool. [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content]
  8. Based on what martysama said in his reply, these are the changes you've to do: InstanceBase.h // Search for: typedef std::list<SEffectDamage> CommandDamageQueue; // Replace with: typedef std::queue<SEffectDamage> CommandDamageQueue; InstanceBaseEffect.cpp [Hidden Content] Exclamation: I'm not responsible for this solution.
  9. You are right, I helped some people with this problem in PM but I forgot to edit the topic. Update: For those who know what they're doing, I did a small script that doing this faster, otherwise, use the manual method from the first post. [Hidden Content]
  10. @ReFresh I have joined in many computers of players/owners during the last years, and trust me, I saw just a few people who're using 'small taskbar buttons'. Mainly, just the owners are using it since they have a lot of apps, but a player who's just a normal gamer, won't put all the games/apps he is playing/using to the taskbar for having it full, maybe just if he has a laptop with a small resolution, maximum. The badges on the taskbar buttons aren't available in the small taskbar mode, it's Microsoft logic and it's a good one. Otherwise, would be a mess since in this mode all of the icons are scaled and they losing quality, if they would add a small badge there, it would look so bad. Even on apps like Skype, Messenger is not working which it's directly for chatting and it's much more important a badge count of messages. I'm sure that for metin2 wouldn't be a drama for hundreds of players if hundreds of millions don't make it for real chatting apps. Take a look on an example of my screen 5120x1440, how it would look with the small taskbar buttons and a badge, both of them scaled, you really can't see it and I've glasses , you would need Magnifier Zoom to see it. So I think it's enough how it is right now: You still get a flash notification (flashing until you open it) when you have the small taskbar buttons enabled, you don't need anything more. Related to other activities, if you read the last line which I wrote in the first reply, then you will understand, so let's wait for that. Thanks for your feedback.
  11. M2 Download Center Download Here ( Internal ) [hide][Hidden Content]] Posted in 2020, but it was removed due to a rollback in the forum, now it's back. Hello girls, I think it's my first time when I release a system/feature directly for servers, until now I provided just scripts/functions for 'developers', let's see how it works. 1. Compatibility Most of you know that for applying a badge to the parent icon we need to have the application ungrouped. So, basically for this, we need to use Win32 API -> SetCurrentProcessExplicitAppUserModelID, which must be called during the application's initial startup routine, before presents any UI, basically in the initialization of singleton class would be fine. Before doing the ungroup of the taskbar, we've to check the operating system version, since many players in metin2 still using XP/Vista and this feature is working since Windows 7+. So there's a function called IsWindowsCompatibleVersion which check if the version is at least Windows7 then trying to do the ungroup and if successful then set a variable m_isWindowsCompatible to true, so we can check later other functions with it, that means the feature will be totally disabled for those who aren't compatible. 2. Cache features When the application is created it's loading all resources and creates only one object on the local system for the taskbar interface. 3. Features Show badges on the taskbar (ON/OFF) Flash notification + badge Counted flashes, using small taskbar icons + badge option 4. Activity Mini version: Paid version: If you find any problem, write me a PM or use the 'issues' category on GitHub, let's don't spam the topic with useless messages and keep it clean. If you implement it, attach a gif to the topic, and if many people use it, maybe I update the repository with other activities for free.
  12. The official chat settings system is now released! 
    The description and the video are in progress.

    https://www.vegas-projects.com/product/chat-settings/

  13. I forgot the ui.py part, I updated the first reply, check it now.

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.