Author Topic: bots: lag?  (Read 1745 times)

0 Members and 3 Guests are viewing this topic.

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
bots: lag?
« on: November 24, 2009, 10:54:43 am »
Hey! hello, I've a question. It's possible the change of the bot's lag?

It will not be possible, but there will be a way to lie about the lag of the bot?

thanks bros

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: bots: lag?
« Reply #1 on: November 25, 2009, 02:29:30 am »
No.

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: bots: lag?
« Reply #2 on: November 25, 2009, 07:04:44 am »
thx xD

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: bots: lag?
« Reply #3 on: November 25, 2009, 10:18:14 am »
Bots can't lag. Ever. They're directly on the server.
There are other worlds than these

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: bots: lag?
« Reply #4 on: November 26, 2009, 01:05:24 pm »
Bots can't lag. Ever. They're directly on the server.

Sure, but I thought I could change the lag, using SetPlayerStat, for example... but this isn't possible

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: bots: lag?
« Reply #5 on: November 26, 2009, 01:20:08 pm »
No you cannot fake lag of bots (or humans).

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: bots: lag?
« Reply #6 on: November 26, 2009, 04:19:57 pm »
you can make it for humans as long the other dont know thats its scripted;
use MovePlayer() and make him move in his walking direction or so :p

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: bots: lag?
« Reply #7 on: November 26, 2009, 05:15:32 pm »
you can make it for humans as long the other dont know thats its scripted;
use MovePlayer() and make him move in his walking direction or so :p
Teleporting player in his moving direction increases ping? Interesting idea.

Offline dnmr

  • Camper
  • ***
  • Posts: 315
  • emotionally handicapped
Re: bots: lag?
« Reply #8 on: November 27, 2009, 04:20:05 am »
you can make it for humans as long the other dont know thats its scripted;
use MovePlayer() and make him move in his walking direction or so :p
Teleporting player in his moving direction increases ping? Interesting idea.
moving him back increases FPS too

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: bots: lag?
« Reply #9 on: November 27, 2009, 07:44:49 am »
im not sure if it increases the ping, but high ping causes "warping players" so it could be used like this to make them "warping" :p

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: bots: lag?
« Reply #10 on: November 27, 2009, 08:44:23 am »
you can make it for humans as long the other dont know thats its scripted;
use MovePlayer() and make him move in his walking direction or so :p

Assuming that the lag can be increased in players with MovePlayer (), this would be true for humans? because if we apply the bot, it will become super teleport, I think

From: November 27, 2009, 08:46:14 am
MovePlayer
procedure MovePlayer(ID: Byte; X, Y: Single);

Parameter Info:
  ID (Byte): Player ID of the target to be moved elsewhere.
  X (Single): X coordinate to be moved to.
  Y (Single): Y coordinate to be moved to.

Description:
This function will move player(ID) to the specified location (X/Y) instantly.
NOTE: This function will NOT work on bots - only players.


haha xD not work on bots xD

ok, I'll keep thinkin
« Last Edit: November 27, 2009, 08:46:14 am by KEEN »

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: bots: lag?
« Reply #11 on: November 27, 2009, 03:06:30 pm »
If you want lag effect it's not that hard:
- 50% chance that hit won't register(random() + onplayerdamage)
- 25% chance to warp every second(random() + apponidle)

Nobody will play on your server... but at least lag will be close to realism!