Pruning Ideas
Moderator: Forum Moderator
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
Pruning Ideas
I was wondering if you could make it so when a person joins the server and plays one race that it updates for 31 or another value days for all the other races from getting pruned. If that is not a good idea maybe make it so that it can be different days for different levels like level 1-5 is 30 days and level 6-9 is 60 days and level 10 is 90 days before it gets pruned. Because some people on my server had all level 10s and 3 of there level 10s reset from not playing them in 31 days and they are complaining and others have been too. I made it 90 now but then there is those people that join the server for 2 mins and leave and have like 21 xp and that would stay in the datebase and take up space.
Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!
- ferret
- Lead Warcraft 3 XP Developer
- Posts: 422
- Joined: Wed Jul 06, 2005 8:20 am
- Location: Atlanta, GA
- Contact:
AHahha. Do you have vault pruning yet? I implemented it two years ago in WC3XPGeesu wrote:yea I understand this problem, with vault pruning this would be VERY intensive on client join, is possible though, I will consider it

-< www.gamehavoc.com >-
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
- ferret
- Lead Warcraft 3 XP Developer
- Posts: 422
- Joined: Wed Jul 06, 2005 8:20 am
- Location: Atlanta, GA
- Contact:
I should look at how you do it, I bet you copied me!!1111111111111111!!!eleven!!1
I keep 1+(1-8) keys per players. The first contains their name and last logon. The other 1-8 are for the races and only contain the xp and skill info. Cut down on the size of my vaults quite a bit to not save name/stamps for every race.
If the timestamp is too old, all the races are deleted.
I keep 1+(1-8) keys per players. The first contains their name and last logon. The other 1-8 are for the races and only contain the xp and skill info. Cut down on the size of my vaults quite a bit to not save name/stamps for every race.
If the timestamp is too old, all the races are deleted.
-< www.gamehavoc.com >-
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
Ferret's way sounds good. Steal his code FTW! 

Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
So is this suggestion going to be added to the next or another version after 2.3.0?
Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!
Try this out, compiled for cstrike... changelog:
v2.3.1
- Bug Fix: Link wasn't linked correctly in war3help
- Bug Fix: If a player is STEAM_ID_PENDING they will be reconnected
- Change: Not all old data will be erased, the most current timestamp will be checked and all other records will be updated to that timestamp
- Attachments
-
- warcraft3FT.amxx
- (231.63 KiB) Downloaded 688 times
No Support via PM
- ferret
- Lead Warcraft 3 XP Developer
- Posts: 422
- Joined: Wed Jul 06, 2005 8:20 am
- Location: Atlanta, GA
- Contact:
My way is awesome, you lazy bum.
-< www.gamehavoc.com >-
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
I will test it on a different test server but not on mine real one without the .sma and .inl files because I got to change it so orc nades do not work on fy_ maps and other small abusive maps, and make it so that it admins with level H can only give xp.
Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
Thanks for the Warcraft 3 FT 2.3.1b with the files. It is running on my server right now. And I checked the mySQL config to see if it updated the timestamps and it did. So I think it is working fine. Thanks 

Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!