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

[CS:GO] StatTrak Knives 1.2.0


Post New Thread Reply   
 
Thread Tools Display Modes
rodpod
SourceMod Donor
Join Date: Jan 2005
Old 06-09-2015 , 16:12   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #111

Quote:
Originally Posted by Frazzle View Post
If this is about the weapon paints plugin, he still updates it he just sells it for 20 Euros. -__-
I myself have modified the old sources to allow support for the new knife.
hmmm. I'm no SPawner. Can't modify source code because of lack of time. Suppose I belong with those who have to pay2win.

Last edited by rodpod; 06-09-2015 at 16:12.
rodpod is offline
haboks
Junior Member
Join Date: Oct 2014
Old 06-10-2015 , 04:00   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #112

Hi can you help me with something please?
I've copied all files needed in server, I also updated DKhooks, but I don't know how to setup that database thing.
Plugin is not working at all, no error no nothing (100% because I don't know how to setup my database).
haboks is offline
rodpod
SourceMod Donor
Join Date: Jan 2005
Old 06-10-2015 , 04:25   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #113

copy everything from dhooks and plugin into directories (verbose)

for mysql put sth like this into database.cfg
Code:
        "knives" //this has to be named knives
        {                                                                                                                                                                    
            "driver" "mysql" //leave it like this
            "host" "x.x.x.x" //if mysql is on the same server use localhost, else put IP address or domain name
            "database" "knives" //leave it like this
            "user" "db_user" //your db user
            "pass" "db_password" //you db users' password
            "port" "3306" //3306 if you use standard mysql config
        }
plugin will generate tables itself and start populating them when players perform actions with knifes.

this does not work with sqlite, so if you don't have access to mysql you are out of luck running this script for now.
rodpod is offline
haboks
Junior Member
Join Date: Oct 2014
Old 06-10-2015 , 05:18   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #114

Quote:
Originally Posted by rodpod View Post
copy everything from dhooks and plugin into directories (verbose)

for mysql put sth like this into database.cfg
Code:
        "knives" //this has to be named knives
        {                                                                                                                                                                    
            "driver" "mysql" //leave it like this
            "host" "x.x.x.x" //if mysql is on the same server use localhost, else put IP address or domain name
            "database" "knives" //leave it like this
            "user" "db_user" //your db user
            "pass" "db_password" //you db users' password
            "port" "3306" //3306 if you use standard mysql config
        }
plugin will generate tables itself and start populating them when players perform actions with knifes.

this does not work with sqlite, so if you don't have access to mysql you are out of luck running this script for now.
Thank you, now plugin works, but nobody can see stattrak skins.
I've copied twice all the files, and same thing, nobody can see Stattrak skins.
haboks is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 06-10-2015 , 05:29   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #115

You need to get a kill. Then it will update over round end / start.

The counter doesn't update live.

Edit: also make sure players have a correct display type that includes stattrak.
__________________

Last edited by Neuro Toxin; 06-10-2015 at 05:30.
Neuro Toxin is offline
haboks
Junior Member
Join Date: Oct 2014
Old 06-10-2015 , 05:47   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #116

I've got plenty kills, and not just me, anybody, can't see skins.
Btw, I'm using a msql that is already been used by my rank plugin, is there any problem with that? Do i have to create another one to see the skins?
This is what I see now: http://prntscr.com/7fa0nz

Last edited by haboks; 06-10-2015 at 05:48.
haboks is offline
rodpod
SourceMod Donor
Join Date: Jan 2005
Old 06-10-2015 , 05:48   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #117

if the counter does not update live it would be a great idea to get info for user from sql, store it in array for the time he is on the server for accurate display on the knife (if changing count on the knife can be done without swapping his knife on each kill) and when the player leaves update info in the database. maybe it's too much work...

for what it's worth there would be almost no strain put on the database

Last edited by rodpod; 06-10-2015 at 05:49.
rodpod is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 06-10-2015 , 05:50   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #118

This cant be updated live without respawning the weapon.

Store now and save later is bad practice imo.
__________________
Neuro Toxin is offline
haboks
Junior Member
Join Date: Oct 2014
Old 06-10-2015 , 06:35   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #119

This is what I have in database, but still nobody can see skins.
http://i.imgur.com/130VxVu.png
Can it be a problem of files that I copied or?

Last edited by haboks; 06-10-2015 at 06:44.
haboks is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 06-10-2015 , 06:36   Re: [CS:GO] StatTrak Knives 1.2.0
Reply With Quote #120

Quote:
Originally Posted by haboks View Post
I've got plenty kills, and not just me, anybody, can't see skins.
Btw, I'm using a msql that is already been used by my rank plugin, is there any problem with that? Do i have to create another one to see the skins?
This is what I see now: http://prntscr.com/7fa0nz
I'll look into this as time permits. Please don't spam me pms or I will ignore you.

can anyone confirm if they have this problem?
__________________
Neuro Toxin 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 11:25.


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