Jump to content

solid2005

Members
  • Posts

    145
  • Joined

  • Last visited

Posts posted by solid2005

  1. are you using modem of mydsl?

    i have encounter that.

    don't use your modem to become router with dhcp you need to buy a router separately the router will port forward smoothly to your connection ip.

  2. Warning    1    warning C4101: 'i' : unreferenced local variable    k:\rathena\testserver\src\map\atcommand.c    8585    map-server_sql

    on int hp_rate=0, hp_nameid=0, sp_rate=0, sp_nameid=0, type=0, i;
     

  3. this i can't fix 

     

    Char 1 Sells: Apple for 1 Cash
    And Char 2 Buy 1 Apple for 1 Cash.
    In order to buy the apple it needs 1zeny and 1 cash.
    If zeny is 0 I can't buy the item using cash.

     

    unless seperate the variable for zeny and for the custom, variable z is the zeny count.

  4. @suyothegreat
    
    Another Scene, 
    Char 1 Sells Banana for 1 cash
    Char 2 buy the banana
    on the side of Char 1
    on the Chatbox says; Revenue from "Char2" is: 0 but the item is sold and cash is reduce from char 2
    
    what would be the possible problem for this ? 
    

     

    Tax

     

    Kadze already fix that.

     

    in vending.c

     

    rewrite

     

     

    
    
    pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd);
    if( battle_config.vending_tax )
    z -= z * (battle_config.vending_tax/10000.);
    pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd);
     

    to 

    else
    {
    pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd);
    if( battle_config.vending_tax )
    z -= z * (battle_config.vending_tax/10000.);
    pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd);
    }
    
    

     

     

    Fix for 1.8.3

    -Added new rev 17288

    -Fix Tax Credit to @kadze

     

    [Note]

    Always have a backup and use first on test server.

     

    ExtendedVendingSystem_1.8.3.patch

    • Upvote 2
×
×
  • Create New...