Jump to content

Functor

Members
  • Posts

    351
  • Joined

  • Last visited

  • Days Won

    26

Posts posted by Functor

  1. Open ../src/map/clif.cpp and change code of the function "clif_parse_equipswitch_request_single" from:

    void clif_parse_equipswitch_request_single( int fd, struct map_session_data* sd ){
    #if PACKETVER >= 20170502
    	uint16 index = RFIFOW(fd, 2) - 2;
    
    	if( !battle_config.feature_equipswitch ){
    		return;
    	}
    
    	// Check if the index is valid
    	if( index >= MAX_INVENTORY ){
    		return;
    	}
    
    	// Check if the item was already added to equip switch
    	if( sd->inventory.u.items_inventory[index].equipSwitch ){
    		if( sd->npc_id ){
    #ifdef RENEWAL
    			if( pc_hasprogress( sd, WIP_DISABLE_SKILLITEM ) ){
    				clif_msg( sd, WORK_IN_PROGRESS );
    				return;
    			}
    #endif
    			if( !sd->npc_item_flag ){
    				return;
    			}
    		}
    
    		pc_equipswitch( sd, index );
    	}else{
    		pc_equipitem( sd, index, pc_equippoint(sd, index), true );
    	}
    #endif
    }

    to:

    void clif_parse_equipswitch_request_single( int fd, struct map_session_data* sd ){
    #if PACKETVER >= 20170502
    	uint16 index = RFIFOW(fd, 2) - 2;
    
    	if( !battle_config.feature_equipswitch ){
    		return;
    	}
    
    	// Check if the index is valid
    	if( index >= MAX_INVENTORY ){
    		return;
    	}
    
    	// Check if the item exists
    	if( sd->inventory_data[index] == nullptr ){
    		return;
    	}
    
    	// Check if the item was already added to equip switch
    	if( sd->inventory.u.items_inventory[index].equipSwitch ){
    		if( sd->npc_id ){
    #ifdef RENEWAL
    			if( pc_hasprogress( sd, WIP_DISABLE_SKILLITEM ) ){
    				clif_msg( sd, WORK_IN_PROGRESS );
    				return;
    			}
    #endif
    			if( !sd->npc_item_flag ){
    				return;
    			}
    		}
    
    		pc_equipswitch( sd, index );
    		return;
    	}
    
    	pc_equipitem( sd, index, pc_equippoint(sd, index), true );
    	
    #endif
    }

     

    • Upvote 1
  2. Try it:

    ACMD_FUNC(stop)
    {
    	nullpo_retr(-1, sd);
    
    	if (!sd->status.pet_id || sd->pd == NULL)
    	{
    		clif_displaymessage(fd, msg_txt(sd,184)); // Sorry, but you have no pet.
    		return -1;
    	}
    
    	pet_stop_attack(sd->pd);
    
    	return 0;
    }

     

  3. 28 minutes ago, HaARiZz said:

    Besides, can I know why did latest Ragexe does not support Packet Obfuscation  anymore?

    Because new EXE versions are used with anti-cheat on official servers. Anti-cheat has encryption of packets.

    Packet's obfuscation is removed from EXE versions:

    Ragexe - after 2018-03-14nRagexe
    RagexeRE - after 2018-03-07bRagexeRE
    Ragexe_zero - after 2018-05-11bRagexe_zero

    • Upvote 1
  4. Do you have file "Mssfast.m3d" in game folder? Have you tried to increase the volume of BGM music in game interface?

    50 minutes ago, Quesooo said:

    also try to change the settings on setup.exe but when i open it i got an error that im missing a dll file.

    What dll name do you mean?

    • Like 1
  5. How should I help you, if you ignore my request of files?

    ------

    You can try to add this line to "../conf/subnet_athena.conf"

    Quote

    subnet: 255.255.255.0:LAN_IP:LAN_IP

    LAN_IP - it is IP of the host with emulator which you use in "../data/clientinfo.xml" or "../data/sclientinfo.xml"

    ------

    Or you can rediff EXE with patch "Enable Proxy Support" by using the latest NEMO patcher.

    https://gitlab.com/4144/Nemo/-/archive/master/Nemo-master.zip

  6. @iAmGnome You forgot about the important additional step. If you want to hide the IP of main VPS - you need to prevent sending real IP in network packets from login and char servers.

    Because if you will just apply the patch of EXE - game client will not use these IPs from network packets. But players will be able to find real IP by using any network sniffer.

    Open "../conf/subnet_athena.conf" and change:

    subnet: 255.0.0.0:127.0.0.1:127.0.0.1

    to:

    subnet: 0.0.0.0:127.0.0.1:127.0.0.1

     

    • Upvote 3
  7. 12 hours ago, domez86 said:

    the second: 

    Search bytes: 00 2F 77 00
    Replace by: 00 00 77 00

    not found

    It isn't possible. Try again.

    12 hours ago, domez86 said:

    but work also fist modified, /who invalid command ^^

    The second patch is for "/w" command.

×
×
  • Create New...