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

[CSGO/CSS?] [Store] Credits for Specified Events!


Post New Thread Reply   
 
Thread Tools Display Modes
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 06-19-2020 , 16:45   Re: [CSGO/CSS?] [Store] Credits for Specified Events!
Reply With Quote #21

Anyway to get it to work with https://github.com/Kxnrl/Store ?
Tried to compile with store and i get the error below while playing. (Had to remove gc_sTag before compiling)

[SM] Exception reported: Reason is not nullable.
[SM] Blaming: store.smx
[SM] Call stack trace:
[SM] [0] ThrowNativeError
[SM] [1] Line 606, addons/sourcemod/scripting/store.sp::Native_SetClientCredits
[SM] [3] Store_SetClientCredits
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 06-19-2020 at 16:46.
zwetch is offline
Cruze
Veteran Member
Join Date: May 2017
Old 06-20-2020 , 01:12   Re: [CSGO/CSS?] [Store] Credits for Specified Events!
Reply With Quote #22

Quote:
Originally Posted by zwetch View Post
Anyway to get it to work with https://github.com/Kxnrl/Store ?
Tried to compile with store and i get the error below while playing. (Had to remove gc_sTag before compiling)

[SM] Exception reported: Reason is not nullable.
[SM] Blaming: store.smx
[SM] Call stack trace:
[SM] [0] ThrowNativeError
[SM] [1] Line 606, addons/sourcemod/scripting/store.sp::Native_SetClientCredits
[SM] [3] Store_SetClientCredits
Kxnrl's store has one extra parameter in "Store_SetClientCredits" native that you're missing probably. Though I'll make a kxnrl version today. It'll be great if you can help me test it.
PHP Code:
native int Store_SetClientCredits(int clientint credits, const char[] log "未知"); 
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 06-20-2020 at 01:59.
Cruze is offline
Cruze
Veteran Member
Join Date: May 2017
Old 06-20-2020 , 01:45   Re: [CSGO/CSS?] [Store] Credits for Specified Events!
Reply With Quote #23

Quote:
Originally Posted by zwetch View Post
Anyway to get it to work with https://github.com/Kxnrl/Store ?
Tried to compile with store and i get the error below while playing. (Had to remove gc_sTag before compiling)

[SM] Exception reported: Reason is not nullable.
[SM] Blaming: store.smx
[SM] Call stack trace:
[SM] [0] ThrowNativeError
[SM] [1] Line 606, addons/sourcemod/scripting/store.sp::Native_SetClientCredits
[SM] [3] Store_SetClientCredits
Try this: https://github.com/Cruze03/Store-Cre.../tag/1.0-kxnrl
__________________
Taking paid private requests! Contact me
Cruze is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 06-20-2020 , 07:36   Re: [CSGO/CSS?] [Store] Credits for Specified Events!
Reply With Quote #24



Everything works. Tested knife / bomb / nades / zeus etc ("[{green}Store{default}]" fixed) Thanks.

If possible could you add a cvar for just general player kills, because Kxnrl/Store doesn't have anyway to give credits other than Time Played (Active on server).
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 06-20-2020 at 07:47.
zwetch is offline
Cruze
Veteran Member
Join Date: May 2017
Old 06-20-2020 , 12:21   Re: [CSGO/CSS?] [Store] Credits for Specified Events!
Reply With Quote #25

Quote:
Originally Posted by zwetch View Post


Everything works. Tested knife / bomb / nades / zeus etc ("[{green}Store{default}]" fixed) Thanks.

If possible could you add a cvar for just general player kills, because Kxnrl/Store doesn't have anyway to give credits other than Time Played (Active on server).
https://github.com/Cruze03/Store-Cre.../tag/1.1-kxnrl
__________________
Taking paid private requests! Contact me
Cruze is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 06-20-2020 , 13:19   Re: [CSGO/CSS?] [Store] Credits for Specified Events!
Reply With Quote #26

Quote:
Originally Posted by Cruze View Post
Awesome Thanks.
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif
zwetch 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 23:49.


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