Jump to content

freeman129

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Taiwan

Recent Profile Visitors

2898 profile views

freeman129's Achievements

Poring

Poring (1/15)

3

Reputation

  1. build castles in the air

  2. 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.
  3. File Name: trunk_17511_inflation.patch File Submitter: freeman129 File Submitted: 06 Sep 2013 File Category: Source Modifications Content Author: freeman129 This mod implement floating items price ingame. Tested/Compatible with rAthena SVN r17511. Idea Credited To: http://rathena.org/board/topic/86695-done-inflation-in-npc-shop/ Click here to download this file
  4. I use Google to search some informations about diff and patch. And then , I try to make my first patch. 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.
  5. Version 1.0

    126 downloads

    This mod implement floating items price ingame. Tested/Compatible with rAthena SVN r17511. Idea Credited To: http://rathena.org/board/topic/86695-done-inflation-in-npc-shop/
    Free
  6. 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.
  7. 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. 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.
  8. 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.
  9. 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.
  10. 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).
  11. Hello everyone Before introduction, I apologize for my poor english... If you find something mean weird, please let me know. ------------------------------------------------------------------------------------------------------------------ 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: ------------------------------------------------------------------------------------------------------------------ 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: ------------------------------------------------------------------------------------------------------------------------------------- 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: Github (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~
  12. 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...