Re: [CS] Player Models API 1.0
Quote:
In december 2010 I started a Furien mod server, and using Connors "Players Models" plugin I discovered the hell of SVC_BAD errors. Using only one custom model for CT and TT, always got kicks when server had 26 players... I dont remember exactly if 24 or 26, but the error was systematic when servers fills up, believe me. Other communitys who haves Furien servers and use Player Models chose to decrease slots, or set custom models only on Furiens (Terrorist team), and not on CT, for avoid the players got kicked. I'd solved the problem with the Mercylezz tutorial: http://forums.alliedmods.net/showthread.php?t=69386 making my own "player models" plugin. The only bad on round start, its sometimes 'Gordon Freeman' appears for an instant, shaking with terrible spasms... hahaha. But only few seconds before model changes again... Probably I made a mistake following the tutorial, but server works perfectly when filled with players, so I let it go. P.S: Sorry for my bad english. [ES] P.S: Mercylezz un placer verte de nuevo en acción capo ;) |
Re: [CS] Player Models API 1.2
Are you sure the problem was not related to the team changes ? The way of Players Models is the same as CS uses, so I doubt the problem is about the model, but more the team change where it's knows to generate such errors on massive change.
|
Re: [CS] Player Models API 1.2
Quote:
Maybe I havent understood the question of your argument. If so, I apologize. |
Re: [CS] Player Models API 1.2
No, what I meant is : model change and team change are two different matters, and both, if using the conventional way (the cs_ natives) to do a massive change, will result in such error. That's why PlayerModel plugin or CS Team Changer module, exist. For me, that's not a model problem if you were using the conventional way to change team massively.
|
Re: [CS] Player Models API 1.2
Quote:
Connor's 'Players Models' plugin uses fakemeta instead cs_ native, so you say the problem of SVC_BAD errors is due to other things (e.g. massive team change), and a delay between every model change on massive change isn't needed for prevent that problem. I'm a bit skeptical of that claim, but I'll research about that (if I have any other oportunity in the future, because need enough people ingame for test). Just now I remembered that Connor's Furien Mod didn't incoporate a change-team when Furiens lose... so, the Furiens aren't always stay on Terrorist team. I had to do a plugin for change-team. Just now I open it to see if I used cs_ natives... and... yes. (This code go into a function called when CT or TT wins, by a 'SendAudio' event) Code:
Anyway, to stop that SVC_BAD errors, my temporal solution was use custom models only for Furiens (terrorist team) on 'Player Models' plugin, and since I made my own 'Player Model' plugin with Mercylezz guide, I never saw more systematic SVC_BAD kicks when the server fills up. I had problems with other plugins using cs_ natives, and I used fm_ to solve it (or hamsanwich), but I never think a simply team-change can be the cause of that errors (so I not let the plugin in debug mode after I have seen it works well). Anyway, thanks for the info Arkshine, I'll use that module on future servers, optimizing and prevent is always good thing. But the fact is that with Mercylezz method, you can prevent SVC_BAD kicks when you have a server with much players, and ALL changes his team at the same time (with conventional method or not), and therefore all players changes to another custom model. And there is the ONLY solution I was found, because 'CS Team Changer module' didn't exists until August 2011... precisely the date when my community was dissolved and all servers closed... too late solution for me. By the way, I didn't say that problem was due to Connor's 'Model Player' plugin. I know it's perfectly working (otherwise the plugin would not be approved). I never thought the problem was the plugin itself... I'm sorry if I implied that in my words. I simply thought would be something like HL or CS core doesn't support certain "massive" changes like this (change all teams+models on <X amount> players at same time). I deduced that because the 'Model Players' change the models when the game announces who's the winner team (not due to SendAudio event, but my custom plugin change teams one by one in that moment, so models change too). I think it's good idea to separate both functions, and ABOVE ALL, put a delay between each change (I had supposed that's the point what finally fixes the problem). Do the change-model on round start is rather a aesthetics matter (at least on Zombie Plague I think it's much better at begin of the round, and in Furien mod you can still killing when the time is over or when the C4 explodes/deactivates in de_maps... can be confusing and much players attacks his teammates)... and you know... It's impossible to do the team change on event roundstart without killing them (well, it's possible but much difficult if you want to asign the team respawn zones, or team abilities, etc.)... so in both mods I preffer the Mercylezz method, but If it's possible without delay, much better!!! :D P.S: Sorry for my mega-post, and for my poor english. I hope I explained well. It's only my opinion based on my experience. ;) |
Re: [CS] Player Models API 1.2
Yup it's still need to add delay for model changes see http://forums.alliedmods.net/showpos...postcount=3902
|
Re: [CS] Player Models API 1.2
http://i.imgur.com/evQbd.png
Reliable chan..............? YYAAAARRRRGGHHH!!!! Leave this server, the power of JC compels you !!! |
Re: [CS] Problem
1 Attachment(s)
I used this API to add models into the plugin, compiles fine, after loading it on server the status of the plugin is Bad load. Help please?
|
Re: [CS] Player Models API 1.2
And what is the reason it is giving for the bad load?
|
Re: [CS] Player Models API 1.2
That API has bug with change models: player can set the model corresponding to the selected class (if the class is not selected, the class will be urban).
I use this code to test bug: PHP Code:
If player sets the key "model" in setinfo for the selected class, the game doesn't call SetClientKeyValue. CBasePlayer::SetPlayerModel code (it called from ClientUserInfoChanged): PHP Code:
|
All times are GMT -4. The time now is 07:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.