ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/shop.c
Revision 1.20
Sun Aug 13 17:16:04 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +0 -0 lines
FILE REMOVED
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Jul 11 18:00:46 2006 UTC (17 years, 10 months ago) by elmex
Branch: MAIN
CVS Tags: LAST_C_VERSION, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.18: +36 -25 lines
Diff to previous 1.18
added shop default maximum.
removed '.' from moeny string.

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Jul 11 16:50:16 2006 UTC (17 years, 10 months ago) by elmex
Branch: MAIN
Changes since 1.17: +134 -77 lines
Diff to previous 1.17
changed treasures: removed ring treasures and replaced them with money/gem treasures.
and added 2 functions to the perl interface for the bank script fix.

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Jul 11 10:35:20 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
shop.c: Cheaper is actually better.
metaserver.c: correct usercount is actually better.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Jul 10 19:30:12 2006 UTC (17 years, 10 months ago) by elmex
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
made unidentified potions worth less

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Jul 6 03:03:33 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
stupidity

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Wed Jul 5 21:06:25 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
set charisma ratio to 40%, as per Scara's veto :)

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Jul 5 21:02:50 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
improved charisma part of prices to 45%

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Jul 5 21:01:09 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11
reduce price difference from +-100% to +-80%, and make prices more expensive overall again

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Jul 1 21:05:21 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
adjust prices a bit down

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Jun 26 18:14:31 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.9: +32 -31 lines
Diff to previous 1.9
guessing now reports a price range, not a single price, when guessing.

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Jun 26 10:34:38 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8
offer higher prices for high-level items

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Jun 26 00:06:43 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Base reckoned prices on the true prices. The old code based the
approximation on the shop price, which makes no sense at all, as guessing
what the item might sell for in the shop is useless, as you get told the
exact price anyways. Outisde a shop, it also makes no sense.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Jun 25 22:19:42 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.6: +30 -39 lines
Diff to previous 1.6
Reworked the item pricing considerably. Important features:

- bargaining has no effect on approximating
- charisma and bargaining affect price change 0.35/0.65
- charisma 30 now gives perfect prices w.r.t. charisma
- shop pricing now changes between 2% (perfect, not achievable)
  and 100% difference.
- instead of *= 4 we use a power function to adjust prices

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed May 24 03:30:23 2006 UTC (17 years, 11 months ago) by pippijn
Branch: MAIN
Changes since 1.5: +19 -51 lines
Diff to previous 1.5
Changed shop behaviour to tell the player that he/she will require this
amount of money to buy n items costing that amount of money. (Hope that was
clear :)

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed May 24 02:06:52 2006 UTC (17 years, 11 months ago) by pippijn
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Didn't notice this line before.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed May 24 01:59:09 2006 UTC (17 years, 11 months ago) by pippijn
Branch: MAIN
Changes since 1.3: +7 -1 lines
Diff to previous 1.3
- Added a string I had forgot for the previous fix
- Fixed the bug that shops would say "you only have 2 silver coins," by
  changing it into "you only have 2 silver coins." (note the ".")

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed May 24 01:51:09 2006 UTC (17 years, 11 months ago) by pippijn
Branch: MAIN
Changes since 1.2: +12 -1 lines
Diff to previous 1.2
Fixed bug where the shop would say to the player "... but you only have"
and end there if the player had no coins to spend.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Wed May 24 01:39:03 2006 UTC (17 years, 11 months ago) by pippijn
Branch: MAIN
Changes since 1.1: +29 -26 lines
Diff to previous 1.1
- Added royalties as "coin" worth 5000 silver
- Fixed bug with shops that they would not use the name_pl but name+s
  instead.

Revision 1.1.1.3 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Wed Mar 15 14:05:37 2006 UTC (18 years, 2 months ago) by elmex
Branch: UPSTREAM
CVS Tags: UPSTREAM_2006_03_15
Changes since 1.1.1.2: +10 -9 lines
Diff to previous 1.1.1.2 , to next main 1.20
cvs -z9 -d:ext:elmex@cvs.schmorp.de:/schmorpforge import cf.schmorp.de UPSTREAM UPSTREAM_2006_03_15

Revision 1.1.1.2 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Wed Feb 22 18:03:24 2006 UTC (18 years, 2 months ago) by elmex
Branch: UPSTREAM
CVS Tags: UPSTREAM_2006_02_22
Changes since 1.1.1.1: +18 -16 lines
Diff to previous 1.1.1.1
cvs -z7 -d:ext:elmex@cvs.schmorp.de:/schmorpforge import cf.schmorp.de UPSTREAM UPSTREAM_2006_02_22

Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Fri Feb 3 07:14:37 2006 UTC (18 years, 3 months ago) by root
Branch: UPSTREAM
CVS Tags: UPSTREAM_2006_02_03
Changes since 1.1: +0 -0 lines
Diff to previous 1.1
initial import

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 07:14:37 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Branch point for: UPSTREAM
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a