Author Topic: weapond shop presumed cheat............help :-(  (Read 1509 times)

0 Members and 1 Guest are viewing this topic.

Offline mich1103

  • Flagrunner
  • ****
  • Posts: 557
  • Did you say chocolate ? O.o
    • ZoMbIe-DeStRoYeR pk server
weapond shop presumed cheat............help :-(
« on: January 10, 2010, 02:08:20 pm »
whne i buy a weapon with weapons shop script that kick me and say presumed cheat what can i do ? :|  :'(
??? ???  ???  ???  ???
« Last Edit: January 10, 2010, 02:19:33 pm by mich1103 »

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: weapond shop presumed cheat............help :-(
« Reply #1 on: January 10, 2010, 03:56:08 pm »
Do in soldat.ini
Disable_AntiCheat_Kick=1

Someone should fix that piece of crappy code.
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: weapond shop presumed cheat............help :-(
« Reply #2 on: January 10, 2010, 05:19:45 pm »
Or use advance mode. Disabling all weapons isn't a great idea.
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: weapond shop presumed cheat............help :-(
« Reply #3 on: January 10, 2010, 05:23:02 pm »
SetWeaponActive is fine too.
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: weapond shop presumed cheat............help :-(
« Reply #4 on: January 10, 2010, 08:57:30 pm »
SetWeaponActive is fine too.
Just note that this may not guarantee the user seeing the weapons menu correctly (acting as if SetWeaponActive didn't work).

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: weapond shop presumed cheat............help :-(
« Reply #5 on: January 10, 2010, 09:55:01 pm »
SetWeaponActive is fine too.
Just note that this may not guarantee the user seeing the weapons menu correctly (acting as if SetWeaponActive didn't work).


When i need to use SetWeaponActive() I just do it 15+ times with a loop to make sure it sticks.


Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: weapond shop presumed cheat............help :-(
« Reply #6 on: January 11, 2010, 08:50:39 am »
15 times? It works with only once, just call it every time in OnJoinTeam().

Offline tk

  • Soldier
  • **
  • Posts: 235
Re: weapond shop presumed cheat............help :-(
« Reply #7 on: January 11, 2010, 10:18:13 am »
Quote
When i need to use SetWeaponActive() I just do it 15+ times with a loop to make sure it sticks
Using it 15 times in a row doesn't change anything and it's just stupid.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: weapond shop presumed cheat............help :-(
« Reply #8 on: January 11, 2010, 01:21:09 pm »
Quote
When i need to use SetWeaponActive() I just do it 15+ times with a loop to make sure it sticks
Using it 15 times in a row doesn't change anything and it's just stupid.
It makes it more likely that the client will receive one of those packets ^^ I would probably do it only two times, maybe three (if 3, not sure if it would matter, but separating the 3rd by 1 second); and if the player somehow gets the wrong weapon, ForceWeapon it out of his hand (assuming he cannot hold it; if he can, then don't do that :P), and try one more time SetWeaponActive (just in case if he got it because he spawned with it).

Offline Neosano

  • Camper
  • ***
  • Posts: 253
  • IIAWAK!
Re: weapond shop presumed cheat............help :-(
« Reply #9 on: January 11, 2010, 01:24:27 pm »
DorkeyDear is thinking right.
No need to do it 15 times, especially in a row. I'll better do it 3 times with 1-2 seconds pauses.

And, DorkeyDead, what about picking up weapons? :D
KAWAAAAAAAIIIIIIIIII

Offline dnmr

  • Camper
  • ***
  • Posts: 315
  • emotionally handicapped
Re: weapond shop presumed cheat............help :-(
« Reply #10 on: January 11, 2010, 01:46:34 pm »
DorkeyDear is thinking right.
No need to do it 15 times, especially in a row. I'll better do it 3 times with 1-2 seconds pauses.

And, DorkeyDead, what about picking up weapons? :D
if the player somehow gets the wrong weapon, ForceWeapon it out of his hand (assuming he cannot hold it; if he can, then don't do that :P)

Offline Neosano

  • Camper
  • ***
  • Posts: 253
  • IIAWAK!
Re: weapond shop presumed cheat............help :-(
« Reply #11 on: January 11, 2010, 04:25:36 pm »
If player is not allowed to choose minimi, but he kills someone with minimi and picks it up.

From: January 11, 2010, 04:26:13 pm
So really he should be able to do it, but your "checking" script will screw his gun out of his hands.
KAWAAAAAAAIIIIIIIIII

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: weapond shop presumed cheat............help :-(
« Reply #12 on: January 11, 2010, 04:58:41 pm »
From Ec himself: each call is 1 packet.

This packet can and does get lost on route. Sending it 15 times is an infinitesimal load to the scriptcore. I have tried it with less than 10 and it frequently fails, but with 15 there is very little chance to failier.


Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: weapond shop presumed cheat............help :-(
« Reply #13 on: January 11, 2010, 08:47:28 pm »
This packet can and does get lost on route. Sending it 15 times is an infinitesimal load to the scriptcore. I have tried it with less than 10 and it frequently fails, but with 15 there is very little chance to failier.
I didn't gather any statistics, but I usually get < 50% chance of failure the first time around. But you do have a point, 15 packets isn't much at all, but if there are 16 people in a server, and they are changing weapons menu items often, and the box has many servers running this script, it may add up, but I'm not sure how much load it would be, and compared to other things.