Raised This Month: $32 Target: $400
 8% 

[CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag]


Post New Thread Reply   
 
Thread Tools Display Modes
FlawlessKush
Member
Join Date: Mar 2014
Old 07-25-2017 , 20:14   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #91

This on a server with SMRPG & Deathmatch plugin by maxximou5,

My server crashed and this was last in my errors log. Yes latest version 1.0.8

Code:
Exception reported: Team index 0 is invalid
L 07/25/2017 - 18:40:58: [SM] Blaming: weapons.smx
L 07/25/2017 - 18:40:58: [SM] Call stack trace:
L 07/25/2017 - 18:40:58: [SM]   [0] PTaH_GetItemInLoadout
L 07/25/2017 - 18:40:58: [SM]   [1] Line 56, weapons/hooks.sp::GiveNamedItem
L 07/25/2017 - 18:40:58: [SM]   [3] GivePlayerItem
L 07/25/2017 - 18:40:58: [SM]   [4] Line 2496, deathmatch.sp::GiveSavedWeapons
L 07/25/2017 - 18:40:58: [SM]   [5] Line 1460, deathmatch.sp::Event_PlayerSpawn
L 07/25/2017 - 18:40:58: [SM] Exception reported: CEconItemView invalid
L 07/25/2017 - 18:40:58: [SM] Blaming: weapons.smx
L 07/25/2017 - 18:40:58: [SM] Call stack trace:
L 07/25/2017 - 18:40:58: [SM]   [0] CEconItemView.GetItemDefinition
L 07/25/2017 - 18:40:58: [SM]   [1] Line 57, weapons/hooks.sp::GiveNamedItem
L 07/25/2017 - 18:40:58: [SM]   [3] GivePlayerItem
L 07/25/2017 - 18:40:58: [SM]   [4] Line 2496, deathmatch.sp::GiveSavedWeapons
L 07/25/2017 - 18:40:58: [SM]   [5] Line 1460, deathmatch.sp::Event_PlayerSpawn
L 07/25/2017 - 18:40:58: [SM] Exception reported: CEconItemDefinition invalid
L 07/25/2017 - 18:40:58: [SM] Blaming: weapons.smx
L 07/25/2017 - 18:40:58: [SM] Call stack trace:
L 07/25/2017 - 18:40:58: [SM]   [0] CEconItemDefinition.GetDefinitionIndex
L 07/25/2017 - 18:40:58: [SM]   [1] Line 57, weapons/hooks.sp::GiveNamedItem
L 07/25/2017 - 18:40:58: [SM]   [3] GivePlayerItem
L 07/25/2017 - 18:40:58: [SM]   [4] Line 2496, deathmatch.sp::GiveSavedWeapons
L 07/25/2017 - 18:40:58: [SM]   [5] Line 1460, deathmatch.sp::Event_PlayerSpawn

Last edited by FlawlessKush; 07-25-2017 at 20:16.
FlawlessKush is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 07-25-2017 , 21:28   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #92

that error is normal since that plugin is trying to give weapon to a client which is not in CT or T. you should ask that plugin coder to fix it.

"Team index 0 is invalid"
0: joined server, did not join a team
1: spectator
2: terrorist
3: counter-terrorist
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
FlawlessKush
Member
Join Date: Mar 2014
Old 07-25-2017 , 22:54   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #93

Quote:
Originally Posted by kgns View Post
that error is normal since that plugin is trying to give weapon to a client which is not in CT or T. you should ask that plugin coder to fix it.

"Team index 0 is invalid"
0: joined server, did not join a team
1: spectator
2: terrorist
3: counter-terrorist
Thank you sir i fixed it myself editing line 1385, on deathmatch sp

before
Code:
if (GetClientTeam(client) != CS_TEAM_SPECTATOR)
After
Code:
if (GetClientTeam(client) != CS_TEAM_T || (GetClientTeam(client) != CS_TEAM_CT) || IsPlayerAlive(client))
Upload Plugin for others.
Attached Files
File Type: smx deathmatch.smx (52.1 KB, 129 views)
File Type: sp Get Plugin or Get Source (deathmatch.sp - 131 views - 105.2 KB)

Last edited by FlawlessKush; 07-25-2017 at 22:55. Reason: Upload Plugin for Others.
FlawlessKush is offline
Wacci
AlliedModders Donor
Join Date: May 2017
Location: Hungary
Old 07-26-2017 , 01:39   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #94

Quote:
Originally Posted by Legit. View Post
the problem is i dont know what a console command triggers the menu you need a sm_somthing to do it like that or iam wrong?
Quotation from source code:
Code:
        RegConsoleCmd("buyammo1", CommandWeaponSkins);
	RegConsoleCmd("sm_ws", CommandWeaponSkins);
	RegConsoleCmd("buyammo2", CommandKnife);
	RegConsoleCmd("sm_knife", CommandKnife);
	RegConsoleCmd("sm_nametag", CommandNameTag);
Wacci is offline
Legit.
Junior Member
Join Date: Jan 2017
Old 07-26-2017 , 10:44   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #95

Quote:
Originally Posted by Wacci View Post
Quotation from source code:
Code:
        RegConsoleCmd("buyammo1", CommandWeaponSkins);
	RegConsoleCmd("sm_ws", CommandWeaponSkins);
	RegConsoleCmd("buyammo2", CommandKnife);
	RegConsoleCmd("sm_knife", CommandKnife);
	RegConsoleCmd("sm_nametag", CommandNameTag);
THX it worked but now another problem can i change it that it wont say "[SM] you dont have acces to this command"?


And Thx for your help
Legit. is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 07-26-2017 , 15:28   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #96

hire a developer for specific modifications, respect labor and pay a reasonable fee for the efforts, not less not more.

all i got from donations so far is 1 case key (kudos to the donator!)

open source software does not mean free and legal slavery, check out my previous (and on going) project https://mybot.run/forums and see how open source software and community works
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net

Last edited by kgns; 07-26-2017 at 15:29.
kgns is offline
Deven
AlliedModders Donor
Join Date: Jun 2009
Old 07-26-2017 , 17:39   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #97

Quote:
Originally Posted by Wacci View Post
Again 3 crashes on 1v1 server.

https://crash.limetech.org/lmh5nmxr435m
https://crash.limetech.org/eu4bq6jygv32
https://crash.limetech.org/rlmyl5injkur

You can check my server's plugins.
I gave a Z flag for you!

I'm sorry for blocked your mistake search, with sm plugins blocker.


Thank you in advance for your help.
None of these reportd are related to this plugin, post your sm plugins list, and other sm exts list, might be able to help. I run a 1v1 server aswell and have not crashed since last update always 15+ players 24\7
Deven is offline
szogun
Senior Member
Join Date: Apr 2016
Old 07-30-2017 , 15:37   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #98

Tell me where I can change the default value of quality skin?
szogun is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 07-30-2017 , 22:06   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #99

updated to 1.0.9, a very minor bug fix. you don't even need to upgrade. check first post.
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
root88
Senior Member
Join Date: May 2016
Old 07-31-2017 , 04:10   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
Reply With Quote #100

I really don't know why, but 1.0.8 is still crashing (hanging) on my Arena and GG servers. 1.0.6 - still no crashes, but DB bug.
Could you please consider fixing DB handling on 1.0.6 for me?
__________________
root88 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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