Re: [L4D] Force mapchanger
Dionys, скажи на русском, что этот плагин делает :-)
|
Re: [L4D] Force mapchanger
Quote:
Simple do not establish this plug-in... Quote:
My opinion remains at me - the direct command to a server will be processed faster with smaller expenses of server resources. The cycle on a server l4d will not be more than 8. On other server this plug-in will not be started. It is better to make 8 cycles of one times for a round, than each time at an input/exit of the player to count function maxplayers - is a usual logic, and that that in my plug-in is more on pair byte of the text it it is not important at code execution. "bad coding" - has amused me, thx :) |
Re: [L4D] Force mapchanger
Quote:
вопщем на моем сервере после установки сурсмода появилась проблема в режиме версус - когда миссия заканчивается - сервер выкидывает всех игроков, но не сбрасывает сервер на первую карту миссии. причем это проблема именно сурсмода - это видно в консоле сервера... без него все норм. вместо этого он респит бота выжившего и зомби, оставшийся танк и зареспившийся бот бессмертны - и могут долбить друг друга часами - есть видео - ужс :) (но это происходит не всегда, именно в определенных условиях, в каких не разбирался - нет времени. я просто понял что ботов в момент окончания миссии быть не должно - и плагин подстраховывает эту ситуацию) при смене вручную в этот момент карты сервер падает с ошибкой с++. т.е. мой плагин принудительно в конце миссии после подсчета очков кикает всех ботов и вместе с игроками переходит к первой карте указанной миссии.. |
Re: [L4D] Force mapchanger
Quote:
Also it's weird you say "My opinion remains at me - the direct command to a server will be processed faster with smaller expenses of server resources." and waste GetMaxClients() and StrEqual. You can call GetMaxClients a small function but you can't say the same of StrEqual. |
Re: [L4D] Force mapchanger
Thx for the remark. I ask you to read the first post again.
Concerning the help - I have told that is necessary for me - but code-pro which write here do not hurry up to help :) |
Re: [L4D] Force mapchanger
Quote:
|
Re: [L4D] Force mapchanger
thanks, plugin works perfectly )
now i can use L4D Enforcer too, no c++ error at mapchange ******** спасибо, Dionys, пиши еще ;) |
Re: [L4D] Force mapchanger
Quote:
но хочу добавить что для повышения стабильности сервера я использую свой плагин принуждения director_no_human_zombies. пытаюсь довести сейчас свою идею до автора плагина L4D Director Enforcer, чтобы он использовал ее в своем плагине... |
Re: [L4D] Force mapchanger
Quote:
However there are some simple optimization points that have been pointed out, you do only need to get the map name OnMapStart. KickClient is actually better than using the ServerCommand option as (it's rare) sometimes the servercommand method just doesn't work (also, the KickClient command utilizes indexes as opposed to strings, which is (at times) better and more optimized. And there are some unnecessary redundancies in your code. However, we do appreciate your work and urge you to constantly improve upon yourself, when I first started sourcemod coding you should have seen the ugly crap I wrote... seriously, it was bad. |
Re: [L4D] Force mapchanger
Thanks
I know that the plug-in code is far from an ideal But when I spoke that at me the big lack of time - I did not joke I have published that that have made for the my server (choice was not, and the server behaved disgustingly). Has made it wishing to help another. Certainly - if there will be a possibility - I will be engaged in code optimisation. A little me of the published plug-ins - first my tests in sourcemod. I created them relying on the knowledge php and only. |
All times are GMT -4. The time now is 19:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.