Giter Site home page Giter Site logo

natanel-shitrit / miscchanger Goto Github PK

View Code? Open in Web Editor NEW
22.0 7.0 9.0 313 KB

Allowing Players to change their CS:GO miscellaneous items (Music-Kit / Coin / Pin).

Home Page: https://forums.alliedmods.net/showthread.php?t=327682

License: GNU General Public License v3.0

SourcePawn 100.00%
csgo sourcemod sourcemod-plugin sourcemod-plugins csgo-server csgo-items mysql

miscchanger's People

Contributors

konlig avatar natanel-shitrit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

miscchanger's Issues

Player item is resetting after some rounds.

Not tested with Music Kits, since i disabled it.
I currently using Coins and Pins, and this items is resetting after some rounds.
It just remove from Scoreboard, not in menu. Example; I select an item, when it 'reset' and i want to put again, in menu say i already have that item.

Some infos that can help you to fix it:

SM Version

SourceMod Version Information:   
SourceMod Version: 1.10.0.6544   
SourcePawn Engine: 1.10.0.6544, jit-x86 (build 1.10.0.6544)   
SourcePawn API: v1 = 5, v2 = 12   
Compiled on: Jun 24 2022 07:30:56   
Built from: https://github.com/alliedmodders/sourcemod/commit/d1766b9   
Build ID: 6544:d1766b9   
http://www.sourcemod.net/   

Also tested with

SourceMod Version Information:
SourceMod Version: 1.11.0.6911
SourcePawn Engine: 1.11.0.6911, jit-x86 (build 1.11.0.6911)
SourcePawn API: v1 = 5, v2 = 16
Compiled on: Aug  6 2022 16:36:14
Built from: https://github.com/alliedmodders/sourcemod/commit/2f0ba0f3
Build ID: 6911:2f0ba0f3
http://www.sourcemod.net/

Plugins list

[SM] Listing 81 plugins:
01 "[CS:GO] Franug Voice Agents Enabler" (1.0) by Franc1sco franug
02 "Discord: CallAdmin" (1.1) by .#Zipcore
03 "Nikooo777" (1.0) by Nikooo777
04 "Discord API" (0.1.103) by Deathknife
05 "Smoke/Radar Bug Fix" (1.1.0) by mukunda
06 "eItems" (0.20.3) by ESK0
07 "Basic Chat" (1.10.0.6544) by AlliedModders LLC
08 "Command Aliases" (1.3) by KiD Fearless
09 "[Lilac] Little Anti-Cheat" (1.7.3) by J_Tanzanite
10 "Steam Works Group Manager" (1.7) by Someone
11 "Fake Drop" (1.0) by Nathy
12 "Spectator Chat Block" (1.0) by Nathy
13 "Discord Super Advertisement" (1.0) by GARAYEV
14 "[CS:GO] Weapon Stickers" (1.3) by quasemago and z1ntex
15 "MiscChanger" (1.2.2) by Natanel 'LuqS'
16 "Reserved Slots" (1.10.0.6544) by AlliedModders LLC
17 "RankMe" (3.0.3.Kento.33.2) by lok1, Scooby, Kento, pracc, Kxnrl, CrazyHackGUT
18 "Move Commands ( ResetScore, Switch, Spec )" (2.0.1) by Bara
19 "Block Kill Command" (1.0) by Nathy
20 "CS:GO PugSetup: autokicker" (2.0.7) by splewis
21 "CallAdmin" (0.1.8) by Impact, dordnung
22 "SourceBans++: Admin Config Loader" (1.6.4) by AlliedModders LLC, SourceBans++ Dev Team
23 "[CS:GO] Custom MVP Anthem" (1.11) by Kento
24 "Basic Votes" (1.10.0.6544) by AlliedModders LLC
25 "Basic Commands" (1.1) by Nathy
26 "NGAjuda" (1.0) by Nathy
27 "Sound Commands" (1.10.0.6544) by AlliedModders LLC
28 "Discord API" (1.0) by .#Zipcore, Credits: Shavit, bara, ImACow and Phire
29 "Admin List" (1.2) by Fredd
30 "[SWGM] Command Listener" (1.1) by Someone
31 "Gloves" (1.0.5) by kgns | oyunhost.net
32 "Anti-Flood" (1.10.0.6544) by AlliedModders LLC
33 "Fix Competitive Warmup" (1.1) by Ilusion9
34 "Advertisements" (2.1.1) by Tsunami
35 "SourceBans++: SourceSleuth" (1.6.4) by ecca, SourceBans++ Dev Team
36 "IpServidor" (0.0.0) by Nathy
37 "Basic Commands" (1.10.0.6544) by AlliedModders LLC
38 "STAFF Modes - Fake Leave and Join Server" (3.4) by LanteJoula
39 "CS:GO PugSetup: hostname setter" (2.0.7) by splewis
40 "AFK Manager" (4.3.0) by Rothgar
41 "IpServidor" (0.0.0) by Nathy
42 "[CSGO/CSS] Chat/Scoreboard Tag Menu" (1.6.0 Chat-Processor) by [W]atch [D]ogs, Cruze
43 "SourceBans++: Bans Checker" (1.6.4) by psychonic, Ca$h Munny, SourceBans++ Dev Team
44 "Get IP" (0.4) by Firewolf
45 "DamageFF.smx"
46 "SourceBans++: Main Plugin" (1.6.4) by SourceBans Development Team, SourceBans++ Dev Team
47 "Discord Logger!" (v2) by MbK
48 "Client Preferences" (1.10.0.6544) by AlliedModders LLC
49 "Player Commands" (1.10.0.6544) by AlliedModders LLC
50 "prT_Menu" (1.0) by prT-
51 "Fun Commands" (1.10.0.6544) by AlliedModders LLC
52 "Weapons & Knives" (1.7.6) by kgns | oyunhost.net
53 "SM Prefix Change" (v7) by dkzinhoo
54 "Little Anti-Cheat => Discord" (1.0) by Nathy
55 "Basic Info Triggers" (1.10.0.6544) by AlliedModders LLC
56 "Nextmap" (1.10.0.6544) by AlliedModders LLC
57 "Fix Hint Color Messages" (1.2.2 Franc1sco franug github version) by Phoenix (˙·٠●Феникс●٠·˙)
58 "Replace words by choosen words" by MbK
59 "Discord: SourceComms" (1.1) by .#Zipcore
60 "Chat Processor - Simple Chat Processor Wrapper" (1.0.0) by Keith Warren (Shaders Allen)
61 "Advanced Drop" (1.3) by oppa & (DropsSummoner: Phoenix)
62 "CS:GO PugSetup: write team money to chat" (2.0.7) by Versatile_BFG/jkroepke
63 "Chat-Processor" (2.1.5) by Keith Warren (Shaders Allen)
64 "[CS:GO] Franug Agents Chooser" (1.2.0) by Franc1sco franug, Romeo, TrueProfessional, Teamkiller324
65 "Fun Votes" (1.10.0.6544) by AlliedModders LLC
66 "Discord: SourceBans" (1.0) by .#Zipcore
67 "CS:GO PugSetup: damage printer" (2.0.7) by splewis
68 "Basic Comm Control" (1.10.0.6544) by AlliedModders LLC
69 "Admin File Reader" (1.10.0.6544) by AlliedModders LLC
70 "Admin Help" (1.10.0.6544) by AlliedModders LLC
71 "Bluegem" (1.0) by Nathy
72 "NG | IP Servidores" (1.0) by Nathy
73 "No Dupe Account" (1.5.0) by azalty
74 "Admin Menu" (1.10.0.6544) by AlliedModders LLC
75 "CS:GO PugSetup" (2.0.5) by splewis
76 "ADEPT -> Status" (1.0) by Brum Brum
77 "CallAdmin UserManager" (0.1.8) by dordnung, Impact
78 "[CS:GO] Matchmaking Ranks by Points" (1.5) by Hallucinogenic Troll
79 "NGAjuda" (1.0) by Nathy
80 "[SWGM] Command Listener" (1.1) by Someone
81 "SourceBans++: SourceComms" (1.6.4) by Alex, SourceBans++ Dev Team   

MiscChanger

Filename: MiscChanger.smx
Title: MiscChanger (Allowing Players to change thier CS:GO miscellaneous items (Music-Kit / Coin / Pin).)
Author: Natanel 'LuqS'
Version: 1.2.2
URL: https://steamcommunity.com/id/luqsgood || Discord: LuqS#6505 || https://github.com/Natanel-Shitrit
Status: running
Timestamp: 09/20/2022 20:45:34
Hash: 76919a44dea0471925b6bea8db4596f2

Scripting & Plugin:
MiscChanger.zip

Video/Clip

Counter-strike.Global.Offensive.2022.09.25.-.19.49.23.06.DVR_Trim.mp4

Error logs

 L 09/25/2022 - 12:30:04: [SM] Call stack trace:
 L 09/25/2022 - 12:30:04: [SM]   [0] Menu.Selection.get
 L 09/25/2022 - 12:30:04: [SM]   [1] Line 749, C:\Users\Nathy\AppData\Roaming\spcode\sourcepawn\configs\sm_1_10_0_6509\MiscChanger.sp::CoinsMenuHandler
 L 09/25/2022 - 12:30:04: [SM]   [2] Line 689, C:\Users\Nathy\AppData\Roaming\spcode\sourcepawn\configs\sm_1_10_0_6509\MiscChanger.sp::OpenCoinsMenu
 L 09/25/2022 - 12:30:04: [SM]   [3] Line 489, C:\Users\Nathy\AppData\Roaming\spcode\sourcepawn\configs\sm_1_10_0_6509\MiscChanger.sp::Command_Coins
 L 09/25/2022 - 12:30:16: [SM] Exception reported: Can only be called from inside a MenuAction_Select callback
 L 09/25/2022 - 12:30:16: [SM] Blaming: MiscChanger.smx

Comment

I hope i gave you all details needed. If i forgot something, please, tell me.
An possible fix for it maybe can be refresh item every round start (but in DM servers will not work, so maybe every respawn?)

My Discord: Nathy#0666

Issue after CSGO "Release Notes for 1/27/2021" Update

L 01/28/2021 - 01:38:58: [SM] Exception reported: Failed to get CCSPlayer::SetRank signature
L 01/28/2021 - 01:38:58: [SM] Blaming: MiscChanger.smx
L 01/28/2021 - 01:38:58: [SM] Call stack trace:
L 01/28/2021 - 01:38:58: [SM] [0] SetFailState
L 01/28/2021 - 01:38:58: [SM] [1] Line 932, C:\Users\Natanel\Desktop\Programming Stuff\SPEdit\MiscChanger\sourcemod\scripting\MiscChanger.sp::LoadGameData
L 01/28/2021 - 01:38:58: [SM] [2] Line 178, C:\Users\Natanel\Desktop\Programming Stuff\SPEdit\MiscChanger\sourcemod\scripting\MiscChanger.sp::OnPluginStart
L 01/28/2021 - 01:38:58: [SM] Unable to load plugin "MiscChanger.smx": Error detected in plugin startup (see error logs)

The plugin's gamedata needs updating

After the most recent CS:GO update a lot of Linux signatures were changed, and as a result the game data files this plugin makes use of need updating. Until the plugin's game data file is updated it will remain broken and unable to work.
The exception reported in specific is the following:

L 02/03/2023 - 23:55:56: [SM] Exception reported: Failed to get CCSPlayer::SetRank signature

[Enhancement] Stickers

If there is a demand for stickers i could add it to this plugin. (comment / react to this issue if you want me to add it)

There is a better way to add stickers than what is currently published publicly, and the better way will be used.

If you like my work you can support me through donations, this plugin will be publicly available anytime! 😄

[Enhancement] Flag Support Per Command!

Pretty neat plugin overall, a flag support per-command will make this even stronger!

For example, we can limit coins to a specific flag.

If further explanation is needed let me know!

errors in plugin startup

36 "MiscChanger" (1.2.2) by Natanel 'LuqS'
Errors:
MiscChanger.smx (MiscChanger): Error detected in plugin startup (see error logs)
L 04/21/2022 - 04:13:24: [SM] Exception reported: Failed to get CCSPlayer::SetRank signature
L 04/21/2022 - 04:13:24: [SM] Blaming: MiscChanger.smx
L 04/21/2022 - 04:13:24: [SM] Call stack trace:
L 04/21/2022 - 04:13:24: [SM] [0] SetFailState
L 04/21/2022 - 04:13:24: [SM] [1] Line 905, C:\Users\Natanel\Desktop\Programming Stuff\SPEdit\MiscChanger\sourcemod\scripting\MiscChanger.sp::LoadGameData
L 04/21/2022 - 04:13:24: [SM] [2] Line 185, C:\Users\Natanel\Desktop\Programming Stuff\SPEdit\MiscChanger\sourcemod\scripting\MiscChanger.sp::OnPluginStart
[SM] Plugin MiscChanger.smx failed to load: Error detected in plugin startup (see error logs).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.