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

[CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]


Post New Thread Reply   
 
Thread Tools Display Modes
azalty
AlliedModders Donor
Join Date: Feb 2020
Location: France
Old 01-10-2021 , 16:56   Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
Reply With Quote #111

shanapu doesn't seem to answer or be active anymore

I posted 2 PR to fix -minor- bugs with Ice grenades and Throwing knives

https://github.com/shanapu/MyJailShop/pull/53
https://github.com/shanapu/MyJailShop/pull/55

If a current maintainer has some time to review them it'll be great

I would like to fix more things but I don't have that much time and experience. I'll focus on fixing bugs I encounter on my public server, but if any major bug appears, I'll try to fix it
__________________
GitHub | Discord: @azalty | Steam
azalty is offline
azalty
AlliedModders Donor
Join Date: Feb 2020
Location: France
Old 11-12-2022 , 21:36   Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
Reply With Quote #112

Just a quick update saying that I've since started distributing releases with my fixes which you can get here: https://github.com/azalty/MyJailShop/releases

Install instructions are in the releases

If you have bugs to report, feel free to create an issue on shanapu's repo (or mine if it comes from my fork).
Let's hope that shanapu will return one day
__________________
GitHub | Discord: @azalty | Steam
azalty is offline
PorcusorulMagic
Member
Join Date: Dec 2018
Location: Romania
Old 01-06-2023 , 08:12   Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
Reply With Quote #113

myjailshop_freeday.smx doesn't work
HTML Code:
[SM] Unable to load plugin "MyJailShop/myjailshop_freeday.smx": Native "warden_freeday_set" was not found
but i have all addons from MyJailbreak.
__________________
Steam - https://steamcommunity.com/id/porcusorulmagic
Discord - PorcusorulMagic#4908
PorcusorulMagic is offline
Shacore
Junior Member
Join Date: Apr 2023
Old 04-20-2023 , 10:07   Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
Reply With Quote #114

I want to limit items bought (for tt max 3 items, for ct max 4), but can't do it so far
this is my code:

```
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <cstrike>
#include <clientprefs>
#include <colors>
#include <autoexecconfig>
#include <myjailshop>
#include <mystocks>
#include <clients>

#undef REQUIRE_PLUGIN
#include <smartjaildoors>
#include <myjailbreak>
#include <CustomPlayerSkins>
#include <myjbwarden>
#include <myicons>
#include <store-shop>
#include <store-backend>
#include <store-inventory>
#include <store-loadouts>
#include <store-stocks>
#include <store-logging>
#include "myjailshop.sp"
#define REQUIRE_PLUGIN

int ItemsBought;

public void OnPluginStart()
{
ItemsBought = 0;
HookEvent("round_start", EventRoundStart);
}

public void Store_OnBuyItem_Post(int client, int itemId, bool success)
{
ItemsBought++;
new Team = GetClientTeam(client);

if(Team==2)
{
if(ItemsBought>3)
{
Store_LockShop(client);
}
}
if(Team==3)
{
if(ItemsBought>4)
{
Store_LockShop(client);
}
}
}
public void EventRoundStart(Event event, const char[] name, bool dontBroadcast)
{
ItemsBought = 0;
for(int i=1;i<=MaxClients;i++)
{
Store_UnlockShop(i);
}
}```
Shacore is offline
Shacore
Junior Member
Join Date: Apr 2023
Old 04-20-2023 , 10:09   Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
Reply With Quote #115

in store-shop.inc there is
native void Store_LockShop(int client);
native void Store_UnlockShop(int client);
forward void Store_OnBuyItem_Post(int client, int itemId, bool success);

but when i load the plugin it says that Store_LockShop isnt defined, maybe there is another way of doing this?
Shacore 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 14:59.


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