Kxnrl / Store

Store plugin for Source Engine Games.
https://github.com/Kxnrl/Store
90 stars 44 forks source link

hide module #115

Open Caaine opened 4 years ago

Caaine commented 4 years ago

Why you Removing it? :<

Kxnrl commented 4 years ago

Hats/Trail & more need to setParent with player. If block player transmit, that model will stuck anywhere. so I remove that and provide some API and forward to Fix that. Code example


public void Store_OnHatsCreated(int client, int entity, int slot)
{
    g_Edict[entity] = client;
    SDKHookEx(entity, SDKHook_SetTransmit, Event_OnTransmit);
}

public void Store_OnTrailsCreated(int client, int entity)
{
    g_Edict[entity] = client;
    SDKHookEx(entity, SDKHook_SetTransmit, Event_OnTransmit);
}

public void Store_OnParticlesCreated(int client, int entity)
{
    g_Edict[entity] = client;
    SDKHookEx(entity, SDKHook_SetTransmit, Event_OnTransmit);
}

public void Store_OnNeonCreated(int client, int entity)
{
    g_Edict[entity] = client;
    SDKHookEx(entity, SDKHook_SetTransmit, Event_OnTransmit);
}

public void Store_OnPetsCreated(int client, int entity)
{
    g_Edict[entity] = client;
    SDKHookEx(entity, SDKHook_SetTransmit, Event_OnTransmit);
}

public Action Event_OnTransmit(int entity, int sendto)
{
    int client = g_Edict[entity];
    if (client == sendto)
        return Plugin_Continue;

    return g_bHide[sendto][client] ? Plugin_Handled : Plugin_Continue;
}
freakexeuLow commented 4 years ago

Hey @Kxnrl, is it possible to install an extra plugin for it to be able to use it further? I am often asked by my users why it was removed and the guys are missing it :3

Kxnrl commented 4 years ago

Hey @Kxnrl, is it possible to install an extra plugin for it to be able to use it further? I am often asked by my users why it was removed and the guys are missing it :3

what extra plugin

freakexeuLow commented 4 years ago

Hey @Kxnrl, is it possible to install an extra plugin for it to be able to use it further? I am often asked by my users why it was removed and the guys are missing it :3

what extra plugin

for !hide

Kxnrl commented 4 years ago

ofc, i can made new one to control them

freakexeuLow commented 4 years ago

ofc, i can made new one to control them

who nice, you can also write me on steam if you want to test something and thanks :3

Caaine commented 4 years ago

and? :O

freakexeuLow commented 4 years ago

Hey @Kxnrl :D have you already created something like this or is it still in progress? :3

Kxnrl commented 4 years ago

Hey @Kxnrl :D have you already created something like this or is it still in progress? :3

sorry, I am busy in IRL works.

freakexeuLow commented 4 years ago

Thanks for doing this, I will test it over the days :3

freakexeuLow commented 4 years ago

Hey Kxnrl, I got this error on your new version :3 https://pastebin.com/Dx7Rqe6L

Kxnrl commented 4 years ago

Fixed https://github.com/Kxnrl/Store/commit/84f8a808c59f585f0f74fa12505859b23f2563e9

freakexeuLow commented 4 years ago

Fixed 84f8a80

Thanks and the next error: https://pastebin.com/Hgn3VH7n We think you miss a line like

public void OnPluginStart() { RegConsoleCmd("sm_shide", Command_Hide);

// Load the translations file LoadTranslations("store.phrases"); }

I hope this is correct so far, because you don't have this in your file :3

Info: Yes, i use the last translation file and Caaine has the same problem with the error, I write privately with him :3

freakexeuLow commented 4 years ago

!hide

Works so far, but Aura, Particle, Neon´s and Custom Playerskins are not hide

Playertrails, Hats, Facemask and Glasses are hidden when you type !shide :3

Caaine commented 4 years ago

grafik sry for late response Aura, Particle, Neon´s and Custom Playerskins are not hide i use master branch

Kxnrl commented 4 years ago

they don't hide yours

freakexeuLow commented 4 years ago

they don't hide yours

hey Kxnrl, isn't it possible to include everything to hide such aura/particles and custom playerskins? I'm still looking for it at the moment and hope that will works it will that one day. :3

Caaine commented 4 years ago

TransmitManager not working for me: https://github.com/Kxnrl/sm-ext-TransmitManager/issues/1 with Bara's compiled version crash the Server https://crash.limetech.org/zgufvp2ziaah cant' test the hide Plugin :/

Caaine commented 4 years ago

any update for this? :S

Kxnrl commented 3 years ago

sorry, no. I have no time. but it in my plan

freakexeuLow commented 3 years ago

TransmitManager not working for me: Kxnrl/sm-ext-TransmitManager#1 with Bara's compiled version crash the Server https://crash.limetech.org/zgufvp2ziaah cant' test the hide Plugin :/

sorry, no. I have no time. but it in my plan

I also have exactly the same problem with your store system. Your version gives me the warning and Bara's version works, but crashes the server when 2-3 players are playing and do you still not have time to fix it Kxnrl? :3

Kxnrl commented 3 years ago

Sorry, still no, because COVID-19, I am very busy.. And I think you can fork repo and configure travis, try build yourself

freakexeuLow commented 3 years ago

Sorry, still no, because COVID-19, I am very busy.. And I think you can fork repo and configure travis, try build yourself

good recovery and i never work with extensions

Kxnrl commented 3 years ago

Sorry, still no, because COVID-19, I am very busy.. And I think you can fork repo and configure travis, try build yourself

good recovery and i never work with extensions

I updated transmitmanager, but need compile by yourself. CI may not working fine.

freakexeuLow commented 3 years ago

Sorry, still no, because COVID-19, I am very busy.. And I think you can fork repo and configure travis, try build yourself

good recovery and i never work with extensions

I updated transmitmanager, but need compile by yourself. CI may not working fine.

Thanks, now its time to find someone who does the compiling :P

freakexeuLow commented 3 years ago

Hey, I tested it and it gave me Debian 10 compiled (the extension) and the error is Got a presubmit token from server: bcbc01a643a4f1f3516022f74dd3bcc9 Classified module /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so as Extension Submitting symbols for /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so Symbol upload complete: Stored symbols for TransmitManager.ext.2.csgo.so/21C4BA37786C5BFA5AD3EAB6EBE3E51A0/Linux/x86 Uploaded crash dump: Crash ID: 6OTN-HGZV-GQTF

Crash reporter: https://crash.limetech.org/6otnhgzvgqtf

Kxnrl commented 3 years ago

Hey, I tested it and it gave me Debian 10 compiled (the extension) and the error is Got a presubmit token from server: bcbc01a643a4f1f3516022f74dd3bcc9 Classified module /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so as Extension Submitting symbols for /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so Symbol upload complete: Stored symbols for TransmitManager.ext.2.csgo.so/21C4BA37786C5BFA5AD3EAB6EBE3E51A0/Linux/x86 Uploaded crash dump: Crash ID: 6OTN-HGZV-GQTF

Crash reporter: https://crash.limetech.org/6otnhgzvgqtf

Did you sdkhook transmit to hook player's transmit?

freakexeuLow commented 3 years ago

Hey, I tested it and it gave me Debian 10 compiled (the extension) and the error is Got a presubmit token from server: bcbc01a643a4f1f3516022f74dd3bcc9 Classified module /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so as Extension Submitting symbols for /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so Symbol upload complete: Stored symbols for TransmitManager.ext.2.csgo.so/21C4BA37786C5BFA5AD3EAB6EBE3E51A0/Linux/x86 Uploaded crash dump: Crash ID: 6OTN-HGZV-GQTF Crash reporter: https://crash.limetech.org/6otnhgzvgqtf

Did you sdkhook transmit to hook player's transmit?

i have not customized anything, just uploaded the extension and the hide system

Edit: maybe this is the SurfTimer? https://github.com/surftimer/Surftimer-Official

Kxnrl commented 3 years ago

Hey, I tested it and it gave me Debian 10 compiled (the extension) and the error is Got a presubmit token from server: bcbc01a643a4f1f3516022f74dd3bcc9 Classified module /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so as Extension Submitting symbols for /home/user2-7/server/csgo/csgo/addons/sourcemod/extensions/TransmitManager.ext.2.csgo.so Symbol upload complete: Stored symbols for TransmitManager.ext.2.csgo.so/21C4BA37786C5BFA5AD3EAB6EBE3E51A0/Linux/x86 Uploaded crash dump: Crash ID: 6OTN-HGZV-GQTF Crash reporter: https://crash.limetech.org/6otnhgzvgqtf

Did you sdkhook transmit to hook player's transmit?

i have not customized anything, just uploaded the extension and the hide system

Edit: maybe this is the SurfTimer? https://github.com/surftimer/Surftimer-Official

https://github.com/Kxnrl/sm-ext-TransmitManager/commit/0fa5a52caf5bb5242067ed2713ef4f8e43db7aff