Raised This Month: $51 Target: $400
 12% 

Release Weapon Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Phault
Junior Member
Join Date: Mar 2013
Old 03-18-2013 , 12:52   Re: Weapon Colors
Reply With Quote #11

Quote:
Originally Posted by naldecon View Post
Hello,

Found the following errors on CSGO:

Code:
L 03/18/2013 - 02:24:20: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 03/18/2013 - 02:24:20: [SM] Displaying call stack trace for plugin "store\store-backend.smx":
L 03/18/2013 - 02:24:20: [SM]   [0]  Line 1228, C:\Users\Alon\Documents\GitHub\store\scripting\store-backend.sp::GetEquippedItemsByType()
L 03/18/2013 - 02:24:20: [SM]   [1]  Line 1762, C:\Users\Alon\Documents\GitHub\store\scripting\store-backend.sp::Native_GetEquippedItemsByType()
L 03/18/2013 - 02:24:20: [SM] Native "Store_GetEquippedItemsByType" reported: Error encountered while processing a dynamic native
L 03/18/2013 - 02:24:20: [SM] Displaying call stack trace for plugin "store\store-weaponcolors.smx":
L 03/18/2013 - 02:24:20: [SM]   [0]  Line 153, D:\Dropbox\GitHub\store-weaponcolors\scripting\store-weaponcolors.sp::OnItemPickup()

L 03/18/2013 - 02:24:20: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 03/18/2013 - 02:24:20: [SM] Displaying call stack trace for plugin "store\store-backend.smx":
L 03/18/2013 - 02:24:20: [SM]   [0]  Line 1228, C:\Users\Alon\Documents\GitHub\store\scripting\store-backend.sp::GetEquippedItemsByType()
L 03/18/2013 - 02:24:20: [SM]   [1]  Line 1762, C:\Users\Alon\Documents\GitHub\store\scripting\store-backend.sp::Native_GetEquippedItemsByType()
L 03/18/2013 - 02:24:20: [SM] Native "Store_GetEquippedItemsByType" reported: Error encountered while processing a dynamic native
L 03/18/2013 - 02:24:20: [SM] Displaying call stack trace for plugin "store\store-weaponcolors.smx":
L 03/18/2013 - 02:24:20: [SM]   [0]  Line 162, D:\Dropbox\GitHub\store-weaponcolors\scripting\store-weaponcolors.sp::OnPlayerSpawn()
Any ideas?
Looks like Store can't connect to your database, I might be wrong though. Does it only happen with this module?
Phault is offline
naldecon
Member
Join Date: Sep 2012
Old 03-18-2013 , 12:58   Re: Weapon Colors
Reply With Quote #12

Quote:
Originally Posted by Phault View Post
Looks like Store can't connect to your database, I might be wrong though. Does it only happen with this module?
Yes, based on the error logs.

FYI - running ZombieReloaded
If a player is tagged by a zombie, the weapons are dropped.
What happen when another player picks up the dropped weapon?

Last edited by naldecon; 03-18-2013 at 13:03.
naldecon is offline
Phault
Junior Member
Join Date: Mar 2013
Old 03-18-2013 , 13:56   Re: Weapon Colors
Reply With Quote #13

Quote:
Originally Posted by naldecon View Post
Yes, based on the error logs.

FYI - running ZombieReloaded
If a player is tagged by a zombie, the weapons are dropped.
What happen when another player picks up the dropped weapon?
The module colors the weapon once it's picked up again, based on the new player's weapon color item/setting.

I'm pretty sure the error is because store can't connect to the database. What version of sourcemod are you running?

If the mysql server is on the same machine as the server, try changing "localhost" to "127.0.01" in the databases config file.
Phault is offline
naldecon
Member
Join Date: Sep 2012
Old 03-18-2013 , 15:00   Re: Weapon Colors
Reply With Quote #14

Quote:
Originally Posted by Phault View Post
The module colors the weapon once it's picked up again, based on the new player's weapon color item/setting.

I'm pretty sure the error is because store can't connect to the database. What version of sourcemod are you running?

If the mysql server is on the same machine as the server, try changing "localhost" to "127.0.01" in the databases config file.
The sourcemod version is 1.5.0 build 3786 and connected to remote SQL server.
naldecon is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 03-28-2013 , 16:47   Re: Weapon Colors
Reply With Quote #15

Is there a standalone version of this plugin. So a player with flag a can get these colors,? ( I appriciate the help out )
__________________
Happy DODs player is offline
serpentine
I don't have a problem
Join Date: Feb 2011
Location: Madison, WI
Old 04-01-2013 , 13:25   Re: Weapon Colors
Reply With Quote #16

Found perhaps another bug. When I add a bot to my server their weapons are colored what mine are. Not a big issue since I don't use bots other than to test things.
__________________
serpentine is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 04-03-2013 , 15:32   Re: Weapon Colors
Reply With Quote #17

It would be amazing if along with weapon colors there would be same color weapon glow. If that's possible (for CS:S).
__________________
cw main:

cw speedruns:
vodka00 is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 04-03-2013 , 16:15   Re: Weapon Colors
Reply With Quote #18

Quote:
Originally Posted by vodka00 View Post
It would be amazing if along with weapon colors there would be same color weapon glow. If that's possible (for CS:S).

attaching a light entity with a color maybe will be do it possible
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-24-2013 , 21:18   Re: Weapon Colors
Reply With Quote #19

Quote:
Originally Posted by Franc1sco View Post
attaching a light entity with a color maybe will be do it possible
light_dynamic will drop fps like crazy.
even if you set it to light models only...
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
scorpadorp
SourceMod Donor
Join Date: May 2012
Location: NC
Old 07-10-2013 , 14:23   Re: Weapon Colors
Reply With Quote #20

First time getting this error. It's spammed in my console but with different Entity numbers.

Code:
L 07/10/2013 - 14:19:57: [SM] Native "GetEntDataEnt2" reported: Entity 9 (9) is invalid
L 07/10/2013 - 14:19:57: [SM] Displaying call stack trace for plugin "store\store-weaponcolors.smx":
L 07/10/2013 - 14:19:57: [SM]   [0]  Line 210, D:\Dropbox\GitHub\store-weaponcolors\scripting\store-weaponcolors.sp::SetWeaponColors()
L 07/10/2013 - 14:19:57: [SM]   [1]  Line 191, D:\Dropbox\GitHub\store-weaponcolors\scripting\store-weaponcolors.sp::OnGetPlayerWeaponColor()

Last edited by scorpadorp; 07-10-2013 at 14:24.
scorpadorp is offline
Reply



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 10:24.


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