AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18] (https://forums.alliedmods.net/showthread.php?t=288712)

azalty 01-10-2021 16:56

Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
 
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

azalty 11-12-2022 21:36

Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
 
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 :)

PorcusorulMagic 01-06-2023 08:12

Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
 
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.

Shacore 04-20-2023 10:07

Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
 
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 04-20-2023 10:09

Re: [CS:GO] MyJailShop (a redux rewrite of Jail Shop) [1.5.0 / 20-08-18]
 
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?


All times are GMT -4. The time now is 21:40.

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