Jump to content

MrQuin

Contributor
  • Posts

    365
  • Joined

  • Days Won

    23
  • Feedback

    0%

Posts posted by MrQuin

  1. 14 minutes ago, Nirray said:

    I said "or" (there's no need to delete it if you already set true to false but I've also told you where the max health bonus occurs in the source code).
    For the second part I meant something like "do it yourself" but nevermind.
    Post here your char_item.cpp in code tag and item_proto lines of those vnums from DB:
     

    
    	ITEM_AUTO_HP_RECOVERY_S	=	72723,
    	ITEM_AUTO_HP_RECOVERY_M	=	72724,
    	ITEM_AUTO_HP_RECOVERY_L	=	72725,
    	ITEM_AUTO_HP_RECOVERY_X	=	72726,
    
    	ITEM_AUTO_SP_RECOVERY_S	=	72727,
    	ITEM_AUTO_SP_RECOVERY_M	=	72728,
    	ITEM_AUTO_SP_RECOVERY_L	=	72729,
    	ITEM_AUTO_SP_RECOVERY_X	=	72730,

    then I could help you again :D

    I'll PM it to you ..

  2. 26 minutes ago, displayjokes said:

    Solved, found the file on questlua_pc > on this function: int pc_mount(lua_State* L)

     

    Now have another problem, when press ctrl+g it wont let me out of the mount, anyone knows this fix? :\

    After :

    	def	__PressFKey(self):

    make sure there is this def:

    	def __PressGKey(self):
    		if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
    			net.SendChatPacket("/ride")	
    		else:
    			if self.ShowNameFlag:
    				self.interface.ToggleGuildWindow()
    			else:
    				app.PitchCamera(app.CAMERA_TO_POSITIVE)

    If yes check your cmd_general.cpp for do_ride

  3. 1 hour ago, Nirray said:

    How to remove max hp bonus:

    char_item.cpp in \game\src

    Search:
     

    
    case ITEM_AUTO_SP_RECOVERY_X:
    											isSpecialPotion = true;

    set it to false or scroll down and search:
     

    
    if (true == isSpecialPotion)
    										{
    											if (type == AFFECT_AUTO_HP_RECOVERY)
    											{
    												bonus = POINT_MAX_HP_PCT;
    											}
    											else if (type == AFFECT_AUTO_SP_RECOVERY)
    											{
    												bonus = POINT_MAX_SP_PCT;
    											}
    										}

    delete/comment

    Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values
    Search:
     

    
    PointChange

    +

    
    POINT_HP

    Good luck! :wub:
     

    I did understand your first part of turning true to false

    but why delete that function (exist twice)

    And for this part:Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values

    When search i do what ?

    And thank you very much for responding:wub:

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