Jump to content

Bes

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by Bes

  1. 16 hours ago, _Terra said:

    You can check this line in src/map/trade.cpp

     

    /**
     * Adds the specified amount of zeny to the trade window
     * This function will check if the player have enough money to do so
     * And if the target player have enough space for that money
     * @param sd : Player who's adding zeny
     * @param amount : zeny amount
     */
    void trade_tradeaddzeny(map_session_data* sd, int32 amount)
    {
    	map_session_data* target_sd;
    
    	nullpo_retv(sd);
    
    	if( !sd->state.trading || sd->state.deal_locked > 0 )
    		return; //Can't add stuff.
    
    	if( (target_sd = map_id2sd(sd->trade_partner.id)) == nullptr ) {
    		trade_tradecancel(sd);
    		return;
    	}
    
    	if( amount < 0 || amount > sd->status.zeny || amount > MAX_ZENY - target_sd->status.zeny ) { // invalid values, no appropriate packet for it => abort
    		trade_tradecancel(sd);
    		return;
    	}
    
    	sd->deal.zeny = amount;
    	clif_tradeadditem(sd, target_sd, 0, amount);
    }

     

    what part do i need to edit to make it untradable

  2. 6 hours ago, sader1992 said:

    the problem with this idea is even if you disabled zeny trading there still items , people can then use items to sell or move zeny between accounts.

    yes but if you make items cost lower they cant do that anymore.

  3. Hi Rathenians,

    I downloaded the latest rathena and I can't increase maximum stats of my expanded classes such as ninja. gunslinger etc. to Max 100-255. 

    The Max Parameter of All expanded clases are just 99 even I already edit the Max Parameter to 255 for Expanded Classes in player.conf.

    Can anyone help me to fix this issue? Thank you in advance.!

  4. New error

    din_setunitdata: Error in finding object with given game ID 0!
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Error]: buildin_unitwalk: Invalid unit with ID '0'.
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Warning]: buildin_setunitdata: Error in finding object with given game ID 0!
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Warning]: buildin_setunitdata: Error in finding object with given game ID 0!
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Error]: buildin_unitwalk: Invalid unit with ID '0'.
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Warning]: buildin_setunitdata: Error in finding object with given game ID 0!
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Warning]: buildin_setunitdata: Error in finding object with given game ID 0!
    [Debug]: Source (NPC): WaveModeForestSystem at 0011@def01 (1,1)
    [Error]: buildin_unitwalk: Invalid unit with ID '0'.


     

  5. How to fix this error?

    script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.
       364 :        else
       365 :                mapannounce instance_mapname("1@def01"),"-- Wave " + 'WaveNum + " --",bc_map;
       366 :        switch('WaveNum % 70)
       367 :        {
       368 :                case 1:
    *  369 :                        for(set .@i,0; .@i < 20; '+'+.@i)
     

×
×
  • Create New...