[Server] Survival X
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
good suggestions all, if someone want to code it i will review and consider merging
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Server] Survival X
http://hometownserver.com/viewtopic.php?f=7&t=879#p5875
Would this help? Or do bows use a different type of entity?
Would this help? Or do bows use a different type of entity?
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
nice discussion about bows...but not related ?Lone_Wolf wrote:http://hometownserver.com/viewtopic.php?f=7&t=879#p5875
Would this help? Or do bows use a different type of entity?
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
FYI: you can punch the basic machines spell (ball) and it will fly away since it has collision detection.
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Server] Survival X
Could you apply some of Beerholder's addons to the basic_machines mod?SaKeL wrote:nice discussion about bows...but not related ?Lone_Wolf wrote:http://hometownserver.com/viewtopic.php?f=7&t=879#p5875
Would this help? Or do bows use a different type of entity?
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
there is no mention at all about detecting entities killing a player detectionLone_Wolf wrote:Could you apply some of Beerholder's addons to the basic_machines mod?SaKeL wrote:nice discussion about bows...but not related ?Lone_Wolf wrote:http://hometownserver.com/viewtopic.php?f=7&t=879#p5875
Would this help? Or do bows use a different type of entity?
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
UPDATE
Good news everyone, all the refactoring and mobs tuning really payed off ! The measurements showed a lot less lag and now more players can play with much less lag!
i.e.
before:
now:
have fun!
Good news everyone, all the refactoring and mobs tuning really payed off ! The measurements showed a lot less lag and now more players can play with much less lag!
i.e.
before:
Code: Select all
spawners_mobs: | 14 | 720879 | 1866 | 0.1 | 99.1 | 20.9
Code: Select all
spawners_mobs: | 0 | 82124 | 350 | 0.0 | 97.9 | 7.1
- GreenXenith
- Member
- Posts: 1356
- Joined: Wed Oct 28, 2015 01:26
- GitHub: GreenXenith
- Location: UTC-8:00
- Contact:
Re: [Server] Survival X
He was referring to this:SaKeL wrote:there is no mention at all about detecting entities killing a player detectionLone_Wolf wrote:Could you apply some of Beerholder's addons to the basic_machines mod?SaKeL wrote: nice discussion about bows...but not related ?
Beerholder wrote:Actually, that is super easy and very very trivial 8-) It just needs to be done... In the case of the throwing mod's spawn of the arrow entity, assign the player or player name to a global table and use the entity object as hash:Ferrum Princeps wrote: the real problem is not adding ranged weapons but preventing them from being abused at spawn as it would be hard to detect the killer to jail players
And we have now assigned the player who shot the arrow to the arrow object. Which can be retrieved later in the entity's on_step when it hits one or more players, e.g.:Code: Select all
throwing.playerArrows = {} <snip> local obj = minetest.env:add_entity({x=playerpos.x,y=playerpos.y+1.5,z=playerpos.z}, arrow[2]) throwing.playerArrows[obj] = player:get_player_name() <snip>
If the target player is in town limits and the target player health is <= 0, send arrow_owner to jail.Code: Select all
THROWING_ARROW_ENTITY.on_step = function(self, dtime) <snip> local arrow_owner = throwing.playerArrows[self.object] <snip>
This trick of using the entity's object as hash in a global table will work for anything that uses entities and for which you would like to keep track of the owner or other related objects btw (e.g. the type of bow used to fire the arrow with, how long the fire button was pressed before releasing the arrow in order to give it more damage, etc. etc.). In my case, the arrow's owner is determined in order to raise the XP of the player when the player kills a mob with an arrow.
YouTube | Mods | Patreon | Minetest Discord @greenxenith
You should not be able to read this message.
You should not be able to read this message.
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
thanks thats helpful, i have the same idea but dont know if throwing or basic_machines spell is assigning player owner to their entities, it would have to be implemented and tester properly. thanks again have it on my list already for long time
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Server] Survival X
mikeTheDiamont killed me at spawn now...
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
UPDATE
* added city block jail support for basic machines spells
not extensively tested, so let me know how it works out
have fun!
* added city block jail support for basic machines spells
not extensively tested, so let me know how it works out
have fun!
- kaadmy
- Member
- Posts: 706
- Joined: Thu Aug 27, 2015 23:07
- GitHub: kaadmy
- IRC: KaadmY
- In-game: KaadmY kaadmy NeD
Re: [Server] Survival X
You don't even need the table, entities each have their own metadata so you can store their owner in each entity. I think it's accessible viaBeerholder wrote:Actually, that is super easy and very very trivial 8-) It just needs to be done... In the case of the throwing mod's spawn of the arrow entity, assign the player or player name to a global table and use the entity object as hash:Ferrum Princeps wrote: the real problem is not adding ranged weapons but preventing them from being abused at spawn as it would be hard to detect the killer to jail players
Code: Select all
local ent = <however>
ent.get_properties() -- Metadata table
I'm also reading the 0.4.16 documentation, so the latest version may differ.
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
seems like it is crashing the server atm so i will disable it again.. if someone wants to code this i will consider it, im pretty busy with other stuff atm
Last edited by SaKeL on Wed Jan 10, 2018 14:38, edited 1 time in total.
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
kaadmy
metadata are send to the server and are persistent after restart, global table is only at clients memory (if im not mistaking) - what should be enough for this concept - but it all also depends on different mods and the implementation of them (throwing, shooting swords, spells...)
metadata are send to the server and are persistent after restart, global table is only at clients memory (if im not mistaking) - what should be enough for this concept - but it all also depends on different mods and the implementation of them (throwing, shooting swords, spells...)
- RWЯ
- Member
- Posts: 111
- Joined: Thu Jun 29, 2017 11:21
- GitHub: DreamCrusher
- IRC: DabbetulArz
- In-game: Hood
Re: [Server] Survival X
I made short video about new tnt. No problem
https://youtu.be/BMR-nWvQTT8
https://youtu.be/BMR-nWvQTT8
If I feel it then I do it (I don’t need a reason why)
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
Nice video! this seems like before the fix though... :PRWЯ wrote:I made short video about new tnt. No problem
https://youtu.be/BMR-nWvQTT8
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
UPDATE
- many tweaks to mobs_monsters in order to reduce lag which means less mobs and less intelligent mobs - performance improvements
- changed server restart, backup and update from 2 times to 1 time in 24 hours - fixed bugs in backup scripts
- basic_machines ball spell will send you to jail when you kill in the city
- many tweaks to mobs_monsters in order to reduce lag which means less mobs and less intelligent mobs - performance improvements
- changed server restart, backup and update from 2 times to 1 time in 24 hours - fixed bugs in backup scripts
- basic_machines ball spell will send you to jail when you kill in the city
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
UPDATE
* obsidian mese chest performance improvements
* obsidian mese engraved sword bugfixes, performance improvements
* you can now enchant the obsidian mese engraved sword
* obsidian mese engraved sword is compatible with city block - killing someone with the shooting bullet will send you to jail
FYI: obsidian mese engraved sword echant are only for melee and not for the bullet
have fun!
* obsidian mese chest performance improvements
* obsidian mese engraved sword bugfixes, performance improvements
* you can now enchant the obsidian mese engraved sword
* obsidian mese engraved sword is compatible with city block - killing someone with the shooting bullet will send you to jail
FYI: obsidian mese engraved sword echant are only for melee and not for the bullet
have fun!
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
UPDATE
This was already a long time overdue but finally got to it on my list. The big players cleanup took place:
* around ~206335 players were removed (still 11310 players are kept behind)
* auth file got from 89MB to 4MB
All players from 1-Jan-2018 are kept!
This is a huge performance improvement and will reduce LAG a lot!
Also this is a 1st step for cleanup of this kind. In the near future this gets more progressive and automated, so server does't have to look through more than 200.000 files and 90 MB of another file each few minutes and give everyone a lag.
Have fun!
This was already a long time overdue but finally got to it on my list. The big players cleanup took place:
* around ~206335 players were removed (still 11310 players are kept behind)
* auth file got from 89MB to 4MB
All players from 1-Jan-2018 are kept!
This is a huge performance improvement and will reduce LAG a lot!
Also this is a 1st step for cleanup of this kind. In the near future this gets more progressive and automated, so server does't have to look through more than 200.000 files and 90 MB of another file each few minutes and give everyone a lag.
Have fun!
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
ANNOUNCEMENT
The next step of cleanup will remove all the deleted players chests, doors, vending machines, basic machines, enchantment tables, city blocks and protection logos/blocks from the world! This will free-up some more space what is currently occupied and blocked by players what are not playing anymore.
If the players what were removed will not login until the end of the month (January 2018) all their above mentioned blocks will be removed.
The next step of cleanup will remove all the deleted players chests, doors, vending machines, basic machines, enchantment tables, city blocks and protection logos/blocks from the world! This will free-up some more space what is currently occupied and blocked by players what are not playing anymore.
If the players what were removed will not login until the end of the month (January 2018) all their above mentioned blocks will be removed.
Last edited by SaKeL on Sun Jan 14, 2018 22:38, edited 2 times in total.
Re: [Server] Survival X
>The next step of cleanup will remove all the deleted players chests, doors, vending machines, basic machines, enchantment tables and protections logos from the world!
good news.
__________
How about to add in rules not build over another areas?
An example here ufa's papyrus dont grow more, cuz some one like to build over another areas
good news.
__________
How about to add in rules not build over another areas?
An example here ufa's papyrus dont grow more, cuz some one like to build over another areas
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
i would like to have that rule, but who is going to police that ? I would suggest protecting your area above when you don't want others to build there or make alliances.
Re: [Server] Survival X
All simple, just we can ask (old players) new players who build over another area avoiding the removal of their buildings by mod cuz its:SaKeL wrote:i would like to have that rule, but who is going to police that ? I would suggest protecting your area above when you don't want others to build there or make alliances.
1. looks ugly and unreal (home in air)
2. can interfere with light and plants will not grow
3. some spawners will not works too
Re: [Server] Survival X
Good Morning Today is in my friend's house
when suddenly it arrives Seraphina and puts protectors on top of the casde mine friend
he killed us several times
I could do something =) ?
when suddenly it arrives Seraphina and puts protectors on top of the casde mine friend
he killed us several times
I could do something =) ?
- SaKeL
- Member
- Posts: 743
- Joined: Tue Apr 14, 2015 18:39
- GitHub: JurajVajda
- IRC: SaKeL
- In-game: SaKeL
Re: [Server] Survival X
What did Seraphina said after you confronted him/her ?tobi wrote:Good Morning Today is in my friend's house
when suddenly it arrives Seraphina and puts protectors on top of the casde mine friend
he killed us several times
I could do something =) ?
Who is online
Users browsing this forum: No registered users and 17 guests