Raised This Month: $32 Target: $400
 8% 

MyJailShop repair to work with frozdark shop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
j1gg
Senior Member
Join Date: Dec 2015
Old 05-01-2020 , 15:50   MyJailShop repair to work with frozdark shop
Reply With Quote #1

Hello, can someone repair myjstore? Right now myjstore dont work with frozdark store (https://github.com/FD-Forks/Shop-Core) credits from last request and kills are not adding to store.

I have those errors:
L 05/01/2020 - 21:47:11: [SM] Blaming: shop/shop.smx
L 05/01/2020 - 21:47:11: [SM] Call stack trace:
L 05/01/2020 - 21:47:11: [SM] [0] ThrowNativeError
L 05/01/2020 - 21:47:11: [SM] [1] Line 83, addons/sourcemod/scripting/shop/player_manager.sp:layerManager_GetClientCre dits
L 05/01/2020 - 21:47:11: [SM] [3] Shop_GetClientCredits
L 05/01/2020 - 21:47:11: [SM] [4] Line 52, addons/sourcemod/scripting/myjailshop-frozdark-shop.sp::MyJailShop_OnGetCredits
L 05/01/2020 - 21:47:11: [SM] [6] Call_Finish
L 05/01/2020 - 21:47:11: [SM] [7] Line 3714, addons/sourcemod/scripting/myjailshop.sp::Forward_OnGetCredits
L 05/01/2020 - 21:47:11: [SM] [8] Line 3595, addons/sourcemod/scripting/myjailshop.sp:B_WriteCredits
L 05/01/2020 - 21:47:11: [SM] [9] Line 1550, addons/sourcemod/scripting/myjailshop.sp::OnClientCookiesCached
L 05/01/2020 - 21:47:11: [SM] Exception reported: Client index 2 is not in game
L 05/01/2020 - 21:47:11: [SM] Blaming: shop/shop.smx
L 05/01/2020 - 21:47:11: [SM] Call stack trace:
L 05/01/2020 - 21:47:11: [SM] [0] ThrowNativeError
L 05/01/2020 - 21:47:11: [SM] [1] Line 83, addons/sourcemod/scripting/shop/player_manager.sp:layerManager_GetClientCre dits
L 05/01/2020 - 21:47:11: [SM] [3] Shop_GetClientCredits
L 05/01/2020 - 21:47:11: [SM] [4] Line 52, addons/sourcemod/scripting/myjailshop-frozdark-shop.sp::MyJailShop_OnGetCredits
L 05/01/2020 - 21:47:11: [SM] [6] Call_Finish
L 05/01/2020 - 21:47:11: [SM] [7] Line 3714, addons/sourcemod/scripting/myjailshop.sp::Forward_OnGetCredits
L 05/01/2020 - 21:47:11: [SM] [8] Line 1568, addons/sourcemod/scripting/myjailshop.sp::OnClientCookiesCached
L 05/01/2020 - 21:47:20: [SM] Exception reported: Invalid key value handle 0 (error 4)

here is myjs-frozdark integration plugin

/*
* MyJailShop - Shop by FrozDark Support Plugin.
* by: shanapu
* https://github.com/shanapu/MyJailShop
*
* Copyright (C) 2016-2017 Thomas Schmidt (shanapu)
*
* This file is part of the MyJailShop SourceMod Plugin.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3.0, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. ifnot, see <http://www.gnu.org/licenses/>.
*/

/********************************************* *********************************
STARTUP
********************************************* *********************************/

// Includes
#include <sourcemod>
#include <shop>
#include <myjailshop>

// Compiler Options
#pragma semicolon 1
#pragma newdecls required

// Info
public Plugin myinfo =
{
name = "MyJailShop - Use credits from Shop by FrozDark",
author = "shanapu",
description = "Add Support for credits from Shop by FrozDark",
version = "1.0",
url = "https://github.com/shanapu/MyJailShop"
};

/********************************************* *********************************
FORWARDS LISTEN
********************************************* *********************************/

public int MyJailShop_OnGetCredits(int client)
{
int credits = Shop_GetClientCredits(client);

return credits;
}

public void MyJailShop_OnSetCredits(int client, int credits)
{
Shop_SetClientCredits(client, credits);
}

I can pay for this repair.
__________________

Last edited by j1gg; 05-01-2020 at 15:57.
j1gg is offline
Pilo
AlliedModders Donor
Join Date: Jan 2019
Location: Israel
Old 05-02-2020 , 07:03   Re: MyJailShop repair to work with frozdark shop
Reply With Quote #2

Message me on discord : Pilo#8253
__________________

Taking Private(PAID) Plugins In PM
Feel free to Donate with PayPal
Feel free to message me in Discord Pilo#8253
Total donated : 25$
Pilo 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:24.


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