AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   CSO Costumes v4.0 (https://forums.alliedmods.net/showthread.php?t=313496)

metal_upa 01-24-2019 06:58

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.

Smilex_Gamer 01-25-2019 07:19

Re: CSO Costumes
 
Its not forcing nobody to use it. You can deactivate your activated costumes and player models.

rtpg6 01-27-2019 05:43

Re: CSO Costumes
 
Cant wait for saving system! This idea is great man!

rtpg6 02-27-2019 04:49

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)

Smilex_Gamer 03-01-2019 15:48

Re: CSO Costumes
 
Quote:

Originally Posted by rtpg6 (Post 2641160)
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)

Send me your .sma so I can help you.

Smilex_Gamer 03-04-2019 18:45

Re: CSO Costumes
 
1 Attachment(s)
Quote:

Originally Posted by rtpg6 (Post 2641938)
:)

First of all, don't post your private information inside the sma, you might get hacked so I recommend you to delete your post ASAP.
Second, I fixed your problem and already tested it. You forgot to precache the models and another little thing.

rtpg6 03-09-2019 04:43

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++

Kempa 03-25-2019 17:29

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 ?

Smilex_Gamer 03-26-2019 12:51

Re: CSO Costumes
 
Quote:

Originally Posted by Kempa (Post 2644908)
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 ?

The error already tells what's wrong, the column is invalid. Maybe you changed something in the code on the function "register_client". If that's so, Im not going to support modifications of the code.

Kempa 03-26-2019 13:32

Re: CSO Costumes
 
Quote:

Originally Posted by Smilex_Gamer (Post 2644998)
The error already tells what's wrong, the column is invalid. Maybe you changed something in the code on the function "register_client". If that's so, Im not going to support modifications of the code.



I did not make any changes

download - compile - upload = error


All times are GMT -4. The time now is 05:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.