Raised This Month: $106 Target: $400
 26% 

MapFinder by SchlumPF


Post New Thread Reply   
 
Thread Tools Display Modes
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 07-06-2009 , 20:32   Re: MapFinder by SchlumPF
Reply With Quote #41

I'm just using "maps <prefix>" command in console.

Nice plugin, but has two things what I do not like:
1. You scan all maps in the same time - server can lag for one second during that scan if you have many maps.
2. New menu system has standard menu register bug (I reported it, but who cares... when you press 6 in the menu you can buy awp or message "taking fire - need asistance!" [it's random and depends on how many plugins with new menu system are installed, so uploading the plugin wont help]. But does anyone listen...).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 07-06-2009 at 20:39.
MPNumB is offline
Send a message via Skype™ to MPNumB
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 07-06-2009 , 21:16   Re: MapFinder by SchlumPF
Reply With Quote #42

Quote:
Originally Posted by MPNumB View Post
I'm just using "maps <prefix>" command in console.

Nice plugin, but has two things what I do not like:
1. You scan all maps in the same time - server can lag for one second during that scan if you have many maps.
2. New menu system has standard menu register bug (I reported it, but who cares... when you press 6 in the menu you can buy awp or message "taking fire - need asistance!" [it's random and depends on how many plugins with new menu system are installed, so uploading the plugin wont help]. But does anyone listen...).
big i lulz at :/

@1 - nope it wont lag the server. "maps <prefix>" does because maps prefix is searching through your maps folder live, while the server is running. this plugin is caching all maps while the map is loading which needs less than 1 sec. when the menu is created no lags can occure... i even tested it with 2.5k maps and had no lag.

@2 - never heared of that, nobody reported it yet except for you so i guess its some special numb-bug there are tons of plugins which use the new menu system and nobody reported a bug so far.

please prove both cases, especially case1...
__________________

Last edited by SchlumPF*; 07-06-2009 at 21:18.
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 07-07-2009 , 06:55   Re: MapFinder by SchlumPF
Reply With Quote #43

ok...

1. You can read maps folder intstantly. It wont lag at all. But when you put information in rams. It takes power. How many maps you have? I have 1128 on my lan. When I write so many map names in cellarray it lags me for 3 seconds (as if cs crashed). Try it when you are in game and make some "say /test" command - you will see that cs as if crashes for one 3 seconds.

2. Cs registers some menus itself. Buy menus, radio menus, team change menus. Oldsystem menus starts menu registering after those ones. So oldmenu system doesn't write menu indexes on indexes what already exist. When newmenu system starts menuid countdown from 0, so they have bugs with standard/oldsystem menus.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 07-07-2009 , 08:27   Re: MapFinder by SchlumPF
Reply With Quote #44

Quote:
Originally Posted by MPNumB View Post
ok...

1. You can read maps folder intstantly. It wont lag at all. But when you put information in rams. It takes power. How many maps you have? I have 1128 on my lan. When I write so many map names in cellarray it lags me for 3 seconds (as if cs crashed). Try it when you are in game and make some "say /test" command - you will see that cs as if crashes for one 3 seconds.

2. Cs registers some menus itself. Buy menus, radio menus, team change menus. Oldsystem menus starts menu registering after those ones. So oldmenu system doesn't write menu indexes on indexes what already exist. When newmenu system starts menuid countdown from 0, so they have bugs with standard/oldsystem menus.
1. im caching the maps in plugin_cfg() and just do a loop through the whole array on /mapfind. that reading is fast enough to do not lag the server. i personally have more than 2k maps and had not a single lag.
2. thats at least your theory
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
xPaw
AMX Mod X Moderator
Join Date: Jul 2008
Old 07-07-2009 , 08:32   Re: MapFinder by SchlumPF
Reply With Quote #45

schlumpf thats not theory, and thats happens not only with new menus.. happens even with old menus system... kinda annyoning when you pressing and radio commands are playing
__________________
xPaw is offline
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 07-07-2009 , 09:44   Re: MapFinder by SchlumPF
Reply With Quote #46

Quote:
Originally Posted by xPaw View Post
schlumpf thats not theory, and thats happens not only with new menus.. happens even with old menus system... kinda annyoning when you pressing and radio commands are playing
if it happens with both menus, its not a newmenu-bug... i jsut never heared of it.
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 07-07-2009 , 10:09   Re: MapFinder by SchlumPF
Reply With Quote #47

1. In plugin_cfg it can lag like a hell... You should make a set_task in it...

2. Only new menu system. And that's not a theory. Why you think I never use new menu system?
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2009 , 10:29   Re: MapFinder by SchlumPF
Reply With Quote #48

[off] I remember Orangutanz saying that newmenus is like shit as the worst code that Amxx team have implemented containing severals flaws. [/off]
__________________
Arkshine is offline
AcidoX
Senior Member
Join Date: Oct 2007
Location: Vilnius
Old 07-26-2009 , 17:36   Re: MapFinder by SchlumPF
Reply With Quote #49

You have a bug in your plugin. Dont know what it is, but with your plugin enabled my server crashes. Please look http://forums.alliedmods.net/showthread.php?t=98535
__________________
Who need lockerz invite? Pm me.
AcidoX is offline
Send a message via Skype™ to AcidoX
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 07-26-2009 , 20:13   Re: MapFinder by SchlumPF
Reply With Quote #50

Yeah, it happends with me too

try compiling it locally, it worked with me
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:17.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode