Jump to content

Ulthar

Premium
  • Posts

    228
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by Ulthar

  1. Just now, Alessio said:

    ok, sorry may i formulated it in a wrong way. i just wanted to know if you also added new weapons mounts costumes etc from the new item_proto files

    Bro. 😄 Do u know tmp4 base? whats inside tmp4, thats inside in this files too, cuz its the tmp4 base. Everything what i changed/added, its written in the post- Or am i still dont understand your question?xd

  2. 1 hour ago, kierohere said:

    Where can I find this: the percentage of the pulled mobs increased to 80%?

    I would like to change it myself. Are you planning future modifications? Would love to see Pet System and Cards Okey system!

     

    Great work!

    Thank you! 

    for the mob pull percentage:
    Search in char_battle.cpp for:

    struct FuncAggregateMonster

    And scroll down, u will see the "80" number. This is for the percentage, ofc. If you put 20, chance for pulling mobs will be 20%.

    Im not planning to upgrade this base, cuz this is a starter base.

    • Love 1
  3. On 2/26/2023 at 9:32 PM, rotad69 said:

    hello.. i installed the files on VPS, i'm trying them.
    Offline store not working. Client syserr empty

    Hello, sorry for late answer. Go to mysql, open: player->player_shop->edit table, and search for shop_vid. And add a devault value, which will be "0". Save it, and try to create offshop.

    On 2/26/2023 at 9:32 PM, rotad69 said:

    it also doesn't allow you to change skills or add potions in the taskbar, syserr:

      Reveal hidden contents
    0226 21:44:52141 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:54451 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:55376 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:57901 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:58725 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:59930 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:02058 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:02931 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:03394 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:03610 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:05524 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:07833 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:44:08542 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:45:29547 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:45:06210 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
    0226 21:45:07349 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'

    how to fix

    root/mousemodule.py

    #search in def DeattachObject(self):
    				self.AttachedType == player.SLOT_TYPE_MALL or \
    				self.AttachedType == player.SLOT_TYPE_SWITCHBOT: # <---
        
    #change
    				self.AttachedType == player.SLOT_TYPE_MALL:
    
    #search in def AttachObject(self, Owner, Type, SlotNumber, ItemIndex, count = 0):
    				self.AttachedType == player.SLOT_TYPE_MALL or \
    				self.AttachedType == player.SLOT_TYPE_SWITCHBOT: # <---
        
    #change
    				self.AttachedType == player.SLOT_TYPE_MALL:

    Updated. Thanks for your answer, i forgot to remove it from mousemodule. 😄

    • Love 1
    • Love 1
  4.  

    1 hour ago, FuveZeq said:

    Hi, I'm using sanii shining system, and the problem is:
    If i put on a body costume the effect is work (same with weapon), but if i try on  a weapon costume invisible, what is the problem?
    https://metin2.download/video/VmN6d2uopx3rCNdW4ag2xY1kKdHSVDFP/.mp4

    Yo, alcoholic cringe friend. comment out the #ifdef enable_weapon_costume and his endif from your dump proto. If its still bad, write me on discord u lazy fk. ♥

    • Lmao 1
  5. This is the hidden content, please

    Alternative download links → 

    This is the hidden content, please
     (Without VDI)

     

    The file uploaded to Google Drive.

    Hello!

    Today i want to share my modifications what i changed on the @ TMP4 base. (Thanks for your work guys.♥)

    Spoiler

    You may ask, why?
    So... Im not a professional programmer. Im a professional CTRL+C and CTRK+V guy. I learn how to use my brain if i have an error at compiling or at python part.
    Im helping people a lot, and what i saw is, almost every single person who i helped, use a bugged serverfile. And i always ask: "Why are u not starting it from zero?
    The tmp4 base is very clean, and a lot minor bug is solved." They always answer the same. "Too much time. OR I'm not good enough. OR Too clean sf and i dont know how to start my project."
    Well, i prepared for you an upgraded sf with a lot modifications.
    Good luck for all of you!
    Thats all. 😄

    So whats inside in this modified TMP4 base?

    1. Quest message shown faster. GIF
    2. Sash system. GIF
    3. Infinity Bravery cape + the percentage of the pulled mobs increased to 80% (default was 50%)
    4. If you kill a mob, will despawn faster. 3 sec. (default was 10 sec) GIF
    5. Emoji in textline. GIF
    6. ID, Type, Subtype in tooltip, only for GMs. GIF
    7. Mount's rotate speed increased. GIF
    8. Offline shop (Great) + offline shop search. GIF
    9. Weapon costume.(The costumes are only illustration for better understand.) GIF
    10. Mount follow + mount item goes to the costume window. GIF
    11. Shining system by Sanii. GIF
    12. Inbuilt GR2 animation. GIF
    13. Won system.
    14. DS slot active effect. GIF
    15. Mount - unmount delay fix. GIF
    16. Fast exit button(The client will close immediately if you click on 'Exit game' button.)
    17. Multilanguage. (Only for item names (client side)) GIF
    18. Clickable buttons in inventory for open off shop and itemshop storage.
    19. Add 10x statpoints by pressing CTRL+Lclick. GIF
    20. 4 inventory, 6th skills.

    Known bugs/problems:

    1. The sash is not attached to the character's back properly when mounting. (This is a common bug/problem. If you know a fix for it, share it with us, please.)
    2. The multilanguage is only translating the item names, cuz the mob names arent read from client.

    Last but not least, i hope i did'nt brake any rules with this "release", cuz i really dont want to.

    Link for V2:

    Sincerely:
    Ulthar

    • Metin2 Dev 265
    • kekw 1
    • Eyes 18
    • Flame 1
    • Dislove 1
    • Think 1
    • Scream 2
    • Lmao 1
    • Good 77
    • Love 19
    • Love 197
  6. Thank you! ^^

     

    A little """fix""", if you want to make the chests stackable;
    If you open a case, by default it will remove all the cases. For solve this problem, search for this in char_item.cpp:

    In: void CHARACTER::LuckyBoxReceive()

    ITEM_MANAGER::Instance().RemoveItem(src_item);

    Change it to:

    src_item->SetCount(src_item->GetCount() - 1);

     

    • Good 1
    • Love 4
  7. On 4/11/2022 at 6:27 PM, Th1Doose said:

    Try to remove something from a monster and then do reload drop, will it remove or will keep it there until you restart the client??

    It will keep, cuz the system send the information about drops to the client once. You can fix it, i found a post about it.

  8. On 7/8/2022 at 2:12 AM, Distraught said:

    Go to CAniImageBox::SetDiffuseColor function and overwrite with 

    	void CAniImageBox::SetDiffuseColor(float fR, float fG, float fB, float fA)
    	{
    		m_SetDiffuseColor = std::bind(&CGraphicExpandedImageInstance::SetDiffuseColor, std::placeholders::_1, fR, fG, fB, fA);
    		std::for_each(m_ImageVector.begin(), m_ImageVector.end(), m_SetDiffuseColor);
    	}

    Instead of this function,


     have this:

    	void CImageBox::SetDiffuseColor(float fr, float fg, float fb, float fa)
    	{
    		if (!m_pImageInstance)
    			return;
    
    		m_pImageInstance->SetDiffuseColor(fr, fg, fb, fa);
    	}

    Is it okey if i overwrite this?

  9. 2 hours ago, zoowiS said:

    can you help me? i have some errors in binnary.

    Exemple: Error    261    error C2039: 'GetMotionPointer' : is not a member of 'CGraphicThing'   

    Error    14    error C2039: 'shared_ptr' : is not a member of 'std'   
    Error    200    error C2065: 'm_motions' : undeclared identifier    

    Error    362    error C2143: syntax error : missing ',' before '<'    

    Can someone help me?

    Try with "std::shared_ptr"

  10. On 6/22/2022 at 9:17 PM, Syreldar said:
    1. Select the run/walk animation of your mount.
    2. Open it in granny
    3. Click "view in detail"
    4. Profit.

    spacer.png

    spacer.png

    spacer.png

    granny_real32 Duration = MotionDuration

    granny_real32 LoopTranslation = Accumulation

    Update the relative .msa file if they don't match with the .gr2's data:

    MotionDuration           0.666667
    Accumulation             0.00	-300.00	0.00

    Make sure it's also correct in the share/data folder in your server.

    Make sure the value in the mob_proto column `folder` is also correct (or in the .txt if you're using .txt protos).

    This one is helped me a LOT. Fixed for backteleporting, fixed for mobs wont load. Thank you. ♥

    • Metin2 Dev 1
    • Love 1
  11. Hello!

    I have a "little" problem. I started adding 10 inventory and when i want to move for ex. a sword, i cannot move to 7th inventory, only for 6th inventory and not into the last position.
    AAAAND! When i want to move a skillbook, or a belt, i can move it to the 10th inventory.

    Here is a lil videao about it (click me)

    Can someone hel me? i litteraly have no idea WHY is not working... If i want to move an item which have more than 1 slot, i cannot move it to the 7th inventory, but its working with 1 slot items... Wtf? :'D

    EDIT (more info):
    So based on the "extend to 4 inventory page" i did this 10 inventory pages.
    I dont want someone to do it for me, i just want to get hints, where should i increase the datatype. Cuz byte have 255 max, but there is no byte left cuz 6 inventory page + belt inventory page is much more than 255. 😄

    Sry for my bad eng. 😄

  12. 2 minutes ago, LethalArms said:

    PROBLEM FIXED

    the OnPickMoney function on uiExchange.py was wrong

    instead of:

    def OnPickMoney(self, money):
            net.SendExchangeElkAddPacket(str(money))

    it needs to be like this

    def OnPickMoney(self, money):
            net.SendExchangeElkAddPacket(money)

    and it works perfectly :v

    Nice, so that was your problem what i told you on DC. Good job! 😄

  13. 2 hours ago, Amun said:

    root/uiRefine

    	def Accept(self):
    		net.SendRefinePacket(self.targetItemPos, self.type)
    		self.Close()
    
    	def CancelRefine(self):
    		net.SendRefinePacket(255, 255)
    		self.Close()
    
    	def OnPressEscapeKey(self):
    		self.CancelRefine()
    		return True

    This is part where i had the problem. Im just stoopid af. Just too stoopid for everything. Plus im blind too.
    The problem was this:

    Before:

    	def CancelRefine(self):
    		net.SendRefinePacket(255, 255)
    		if app.ENABLE_REFINE_RENEWAL:
    			constInfo.AUTO_REFINE_TYPE = 0
    			constInfo.AUTO_REFINE_DATA = {
    				"ITEM" : [-1, -1],
    				"NPC" : [0, -1, -1, 0]
    			}
    		self.Close()

    After:
     

    	def CancelRefine(self):
    		#net.SendRefinePacket(255, 255)
    		net.SendRefinePacket(255, 255, 0, 0, 0, 0)
    		if app.ENABLE_REFINE_RENEWAL:
    			constInfo.AUTO_REFINE_TYPE = 0
    			constInfo.AUTO_REFINE_DATA = {
    				"ITEM" : [-1, -1],
    				"NPC" : [0, -1, -1, 0]
    			}
    		self.Close()

     

    • Good 1
×
×
  • 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.