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

[ANY] Contracts


Post New Thread Reply   
 
Thread Tools Display Modes
Zyten
Senior Member
Join Date: Jan 2018
Old 04-25-2018 , 15:54   Re: [ANY] Contracts
Reply With Quote #211

plock download the rar file and paste it on your server. thats i am using
Zyten is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 04-25-2018 , 16:14   Re: [ANY] Contracts
Reply With Quote #212

Quote:
Originally Posted by Zyten View Post
plock download the rar file and paste it on your server. thats i am using
Then try to change a few contracts and their types. Make more types of contracts and see if it works properly.

It's weird. I will keep looking into the code.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-25-2018 , 16:37   Re: [ANY] Contracts
Reply With Quote #213

Quote:
Originally Posted by plock View Post
Then try to change a few contracts and their types. Make more types of contracts and see if it works properly.

It's weird. I will keep looking into the code.
btw i did change one thing made it for zeph credits thats all i changed
Zyten is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 04-25-2018 , 16:40   Re: [ANY] Contracts
Reply With Quote #214

Quote:
Originally Posted by Zyten View Post
btw i did change one thing made it for zeph credits thats all i changed
Oh. I thought you had the same issue about the same contract over and over. Well, I didn't check your error, but the thing you changed, what it is exactly?
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-25-2018 , 16:45   Re: [ANY] Contracts
Reply With Quote #215

// This file was auto-generated by SourceMod (v1.8.0.6041)
// ConVars for plugin "Contract.smx"


// The % of luck to get a new contract every 5 minutes.
// -
// Default: "30"
// Minimum: "1.000000"
sm_contract_chance_get_contract "30"

// Time (in seconds) before giving a new contract if any.
// -
// Default: "300"
// Minimum: "1.000000"
sm_contract_interval "300"

// How much player needed before receving an contract.
// -
// Default: "2"
// Minimum: "1.000000"
sm_contract_minimum_players "2"

// NONE=No store usage/ZEPHYRUS=use zephyrus store/SMSTORE=use sourcemod store/MYJS=use MyJailShop
// -
// Default: "NONE"
sm_contract_store_select "ZEPHYRUS"

// Team index wich can get contract. 2 = RED/T 3 = BLU/CT
// -
// Default: "2;3"
sm_contract_teams "2;3"

// Configuration name in database.cfg, by default, all results are saved in the sqlite database.
// -
// Default: "storage-local"
sm_database_configuration_name "contract"

i changed default database but didnt help
Zyten is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-25-2018 , 16:50   Re: [ANY] Contracts
Reply With Quote #216

"Contracts Options"
{
"1"
{
"Contract Name" "Don't forget 'legs day'"
"Contract Type" "WALK"
"Contract Objective" "100"
"Contract Chances" "0.9"
"Contract Reward" "10"
}
"2"
{
"Contract Name" "Remember - Dead ennemies, best ennemies."
"Contract Type" "KILL"
"Contract Objective" "5"
"Contract Chances" "0.5"
"Contract Reward" "100"
}
"3"
{
"Contract Name" "Yeah, shit happens."
"Contract Type" "DIE"
"Contract Objective" "10"
"Contract Chances" "0.7"
"Contract Reward" "1"
}
"4"
{
"Contract Name" "Time to play Sniper... AGAIN."
"Contract Type" "HEADSHOT"
"Contract Objective" "30"
"Contract Chances" "0.1"
"Contract Reward" "75"
}
"5"
{
"Contract Name" "Melee kills = glory kills"
"Contract Type" "KILL"
"Contract Objective" "10"
"Contract Chances" "0.25"
"Contract Reward" "100"
"Contract Weapon" "MELEE" //or could be the name of the weapon, for exemple : weapon_awp or tf_weapon_pistol or PRIMARY or SECONDARY
}
"6"
{
"Contract Name" "Snipe them all!"
"Contract Type" "KILL"
"Contract Objective" "30"
"Contract Chances" "0.10"
"Contract Reward" "200"
"Contract Weapon" "weapon_awp" //or could be the name of the weapon, for exemple : weapon_awp or tf_weapon_pistol or PRIMARY or SECONDARY
}
"7"
{
"Contract Name" "I'm strooooong!!!"
"Contract Type" "TAKE_DAMAGE"
"Contract Objective" "9999"
"Contract Chances" "0.15"
"Contract Reward" "75"
}
"8"
{
"Contract Name" "Eat steel!"
"Contract Type" "DEAL_DAMAGE"
"Contract Objective" "1000"
"Contract Chances" "0.15"
"Contract Reward" "200"
}
"9"
{
"Contract Name" "Finish 10 times the map!"
"Contract Type" "FINISH_BHOPSHAVIT"
"Contract Objective" "10"
"Contract Chances" "0.8"
"Contract Reward" "500"
}
"10"
{
"Contract Name" "Be a carefully warden!"
"Contract Type" "WARDEN_ROUNDS"
"Contract Objective" "5"
"Contract Chances" "0.6"
"Contract Reward" "150"
}
"11"
{
"Contract Name" "Warden, get in touch!"
"Contract Type" "WARDEN_KILLS"
"Contract Objective" "10"
"Contract Chances" "0.5"
"Contract Reward" "100"
"Contract Weapon" "weapon_knife" //or could be the name of the weapon, for exemple : weapon_awp or tf_weapon_pistol or PRIMARY or SECONDARY
}
"12"
{
"Contract Name" "Reach & survive the Last Request!"
"Contract Type" "LAST_REQUEST"
"Contract Objective" "3"
"Contract Chances" "0.4"
"Contract Reward" "350"
}
"13"
{
"Contract Name" "Trust no one!!"
"Contract Type" "TEAM_KILL"
"Contract Objective" "10"
"Contract Chances" "0.1"
"Contract Reward" "250"
}
"14"
{
"Contract Name" "Scopes are for the n00bs!"
"Contract Type" "NO_SCOPE"
"Contract Objective" "20"
"Contract Chances" "0.3"
"Contract Reward" "550"
}
"15"
{
"Contract Name" "Survive & Win some Event Days"
"Contract Type" "EVENT_DAYS"
"Contract Objective" "5"
"Contract Chances" "0.3"
"Contract Reward" "850"
}
}

ii am not creative right now can u send me cfg
Zyten is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 04-25-2018 , 16:50   Re: [ANY] Contracts
Reply With Quote #217

Quote:
Originally Posted by Zyten View Post
// This file was auto-generated by SourceMod (v1.8.0.6041)
// ConVars for plugin "Contract.smx"


// The % of luck to get a new contract every 5 minutes.
// -
// Default: "30"
// Minimum: "1.000000"
sm_contract_chance_get_contract "30"

// Time (in seconds) before giving a new contract if any.
// -
// Default: "300"
// Minimum: "1.000000"
sm_contract_interval "300"

// How much player needed before receving an contract.
// -
// Default: "2"
// Minimum: "1.000000"
sm_contract_minimum_players "2"

// NONE=No store usage/ZEPHYRUS=use zephyrus store/SMSTORE=use sourcemod store/MYJS=use MyJailShop
// -
// Default: "NONE"
sm_contract_store_select "ZEPHYRUS"

// Team index wich can get contract. 2 = RED/T 3 = BLU/CT
// -
// Default: "2;3"
sm_contract_teams "2;3"

// Configuration name in database.cfg, by default, all results are saved in the sqlite database.
// -
// Default: "storage-local"
sm_database_configuration_name "contract"

i changed default database but didnt help
Ok. I will try to compile it and see what was the error and I will debug for the issue of same contracts over and over. I will try to fix that also.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 04-26-2018 , 04:26   Re: [ANY] Contracts
Reply With Quote #218

Herm.. guys. I just downloaded everything from github and made a fresh install. It works fine. At least, with !givecontract.
__________________
Want to check my plugins ?
Arkarr is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 04-26-2018 , 05:27   Re: [ANY] Contracts
Reply With Quote #219

I changed the way the contract are selected. Maybe it will work better for you. I think you had extremly bad luck, both of you.
__________________
Want to check my plugins ?
Arkarr is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-26-2018 , 06:07   Re: [ANY] Contracts
Reply With Quote #220

ye givecontract works fine even before anything i tested it
Zyten 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 06:17.


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