ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/map-scheduler.ext
Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Fri May 11 07:59:59 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.33: +12 -9 lines
Diff to previous 1.33
- introduce a notion of cpu load average within the server
- use it to more gracefully increase swap intervals in the map-scheduler
- add clip and lerp utility functions.

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed Apr 18 17:32:06 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
meet our new pod fucntionality, certainly not finished :) let me also introduce the beginnings of a new help command

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 06:23:41 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.31: +3 -5 lines
Diff to previous 1.31
VERY EXPERIMENTAL

- change the way archetypes and treasurelists are being loaded:
  - referring to a nonexisting treasurelist will create an empty one
  - referring to a nonexisting archetype will create an empty one
  - archetypes/treasurelists will overwrite any existing object
    of the same name.

- net effect should be to allow reloading of archetypes and treasurelists
  at runtime at a later stage.

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Feb 17 01:58:55 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.30: +1 -2 lines
Diff to previous 1.30
*** empty log message ***

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 00:43:54 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29
*** empty log message ***

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Feb 12 01:33:41 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
tuna

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 17:57:22 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.27: +0 -2 lines
Diff to previous 1.27
support maps with and without .map extension, rename to .map on save

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Fri Jan 26 20:59:57 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26
- tame the map/map-world.ext a bit to avoid potential memleaks for now
- object refcounting was borked, fixed, again :)
- add cf::attacahble::mortals_size
- disable reset-after-load, this is unsafe due to locking issues, so don't do it
- make map-scheduler configurable
- improve emergency swap mode
- prepare_random_map must be a sync job for now :(
- do not keep object reference in enter_exit, the object might have been gone already.
- nuke cf::object::mortals.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 01:17:08 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
slightly optimise max actives limit swapout algorithm

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 01:05:17 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24
- avoid negative event priorities like the plague. they are actually
  worse because they introduce random memory corruption and endless
  loops and worse, if worse exists.
- aggressively swap out maps when #actives exceeds threshold
- sweep and cede after server tick
- increase player command handling priorities, just in case.
- fix a bug in mortal checking, this was the reason for the
  enourmous memory leaks in map-world.ext
- mark c++-side watchers as non-reentrant

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Jan 22 03:44:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23
there is a weird bug in Event or perl or... add some wrokarounds

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Jan 13 23:32:43 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.22: +1 -0 lines
Diff to previous 1.22
fixes, starting to look good again

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Jan 13 23:06:13 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
WARNING: this release is BROKEN

- rewrote map handling. map types are now completely pluggable, maybe
  *too* pluggable, as everything is a plug-in now.
- mark mandatory extensions as such.
- handle overloaded attachable objects correctly.
- many minor changes.

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Jan 10 01:16:52 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.20: +1 -31 lines
Diff to previous 1.20
aggressively prefetch tiled maps around the player
- prefetch maps on every tick
- prefetch maps and block the player when entering maps

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:32:42 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19
- added $cf::WAIT_FOR_TICK*
- tuned map-scheduler and player-scheduler
- added $op->inv_recursive
- added objects_size/objects($index) and actives_size/actives($index)
  for access to the object and actives vector.
- more robust player loader
- removed _perl_data attribute support
- SIGINT/TERM/HUP are now safe as they are handled synchronously.
- replaced LOOK_OBJ by client_visible
- cleanups

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 14:11:05 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
quick and dirty emergency fix

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 21:51:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.17: +1 -0 lines
Diff to previous 1.17
improve the hack

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 20:04:02 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
fix the bug: on_destroy is obviously not being called on pooled coroutines, aslo use more sensible names than 'coro'

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 19:12:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.15: +23 -3 lines
Diff to previous 1.15
emergency

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 17:07:17 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14
use coros coropool

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 01:06:40 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
rename goto_map to goto

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 17:28:49 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
add some cede's strategically, tune

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 17:22:06 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.11: +20 -0 lines
Diff to previous 1.11
preload /tmp maps on reload

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 16:19:32 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.10: +9 -0 lines
Diff to previous 1.10
- word of recall activated the player indirectly
- implement maptile->xy_find and xy_load
- separate find and load, even on C level
- generate map_leave/enter and map_change events even for tiled map changes
  (experimental)
- implement mainloop freezeing by start/stop, not skipping ticks
- no map updates when player !active

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 01:35:55 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
tuning, and hopefully apply last access time more correctly

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 12:33:33 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.8: +5 -0 lines
Diff to previous 1.8
*** empty log message ***

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 03:04:12 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7
make the map scheduelr more robust w.r.t. map resets while it is iterating over maps (perl bug workaround)

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 21:13:22 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6
activate_recursive etc. was using op->above, not op->below, so was not recursive at all

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 17:50:26 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5
move nimbus to /, simplifies upgrading

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 16:50:09 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4
implemented reste command, maps command etc.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 15:32:40 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.3: +3 -4 lines
Diff to previous 1.3
in my stupidity i broke the loader

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 13:31:47 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.2: +12 -14 lines
Diff to previous 1.2
this is close to working

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 12:28:46 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.1: +0 -1 lines
Diff to previous 1.1
set original flag so decay object doesn't go wild

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 11:21:54 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
- integrated most of the map/exit handling into cf.pm
  (it grows too large, should be split 'somehow', but thats not easy)
- moved the swap/reste scheduler into an extension
- imrpoved exit/sync logic

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_1: (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