Jump to content

freeman129

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by freeman129

  1. like this :) congrats for conclution ur project..do you want to improve again?

     

    thx to  kangfredy

     

    but what is the improve meaning?

     

    I come up with new ideas about this (floating item price).

     

    1.  Limited supply of goods in NPC shop.

     

         - Like buying store, but it add floating item price.

     

         - This will let inflation be more real.

     

    2. Stock market

     

         - ex: Prontera pharmaceutical . Izlude blacksmith factory ...and so on.

     

         - Changes in the value of stocks according to the inflation of items.

     

                 + ex: Prontera pharmaceutical provides red potions. When red potion's buy_sell be increase, Prontera stock's price will be increase.

     

    3. Black market

     

         - Black market randomly sell what players sold.

     

     

    I don't have much time, so I slowly get it done, and enjoying it.

  2. no i mean like this (filename.patch) :) so people can see the diff and can easy to add this feature.

     

    I use Google to search some informations about diff and patch.

     

    And then , I try to make my first patch. :lol:

     

    The original source code is trunk_17511(origin),

     

    first, I create a copy of trunk_17511(origin) which named trunk_17511(inflation),

     

    and then modify the trunk_17511(inflation).

     

    second, I open a terminal ,

     

    and then type "diff -aur trunk_17511\(origin\) trunk_17511\(inflation\) > trunk_17511_inflation.patch".

     

    third, I create an other folder which contains a copy of trunk_17511(origin) and trunk_17511_inflation.patch,

     

    and then type "patch --dry-run -p0 -i trunk_17511_inflation.patch",

     

    it print the success output looks like this:

     

    patching file 'trunk_17511(origin)/conf/battle/misc.conf'

    patching file 'trunk_17511(origin)/conf/inter_athena.conf'

    patching file 'trunk_17511(origin)/src/config/renewal.h'

    patching file 'trunk_17511(origin)/src/map/battle.c'

    patching file 'trunk_17511(origin)/src/map/battle.h'

    patching file 'trunk_17511(origin)/src/map/clif.c'

    patching file 'trunk_17511(origin)/src/map/itemdb.c'

    patching file 'trunk_17511(origin)/src/map/itemdb.h'

    patching file 'trunk_17511(origin)/src/map/map.c'

    patching file 'trunk_17511(origin)/src/map/map.h'

    patching file 'trunk_17511(origin)/src/map/npc.c'

    patching file 'trunk_17511(origin)/src/map/npc.h'

    patching file 'trunk_17511(origin)/src/map/pc.c'

    patching file 'trunk_17511(origin)/src/map/pc.h'

     

    and then, I type "patch -p0 -i trunk_17511_inflation.patch",

     

    and it do a good job.

     

    I upload the trunk_17511_inflation.patch to rAthena, and the download page here.

  3. to @kangfredy

     

    I git clone from rathena github, and then git push origin master on my github with inflation.
     
    I already modify the download link.
     
    By the way, this is my first time to use git, so ... if this has some problems, please let me know. /thx
     
    to @Tepoo
     

    Your solution is nice.

     

    I think you have started to explore.

     

    Good luck, and if you have problems, please let me know, maybe I can help you or just discuss.

     

    hm...sorry :) can u give me raw for the change?no full with ratehan..just coding.with ekstension diff??or can u give me file what should i change this.i will make diff for u..heheheh

     

     

    Do you mean this bfd856dcaf6fddd1b45ba8de5d3b66649f5d85ba ?(github commit diff)

     

    Github commit diff bfd856dcaf6fddd1b45ba8de5d3b66649f5d85ba link.

  4. to @kangfredy

     

    I git clone from rathena github, and then git push origin master on my github with inflation.
     
    I already modify the download link.
     
    By the way, this is my first time to use git, so ... if this has some problems, please let me know. /thx
     
    to @Tepoo
     

    Your solution is nice.

     

    I think you have started to explore.

     

    Good luck, and if you have problems, please let me know, maybe I can help you or just discuss.

  5. to @Tepoo

     

    After read your last reply, I realize what my project isn't the inflation,

     

    just like something fake inflation XD.

     

    It just restrain zeny increasing fast by time, and I think I give it a wrong name...

     

    By the way, your idea is cool.

     

     

    In your idea, the ratio of zeny and credit is important. 

     

    I think how to judge who is new player is important,

     

    because if there are so many advantages to create new character,

     

    someone would use it to destroy the balance of the world.

     

    Or how to judge what new player need and would not affect the world.

  6. to @Vlync
     
    This project is available, just download the files from Github,
    and cover your trunk folder(before cover, please back up your original version).
     
    These files work in trunk 17459.
     
    thx to @NeoMind
     
    Items' inflation according to items' type :
    -------------------------------------------------------------------------------------------
    item's type data                                   |        init  inflation constant
    -------------------------------------------------------------------------------------------
    0 = Usable : healing                            |               2500
    2 = Usable : other                               |               1000
    3 = Misc                                              |                 400
    4 = Weapon                                        |                 100
    5 = Armor                                            |                 100
    6 = Card                                              |                 100
    7 = Pet Egg                                         |                 100
    8 = Pet Equipment                               |                100
    10 = Arrow/Ammunition                       |          500000
    11 = Usable : delayed consumption    |               1000
    default                                                 |                2000
    -------------------------------------------------------------------------------------------
     
    If you don't want to inflation something like red potion,
    you can modify trunk/src/map/itemdb.h,and change 

     

    #define INFLATION_USABLE_HEALING 2500
    
    

    to

     

    #define INFLATION_USABLE_HEALING 0
     

    or just increase the inflation number to slow down players stress.

     

    By the way, I don't test that in multiplayer's situation, so I don't kown what the data is appropriate.

     

    I think, maybe the suitable data relate to number of player in server.

    • Upvote 1
  7. Thx to @Tepoo

     

    The main purpose of this project is to restrain zeny increase exponentially by time

     

    (if players don't want be punish of inflation, they must change the economic monster, or just to wait the auto-recover function come),

     

    and increase alchemist's 'repare potion' skill to exert.

     

     

    Older players have more superiority than the newer players,

     

    it's true , when everyone follow the same way.

     

    This project provide the mechanism,

     

    what server execute routine auto-recover function periodicity(make the changed items to be close to origin price).

  8. Hello everyone

     

    Before introduction, I apologize for my poor english...

    If you find something mean weird, please let me know. /thx

    ------------------------------------------------------------------------------------------------------------------
     
    Started:
    - 20/06/2013
     
    Developer:
    freeman129

     

    General Info:

     

    Items's price would change, when someone buy/sell them.

     

    Player buy many A items, and then the A item's price will be increase.
    Player sell many B items, and then the B item's price will be decrease.

     

    Main System:

     

    This inflation is linear formula,

     

    new_price =  new_price + origin_price * buy_sell_change / inflation

     

    inflation var. is constant and it according to item's type.

     

    Init:   -0.5*inflation <= buy_sell <= inflation

     

    show diagram below:

     
    RO_rAthena_inflation.png
    ------------------------------------------------------------------------------------------------------------------
     
    If someone buy/sell, server will add/minus sum of arithmetic sequence to your deduct/get money.
     
    The sum of arithmetic sequence just like the area of ​​the triangle.
     
    ex: If someone buy many A items and then sell all A items, just like diagram below:
     
    RO_rAthena_inflation_AP.png
    -------------------------------------------------------------------------------------------------------------------------------------
     
    Other Mechanism:
     
    This system add auto-recover function,
     
    it means, manager can set timer to recover the changed items(be close to origin price).
     
    File Modification:
     
    I modify some file in conf/
                                     conf/battle/
                                     src/map/
                                     src/config/
     
    I also modify itemdb datastructure,
    I add 3 data are 'origin_value_buy' (int). 'inflation' (int) and 'buy_sell' (int),
    and change 2 data structure are 'price_buy' (float) and 'price_sell' (float).
     
    This version , dbs must on sql.
     
    Test Video:
     
     
    Download:
     
     
    (Git clone from rathena github, and then git push origin master on my github with inflation.)
     
    This project is not perfect, so welcome to modify it to perfect.
     
    If you want to use that, please back up your original version!
     
    and you must use item_db_inflation_re . mob_db_re and mobskill_db_re on sql.
     
    Thank you for reading~ /ok
    • Upvote 2
  9. You can use winetricks.

     

    Install and open winetricks

     

                   choose "Select the default wineprefix" ,

    and then choose "Install a Windows DLL or component",

    and then choose "vb6run" . "vcrun6" . "vcrun6sp6" . "vcrun2008" and "vcrun2010" to install.

     

    After winetricks done, install RO, and play.

     

    It' work in TwRO . EuRO and kRO(20130703 Ragexe and Diff).

     

    One problem for kRO(20130703 Ragexe and Diff) is ...can't play full screen...

×
×
  • Create New...