CSO Costumes v4.0
3 Attachment(s)
Description: This plugin allows you to buy and use costumes from Counter-Strike: Online/Counter-Strike Nexon: Studio (or CS:O/CSN:S) using the plugin's currency "Cash".
Features:
Configuration (costumes.ini):
Configuration
Commands:
Commands
Requirements:
Installation:
TODO List:
Change Logs: Code:
1.0: First version.
Credits
Translations: https://forums.alliedmods.net/showthread.php?p=2646616 Resources: |
Re: CSO Costumes
I think it would be greater if you would do a config for all this, where you can specify the category (head, pelvis...), name, price, submodel. Also, it would be great to add a CVar that disables categories, i.e., you add costumes/hats/etc... without categories to the menu.
|
Re: CSO Costumes
Quote:
|
Re: CSO Costumes
I mean remove all the hardcode from plugin so people will be able to add costumes from config file (for example /amxmodx/configs/costumes.ini". Something like this:
PHP Code:
PHP Code:
PHP Code:
|
Re: CSO Costumes
That's already in the TODO list but thanks. I gotta test that.
|
Re: CSO Costumes
That's a bit OP. 80MB+ it's way too much, nor the idea is great.
|
Re: CSO Costumes
Quote:
Still it's something for fun stuff, it isn't a masterpiece |
Re: CSO Costumes
Costumes serve with the only purpose as player decoration, which means they do not affect in any way the hit-boxes of the player. For each different costume sets, certain parts are required.For more Details.
|
Re: CSO Costumes
Quote:
|
Re: CSO Costumes
some screenshots would be cool
|
Re: CSO Costumes
The costumes are nice, but i don't think it a good idea to force server hoster to use cso player models. Let them decide to use what player model they want.
|
Re: CSO Costumes
Its not forcing nobody to use it. You can deactivate your activated costumes and player models.
|
Re: CSO Costumes
Cant wait for saving system! This idea is great man!
|
Re: CSO Costumes
When i want to select costume its shutting down server. That`s too when im bought costume and round will change. its something with sql.
L 02/27/2019 - 10:49:11: [AMXX] Run time error 3: stack error L 02/27/2019 - 10:49:11: [AMXX] [0] costumes.sma::Save_MySql (line 349) L 02/27/2019 - 10:49:11: [AMXX] [1] costumes.sma::client_disconnect (line 385) (its can be other lines for u because i remove the skins for ct and tr) |
Re: CSO Costumes
Quote:
|
Re: CSO Costumes
1 Attachment(s)
Quote:
Second, I fixed your problem and already tested it. You forgot to precache the models and another little thing. |
Re: CSO Costumes
@Smilex_Gamer Can u add command to give H@ allow to give player money for buy costumes?
aand L 03/09/2019 - 15:08:54: [AMXX] Displaying debug trace (plugin "costumes.amxx", version "1.1") L 03/09/2019 - 15:08:54: [AMXX] Run time error 10: native error (native "SQL_ReadResult") L 03/09/2019 - 15:08:54: [AMXX] [0] costumes.sma::register_client (line 320) its problem with g_vars[id][g_cash] = SQL_ReadResult(Query, query); query++ |
Re: CSO Costumes
L 03/25/2019 - 23:17:40: [MySQL] Invalid column: 101
L 03/25/2019 - 23:17:40: [AMXX] Displaying debug trace (plugin "costumes.amxx", version "1.1") L 03/25/2019 - 23:17:40: [AMXX] Run time error 10: native error (native "SQL_ReadResult") L 03/25/2019 - 23:17:40: [AMXX] [0] costumes.sma::register_client (line 370) fix for that ? |
Re: CSO Costumes
Quote:
|
Re: CSO Costumes
Quote:
I did not make any changes download - compile - upload = error |
Re: CSO Costumes
Quote:
|
Re: CSO Costumes
the main post, I tried to compile with the other versions of amxmodx the same problem. does not save cash / skins, etc
|
Re: CSO Costumes
Quote:
EDIT: I am now testing the plugin again (sma from the main post) in mysql mode and it doesn't seem to have any problem really. |
Re: CSO Costumes
Update 1.5 (20/04/2019):
Added Zombie Plague Mod Support and fixed error "Invalid column" in MySQL saving system. |
Re: CSO Costumes
Update 1.6 (26/04/2019):
Added new Player Models and Costumes from CSO. |
Re: CSO Costumes
How can i save on nick by nVault ? I see there is no cvar settings about
|
Re: CSO Costumes
Quote:
|
Re: CSO Costumes
Update 1.7 (10/07/2019):
Added more new Player Models and Costumes from CSO. I still have that problem with 3 Back Costumes like in version 1.3 and now it appeared in another back costume called "Wings of Medea". As I said before, if someone knows how to solve it, please PM me so I can upload it here. |
Re: CSO Costumes
Update 1.8 (12/07/2019):
Added more new Player Models and Costumes from CSO and fixed some bugs. |
Re: CSO Costumes
Update 1.9 (07/08/2019):
Corrected some CSO Costumes translations. |
Re: CSO Costumes
Update 2.0 (01/09/2019):
Removed all hardcoded costumes. Added a new way to add costumes (using an INI file). |
Re: CSO Costumes
Update 2.1 (01/09/2019):
Small bug fix regarding model change in Player Spawn. |
Re: CSO Costumes
Update 2.2 (03/09/2019):
Added a new console command to give Cash (only users with flag ADMIN_RCON can use it). |
Re: CSO Costumes
Update 2.3 (05/09/2019):
Added new Costumes from CSO (when it gets released in CSN:Z, I will verify the translations). |
Re: CSO Costumes
Update 2.4 (07/09/2019):
From now on, if any type of costume has no costumes in costumes.ini, it will show a message in the chat saying that there are no costumes of that type of costume available in the moment (whenever you try to open your inventory or the shop of that type of costume, it will show that message). |
Re: CSO Costumes v2.4
Dear @Smilex_Gamer.
Your awesome plugin not working for me. If the ZP Support undefined it works, but if I define the ZP Support it doesn't react to commands, etc... Using zp 4.3. Any fix? |
Re: CSO Costumes v2.4
Quote:
P.S: I'm going to use AmxModX 1.8.2 and Zombie Plague 4.3 Fix 5a |
Re: CSO Costumes v2.4
Quote:
The reason why you don't have it originally with your Zombie Plague 4.3 is because only since Zombie Plague 5.0 until earlier versions (including the last version: Zombie Plague 5.0.8a) it didn't use that include and plugin, but now it uses. And one important thing that I didn't mention before: When I made the Zombie Plague Support (in version 1.5), I made it based on Zombie Plague 5.0.8a and I didn't test it in other versions like Zombie Plague 4.3 (my fault, sorry). So, long story short, I added a new define called "ZP43_SUPPORT" in the line 13 to support Zombie Plague versions from ZP 4.3 to the very first version (at least I think it does, but now nobody uses versions before ZP 4.3 though). If your server uses those versions before 5.0, then uncomment it. If your ZP version is 5.0 or newer, then leave as it is and it will work fine. Also, I'm going to leave here a link to "cs_player_models_api" include and plugin: https://forums.alliedmods.net/showthread.php?t=161255 P.S: I hope now everything is fine :D |
Re: CSO Costumes v2.5
Update 2.5 (13/09/2019):
Added a new define called "ZP43_SUPPORT" in the line 13 to support Zombie Plague versions since ZP 4.3 until the very first version (at least I think it does, but I didn't even test it and now nobody uses versions before ZP 4.3 though). If your ZP version is 4.3 or older, then uncomment it and download (and install) cs_player_models_api here (you will need the include to compile my plugin and its plugin "cs_player_models_api.amxx" installed in your server). If your ZP version is 5.0 or newer, then leave as it is and it will work fine (you still need to have "#define "ZP_SUPPORT" uncommented to support any Zombie Plague Mod version). |
Re: CSO Costumes v2.5
Thank you so much. It works! Btw, I'm using ZP 4.3 only because there are so many great old plugins for 4.3 version, and 5.0 doesn't compatible with them, even with the compatible plugin.
But there is a big problem, for me. If I active a model, the server starts to create big lags. I don't even know why. Malformed packet size (2782, 1230) => Console msg. |
| All times are GMT -4. The time now is 07:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.