AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020)) (https://forums.alliedmods.net/showthread.php?t=319881)

Saengerkrieg12 11-24-2019 15:42

[CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020))
 
4 Attachment(s)
Shavit-Credits

Features:
  • Credits on Server map Record
  • Credits on Map finish
  • Credits on Map Personal Best
  • Tier integration
  • Every feature can be disabled through Cvar's
  • Style weighted Credits giving

CVAR List:
  • credits_enable_normal 0/1 Enable Store credits given for finishing a map?
  • credits_enable_wr 0/1 Enable Store credits given for breaking the map Record?
  • credits_enable_pb 0/1 Enable Store credits given for breaking the map Personal Best?
  • credits_enable_t1 0/1 Enable/Disable given credits for Tier 1. This has no effect on WRs and PBs!
  • credits_amount_normal 10.0 How many points should be given for finishing a Map?
  • credits_amount_wr 25.0 How many points should be given for breaking a Map record?
  • credits_amount_pb 10.0 How many point should be given for breaking the own Personal Best?
  • credits_enable_normal_bonus 0/1 Enable Store credits given for finishing a map?
  • credits_enable_wr_bonus 0/1 Enable Store credits given for breaking the map Record?
  • credits_enable_pb_bonus 0/1 Enable Store credits given for breaking the map Personal Best?
  • credits_amount_normal_bonus 10.0 How many points should be given for finishing a Map?
  • credits_amount_wr_bonus 25.0 How many points should be given for breaking a Map record?
  • credits_amount_pb_bonus 10.0 How many point should be given for breaking the own Personal Best?
  • credits_tas_enabled 0/1 Enable Store Credits for a TAS Style?
  • credits_new_calculation 0/1 Enable the new Calculation for the credits?

Changelog:
Quote:

1.4.1 30.04.2020 ( 1.4.1 )
  • Fixed a big Logic issue..
  • Changed the shavit-rankings behavior (required so or so).
  • added a ConVar for self select the calculating behavior between the old one and the new style weighted one.
1.3.8 18.04.2020 ( 1.3.8 )
  • added a configurable TAS Exclusion
1.3.7 21.11.2019 ( 1.3.7 )
  • Added some Checks if the Rankings Module is aviable

Requirements:
Needs the Sourcemod Compiler build 6449 or greater.
Needs the Shavit-Rankings Module

Dependencies:
You will need Shavit's BunnyHop Timer
and you will need one of the following stores:
includes are inside of the Github reposity.

Downloads:
Zephyrus Store Version: https://github.com/SaengerItsWar/shavit-credits

kxnrl Store Version: https://github.com/SaengerItsWar/sha...its/tree/kxnrl

MyStore Version: https://github.com/SaengerItsWar/sha...s/tree/mystore

Sourcemod Store Version: https://github.com/SaengerItsWar/sha...its/tree/store

Special Thanks:
Kid Fearless
Nairda
Shavit for the Bhoptimer

Saengerkrieg12 04-18-2020 01:23

Re: [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.3.8 18.04.2020)
 
Quote:

1.3.8 18.04.2020 ( 1.3.8 )
  • added a configurable TAS Exclusion


klikk 04-15-2021 11:46

Re: [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020))
 
Its working, but gives only 0 credits all the time, and this is what error log says.

I have a Zephyrus Store

Code:

[SM] Blaming: shavit-core.smx
 [SM] Call stack trace:
 [SM]  [0] GetNativeCell
 [SM]  [1] Line 1810, D:\pe\Downloads\sourcemod-1.10.0-git6499-windows(1)\addons\sourcemod\scripting\shavit-core.sp::Native_GetStyleSettings
 [SM]  [3] Shavit_GetStyleSettings
 [SM]  [4] Line 112, E:\github\shavit-credits\scripting\shavit-credits.sp::Shavit_OnStyleConfigLoaded
 [SM]  [6] Call_Finish
 [SM]  [7] Line 2390, D:\pe\Downloads\sourcemod-1.10.0-git6499-windows(1)\addons\sourcemod\scripting\shavit-core.sp::LoadStyles
 [SM]  [8] Line 525, D:\pe\Downloads\sourcemod-1.10.0-git6499-windows(1)\addons\sourcemod\scripting\shavit-core.sp::OnMapStart


Saengerkrieg12 04-15-2021 12:29

Re: [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020))
 
do you are running the newest version?

klikk 04-15-2021 13:24

Re: [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020))
 
Yes, I think.

Code:

[SM] Listing 62 plugins:
  01 "Gloves" (1.0.5) by kgns | oyunhost.net
  02 "GameVoting" (1.8.8) by Neatek
  03 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
  04 "Hook Grab Rope" (1.1.4) by Sheepdude, SumGuy14
  05 "Store - The Resurrection" (1.1) by Zephyrus
  06 "shavit - Zoned Maps" (1.1) by SlidyBat
  07 "[shavit] Star ranking" (1.0) by Nickelony
  08 "[shavit] Rankings" (2.6.0) by shavit
  09 "Fix Hint Color Messages" (1.2.2 Franc1sco franug github version) by Phoenix (˙·٠●Феникс●٠·˙)
  10 "[shavit] Replay Bot" (2.6.0) by shavit
  11 "Player Commands" (1.10.0.6502) by AlliedModders LLC
  12 "[ANY] Chat Responder" (1.3.4) by Headline
  13 "Map Nominations Extended" (1.10.0) by Powerlord and AlliedModders LLC
  14 "[shavit] World Records" (2.6.0) by shavit
  15 "ServerAdvertisements3" (3.1.4) by ESK0
  16 "Server redirect" (1.2.0) by GAMMA CASE
  17 "Advertisements" (2.1.1) by Tsunami
  18 "[shavit] Chat Processor" (2.6.0) by shavit
  19 "[shavit] Core" (2.6.0) by shavit
  20 "[shavit] Miscellaneous" (2.6.0) by shavit
  21 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
  22 "CallAdmin" (0.1.8) by Impact, dordnung
  23 "[shavit] HUD" (2.6.0) by shavit
  24 "[shavit] Sounds" (2.6.0) by shavit
  25 "SM File/Folder Downloader and Precacher" (1.4) by SWAT_88
  26 "Nikooo777" (1.0) by Nikooo777
  27 "Discord API" (1.0) by .#Zipcore, Credits: Shavit, bara, ImACow and Phire
  28 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
  29 "[CS:GO] No Fall Damage" (1.0.1) by alexip121093 & Neoxx
  30 "Mapchooser Extended Sounds" (1.10.2) by Powerlord
  31 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
  32 "Admin Help" (1.10.0.6502) by AlliedModders LLC
  33 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
  34 "Discord: CallAdmin" (1.1) by .#Zipcore
  35 "[shavit] Map Zones" (2.6.0) by shavit
  36 "Discord: SourceBans" (1.0) by .#Zipcore
  37 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
  38 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
  39 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
  40 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
  41 "Store - Trade System" (1.0) by Zephyrus
  42 "In-game Help Menu" (0.3) by chundo
  43 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
  44 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
  45 "[shavit] Dynamic Timelimits" (2.6.0) by shavit
  46 "Thirdperson Mode" (1.0) by Zephyrus
  47 "Discord: SourceComms" (1.1) by .#Zipcore
  48 "[shavit] Credits | Zephyrus Store" (1.4.1) by SaengerItsWar
  49 "Nextmap" (1.10.0.6502) by AlliedModders LLC
  50 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
  51 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
  52 "Rock The Vote Extended" (1.10.0) by Powerlord and AlliedModders LLC
  53 "Welcome Sound" (0.0.1) by R-Hehl
  54 "Weapons & Knives" (1.7.1) by kgns | oyunhost.net
  55 "[CSGO] Advanced Admin" (1.7.1) by PeEzZ
  56 "Momentum surf fix '2" (1.1.3) by GAMMA CASE
  57 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
  58 "Graphic banner overlay" (1.3 S) by Rolzzandik
  59 "Scroll Style Enforcement Warning" (1.1) by .sneaK
  60 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
  61 "SQL Admin Manager" (1.10.0.6502) by AlliedModders LLC
  62 "[shavit] Player Stats" (2.6.0) by shavit


Saengerkrieg12 04-15-2021 13:47

Re: [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020))
 
1 Attachment(s)
ok you are not running the newest version of the Timer just update it from the source compile it and recompile all the other plugins with it that are using the Schavit natives and for my plugin just use the atached version cause my plugin is compiled against the timer version 2.7.0.

klikk 04-19-2021 12:04

Re: [CS:GO/CS:S/TF2] Store Credits giver for Shavit's Bhoptimer(1.4.1 30.04.2020))
 
Quote:

Originally Posted by Saengerkrieg12 (Post 2744165)
ok you are not running the newest version of the Timer just update it from the source compile it and recompile all the other plugins with it that are using the Schavit natives and for my plugin just use the atached version cause my plugin is compiled against the timer version 2.7.0.

I have updated the Timer plugin and now it gives credits to the players after I reload the credits plugin with sm plugins reload shavit-credits.smx every time I change the map. by default, without reload, it gives 0 credits again. what can i do for fix this?

Code:

[SM] Listing 60 plugins:
  01 "[shavit] Player Stats" (2.7.0) by shavit
  02 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
  03 "Discord: CallAdmin" (1.1) by .#Zipcore
  04 "In-game Help Menu" (0.3) by chundo
  05 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
  06 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
  07 "Store - The Resurrection" (1.1) by Zephyrus
  08 "CallAdmin" (0.1.8) by Impact, dordnung
  09 "[shavit] Map Zones" (2.7.0) by shavit
  10 "Store - Trade System" (1.0) by Zephyrus
  11 "[shavit] HUD" (2.7.0) by shavit
  12 "[shavit] Dynamic Timelimits" (2.7.0) by shavit
  13 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
  14 "ServerAdvertisements3" (3.1.4) by ESK0
  15 "Thirdperson Mode" (1.0) by Zephyrus
  16 "shavit - Zoned Maps" (1.1) by SlidyBat
  17 "Discord API" (1.0) by .#Zipcore, Credits: Shavit, bara, ImACow and Phire
  18 "Momentum surf fix '2" (1.1.3) by GAMMA CASE
  19 "Discord: SourceComms" (1.1) by .#Zipcore
  20 "SM File/Folder Downloader and Precacher" (1.4) by SWAT_88
  21 "Scroll Style Enforcement Warning" (1.1) by .sneaK
  22 "Hook Grab Rope" (1.1.4) by Sheepdude, SumGuy14
  23 "Map Nominations Extended" (1.10.0) by Powerlord and AlliedModders LLC
  24 "Discord: SourceBans" (1.0) by .#Zipcore
  25 "Gloves" (1.0.5) by kgns | oyunhost.net
  26 "Fix Hint Color Messages" (1.2.2 Franc1sco franug github version) by Phoenix (˙·٠●Феникс●٠·˙)
  27 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
  28 "Server redirect" (1.2.0) by GAMMA CASE
  29 "[CS:GO] No Fall Damage" (1.0.1) by alexip121093 & Neoxx
  30 "[shavit] Sounds" (2.7.0) by shavit
  31 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
  32 "Weapons & Knives" (1.7.1) by kgns | oyunhost.net
  33 "Graphic banner overlay" (1.3 S) by Rolzzandik
  34 "[shavit] Rankings" (2.7.0) by shavit
  35 "Advertisements" (2.1.1) by Tsunami
  36 "[CSGO] Advanced Admin" (1.7.1) by PeEzZ
  37 "Welcome Sound" (0.0.1) by R-Hehl
  38 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
  39 "[shavit] Miscellaneous" (2.7.0) by shavit
  40 "GameVoting" (1.8.8) by Neatek
  41 "Player Commands" (1.10.0.6502) by AlliedModders LLC
  42 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
  43 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
  44 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
  45 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
  46 "[ANY] Chat Responder" (1.3.4) by Headline
  47 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
  48 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
  49 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
  50 "SQL Admin Manager" (1.10.0.6502) by AlliedModders LLC
  51 "[shavit] Chat Processor" (2.7.0) by shavit
  52 "Rock The Vote Extended" (1.10.0) by Powerlord and AlliedModders LLC
  53 "Nextmap" (1.10.0.6502) by AlliedModders LLC
  54 "Admin Help" (1.10.0.6502) by AlliedModders LLC
  55 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
  56 "[shavit] Credits | Zephyrus Store" (1.4.5) by SaengerItsWar
  57 "[shavit] Core" (2.7.0) by shavit
  58 "[shavit] Replay Bot" (2.7.0) by shavit
  59 "[shavit] World Records" (2.7.0) by shavit
  60 "Mapchooser Extended Sounds" (1.10.2) by Powerlord



All times are GMT -4. The time now is 15:02.

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