Git Product home page Git Product logo

mystore's Introduction

mystore's People

Contributors

cruze03 avatar shanapu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mystore's Issues

Gamble

L 09/05/2019 - 20:26:08: [SM] [0] IsClientInGame
L 09/05/2019 - 20:26:08: [SM] [1] Line 899, addons/sourcemod/scripting/mystore_gamble_dice.sp::Timer_Run
L 09/05/2019 - 20:26:08: [SM] Exception reported: Client index 0 is invalid
L 09/05/2019 - 20:26:08: [SM] Blaming: mystore_gamble_dice.smx
L 09/05/2019 - 20:26:08: [SM] Call stack trace:
L 09/05/2019 - 20:26:08: [SM] [0] IsClientInGame
L 09/05/2019 - 20:26:08: [SM] [1] Line 899, addons/sourcemod/scripting/mystore_gamble_dice.sp::Timer_Run
L 09/05/2019 - 20:26:08: [SM] Exception reported: Client index 0 is invalid
L 09/05/2019 - 20:26:08: [SM] Blaming: mystore_gamble_dice.smx
L 09/05/2019 - 20:26:08: [SM] Call stack trace:

they won credit a lot

https://prnt.sc/p2b12u

[ERROR] [SM] Exception reported: Invalid convar handle 0 (error 4) on multiple plugins

Hello, I still receive these errors.

L 01/03/2020 - 02:32:27: [SM] Blaming: mystore_item_perspective.smx
L 01/03/2020 - 02:32:27: [SM] Call stack trace:
L 01/03/2020 - 02:32:27: [SM]   [0] ConVar.BoolValue.get
L 01/03/2020 - 02:32:27: [SM]   [1] Line 102, D:\sourcemod 1.10\scripting\mystore_item_perspective.sp::Event_PlayerSpawn
L 01/03/2020 - 02:32:27: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/03/2020 - 02:32:27: [SM] Blaming: mystore_item_attribute.smx
L 01/03/2020 - 02:32:27: [SM] Call stack trace:
L 01/03/2020 - 02:32:27: [SM]   [0] ConVar.BoolValue.get
L 01/03/2020 - 02:32:27: [SM]   [1] Line 164, D:\sourcemod 1.10\scripting\mystore_item_attribute.sp::Event_PlayerSpawn
L 01/03/2020 - 02:32:27: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/03/2020 - 02:32:27: [SM] Blaming: mystore_item_spray.smx
L 01/03/2020 - 02:32:27: [SM] Call stack trace:
L 01/03/2020 - 02:32:27: [SM]   [0] ConVar.BoolValue.get
L 01/03/2020 - 02:32:27: [SM]   [1] Line 160, D:\sourcemod 1.10\scripting\mystore_item_spray.sp::OnPlayerRunCmd
L 01/03/2020 - 02:32:27: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/03/2020 - 02:32:27: [SM] Blaming: mystore_item_pet.smx
L 01/03/2020 - 02:32:27: [SM] Call stack trace:
L 01/03/2020 - 02:32:27: [SM]   [0] ConVar.BoolValue.get
L 01/03/2020 - 02:32:27: [SM]   [1] Line 232, D:\sourcemod 1.10\scripting\mystore_item_pet.sp::OnPlayerRunCmd
L 01/03/2020 - 02:32:27: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/03/2020 - 02:32:27: [SM] Blaming: mystore_item_jumps.smx
L 01/03/2020 - 02:32:27: [SM] Call stack trace:
L 01/03/2020 - 02:32:27: [SM]   [0] ConVar.BoolValue.get
L 01/03/2020 - 02:32:27: [SM]   [1] Line 175, D:\sourcemod 1.10\scripting\mystore_item_jumps.sp::OnPlayerRunCmd
L 01/03/2020 - 02:32:40: Error log file session closed.
L 01/03/2020 - 02:56:13: [SM] Blaming: mystore_core.smx
L 01/03/2020 - 02:56:13: [SM] Call stack trace:
L 01/03/2020 - 02:56:13: [SM]   [0] Call_StartFunction
L 01/03/2020 - 02:56:13: [SM]   [1] Line 757, D:\sourcemod 1.10\scripting\mystore_core.sp::OnMapStart
sm version
 SourceMod Version Information:
    SourceMod Version: 1.10.0.6454
    SourcePawn Engine: 1.10.0.6454, jit-x86 (build 1.10.0.6454)
    SourcePawn API: v1 = 5, v2 = 12
    Compiled on: Oct 30 2019 17:21:55
    Built from: https://github.com/alliedmodders/sourcemod/commit/8c380e4
    Build ID: 6454:8c380e4
    http://www.sourcemod.net/
meta version
Metamod:Source version 1.10.7-dev
Built from: https://github.com/alliedmodders/metamod-source/commit/6c8495f
Build ID: 971:6c8495f
Loaded As: Valve Server Plugin
Compiled on: Sep  2 2019
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

[BUG] Multiple Lootboxes

If player start opening lootbox he can still go to shop and start opening another one for free, this means players can gain infinite credits by opening a lot of lootboxes in one round. I think it should be forbidden to open other lootboxes after starting opening one.

To reproduce: go to shop, buy lootbox, use lootbox, while lootbox is opening go again to shop and start opening it again as shop thinks that you have lootbox in your inventory.

EDIT: There is one more bug with lootboxes, if you start opening lootbox after round end and before round start the same exact problem appears, user can open another lootbox for free.

[ERROR] [SM] Exception reported: Could not create timer, no more handles

Sorry for my bad English first
I tried various Store plugins, but some of those have not maintained anymore
I got the same problem, if I changed model, plugin would cause server crashing
After crashing I got an Error window like

1/- player: UTIL_SetModel: not parecached:
model/players/custom_player/whatever/whatever.mdl

this is my log file with last two errors
most are about CreateTimer

L 12/13/2019 - 04:15:12: [SM] Call stack trace:
L 12/13/2019 - 04:15:12: [SM]   [0] CreateTimer
L 12/13/2019 - 04:15:12: [SM]   [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn
L 12/13/2019 - 04:15:35: [SM] Exception reported: Could not create timer, no more handles
L 12/13/2019 - 04:15:35: [SM] Blaming: mystore_item_playermodel.smx
L 12/13/2019 - 04:15:35: [SM] Call stack trace:
L 12/13/2019 - 04:15:35: [SM]   [0] CreateTimer
L 12/13/2019 - 04:15:35: [SM]   [1] Line 253, addons/sourcemod/scripting/mystore_item_playermodel.sp::SetClientModel
L 12/13/2019 - 04:15:35: [SM]   [2] Line 181, addons/sourcemod/scripting/mystore_item_playermodel.sp::PlayerModels_Equip
L 12/13/2019 - 04:15:35: [SM]   [4] Call_Finish
L 12/13/2019 - 04:15:35: [SM]   [5] Line 3509, addons/sourcemod/scripting/mystore_core.sp::UseItem
L 12/13/2019 - 04:15:35: [SM]   [6] Line 1728, addons/sourcemod/scripting/mystore_core.sp::MenuHandler_Preview

and this is my Accelerator crash log
https://crash.limetech.org/dteks7vsvnla

Environment

  • Operating System version: Windows 10 Pro
  • Current SourceMod version: 1.10 (last version)
  • Current Metamod:Source snapshot version: 1.11
  • Current MyStore version: MyStore-0.1.35-5c35ac3

Please help
If I lose some information, please tell me

Can you give your include files as well?

colors.inc have old syntax so I have errors compiling this so can you upload all your include files too?

Thank you for this <3 Features are hot asf! <3 Will try to make PRs if I have suggestions!

Lootboxes disappear.

When you use a lootbox and it spawns another player can knife/shoot it to brake it. When this happens the loot doesn't drop and after a minute or so of the box being just a model (not being to touch/climb on it anymore) it disappears.

To reproduce:

  1. Spawn a lootbox.
  2. When it stops spinning show another player where it is (by jumping on it or smth).
  3. Another player shoots/knifes it till the hitbox disappears.

[BUG] Invisible weapon skins

Hey ! Sorry to bother with some configs, but i'm really stuck on this.

I got some config for knifes skins, all the materials and models are ok and paths are good, but in game when i equipped the skin, it's just invisible, i can use it but can't see it.

There is my config for the knifes skins :

"Skins d'armes"
{
"TriDagger V2"
{
"model" "models/weapon/v_knife_tridagger_v2.mdl"
"weapon" "weapon_knife"
"price" "400"
"preview" "1"
"type" "weaponmodel"
"slot" "3"
"unique_id" "uid_weaponmodel_tridaggerv2"
}
"GongFu"
{
"model" "models/weapons/v_gongfu.mdl"
"weapon" "weapon_knife"
"price" "400"
"type" "weaponmodel"
"slot" "3"
"unique_id" "uid_weaponmodel_gongfu"
}
}

And i attach my full items txt if ever needed, it' about line 706 to 724.
items.txt

SM version : 1.10 6462
MM:S version : 1.10 971
MyStore version :MyStore-0.1.37-b9fed6d

Thanks :)

[REQUEST] Adding give credits

Hey great plugin btw can you add a command so ppl can typ !give 100 "name" so they can give some off theres credits to someone els out side the voucher ?

[BUG] Credits set back to default after Language phrase "xxx" not found (arg 7)

Help us help you

Please just one bug per report, splitt many bugs to different reports. Thanks

  • I have checked that my issue doesn't exist yet.
  • My report has a descriptive title (not a vague title like It dun't wörk).
  • I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
  • I can always reproduce the issue with the provided description below.

Describe the bug

Clients connect and their credits get back to what i set in (mystore_startcredits "10") the error is allways some random Language phrase in translations not found but after check translation it is there.

Way to Reproduce

no way to reproduce, sometimes it happens rare but not that rare 2/3 time per month.

Logs .csgo/addons/sourcemod/logs/errors_XXXXXXX.log

L 08/19/2020 - 17:31:15: [SM] Exception reported: Language phrase "paintball" not found (arg 7)
L 08/19/2020 - 17:31:15: [SM] Blaming: mystore_core.smx
L 08/19/2020 - 17:31:15: [SM] Call stack trace:
L 08/19/2020 - 17:31:15: [SM]   [0] Format
L 08/19/2020 - 17:31:15: [SM]   [1] Line 1454, addons/sourcemod/scripting/mystore_core.sp::MenuHandler_Store
L 08/19/2020 - 17:44:13: Error log file session closed.

Environment

Thank you.

[BUG] Crash on some player skin model

I installed plugin raw and everything work fine but when ever I install another skin it cause the server crash. I used zephyrus store but had no issue about crash. I think it depend on some models. Please help
But when i edit the code and remove model precache on map start this problem is sovled but may still cause crash

public void PlayerModels_OnMapStart()
{
/*
for (int i = 0; i < g_iCount; i++)
{
PrecacheModel(g_sModel[i], true);
Downloader_AddFileToDownloadsTable(g_sModel[i]);

	if (g_sArms[i][0] != 0)
	{
		PrecacheModel(g_sArms[i], true);
		Downloader_AddFileToDownloadsTable(g_sArms[i]);
	}
}
*/

}

[REQUEST] Weapon Skins Openable From Chest (not models)

Weapon skins (not models).
Weapon skins can openable from chest, or buyable from store, and so there will be something else players have to play for. (so no need to use !ws !knife)
(need only the first thing this is a + feature):
Players can sell skins on a 'market', and other players can buy that, for credits, etc...

[REQUEST] Attachment position and first person

Hi,

By default in the provided items.txt the attachment ( like hat ) are not perfectly placed, i want to adjust their placement but i couldn't define myself how work the position and angle parameters. Some help about this on the wiki would be great.

And i don't know if it's possible but can you make the item invisible in the first person for who wear it ?

Thanks :)

[REQUEST] Make MyStore compatible with other games

  • I have checked that my request doesn't exist yet.
  • My request has a descriptive title (not a vague title like I have a idea).

Right now, MyStore isn't compatible with other games, since it requires CSGO Extension. It would be nice to make it compatible with other games such as CSS or TF2.

How should the feature work step by step?

Steps to reproduce the behavior:

  1. Install MyStore.
  2. Start the server.
  3. Profit!

[REQUEST] Use same database from Zephyrus Store

Many server operators already use Zephyurs Store since years, which means that our people already have a big inventory with credits and stuff,

We still know that Zephyrus Store is outdated and i personally would like to move to another store, and you have a good reputation which means i'll feel safer using yours instead of Zephyrus, however, my community won't handle if they start from 0 with a new store

This mean that with the same database (or a way to migrate all to new database) we will still have our credits, equiped items, and all our inventory with your store.

This is my first time on this website, sorry if i've made a mistake. Thanks!

[BUG] Credits didnt refund if item has plans

Hi, I had issue that if i config the item which has plans options like 1 day, 7 days, 1 month. Whenever i sold an item it did disappear from my inventory but I didnt get my credits back. It only happen when the items have plans. I did sold an item without plans (pernament expiration) i got no issue and my credits did get back. Please help

[ERROR] playermodels

hello, thomas!

im using sourcemod 1.10 GAME: CSGO

everything is working fine but when i set a player model disappears at round start or mapchange

and when i choose some skin i got a error like not precached and the server and client crash

im using sm_downloader from swat and not having problems with the zepyrous store

2/07/2019 - 23:20:24: [SM] [0] CreateTimer
L 12/07/2019 - 23:20:24: [SM] [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn
L 12/07/2019 - 23:20:24: [SM] Exception reported: Could not create timer, no more handles
L 12/07/2019 - 23:20:24: [SM] Blaming: mystore_item_playermodel.smx
L 12/07/2019 - 23:20:24: [SM] Call stack trace:
L 12/07/2019 - 23:20:24: [SM] [0] CreateTimer
L 12/07/2019 - 23:20:24: [SM] [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn
L 12/07/2019 - 23:20:30: Error log file session closed.
L 12/07/2019 - 23:20:56: SourceMod error session started
L 12/07/2019 - 23:20:56: Info (map "35hp_2_2015") (file "csgo\addons\sourcemod\logs\errors_20191207.log")
L 12/07/2019 - 23:20:56: [SM] Exception reported: Could not create timer, no more handles
L 12/07/2019 - 23:20:56: [SM] Blaming: mystore_item_playermodel.smx
L 12/07/2019 - 23:20:56: [SM] Call stack trace:
L 12/07/2019 - 23:20:56: [SM] [0] CreateTimer
L 12/07/2019 - 23:20:56: [SM] [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn
L 12/07/2019 - 23:20:57: [SM] Exception reported: Could not create timer, no more handles
L 12/07/2019 - 23:20:57: [SM] Blaming: mystore_item_playermodel.smx
L 12/07/2019 - 23:20:57: [SM] Call stack trace:
L 12/07/2019 - 23:20:57: [SM] [0] CreateTimer
L 12/07/2019 - 23:20:57: [SM] [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn
L 12/07/2019 - 23:21:09: [SM] Exception reported: Could not create timer, no more handles
L 12/07/2019 - 23:21:09: [SM] Blaming: mystore_item_playermodel.smx
L 12/07/2019 - 23:21:09: [SM] Call stack trace:
L 12/07/2019 - 23:21:09: [SM] [0] CreateTimer
L 12/07/2019 - 23:21:09: [SM] [1] Line 253, addons/sourcemod/scripting/mystore_item_playermodel.sp::SetClientModel
L 12/07/2019 - 23:21:09: [SM] [2] Line 181, addons/sourcemod/scripting/mystore_item_playermodel.sp::PlayerModels_Equip
L 12/07/2019 - 23:21:09: [SM] [4] Call_Finish
L 12/07/2019 - 23:21:09: [SM] [5] Line 3509, addons/sourcemod/scripting/mystore_core.sp::UseItem
L 12/07/2019 - 23:21:09: [SM] [6] Line 1728, addons/sourcemod/scripting/mystore_core.sp::MenuHandler_Preview
L 12/07/2019 - 23:21:22: [SM] Exception reported: Could not create timer, no more handles
L 12/07/2019 - 23:21:22: [SM] Blaming: mystore_item_playermodel.smx
L 12/07/2019 - 23:21:22: [SM] Call stack trace:
L 12/07/2019 - 23:21:22: [SM] [0] CreateTimer
L 12/07/2019 - 23:21:22: [SM] [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn
L 12/07/2019 - 23:21:23: [SM] Exception reported: Could not create timer, no more handles
L 12/07/2019 - 23:21:23: [SM] Blaming: mystore_item_playermodel.smx
L 12/07/2019 - 23:21:23: [SM] Call stack trace:
L 12/07/2019 - 23:21:23: [SM] [0] CreateTimer
L 12/07/2019 - 23:21:23: [SM] [1] Line 224, addons/sourcemod/scripting/mystore_item_playermodel.sp::Event_PlayerSpawn

edit: this is a new log error crashing my server

L 12/08/2019 - 16:07:11: Error log file session closed.
L 12/08/2019 - 16:07:12: SourceMod error session started
L 12/08/2019 - 16:07:12: Info (map "35hp_2_2015") (file "csgo\addons\sourcemod\logs\errors_20191208.log")
L 12/08/2019 - 16:07:12: [SM] Exception reported: invalid handle 0 (error: 4)
L 12/08/2019 - 16:07:12: [SM] Blaming: mystore_item_playermodel.smx
L 12/08/2019 - 16:07:12: [SM] Call stack trace:
L 12/08/2019 - 16:07:12: [SM] [0] ReadFileLine
L 12/08/2019 - 16:07:12: [SM] [1] Line 108, /home/travis/build/shanapu/MyStore/addons/sourcemod/scripting/include/smartdm.inc::Downloader_GetMaterialsFromVMT
L 12/08/2019 - 16:07:12: [SM] [2] Line 197, /home/travis/build/shanapu/MyStore/addons/sourcemod/scripting/include/smartdm.inc::Downloader_AddFileToDownloadsTable
L 12/08/2019 - 16:07:12: [SM] [3] Line 188, /home/travis/build/shanapu/MyStore/addons/sourcemod/scripting/include/smartdm.inc::Downloader_AddFileToDownloadsTable
L 12/08/2019 - 16:07:12: [SM] [4] Line 139, addons/sourcemod/scripting/mystore_item_playermodel.sp::PlayerModels_OnMapStart
L 12/08/2019 - 16:07:12: [SM] [6] Call_Finish
L 12/08/2019 - 16:07:12: [SM] [7] Line 758, addons/sourcemod/scripting/mystore_core.sp::OnMapStart
L 12/08/2019 - 16:07:29: [SM] Exception reported: Handle 9940512 is invalid (error 1)
L 12/08/2019 - 16:07:47: SourceMod error session started
L 12/08/2019 - 16:07:47: Info (map "$2000$_classic") (file "csgo\addons\sourcemod\logs\errors_20191208.log")
L 12/08/2019 - 16:07:47: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 12/08/2019 - 16:07:47: [SM] Blaming: mystore_item_attribute.smx
L 12/08/2019 - 16:07:47: [SM] Call stack trace:
L 12/08/2019 - 16:07:47: [SM] [0] ConVar.BoolValue.get
L 12/08/2019 - 16:07:47: [SM] [1] Line 164, addons/sourcemod/scripting/mystore_item_attribute.sp::Event_PlayerSpawn
L 12/08/2019 - 16:07:47: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 12/08/2019 - 16:07:47: [SM] Blaming: mystore_item_perspective.smx
L 12/08/2019 - 16:07:47: [SM] Call stack trace:
L 12/08/2019 - 16:07:47: [SM] [0] ConVar.BoolValue.get
L 12/08/2019 - 16:07:47: [SM] [1] Line 102, addons/sourcemod/scripting/mystore_item_perspective.sp::Event_PlayerSpawn
L 12/08/2019 - 16:07:47: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 12/08/2019 - 16:07:47: [SM] Blaming: mystore_item_spawnextra.smx
L 12/08/2019 - 16:07:47: [SM] Call stack trace:
L 12/08/2019 - 16:07:47: [SM] [0] ConVar.BoolValue.get
L 12/08/2019 - 16:07:47: [SM] [1] Line 136, addons/sourcemod/scripting/mystore_item_spawnextra.sp::Event_PlayerSpawn
L 12/08/2019 - 16:07:47: [CRASH] Accelerator uploaded crash dump: Crash ID: IYTJ-W2OR-I7BN

Levitating weapons

Since we have this store some players have their weapons levitating 15-20 meters away and moves with them. I cant recreate this bug it just happens sometimes. Attached a screenshot it might help.
20190830125606_1

[BUG] custom commands not work on server

Help us help you

Please just one bug per report, splitt many bugs to different reports. Thanks

  • I have checked that my issue doesn't exist yet.
  • I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
  • My report has a descriptive title (not a vague title like It dun't wörk).
  • I can always reproduce the issue with the provided description below.

Describe the bug

A clear and concise description of what the bug is. Use proper english
Custom commands not working
mystore_cmds "shop, item, mystore, sklep, sklepik"
When i type !sklep nothing happens.

Way to Reproduce

Steps to reproduce the behavior:

  1. Type command '...'
  2. Left click on '...'
  3. Crash

Logs .csgo/addons/sourcemod/logs/errors_XXXXXXX.log

Provide here any logs, such as error logs, console logs or any other log that could be useful.
Use ``` to wrap code in codeblocks

Errorlog in codeblock

Environment

  • Operating System version:
  • Current SourceMod version:
  • Current Metamod:Source snapshot version:
  • Current MyStore version:

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[BUG] Credits Problem

I installed this store plugin to my server, i configurated this, and everything ok, but randomly credits stop working and not give credits for ANYTHING(kills, win ect...). Config file is ok, Log not say anything. When i restart the server, credits start working, but randomly (1-2 map or hour) stop working, not giving any credits and need restart to work again.., (the store not stop working, just the credits earn). How i fix this?

Earnings File:
mystore_earnings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.