[Mod] Petz [DEPRECATED] [petz]

The next Petz will be...

Deer (Prince Of The Forest)
9
31%
Vulture (King of the Death)
9
31%
Armadillo (Master in the Defense)
11
38%
 
Total votes: 29

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z5] [petz]

by runs » Post

z6

- Added a new setting, 'protect_beehive' to avoid honey plundering. False by default.
- If 'protect_beehive' and the placer is a player, that beehive has that owner.
- Already placed beehives in the game and wild beehives (created by a Queen Bee) have "Unknown" owner and can be plundered.
- All "behive" occurrences in the code were changed to "beehive".
- Old code what remained by compatibility reasons, was removed. This can cause crashes if you try to update a server from a very very older versions, maybe from 5.1.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z6] [petz]

by runs » Post

z7
- Fix: Before, the silk count reset to zero when a bobbin was created, this allowed a free silk when replacing an already existing spinning wheel, now one silk always remains after the bobbin crafting.
- New setting "silk_to_bobbin", this is the amount of silk to craft a bobbin in a Spinning Wheel; 3 by default.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z7] [petz]

by runs » Post

z8

- Fix regression: Bug on the capture system introduced in the z6 version.
- Fix: Global variable removed.
- Improvement in the Spinning Wheel:
-- Now the silk count is preserved when dig/undig the Wheel.
-- When silk bobbin is created, silk count reseted to 0.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z8] [petz]

by runs » Post

z9

- Now petz are able to remember its status previous to sleep; i.e. if stand, they keep standing.

c56
Member
Posts: 307
Joined: Wed Apr 21, 2021 03:05
GitHub: tigercoding56
In-game: bm5 or bemo5 also sell_her_on55

Re: [Mod] Petz [z9] [petz]

by c56 » Post

in the latest contentdb version the settingtypes.txt is missing is this intentional ? (or did they just deprecate settings.lua ? )

also is it possible to have only lynchosomina enabled or force petz to spawn only in a certain area (example 3000 0 0 to 3200 30 200
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z9] [petz]

by runs » Post

c56 wrote:
Thu Jul 21, 2022 03:43
in the latest contentdb version the settingtypes.txt is missing is this intentional ? (or did they just deprecate settings.lua ? )

also is it possible to have only lynchosomina enabled or force petz to spawn only in a certain area (example 3000 0 0 to 3200 30 200
petz never used settingstypes.txt..

lynchosomina?

Petz spawning are not restricted by area.

c56
Member
Posts: 307
Joined: Wed Apr 21, 2021 03:05
GitHub: tigercoding56
In-game: bm5 or bemo5 also sell_her_on55

Re: [Mod] Petz [z9] [petz]

by c56 » Post

runs wrote:
Thu Jul 21, 2022 06:47
c56 wrote:
Thu Jul 21, 2022 03:43
in the latest contentdb version the settingtypes.txt is missing is this intentional ? (or did they just deprecate settings.lua ? )

also is it possible to have only lynchosomina enabled or force petz to spawn only in a certain area (example 3000 0 0 to 3200 30 200
petz never used settingstypes.txt.. ( the petz mod does not show in my settings menu )

lynchosomina?(ik i cannot spell but i mean werewolfes )

Petz spawning are not restricted by area. (ok how do i disable them from spawning naturally )
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55

User avatar
LMD
Member
Posts: 1386
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: [Mod] Petz [z9] [petz]

by LMD » Post

Lycanthropy.
My stuff: Projects - Mods - Website

c56
Member
Posts: 307
Joined: Wed Apr 21, 2021 03:05
GitHub: tigercoding56
In-game: bm5 or bemo5 also sell_her_on55

Re: [Mod] Petz [z9] [petz]

by c56 » Post

LMD wrote:
Thu Jul 21, 2022 21:18
Lycanthropy.
thank you ( i am hilariously bad at spelling things i do not type often )
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z9] [petz]

by runs » Post

z10

- Leopards can be breeded.
- Added Black Panther mutation for leopards.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z9] [petz]

by runs » Post

c56 wrote:
Thu Jul 21, 2022 16:16
runs wrote:
Thu Jul 21, 2022 06:47
c56 wrote:
Thu Jul 21, 2022 03:43
in the latest contentdb version the settingtypes.txt is missing is this intentional ? (or did they just deprecate settings.lua ? )

also is it possible to have only lynchosomina enabled or force petz to spawn only in a certain area (example 3000 0 0 to 3200 30 200
petz never used settingstypes.txt.. ( the petz mod does not show in my settings menu )

lynchosomina?(ik i cannot spell but i mean werewolfes )

Petz spawning are not restricted by area. (ok how do i disable them from spawning naturally )
1. No in menu, uin a file only, petz.conf
2. Only Lycanthropy enabled?
3. In petz.conf

c56
Member
Posts: 307
Joined: Wed Apr 21, 2021 03:05
GitHub: tigercoding56
In-game: bm5 or bemo5 also sell_her_on55

Re: [Mod] Petz [z9] [petz]

by c56 » Post

runs wrote:
Mon Jul 25, 2022 19:02
c56 wrote:
Thu Jul 21, 2022 16:16
runs wrote:
Thu Jul 21, 2022 06:47


petz never used settingstypes.txt.. ( the petz mod does not show in my settings menu )

lynchosomina?(ik i cannot spell but i mean werewolfes )

Petz spawning are not restricted by area. (ok how do i disable them from spawning naturally )
1. No in menu, uin a file only, petz.conf
2. Only Lycanthropy enabled?
3. In petz.conf
ok thank you :D
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z10] [petz]

by runs » Post

z11

- Fix: Change grain packet recipe not to overlap bonemeal mulch group.
- Fix: Remove the "for sale" mark with persistency when a petz is bought.

Bastrabun
Member
Posts: 211
Joined: Mon Nov 04, 2019 19:48

Re: [Mod] Petz [z11] [petz]

by Bastrabun » Post

There are some petz that seem to require a LOT more performance than others. I'd like to disable those. Even with very few players they require 140 ms on average altogether, but only very few show more than 1 ms. Those are the petz with on_step[7], on_step[12], on_step[14], on_step[15], on_step[16], on_step[17], on_step[18], on_step[22], on_step[25], on_step[26], on_step[27], on_step[28], on_step[31], on_step[32], on_step[33], on_step[34], on_step[41], on_step[42], on_step[43], on_step[48], on_step[53]: Which ones are those?

Machine is an i9 9900K

Code: Select all

 petz:                                                   |        79 |  14800185 |    140334 |   0.1 |  99.9 |  49.5
  - on_punch[21] ......................................  |        80 |        83 |        81 |   0.0 |   0.1 |   0.1
  - on_rightclick[28] .................................  |       170 |      2060 |       595 |   0.0 |  10.2 |   0.9
  - on_activate[36] ...................................  |        29 |     32010 |       227 |   0.0 |  19.8 |   0.2
  - get_staticdata[40] ................................  |         9 |     14644 |        88 |   0.0 |  13.5 |   0.1
  - on_deactivate[2] ..................................  |         1 |        33 |         2 |   0.0 |   0.0 |   0.0
  - get_staticdata[37] ................................  |         4 |     72577 |        46 |   0.0 |  52.5 |   0.0
  - on_step[35] .......................................  |        15 |     68236 |       180 |   0.0 |  91.2 |   1.3
  - on_activate[41] ...................................  |        26 |     42110 |       144 |   0.0 |   6.2 |   0.1
  - on_rightclick[33] .................................  |       266 |      1300 |       683 |   0.0 |   5.6 |   1.2
  - get_staticdata[41] ................................  |         6 |      1797 |        53 |   0.0 |  10.4 |   0.0
  - on_deactivate[27] .................................  |         1 |       128 |         2 |   0.0 |   4.5 |   0.0
  - on_step[31] .......................................  |        15 |   1763512 |     43121 |   0.0 |  99.7 |   7.5
  - on_punch[32] ......................................  |         4 |       101 |        27 |   0.0 |   0.3 |   0.0
  - on_step[9] ........................................  |        14 |     39765 |       113 |   0.0 |  74.8 |   1.0
  - on_activate[38] ...................................  |        43 |      2078 |       213 |   0.0 |   3.4 |   0.1
  - on_step[20] .......................................  |        14 |     47223 |       165 |   0.0 |  90.9 |   1.5
  - on_deactivate[4] ..................................  |         1 |       168 |         4 |   0.0 |   1.0 |   0.0
  - on_activate[11] ...................................  |        27 |     28089 |       145 |   0.0 |   5.9 |   0.1
  - on_deactivate[17] .................................  |         1 |        79 |         3 |   0.0 |   0.7 |   0.0
  - get_staticdata[10] ................................  |         4 |      1777 |        45 |   0.0 |  10.3 |   0.0
  - on_deactivate[28] .................................  |         1 |        48 |         2 |   0.0 |   0.1 |   0.0
  - on_step[32] .......................................  |        15 |   4909939 |     39550 |   0.0 |  99.7 |   4.0
  - on_punch[33] ......................................  |         2 |       315 |        94 |   0.0 |   0.1 |   0.0
  - on_rightclick[30] .................................  |       263 |      2101 |       526 |   0.0 |   1.5 |   0.2
  - on_deactivate[5] ..................................  |         1 |        45 |         2 |   0.0 |   0.6 |   0.0
  - on_deactivate[18] .................................  |         1 |       165 |         4 |   0.0 |   0.8 |   0.0
  - on_deactivate[33] .................................  |         1 |        26 |         2 |   0.0 |   0.1 |   0.0
  - on_step[37] .......................................  |        20 |     31895 |       110 |   0.0 |  72.6 |   0.7
  - on_activate[12] ...................................  |        32 |      5559 |       227 |   0.0 |  12.6 |   0.1
  - on_deactivate[35] .................................  |         1 |        53 |         4 |   0.0 |   0.3 |   0.0
  - on_rightclick[35] .................................  |       261 |      1083 |       603 |   0.0 |   0.1 |   0.1
  - on_punch[40] ......................................  |        44 |        46 |        45 |   0.0 |   0.0 |   0.0
  - on_rightclick[37] .................................  |       342 |       549 |       422 |   0.0 |   0.1 |   0.1
  - on_deactivate[29] .................................  |         1 |        30 |         2 |   0.0 |   0.2 |   0.0
  - on_step[33] .......................................  |        14 |   2992282 |     50612 |   0.0 |  99.7 |   5.3
  - on_punch[34] ......................................  |        10 |        88 |        61 |   0.0 |   0.7 |   0.2
  - on_rightclick[31] .................................  |       221 |      1606 |       550 |   0.0 |   1.4 |   0.2
  - on_deactivate[6] ..................................  |         1 |        95 |         2 |   0.0 |   0.5 |   0.0
  - on_activate[13] ...................................  |        25 |     65041 |       156 |   0.0 |   9.5 |   0.1
  - get_staticdata[12] ................................  |         7 |       704 |        47 |   0.0 |   2.0 |   0.0
  - on_deactivate[19] .................................  |         1 |       153 |         2 |   0.0 |   1.0 |   0.0
  - on_deactivate[34] .................................  |         1 |        44 |         2 |   0.0 |   0.3 |   0.0
  - on_deactivate[7] ..................................  |         1 |        42 |         2 |   0.0 |   0.1 |   0.0
  - on_deactivate[36] .................................  |         1 |       125 |         2 |   0.0 |   0.3 |   0.0
  - on_punch[39] ......................................  |         4 |        65 |        34 |   0.0 |   0.0 |   0.0
  - on_activate[51] ...................................  |        26 |       685 |       116 |   0.0 |   2.9 |   0.1
  - on_deactivate[46] .................................  |         1 |        53 |         2 |   0.0 |   1.0 |   0.0
  - on_step[50] .......................................  |        15 |     38951 |        79 |   0.0 |  91.6 |   0.8
  - on_player_receive_fields[2] .......................  |         1 |        89 |         1 |   0.0 |   0.3 |   0.0
  - on_activate[14] ...................................  |        33 |      1616 |       167 |   0.0 |  14.1 |   0.1
  - on_punch[8] .......................................  |       101 |       101 |       101 |   0.0 |   0.0 |   0.0
  - get_staticdata[13] ................................  |         3 |      1627 |        37 |   0.0 |   7.6 |   0.0
  - on_player_hpchange[1] .............................  |         1 |        23 |         1 |   0.0 |   0.7 |   0.0
  - on_deactivate[8] ..................................  |         1 |       133 |         2 |   0.0 |   0.5 |   0.0
  - on_step[41] .......................................  |        14 |   1775745 |     52328 |   0.0 |  99.7 |   6.2
  - on_deactivate[47] .................................  |         1 |        46 |         2 |   0.0 |   0.5 |   0.0
  - on_step[51] .......................................  |        13 |     48363 |       273 |   0.0 |  87.9 |   2.8
  - on_punch[52] ......................................  |         3 |       146 |        55 |   0.0 |   1.2 |   0.1
  - on_activate[15] ...................................  |        36 |       929 |       161 |   0.0 |   4.6 |   0.1
  - on_rightclick[49] .................................  |       176 |       702 |       433 |   0.1 |   6.0 |   1.6
  - get_staticdata[14] ................................  |         4 |       361 |        25 |   0.0 |   0.1 |   0.0
  - get_staticdata[48] ................................  |         4 |      4222 |        57 |   0.0 |   7.3 |   0.1
  - on_activate[16] ...................................  |        25 |     36917 |       152 |   0.0 |  13.7 |   0.1
  - on_punch[9] .......................................  |         3 |       161 |        52 |   0.0 |   1.8 |   0.2
  - get_staticdata[15] ................................  |         6 |      2217 |        76 |   0.0 |   1.1 |   0.0
  - on_activate[53] ...................................  |         2 |        47 |         6 |   0.0 |   0.0 |   0.0
  - on_deactivate[38] .................................  |         1 |        25 |         2 |   0.0 |   0.1 |   0.0
  - on_step[42] .......................................  |        12 |    358201 |      7368 |   0.0 |  98.9 |   4.1
  - on_punch[43] ......................................  |         2 |       244 |        75 |   0.0 |   3.5 |   0.4
  - on_activate[54] ...................................  |        29 |      5697 |       220 |   0.0 |  25.8 |   0.3
  - on_deactivate[48] .................................  |         1 |       102 |         3 |   0.0 |   0.8 |   0.0
  - on_step[52] .......................................  |        14 |     64689 |       215 |   0.0 |  91.5 |   2.1
  - on_punch[53] ......................................  |         9 |       203 |        98 |   0.0 |   0.0 |   0.0
  - globalstep[1] .....................................  |         2 |     43806 |        16 |   0.0 |  74.5 |   0.2
  - on_rightclick[50] .................................  |       366 |       519 |       432 |   0.1 |   5.2 |   1.5
  - on_rightclick[19] .................................  |       195 |       423 |       268 |   0.0 |   7.3 |   1.9
  - get_staticdata[38] ................................  |         4 |     34322 |        69 |   0.0 |   6.0 |   0.0
  - on_deactivate[1] ..................................  |         1 |        29 |         2 |   0.0 |   0.1 |   0.0
  - on_activate[39] ...................................  |        28 |     41854 |       193 |   0.0 |  11.5 |   0.2
  - get_staticdata[39] ................................  |         5 |      8074 |        56 |   0.0 |   6.9 |   0.0
  - on_activate[55] ...................................  |        35 |     45045 |       219 |   0.0 |  12.5 |   0.1
  - on_deactivate[49] .................................  |         1 |       340 |         2 |   0.0 |   0.2 |   0.0
  - on_punch[44] ......................................  |         4 |       164 |        81 |   0.0 |   3.8 |   0.4
  - on_punch[54] ......................................  |         3 |       173 |        61 |   0.0 |   0.1 |   0.0
  - on_rightclick[51] .................................  |       115 |      1249 |       494 |   0.0 |   5.7 |   0.4
  - get_staticdata[50] ................................  |         8 |      1601 |        59 |   0.0 |   6.2 |   0.0
  - on_rightclick[7] ..................................  |       256 |       560 |       424 |   0.1 |   0.1 |   0.1
  - on_deactivate[40] .................................  |         1 |        73 |         1 |   0.0 |   0.4 |   0.0
  - on_step[44] .......................................  |        14 |     48779 |       113 |   0.0 |  88.4 |   1.1
  - on_player_receive_fields[1] .......................  |         1 |       270 |         1 |   0.0 |   0.9 |   0.0
  - on_activate[4] ....................................  |         1 |         2 |         1 |   0.0 |   0.0 |   0.0
  - on_step[4] ........................................  |        27 |        62 |        39 |   0.0 |   1.7 |   0.3
  - on_activate[5] ....................................  |        24 |       453 |       125 |   0.0 |   2.3 |   0.0
  - on_step[5] ........................................  |        14 |     46254 |       106 |   0.0 |  88.7 |   0.7
  - on_rightclick[5] ..................................  |       486 |       486 |       486 |   0.0 |   0.0 |   0.0
  - globalstep[2] .....................................  |         1 |      1026 |         1 |   0.0 |   8.4 |   0.0
  - on_activate[6] ....................................  |        26 |       620 |       133 |   0.0 |   2.9 |   0.1
  - on_step[6] ........................................  |        20 |      4208 |       108 |   0.0 |  13.0 |   0.7
  - on_leaveplayer[2] .................................  |         1 |        33 |         1 |   0.0 |   0.1 |   0.0
  - on_step[10] .......................................  |        16 |     41571 |       114 |   0.0 |  68.3 |   1.2
  - on_punch[10] ......................................  |         7 |       162 |        63 |   0.0 |   0.1 |   0.0
  - on_activate[7] ....................................  |        30 |      5497 |       124 |   0.0 |   5.1 |   0.1
  - on_step[7] ........................................  |        14 |    230207 |     10770 |   0.0 |  98.6 |   5.6
  - on_rightclick[11] .................................  |       466 |       466 |       466 |   0.0 |   0.0 |   0.0
  - on_punchplayer[1] .................................  |         1 |        44 |         2 |   0.0 |   0.9 |   0.0
  - get_staticdata[2] .................................  |         4 |       498 |        30 |   0.0 |   1.1 |   0.0
  - on_activate[17] ...................................  |        25 |       335 |        90 |   0.0 |   0.4 |   0.0
  - on_step[11] .......................................  |        17 |     38766 |        77 |   0.0 |  72.6 |   0.6
  - on_punch[11] ......................................  |        63 |        63 |        63 |   0.0 |   0.0 |   0.0
  - get_staticdata[16] ................................  |         4 |       285 |        25 |   0.0 |   1.4 |   0.0
  - on_joinplayer[1] ..................................  |         1 |      1279 |        11 |   0.0 |   0.1 |   0.0
  - on_leaveplayer[1] .................................  |         1 |        27 |         1 |   0.0 |   0.1 |   0.0
  - on_step[12] .......................................  |        15 |   1264455 |     18007 |   0.0 |  99.3 |   6.1
  - on_punch[12] ......................................  |        55 |        55 |        55 |   0.0 |   0.0 |   0.0
  - on_activate[18] ...................................  |        50 |      4049 |       284 |   0.0 |   1.8 |   0.1
  - get_staticdata[17] ................................  |         5 |     48094 |        74 |   0.0 |   6.4 |   0.1
  - on_activate[19] ...................................  |        27 |       295 |       101 |   0.0 |   3.0 |   0.1
  - get_staticdata[5] .................................  |         4 |     41757 |        98 |   0.0 |  85.9 |   0.1
  - get_staticdata[23] ................................  |         5 |       718 |        31 |   0.0 |   2.5 |   0.0
  - get_staticdata[18] ................................  |         4 |      6851 |        62 |   0.0 |   7.8 |   0.1
  - on_punch[2] .......................................  |         1 |       106 |        27 |   0.0 |   0.0 |   0.0
  - on_activate[24] ...................................  |        26 |     37781 |       182 |   0.0 |  14.8 |   0.2
  - on_activate[20] ...................................  |        24 |      1934 |       182 |   0.0 |  13.2 |   0.2
  - get_staticdata[24] ................................  |         4 |     10235 |        47 |   0.0 |   5.3 |   0.0
  - on_activate[42] ...................................  |        27 |     39004 |       215 |   0.0 |  15.6 |   0.1
  - on_step[22] .......................................  |        15 |  12510425 |     25183 |   0.0 |  99.9 |  11.5
  - on_activate[21] ...................................  |         2 |         5 |         4 |   0.0 |   0.0 |   0.0
  - on_punch[22] ......................................  |         2 |       248 |        56 |   0.0 |   1.2 |   0.1
  - on_punch[26] ......................................  |         3 |       176 |        88 |   0.0 |   0.1 |   0.0
  - on_punch[35] ......................................  |       113 |       113 |       113 |   0.0 |   0.0 |   0.0
  - on_rightclick[12] .................................  |       136 |       363 |       268 |   0.0 |   0.0 |   0.0
  - on_deactivate[9] ..................................  |         1 |        79 |         2 |   0.0 |   0.7 |   0.0
  - on_punch[27] ......................................  |        11 |        87 |        65 |   0.0 |   1.8 |   0.7
  - on_punch[14] ......................................  |        68 |        72 |        70 |   0.0 |   0.0 |   0.0
  - on_deactivate[3] ..................................  |         1 |        31 |         1 |   0.0 |   0.1 |   0.0
  - on_punch[45] ......................................  |         5 |       241 |        99 |   0.0 |   0.5 |   0.1
  - on_rightclick[20] .................................  |       193 |       441 |       262 |   0.0 |   0.2 |   0.1
  - on_rightclick[42] .................................  |       107 |       663 |       304 |   0.0 |   6.2 |   0.7
  - on_step[48] .......................................  |        13 |    738826 |     17254 |   0.0 |  99.3 |   5.3
  - on_rightclick[6] ..................................  |       284 |       322 |       303 |   0.0 |   4.0 |   2.0
  - on_punch[38] ......................................  |        43 |       112 |        64 |   0.0 |   0.1 |   0.0
  - on_rightclick[29] .................................  |       710 |       710 |       710 |   0.1 |   0.1 |   0.1
  - on_rightclick[22] .................................  |       712 |       712 |       712 |   0.2 |   0.2 |   0.2
  - on_activate[43] ...................................  |        29 |       950 |       142 |   0.0 |   8.1 |   0.1
  - on_rightclick[18] .................................  |       123 |      2333 |       400 |   0.0 |   6.6 |   1.6
  - on_activate[26] ...................................  |        27 |     40831 |       137 |   0.0 |  11.7 |   0.1
  - on_deactivate[13] .................................  |         1 |         3 |         1 |   0.0 |   0.0 |   0.0
  - get_staticdata[26] ................................  |         7 |      1702 |        71 |   0.0 |  19.5 |   0.1
  - on_deactivate[26] .................................  |         1 |       132 |         4 |   0.0 |   0.8 |   0.0
  - on_activate[22] ...................................  |        25 |     26068 |       211 |   0.0 |  15.8 |   0.2
  - on_deactivate[20] .................................  |         1 |        47 |         2 |   0.0 |   0.1 |   0.0
  - on_deactivate[22] .................................  |         1 |        42 |         1 |   0.0 |   0.2 |   0.0
  - on_activate[27] ...................................  |        28 |     75875 |       215 |   0.0 |   5.2 |   0.1
  - on_punch[15] ......................................  |         4 |       264 |        74 |   0.0 |   0.0 |   0.0
  - on_rightclick[14] .................................  |       367 |       642 |       465 |   0.0 |   0.1 |   0.1
  - get_staticdata[6] .................................  |         4 |       617 |        31 |   0.0 |   5.3 |   0.0
  - get_staticdata[27] ................................  |         7 |     38965 |        86 |   0.0 |  17.1 |   0.1
  - on_deactivate[41] .................................  |         1 |       136 |         2 |   0.0 |   0.4 |   0.0
  - on_player_receive_fields[3] .......................  |         1 |       266 |         1 |   0.0 |   0.6 |   0.0
  - on_step[45] .......................................  |        12 |     58613 |       192 |   0.0 |  94.7 |   1.9
  - on_deactivate[39] .................................  |         1 |        67 |         4 |   0.0 |   0.7 |   0.0
  - on_punch[46] ......................................  |         2 |       220 |        73 |   0.0 |   2.4 |   0.3
  - on_deactivate[10] .................................  |         1 |       105 |         3 |   0.0 |   0.1 |   0.0
  - on_rightclick[43] .................................  |       106 |       106 |       106 |   0.1 |   0.1 |   0.1
  - on_punch[13] ......................................  |         3 |       138 |        59 |   0.0 |   0.1 |   0.0
  - get_staticdata[3] .................................  |         5 |       452 |        37 |   0.0 |   2.8 |   0.0
  - on_activate[10] ...................................  |        30 |       810 |       134 |   0.0 |  16.6 |   0.5
  - get_staticdata[4] .................................  |         5 |       373 |        30 |   0.0 |   3.8 |   0.0
  - on_deactivate[30] .................................  |         1 |        79 |         2 |   0.0 |   0.1 |   0.0
  - on_activate[8] ....................................  |        27 |     60891 |       279 |   0.0 |  26.7 |   0.4
  - on_activate[28] ...................................  |        30 |      9935 |       167 |   0.0 |  11.9 |   0.1
  - on_step[8] ........................................  |        16 |     76856 |       436 |   0.0 |  94.8 |   4.0
  - get_staticdata[28] ................................  |         7 |      4086 |        75 |   0.0 |   7.2 |   0.1
  - get_staticdata[8] .................................  |         5 |       719 |        30 |   0.0 |   4.7 |   0.0
  - on_step[49] .......................................  |        13 |     76176 |       310 |   0.0 |  92.5 |   3.1
  - on_activate[44] ...................................  |        34 |     17602 |       247 |   0.0 |  12.0 |   0.2
  - on_activate[29] ...................................  |        24 |     15890 |       129 |   0.0 |   8.4 |   0.1
  - on_deactivate[23] .................................  |         1 |       101 |         4 |   0.0 |   0.4 |   0.0
  - on_step[40] .......................................  |        15 |     57236 |       106 |   0.0 |  89.1 |   1.0
  - on_punch[23] ......................................  |         3 |       181 |        66 |   0.0 |   0.1 |   0.0
  - get_staticdata[29] ................................  |         5 |      4778 |        62 |   0.0 |  10.2 |   0.1
  - on_punch[28] ......................................  |        47 |       150 |        94 |   0.0 |   0.0 |   0.0
  - on_step[13] .......................................  |        15 |     69492 |       117 |   0.0 |  92.5 |   1.1
  - on_rightclick[25] .................................  |       126 |       664 |       244 |   0.0 |   0.7 |   0.2
  - get_staticdata[20] ................................  |         6 |      1276 |        38 |   0.0 |   8.1 |   0.0
  - get_staticdata[22] ................................  |         4 |       829 |        33 |   0.0 |   9.4 |   0.0
  - get_staticdata[9] .................................  |         8 |      9727 |        88 |   0.0 |  33.3 |   0.1
  - on_deactivate[11] .................................  |         1 |        33 |         2 |   0.0 |   0.2 |   0.0
  - get_staticdata[21] ................................  |         6 |       817 |        46 |   0.0 |   3.8 |   0.0
  - on_step[23] .......................................  |        16 |    173401 |       115 |   0.0 |  98.2 |   1.2
  - get_staticdata[19] ................................  |         5 |     41562 |       122 |   0.0 |  19.3 |   0.1
  - on_deactivate[21] .................................  |         1 |        43 |         2 |   0.0 |   0.1 |   0.0
  - on_player_receive_fields[5] .......................  |         1 |        51 |         1 |   0.0 |   0.4 |   0.0
  - on_step[16] .......................................  |        14 |    653399 |     10147 |   0.0 |  98.8 |   5.9
  - on_activate[30] ...................................  |        37 |      3947 |       214 |   0.0 |  10.4 |   0.2
  - on_activate[45] ...................................  |        27 |     24544 |       158 |   0.0 |   9.8 |   0.1
  - get_staticdata[30] ................................  |         6 |      4672 |        46 |   0.0 |   5.9 |   0.0
  - get_staticdata[45] ................................  |         5 |      1661 |        38 |   0.0 |   3.4 |   0.0
  - get_staticdata[49] ................................  |         4 |     36507 |        69 |   0.0 |  74.8 |   0.1
  - get_staticdata[42] ................................  |         4 |      2445 |        51 |   0.0 |   8.5 |   0.1
  - on_punch[42] ......................................  |         5 |       188 |        60 |   0.0 |   0.0 |   0.0
  - on_activate[31] ...................................  |        28 |      2074 |       176 |   0.0 |  11.6 |   0.1
  - on_player_receive_fields[6] .......................  |         1 |        85 |         1 |   0.0 |   0.5 |   0.0
  - on_step[17] .......................................  |        19 |    351757 |     20734 |   0.0 |  21.6 |   1.9
  - on_activate[48] ...................................  |        31 |     12260 |       182 |   0.0 |  15.2 |   0.2
  - on_punch[17] ......................................  |         3 |       343 |       134 |   0.0 |   0.0 |   0.0
  - on_step[29] .......................................  |        13 |     75353 |       159 |   0.0 |  89.8 |   1.3
  - on_rightclick[16] .................................  |       363 |       754 |       558 |   0.0 |   0.1 |   0.1
  - on_activate[46] ...................................  |        27 |     55371 |       197 |   0.0 |  50.5 |   0.2
  - on_rightclick[26] .................................  |       225 |       428 |       327 |   0.0 |   8.7 |   2.3
  - on_step[24] .......................................  |        14 |     64188 |       151 |   0.0 |  85.8 |   0.9
  - on_deactivate[37] .................................  |         1 |       107 |         5 |   0.0 |   0.2 |   0.0
  - on_punch[24] ......................................  |         3 |       176 |       110 |   0.0 |   0.0 |   0.0
  - on_step[28] .......................................  |        18 |   1055616 |     30238 |   0.0 |  99.6 |   4.7
  - on_activate[52] ...................................  |        27 |      3033 |       199 |   0.0 |  12.7 |   0.3
  - on_activate[49] ...................................  |        25 |      9631 |       141 |   0.0 |  11.1 |   0.1
  - get_staticdata[46] ................................  |         5 |      1673 |        51 |   0.0 |  10.6 |   0.1
  - on_rightclick[41] .................................  |       154 |      8531 |       628 |   0.0 |  28.4 |   1.6
  - on_activate[23] ...................................  |        29 |     25449 |       308 |   0.0 |  17.2 |   0.2
  - on_deactivate[16] .................................  |         1 |       110 |         3 |   0.0 |   0.6 |   0.0
  - on_step[43] .......................................  |        18 |   2381331 |     36218 |   0.0 |  99.8 |   9.5
  - get_staticdata[25] ................................  |         4 |       542 |        30 |   0.0 |   2.7 |   0.0
  - on_deactivate[12] .................................  |         1 |        40 |         2 |   0.0 |   0.4 |   0.0
  - on_activate[32] ...................................  |        42 |     64081 |       240 |   0.0 |  12.9 |   0.2
  - get_staticdata[31] ................................  |         5 |       808 |        33 |   0.0 |   5.8 |   0.0
  - on_item_eat[1] ....................................  |         1 |       705 |         8 |   0.0 |   4.2 |   0.0
  - get_staticdata[32] ................................  |         4 |      6093 |        64 |   0.0 |  20.6 |   0.1
  - /howl .............................................  |         6 |       187 |        40 |   0.0 |   3.2 |   0.2
  - on_activate[33] ...................................  |        32 |      1441 |       172 |   0.0 |   9.3 |   0.2
  - on_player_receive_fields[4] .......................  |         1 |        60 |         1 |   0.0 |   2.0 |   0.0
  - on_step[18] .......................................  |        18 |   2201427 |     19533 |   0.0 |  99.2 |   4.8
  - on_leaveplayer[3] .................................  |         1 |        33 |         2 |   0.0 |   0.2 |   0.0
  - on_deactivate[31] .................................  |         1 |       103 |         2 |   0.0 |   0.8 |   0.0
  - on_leaveplayer[4] .................................  |         1 |        17 |         1 |   0.0 |   0.1 |   0.0
  - on_step[53] .......................................  |        20 |   2603715 |     41700 |   0.0 |  99.6 |   7.5
  - on_leaveplayer[5] .................................  |         1 |        19 |         1 |   0.0 |   0.4 |   0.0
  - on_step[38] .......................................  |        15 |     53974 |       110 |   0.0 |  75.9 |   1.0
  - on_deactivate[44] .................................  |         1 |        49 |         2 |   0.0 |   0.3 |   0.0
  - on_step[14] .......................................  |        14 |   1329902 |     30000 |   0.0 |  99.7 |   6.4
  - on_deactivate[25] .................................  |         1 |        52 |         2 |   0.0 |   0.8 |   0.0
  - on_deactivate[24] .................................  |         1 |       104 |         2 |   0.0 |   0.2 |   0.0
  - on_punch[49] ......................................  |         2 |        73 |        45 |   0.0 |   0.1 |   0.0
  - get_staticdata[44] ................................  |         5 |       570 |        33 |   0.0 |   8.8 |   0.0
  - on_punch[30] ......................................  |         6 |        87 |        48 |   0.0 |   0.0 |   0.0
  - on_player_receive_fields[7] .......................  |         1 |        72 |         1 |   0.0 |   0.3 |   0.0
  - on_rightclick[27] .................................  |       234 |      2280 |       586 |   0.0 |  16.6 |   0.5
  - on_step[47] .......................................  |        20 |     40330 |       277 |   0.0 |  81.7 |   2.4
  - on_step[15] .......................................  |        15 |    841256 |     18978 |   0.0 |  99.2 |   6.9
  - on_deactivate[14] .................................  |         1 |        35 |         2 |   0.0 |   0.0 |   0.0
  - get_staticdata[36] ................................  |         6 |     24705 |       269 |   0.0 |  63.8 |   0.5
  - on_activate[34] ...................................  |        32 |      4577 |       168 |   0.0 |   5.4 |   0.1
  - on_step[39] .......................................  |        17 |    838102 |      2337 |   0.0 |  99.4 |   3.7
  - get_staticdata[34] ................................  |         7 |      1039 |        64 |   0.0 |   9.8 |   0.1
  - on_step[27] .......................................  |        14 |   2634680 |     48780 |   0.0 |  99.7 |   7.1
  - on_deactivate[43] .................................  |         1 |        24 |         2 |   0.0 |   0.1 |   0.0
  - on_activate[9] ....................................  |        28 |      4673 |       126 |   0.0 |  12.3 |   0.1
  - get_staticdata[7] .................................  |         6 |       589 |        42 |   0.0 |   7.2 |   0.1
  - on_activate[35] ...................................  |        25 |     11935 |       143 |   0.0 |  24.0 |   0.1
  - on_step[26] .......................................  |        15 |    532657 |     22030 |   0.0 |  99.2 |   4.3
  - on_step[19] .......................................  |        14 |      1893 |        96 |   0.0 |   5.4 |   0.3
  - on_punch[16] ......................................  |         5 |       164 |       105 |   0.0 |   0.0 |   0.0
  - on_activate[50] ...................................  |        26 |     55067 |       197 |   0.0 |  55.6 |   0.3
  - on_activate[25] ...................................  |        30 |       990 |       165 |   0.0 |   6.6 |   0.1
  - on_deactivate[45] .................................  |         1 |        70 |         2 |   0.0 |   1.1 |   0.0
  - on_step[25] .......................................  |        14 |   2716981 |     71136 |   0.0 |  99.8 |   8.2
  - get_staticdata[35] ................................  |         5 |      1687 |        53 |   0.0 |  12.5 |   0.1
  - on_punch[25] ......................................  |         3 |       216 |        74 |   0.0 |   0.0 |   0.0
  - on_punch[50] ......................................  |         3 |       263 |        83 |   0.0 |   3.3 |   0.3
  - on_step[34] .......................................  |        17 |   7527437 |     96301 |   0.0 |  99.9 |   8.9
  - on_rightclick[47] .................................  |       410 |       410 |       410 |   0.0 |   0.0 |   0.0
  - get_staticdata[47] ................................  |         4 |       638 |        35 |   0.0 |   2.1 |   0.0
  - get_staticdata[11] ................................  |         7 |      9065 |        51 |   0.0 |   6.7 |   0.0
  - on_deactivate[15] .................................  |         1 |        17 |         1 |   0.0 |   0.0 |   0.0
  - on_activate[40] ...................................  |        51 |      5106 |       602 |   0.0 |  27.1 |   1.0
  - on_step[30] .......................................  |        21 |     56579 |       268 |   0.0 |  95.1 |   2.9
  - on_step[21] .......................................  |        12 |     74505 |       176 |   0.0 |  88.7 |   1.5
  - on_punch[31] ......................................  |         4 |       120 |        20 |   0.0 |   0.5 |   0.1
Whatever I say is CC0

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z11] [petz]

by runs » Post

z12

-Fix: Improvement on the management of the list of active mobs.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z12] [petz]

by runs » Post

z13

- New speed_up setting (true by default).

Now Petz more faster than ever.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z11] [petz]

by runs » Post

Bastrabun wrote:
Fri Sep 02, 2022 13:52
There are some petz that seem to require a LOT more performance than others. I'd like to disable those. Even with very few players they require 140 ms on average altogether, but only very few show more than 1 ms. Those are the petz with on_step[7], on_step[12], on_step[14], on_step[15], on_step[16], on_step[17], on_step[18], on_step[22], on_step[25], on_step[26], on_step[27], on_step[28], on_step[31], on_step[32], on_step[33], on_step[34], on_step[41], on_step[42], on_step[43], on_step[48], on_step[53]: Which ones are those?

Machine is an i9 9900K

Code: Select all

 petz:                                                   |        79 |  14800185 |    140334 |   0.1 |  99.9 |  49.5
  - on_punch[21] ......................................  |        80 |        83 |        81 |   0.0 |   0.1 |   0.1
  - on_rightclick[28] .................................  |       170 |      2060 |       595 |   0.0 |  10.2 |   0.9
  - on_activate[36] ...................................  |        29 |     32010 |       227 |   0.0 |  19.8 |   0.2
  - get_staticdata[40] ................................  |         9 |     14644 |        88 |   0.0 |  13.5 |   0.1
  - on_deactivate[2] ..................................  |         1 |        33 |         2 |   0.0 |   0.0 |   0.0
  - get_staticdata[37] ................................  |         4 |     72577 |        46 |   0.0 |  52.5 |   0.0
  - on_step[35] .......................................  |        15 |     68236 |       180 |   0.0 |  91.2 |   1.3
  - on_activate[41] ...................................  |        26 |     42110 |       144 |   0.0 |   6.2 |   0.1
  - on_rightclick[33] .................................  |       266 |      1300 |       683 |   0.0 |   5.6 |   1.2
  - get_staticdata[41] ................................  |         6 |      1797 |        53 |   0.0 |  10.4 |   0.0
  - on_deactivate[27] .................................  |         1 |       128 |         2 |   0.0 |   4.5 |   0.0
  - on_step[31] .......................................  |        15 |   1763512 |     43121 |   0.0 |  99.7 |   7.5
  - on_punch[32] ......................................  |         4 |       101 |        27 |   0.0 |   0.3 |   0.0
  - on_step[9] ........................................  |        14 |     39765 |       113 |   0.0 |  74.8 |   1.0
  - on_activate[38] ...................................  |        43 |      2078 |       213 |   0.0 |   3.4 |   0.1
  - on_step[20] .......................................  |        14 |     47223 |       165 |   0.0 |  90.9 |   1.5
  - on_deactivate[4] ..................................  |         1 |       168 |         4 |   0.0 |   1.0 |   0.0
  - on_activate[11] ...................................  |        27 |     28089 |       145 |   0.0 |   5.9 |   0.1
  - on_deactivate[17] .................................  |         1 |        79 |         3 |   0.0 |   0.7 |   0.0
  - get_staticdata[10] ................................  |         4 |      1777 |        45 |   0.0 |  10.3 |   0.0
  - on_deactivate[28] .................................  |         1 |        48 |         2 |   0.0 |   0.1 |   0.0
  - on_step[32] .......................................  |        15 |   4909939 |     39550 |   0.0 |  99.7 |   4.0
  - on_punch[33] ......................................  |         2 |       315 |        94 |   0.0 |   0.1 |   0.0
  - on_rightclick[30] .................................  |       263 |      2101 |       526 |   0.0 |   1.5 |   0.2
  - on_deactivate[5] ..................................  |         1 |        45 |         2 |   0.0 |   0.6 |   0.0
  - on_deactivate[18] .................................  |         1 |       165 |         4 |   0.0 |   0.8 |   0.0
  - on_deactivate[33] .................................  |         1 |        26 |         2 |   0.0 |   0.1 |   0.0
  - on_step[37] .......................................  |        20 |     31895 |       110 |   0.0 |  72.6 |   0.7
  - on_activate[12] ...................................  |        32 |      5559 |       227 |   0.0 |  12.6 |   0.1
  - on_deactivate[35] .................................  |         1 |        53 |         4 |   0.0 |   0.3 |   0.0
  - on_rightclick[35] .................................  |       261 |      1083 |       603 |   0.0 |   0.1 |   0.1
  - on_punch[40] ......................................  |        44 |        46 |        45 |   0.0 |   0.0 |   0.0
  - on_rightclick[37] .................................  |       342 |       549 |       422 |   0.0 |   0.1 |   0.1
  - on_deactivate[29] .................................  |         1 |        30 |         2 |   0.0 |   0.2 |   0.0
  - on_step[33] .......................................  |        14 |   2992282 |     50612 |   0.0 |  99.7 |   5.3
  - on_punch[34] ......................................  |        10 |        88 |        61 |   0.0 |   0.7 |   0.2
  - on_rightclick[31] .................................  |       221 |      1606 |       550 |   0.0 |   1.4 |   0.2
  - on_deactivate[6] ..................................  |         1 |        95 |         2 |   0.0 |   0.5 |   0.0
  - on_activate[13] ...................................  |        25 |     65041 |       156 |   0.0 |   9.5 |   0.1
  - get_staticdata[12] ................................  |         7 |       704 |        47 |   0.0 |   2.0 |   0.0
  - on_deactivate[19] .................................  |         1 |       153 |         2 |   0.0 |   1.0 |   0.0
  - on_deactivate[34] .................................  |         1 |        44 |         2 |   0.0 |   0.3 |   0.0
  - on_deactivate[7] ..................................  |         1 |        42 |         2 |   0.0 |   0.1 |   0.0
  - on_deactivate[36] .................................  |         1 |       125 |         2 |   0.0 |   0.3 |   0.0
  - on_punch[39] ......................................  |         4 |        65 |        34 |   0.0 |   0.0 |   0.0
  - on_activate[51] ...................................  |        26 |       685 |       116 |   0.0 |   2.9 |   0.1
  - on_deactivate[46] .................................  |         1 |        53 |         2 |   0.0 |   1.0 |   0.0
  - on_step[50] .......................................  |        15 |     38951 |        79 |   0.0 |  91.6 |   0.8
  - on_player_receive_fields[2] .......................  |         1 |        89 |         1 |   0.0 |   0.3 |   0.0
  - on_activate[14] ...................................  |        33 |      1616 |       167 |   0.0 |  14.1 |   0.1
  - on_punch[8] .......................................  |       101 |       101 |       101 |   0.0 |   0.0 |   0.0
  - get_staticdata[13] ................................  |         3 |      1627 |        37 |   0.0 |   7.6 |   0.0
  - on_player_hpchange[1] .............................  |         1 |        23 |         1 |   0.0 |   0.7 |   0.0
  - on_deactivate[8] ..................................  |         1 |       133 |         2 |   0.0 |   0.5 |   0.0
  - on_step[41] .......................................  |        14 |   1775745 |     52328 |   0.0 |  99.7 |   6.2
  - on_deactivate[47] .................................  |         1 |        46 |         2 |   0.0 |   0.5 |   0.0
  - on_step[51] .......................................  |        13 |     48363 |       273 |   0.0 |  87.9 |   2.8
  - on_punch[52] ......................................  |         3 |       146 |        55 |   0.0 |   1.2 |   0.1
  - on_activate[15] ...................................  |        36 |       929 |       161 |   0.0 |   4.6 |   0.1
  - on_rightclick[49] .................................  |       176 |       702 |       433 |   0.1 |   6.0 |   1.6
  - get_staticdata[14] ................................  |         4 |       361 |        25 |   0.0 |   0.1 |   0.0
  - get_staticdata[48] ................................  |         4 |      4222 |        57 |   0.0 |   7.3 |   0.1
  - on_activate[16] ...................................  |        25 |     36917 |       152 |   0.0 |  13.7 |   0.1
  - on_punch[9] .......................................  |         3 |       161 |        52 |   0.0 |   1.8 |   0.2
  - get_staticdata[15] ................................  |         6 |      2217 |        76 |   0.0 |   1.1 |   0.0
  - on_activate[53] ...................................  |         2 |        47 |         6 |   0.0 |   0.0 |   0.0
  - on_deactivate[38] .................................  |         1 |        25 |         2 |   0.0 |   0.1 |   0.0
  - on_step[42] .......................................  |        12 |    358201 |      7368 |   0.0 |  98.9 |   4.1
  - on_punch[43] ......................................  |         2 |       244 |        75 |   0.0 |   3.5 |   0.4
  - on_activate[54] ...................................  |        29 |      5697 |       220 |   0.0 |  25.8 |   0.3
  - on_deactivate[48] .................................  |         1 |       102 |         3 |   0.0 |   0.8 |   0.0
  - on_step[52] .......................................  |        14 |     64689 |       215 |   0.0 |  91.5 |   2.1
  - on_punch[53] ......................................  |         9 |       203 |        98 |   0.0 |   0.0 |   0.0
  - globalstep[1] .....................................  |         2 |     43806 |        16 |   0.0 |  74.5 |   0.2
  - on_rightclick[50] .................................  |       366 |       519 |       432 |   0.1 |   5.2 |   1.5
  - on_rightclick[19] .................................  |       195 |       423 |       268 |   0.0 |   7.3 |   1.9
  - get_staticdata[38] ................................  |         4 |     34322 |        69 |   0.0 |   6.0 |   0.0
  - on_deactivate[1] ..................................  |         1 |        29 |         2 |   0.0 |   0.1 |   0.0
  - on_activate[39] ...................................  |        28 |     41854 |       193 |   0.0 |  11.5 |   0.2
  - get_staticdata[39] ................................  |         5 |      8074 |        56 |   0.0 |   6.9 |   0.0
  - on_activate[55] ...................................  |        35 |     45045 |       219 |   0.0 |  12.5 |   0.1
  - on_deactivate[49] .................................  |         1 |       340 |         2 |   0.0 |   0.2 |   0.0
  - on_punch[44] ......................................  |         4 |       164 |        81 |   0.0 |   3.8 |   0.4
  - on_punch[54] ......................................  |         3 |       173 |        61 |   0.0 |   0.1 |   0.0
  - on_rightclick[51] .................................  |       115 |      1249 |       494 |   0.0 |   5.7 |   0.4
  - get_staticdata[50] ................................  |         8 |      1601 |        59 |   0.0 |   6.2 |   0.0
  - on_rightclick[7] ..................................  |       256 |       560 |       424 |   0.1 |   0.1 |   0.1
  - on_deactivate[40] .................................  |         1 |        73 |         1 |   0.0 |   0.4 |   0.0
  - on_step[44] .......................................  |        14 |     48779 |       113 |   0.0 |  88.4 |   1.1
  - on_player_receive_fields[1] .......................  |         1 |       270 |         1 |   0.0 |   0.9 |   0.0
  - on_activate[4] ....................................  |         1 |         2 |         1 |   0.0 |   0.0 |   0.0
  - on_step[4] ........................................  |        27 |        62 |        39 |   0.0 |   1.7 |   0.3
  - on_activate[5] ....................................  |        24 |       453 |       125 |   0.0 |   2.3 |   0.0
  - on_step[5] ........................................  |        14 |     46254 |       106 |   0.0 |  88.7 |   0.7
  - on_rightclick[5] ..................................  |       486 |       486 |       486 |   0.0 |   0.0 |   0.0
  - globalstep[2] .....................................  |         1 |      1026 |         1 |   0.0 |   8.4 |   0.0
  - on_activate[6] ....................................  |        26 |       620 |       133 |   0.0 |   2.9 |   0.1
  - on_step[6] ........................................  |        20 |      4208 |       108 |   0.0 |  13.0 |   0.7
  - on_leaveplayer[2] .................................  |         1 |        33 |         1 |   0.0 |   0.1 |   0.0
  - on_step[10] .......................................  |        16 |     41571 |       114 |   0.0 |  68.3 |   1.2
  - on_punch[10] ......................................  |         7 |       162 |        63 |   0.0 |   0.1 |   0.0
  - on_activate[7] ....................................  |        30 |      5497 |       124 |   0.0 |   5.1 |   0.1
  - on_step[7] ........................................  |        14 |    230207 |     10770 |   0.0 |  98.6 |   5.6
  - on_rightclick[11] .................................  |       466 |       466 |       466 |   0.0 |   0.0 |   0.0
  - on_punchplayer[1] .................................  |         1 |        44 |         2 |   0.0 |   0.9 |   0.0
  - get_staticdata[2] .................................  |         4 |       498 |        30 |   0.0 |   1.1 |   0.0
  - on_activate[17] ...................................  |        25 |       335 |        90 |   0.0 |   0.4 |   0.0
  - on_step[11] .......................................  |        17 |     38766 |        77 |   0.0 |  72.6 |   0.6
  - on_punch[11] ......................................  |        63 |        63 |        63 |   0.0 |   0.0 |   0.0
  - get_staticdata[16] ................................  |         4 |       285 |        25 |   0.0 |   1.4 |   0.0
  - on_joinplayer[1] ..................................  |         1 |      1279 |        11 |   0.0 |   0.1 |   0.0
  - on_leaveplayer[1] .................................  |         1 |        27 |         1 |   0.0 |   0.1 |   0.0
  - on_step[12] .......................................  |        15 |   1264455 |     18007 |   0.0 |  99.3 |   6.1
  - on_punch[12] ......................................  |        55 |        55 |        55 |   0.0 |   0.0 |   0.0
  - on_activate[18] ...................................  |        50 |      4049 |       284 |   0.0 |   1.8 |   0.1
  - get_staticdata[17] ................................  |         5 |     48094 |        74 |   0.0 |   6.4 |   0.1
  - on_activate[19] ...................................  |        27 |       295 |       101 |   0.0 |   3.0 |   0.1
  - get_staticdata[5] .................................  |         4 |     41757 |        98 |   0.0 |  85.9 |   0.1
  - get_staticdata[23] ................................  |         5 |       718 |        31 |   0.0 |   2.5 |   0.0
  - get_staticdata[18] ................................  |         4 |      6851 |        62 |   0.0 |   7.8 |   0.1
  - on_punch[2] .......................................  |         1 |       106 |        27 |   0.0 |   0.0 |   0.0
  - on_activate[24] ...................................  |        26 |     37781 |       182 |   0.0 |  14.8 |   0.2
  - on_activate[20] ...................................  |        24 |      1934 |       182 |   0.0 |  13.2 |   0.2
  - get_staticdata[24] ................................  |         4 |     10235 |        47 |   0.0 |   5.3 |   0.0
  - on_activate[42] ...................................  |        27 |     39004 |       215 |   0.0 |  15.6 |   0.1
  - on_step[22] .......................................  |        15 |  12510425 |     25183 |   0.0 |  99.9 |  11.5
  - on_activate[21] ...................................  |         2 |         5 |         4 |   0.0 |   0.0 |   0.0
  - on_punch[22] ......................................  |         2 |       248 |        56 |   0.0 |   1.2 |   0.1
  - on_punch[26] ......................................  |         3 |       176 |        88 |   0.0 |   0.1 |   0.0
  - on_punch[35] ......................................  |       113 |       113 |       113 |   0.0 |   0.0 |   0.0
  - on_rightclick[12] .................................  |       136 |       363 |       268 |   0.0 |   0.0 |   0.0
  - on_deactivate[9] ..................................  |         1 |        79 |         2 |   0.0 |   0.7 |   0.0
  - on_punch[27] ......................................  |        11 |        87 |        65 |   0.0 |   1.8 |   0.7
  - on_punch[14] ......................................  |        68 |        72 |        70 |   0.0 |   0.0 |   0.0
  - on_deactivate[3] ..................................  |         1 |        31 |         1 |   0.0 |   0.1 |   0.0
  - on_punch[45] ......................................  |         5 |       241 |        99 |   0.0 |   0.5 |   0.1
  - on_rightclick[20] .................................  |       193 |       441 |       262 |   0.0 |   0.2 |   0.1
  - on_rightclick[42] .................................  |       107 |       663 |       304 |   0.0 |   6.2 |   0.7
  - on_step[48] .......................................  |        13 |    738826 |     17254 |   0.0 |  99.3 |   5.3
  - on_rightclick[6] ..................................  |       284 |       322 |       303 |   0.0 |   4.0 |   2.0
  - on_punch[38] ......................................  |        43 |       112 |        64 |   0.0 |   0.1 |   0.0
  - on_rightclick[29] .................................  |       710 |       710 |       710 |   0.1 |   0.1 |   0.1
  - on_rightclick[22] .................................  |       712 |       712 |       712 |   0.2 |   0.2 |   0.2
  - on_activate[43] ...................................  |        29 |       950 |       142 |   0.0 |   8.1 |   0.1
  - on_rightclick[18] .................................  |       123 |      2333 |       400 |   0.0 |   6.6 |   1.6
  - on_activate[26] ...................................  |        27 |     40831 |       137 |   0.0 |  11.7 |   0.1
  - on_deactivate[13] .................................  |         1 |         3 |         1 |   0.0 |   0.0 |   0.0
  - get_staticdata[26] ................................  |         7 |      1702 |        71 |   0.0 |  19.5 |   0.1
  - on_deactivate[26] .................................  |         1 |       132 |         4 |   0.0 |   0.8 |   0.0
  - on_activate[22] ...................................  |        25 |     26068 |       211 |   0.0 |  15.8 |   0.2
  - on_deactivate[20] .................................  |         1 |        47 |         2 |   0.0 |   0.1 |   0.0
  - on_deactivate[22] .................................  |         1 |        42 |         1 |   0.0 |   0.2 |   0.0
  - on_activate[27] ...................................  |        28 |     75875 |       215 |   0.0 |   5.2 |   0.1
  - on_punch[15] ......................................  |         4 |       264 |        74 |   0.0 |   0.0 |   0.0
  - on_rightclick[14] .................................  |       367 |       642 |       465 |   0.0 |   0.1 |   0.1
  - get_staticdata[6] .................................  |         4 |       617 |        31 |   0.0 |   5.3 |   0.0
  - get_staticdata[27] ................................  |         7 |     38965 |        86 |   0.0 |  17.1 |   0.1
  - on_deactivate[41] .................................  |         1 |       136 |         2 |   0.0 |   0.4 |   0.0
  - on_player_receive_fields[3] .......................  |         1 |       266 |         1 |   0.0 |   0.6 |   0.0
  - on_step[45] .......................................  |        12 |     58613 |       192 |   0.0 |  94.7 |   1.9
  - on_deactivate[39] .................................  |         1 |        67 |         4 |   0.0 |   0.7 |   0.0
  - on_punch[46] ......................................  |         2 |       220 |        73 |   0.0 |   2.4 |   0.3
  - on_deactivate[10] .................................  |         1 |       105 |         3 |   0.0 |   0.1 |   0.0
  - on_rightclick[43] .................................  |       106 |       106 |       106 |   0.1 |   0.1 |   0.1
  - on_punch[13] ......................................  |         3 |       138 |        59 |   0.0 |   0.1 |   0.0
  - get_staticdata[3] .................................  |         5 |       452 |        37 |   0.0 |   2.8 |   0.0
  - on_activate[10] ...................................  |        30 |       810 |       134 |   0.0 |  16.6 |   0.5
  - get_staticdata[4] .................................  |         5 |       373 |        30 |   0.0 |   3.8 |   0.0
  - on_deactivate[30] .................................  |         1 |        79 |         2 |   0.0 |   0.1 |   0.0
  - on_activate[8] ....................................  |        27 |     60891 |       279 |   0.0 |  26.7 |   0.4
  - on_activate[28] ...................................  |        30 |      9935 |       167 |   0.0 |  11.9 |   0.1
  - on_step[8] ........................................  |        16 |     76856 |       436 |   0.0 |  94.8 |   4.0
  - get_staticdata[28] ................................  |         7 |      4086 |        75 |   0.0 |   7.2 |   0.1
  - get_staticdata[8] .................................  |         5 |       719 |        30 |   0.0 |   4.7 |   0.0
  - on_step[49] .......................................  |        13 |     76176 |       310 |   0.0 |  92.5 |   3.1
  - on_activate[44] ...................................  |        34 |     17602 |       247 |   0.0 |  12.0 |   0.2
  - on_activate[29] ...................................  |        24 |     15890 |       129 |   0.0 |   8.4 |   0.1
  - on_deactivate[23] .................................  |         1 |       101 |         4 |   0.0 |   0.4 |   0.0
  - on_step[40] .......................................  |        15 |     57236 |       106 |   0.0 |  89.1 |   1.0
  - on_punch[23] ......................................  |         3 |       181 |        66 |   0.0 |   0.1 |   0.0
  - get_staticdata[29] ................................  |         5 |      4778 |        62 |   0.0 |  10.2 |   0.1
  - on_punch[28] ......................................  |        47 |       150 |        94 |   0.0 |   0.0 |   0.0
  - on_step[13] .......................................  |        15 |     69492 |       117 |   0.0 |  92.5 |   1.1
  - on_rightclick[25] .................................  |       126 |       664 |       244 |   0.0 |   0.7 |   0.2
  - get_staticdata[20] ................................  |         6 |      1276 |        38 |   0.0 |   8.1 |   0.0
  - get_staticdata[22] ................................  |         4 |       829 |        33 |   0.0 |   9.4 |   0.0
  - get_staticdata[9] .................................  |         8 |      9727 |        88 |   0.0 |  33.3 |   0.1
  - on_deactivate[11] .................................  |         1 |        33 |         2 |   0.0 |   0.2 |   0.0
  - get_staticdata[21] ................................  |         6 |       817 |        46 |   0.0 |   3.8 |   0.0
  - on_step[23] .......................................  |        16 |    173401 |       115 |   0.0 |  98.2 |   1.2
  - get_staticdata[19] ................................  |         5 |     41562 |       122 |   0.0 |  19.3 |   0.1
  - on_deactivate[21] .................................  |         1 |        43 |         2 |   0.0 |   0.1 |   0.0
  - on_player_receive_fields[5] .......................  |         1 |        51 |         1 |   0.0 |   0.4 |   0.0
  - on_step[16] .......................................  |        14 |    653399 |     10147 |   0.0 |  98.8 |   5.9
  - on_activate[30] ...................................  |        37 |      3947 |       214 |   0.0 |  10.4 |   0.2
  - on_activate[45] ...................................  |        27 |     24544 |       158 |   0.0 |   9.8 |   0.1
  - get_staticdata[30] ................................  |         6 |      4672 |        46 |   0.0 |   5.9 |   0.0
  - get_staticdata[45] ................................  |         5 |      1661 |        38 |   0.0 |   3.4 |   0.0
  - get_staticdata[49] ................................  |         4 |     36507 |        69 |   0.0 |  74.8 |   0.1
  - get_staticdata[42] ................................  |         4 |      2445 |        51 |   0.0 |   8.5 |   0.1
  - on_punch[42] ......................................  |         5 |       188 |        60 |   0.0 |   0.0 |   0.0
  - on_activate[31] ...................................  |        28 |      2074 |       176 |   0.0 |  11.6 |   0.1
  - on_player_receive_fields[6] .......................  |         1 |        85 |         1 |   0.0 |   0.5 |   0.0
  - on_step[17] .......................................  |        19 |    351757 |     20734 |   0.0 |  21.6 |   1.9
  - on_activate[48] ...................................  |        31 |     12260 |       182 |   0.0 |  15.2 |   0.2
  - on_punch[17] ......................................  |         3 |       343 |       134 |   0.0 |   0.0 |   0.0
  - on_step[29] .......................................  |        13 |     75353 |       159 |   0.0 |  89.8 |   1.3
  - on_rightclick[16] .................................  |       363 |       754 |       558 |   0.0 |   0.1 |   0.1
  - on_activate[46] ...................................  |        27 |     55371 |       197 |   0.0 |  50.5 |   0.2
  - on_rightclick[26] .................................  |       225 |       428 |       327 |   0.0 |   8.7 |   2.3
  - on_step[24] .......................................  |        14 |     64188 |       151 |   0.0 |  85.8 |   0.9
  - on_deactivate[37] .................................  |         1 |       107 |         5 |   0.0 |   0.2 |   0.0
  - on_punch[24] ......................................  |         3 |       176 |       110 |   0.0 |   0.0 |   0.0
  - on_step[28] .......................................  |        18 |   1055616 |     30238 |   0.0 |  99.6 |   4.7
  - on_activate[52] ...................................  |        27 |      3033 |       199 |   0.0 |  12.7 |   0.3
  - on_activate[49] ...................................  |        25 |      9631 |       141 |   0.0 |  11.1 |   0.1
  - get_staticdata[46] ................................  |         5 |      1673 |        51 |   0.0 |  10.6 |   0.1
  - on_rightclick[41] .................................  |       154 |      8531 |       628 |   0.0 |  28.4 |   1.6
  - on_activate[23] ...................................  |        29 |     25449 |       308 |   0.0 |  17.2 |   0.2
  - on_deactivate[16] .................................  |         1 |       110 |         3 |   0.0 |   0.6 |   0.0
  - on_step[43] .......................................  |        18 |   2381331 |     36218 |   0.0 |  99.8 |   9.5
  - get_staticdata[25] ................................  |         4 |       542 |        30 |   0.0 |   2.7 |   0.0
  - on_deactivate[12] .................................  |         1 |        40 |         2 |   0.0 |   0.4 |   0.0
  - on_activate[32] ...................................  |        42 |     64081 |       240 |   0.0 |  12.9 |   0.2
  - get_staticdata[31] ................................  |         5 |       808 |        33 |   0.0 |   5.8 |   0.0
  - on_item_eat[1] ....................................  |         1 |       705 |         8 |   0.0 |   4.2 |   0.0
  - get_staticdata[32] ................................  |         4 |      6093 |        64 |   0.0 |  20.6 |   0.1
  - /howl .............................................  |         6 |       187 |        40 |   0.0 |   3.2 |   0.2
  - on_activate[33] ...................................  |        32 |      1441 |       172 |   0.0 |   9.3 |   0.2
  - on_player_receive_fields[4] .......................  |         1 |        60 |         1 |   0.0 |   2.0 |   0.0
  - on_step[18] .......................................  |        18 |   2201427 |     19533 |   0.0 |  99.2 |   4.8
  - on_leaveplayer[3] .................................  |         1 |        33 |         2 |   0.0 |   0.2 |   0.0
  - on_deactivate[31] .................................  |         1 |       103 |         2 |   0.0 |   0.8 |   0.0
  - on_leaveplayer[4] .................................  |         1 |        17 |         1 |   0.0 |   0.1 |   0.0
  - on_step[53] .......................................  |        20 |   2603715 |     41700 |   0.0 |  99.6 |   7.5
  - on_leaveplayer[5] .................................  |         1 |        19 |         1 |   0.0 |   0.4 |   0.0
  - on_step[38] .......................................  |        15 |     53974 |       110 |   0.0 |  75.9 |   1.0
  - on_deactivate[44] .................................  |         1 |        49 |         2 |   0.0 |   0.3 |   0.0
  - on_step[14] .......................................  |        14 |   1329902 |     30000 |   0.0 |  99.7 |   6.4
  - on_deactivate[25] .................................  |         1 |        52 |         2 |   0.0 |   0.8 |   0.0
  - on_deactivate[24] .................................  |         1 |       104 |         2 |   0.0 |   0.2 |   0.0
  - on_punch[49] ......................................  |         2 |        73 |        45 |   0.0 |   0.1 |   0.0
  - get_staticdata[44] ................................  |         5 |       570 |        33 |   0.0 |   8.8 |   0.0
  - on_punch[30] ......................................  |         6 |        87 |        48 |   0.0 |   0.0 |   0.0
  - on_player_receive_fields[7] .......................  |         1 |        72 |         1 |   0.0 |   0.3 |   0.0
  - on_rightclick[27] .................................  |       234 |      2280 |       586 |   0.0 |  16.6 |   0.5
  - on_step[47] .......................................  |        20 |     40330 |       277 |   0.0 |  81.7 |   2.4
  - on_step[15] .......................................  |        15 |    841256 |     18978 |   0.0 |  99.2 |   6.9
  - on_deactivate[14] .................................  |         1 |        35 |         2 |   0.0 |   0.0 |   0.0
  - get_staticdata[36] ................................  |         6 |     24705 |       269 |   0.0 |  63.8 |   0.5
  - on_activate[34] ...................................  |        32 |      4577 |       168 |   0.0 |   5.4 |   0.1
  - on_step[39] .......................................  |        17 |    838102 |      2337 |   0.0 |  99.4 |   3.7
  - get_staticdata[34] ................................  |         7 |      1039 |        64 |   0.0 |   9.8 |   0.1
  - on_step[27] .......................................  |        14 |   2634680 |     48780 |   0.0 |  99.7 |   7.1
  - on_deactivate[43] .................................  |         1 |        24 |         2 |   0.0 |   0.1 |   0.0
  - on_activate[9] ....................................  |        28 |      4673 |       126 |   0.0 |  12.3 |   0.1
  - get_staticdata[7] .................................  |         6 |       589 |        42 |   0.0 |   7.2 |   0.1
  - on_activate[35] ...................................  |        25 |     11935 |       143 |   0.0 |  24.0 |   0.1
  - on_step[26] .......................................  |        15 |    532657 |     22030 |   0.0 |  99.2 |   4.3
  - on_step[19] .......................................  |        14 |      1893 |        96 |   0.0 |   5.4 |   0.3
  - on_punch[16] ......................................  |         5 |       164 |       105 |   0.0 |   0.0 |   0.0
  - on_activate[50] ...................................  |        26 |     55067 |       197 |   0.0 |  55.6 |   0.3
  - on_activate[25] ...................................  |        30 |       990 |       165 |   0.0 |   6.6 |   0.1
  - on_deactivate[45] .................................  |         1 |        70 |         2 |   0.0 |   1.1 |   0.0
  - on_step[25] .......................................  |        14 |   2716981 |     71136 |   0.0 |  99.8 |   8.2
  - get_staticdata[35] ................................  |         5 |      1687 |        53 |   0.0 |  12.5 |   0.1
  - on_punch[25] ......................................  |         3 |       216 |        74 |   0.0 |   0.0 |   0.0
  - on_punch[50] ......................................  |         3 |       263 |        83 |   0.0 |   3.3 |   0.3
  - on_step[34] .......................................  |        17 |   7527437 |     96301 |   0.0 |  99.9 |   8.9
  - on_rightclick[47] .................................  |       410 |       410 |       410 |   0.0 |   0.0 |   0.0
  - get_staticdata[47] ................................  |         4 |       638 |        35 |   0.0 |   2.1 |   0.0
  - get_staticdata[11] ................................  |         7 |      9065 |        51 |   0.0 |   6.7 |   0.0
  - on_deactivate[15] .................................  |         1 |        17 |         1 |   0.0 |   0.0 |   0.0
  - on_activate[40] ...................................  |        51 |      5106 |       602 |   0.0 |  27.1 |   1.0
  - on_step[30] .......................................  |        21 |     56579 |       268 |   0.0 |  95.1 |   2.9
  - on_step[21] .......................................  |        12 |     74505 |       176 |   0.0 |  88.7 |   1.5
  - on_punch[31] ......................................  |         4 |       120 |        20 |   0.0 |   0.5 |   0.1
Itś impossible to know cos that p[rofile does not shown more than raw data.

Try the very last z13 version though. It increases the performance til 30%.

LCDev
Member
Posts: 11
Joined: Fri Mar 25, 2022 13:25

Re: [Mod] Petz [z13] [petz]

by LCDev » Post

Hi runs. Thanks for your hard work on updating and improving this amazing mod, with such cute animals...

I think I have found a rather interesting bug (or is it an intentional "feature"?)... flying dolphins! A few days ago, I was amazed to see Flipper taking off into the blue skies and achieving his dreams of becoming an airplane LOL.

See the attached snapshots I took, of this happy occasion ;-)

Another dolphin-related comment / idea: Is it possible to make dolphins mountable, to ride on them in/under the water and jump with them above the surface (not at airliner cruising altitude though ;-)

Pictures (highly classified X-files):
Spoiler
Minetest flying dolphin 20220904182244_1_.jpg
Minetest flying dolphin 20220904182244_1_.jpg (341.22 KiB) Viewed 3106 times
Minetest flying dolphin 20220904182254_1_.jpg
Minetest flying dolphin 20220904182254_1_.jpg (241.69 KiB) Viewed 3106 times

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z13] [petz]

by runs » Post

LCDev wrote:
Mon Sep 05, 2022 17:14
Hi runs. Thanks for your hard work on updating and improving this amazing mod, with such cute animals...

I think I have found a rather interesting bug (or is it an intentional "feature"?)... flying dolphins! A few days ago, I was amazed to see Flipper taking off into the blue skies and achieving his dreams of becoming an airplane LOL.

See the attached snapshots I took, of this happy occasion ;-)

Another dolphin-related comment / idea: Is it possible to make dolphins mountable, to ride on them in/under the water and jump with them above the surface (not at airliner cruising altitude though ;-)

Pictures (highly classified X-files):
Spoiler
Minetest flying dolphin 20220904182244_1_.jpg
Minetest flying dolphin 20220904182254_1_.jpg
Rare, rare, I will investigate.

Yes goog idea, mount dolphins.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z13] [petz]

by runs » Post

z14

- Fixed a regression in the active list of mobs in the last update.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z14] [petz]

by runs » Post

z15 (3 PR thanks to mazes-80)

- Kitz luacheck cleaning and fixing.
- Fix: Deprecated: get_player_velocity
- Fix: Grain Packet: do not use shapeless recipe

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z15] [petz]

by runs » Post

z16

- Fix: petz do not die from world.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z16] [petz]

by runs » Post

z17

- Fix: Improved the Poop Engine. No more shits in the air :-D

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z17] [petz]

by runs » Post

COOMING SOON !
flamingo.png
flamingo.png (685.08 KiB) Viewed 2543 times

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Petz [z17] [petz]

by runs » Post

Well, the Flamingo is already finished. It will be in the next release z18. Meanwhile I will ckeck its behaviour. Cos the Flamingo can stand on ground and also fly freely.

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests