Author Topic: Speedhack  (Read 5248 times)

0 Members and 1 Guest are viewing this topic.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Speedhack
« on: May 21, 2007, 05:06:42 pm »
Code: [Select]
procedure ApplySprint(ID,duration,extraspeed: integer);
var timer:integer;
    prevX,prevY,changeX,changeY: single;
begin
  timer:=0;
  while timer < duration do begin
    GetPlayerXY(ID,prevX,prevY);
    timer := timer + 10;
    sleep(50);
    changeX := GetPlayerStat(ID,'X') - prevX;
    changeY := GetPlayerStat(ID,'Y') - prevY;
    MovePlayer(ID,GetPlayerStat(ID,'X') + (changeX * extraspeed / 1000), GetPlayerStat(ID,'Y') + (changeY * extraspeed / 1000));
  end;
  DrawText(ID,'Sprint ended.',100,RGB(170,170,255),100/85,30,360);
end;


Server based speedhack code snippet
works only with 2.6.0 (not 2.6.1)

makes you walk into walls ;Q

have fun :D


call like this:

  ThreadFunc([ID,1000,500],'Applysprint');

to apply a 10 second sprint on ID, giving 50% extraspeed
« Last Edit: May 21, 2007, 05:27:45 pm by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline spkka

  • Camper
  • ***
  • Posts: 469
Re: Speedhack
« Reply #1 on: May 21, 2007, 05:10:19 pm »
nice example ava!! didnĀ“t know yet that speed could be modified..
Big up for you and some karma bb!

Date Posted: May 21, 2007, 06:09:47 pm
lol no karma oooohh my bad  ::)

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Speedhack
« Reply #2 on: May 21, 2007, 05:11:13 pm »
well, it's just for fun, you can't use it for real. extremely buggy and MovePlayer is excluded in versions higher than 2.6.0
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline spkka

  • Camper
  • ***
  • Posts: 469
Re: Speedhack
« Reply #3 on: May 21, 2007, 05:13:15 pm »
>(
moveplayer :O woud be sooo good

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Speedhack
« Reply #4 on: May 21, 2007, 09:41:35 pm »
MovePlayer is excluded in versions higher than 2.6.0

And is there reasoning for this? Please don't say because its extremely buggy... Because... how can setting X,Y be buggy? Maybe this script specifically but... If this is for real, im gonna go crazY! NOOOO THIS CANT BE!! WTF NOOO NOO NO!!
NO!

already going crazy.. g'night all

Offline chillis34

  • Major
  • *
  • Posts: 68
    • [FT] Clan Web Site
Re: Speedhack
« Reply #5 on: June 07, 2007, 08:11:17 am »
Dorky STFU :) btw hey its chinchy :)
I am the smartest :D

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Speedhack
« Reply #6 on: June 07, 2007, 09:54:27 am »
That was a while ago and I was crabby and tired <3
Although I still am upset that it is still being used on EnEsCe's Fun server and isn't available to the public (at least not on the default 2.6.1 download (unless enesce just changed the procedure name and nobody knows about it))
Sorry for that :)

Offline cynicle

  • Major(1)
  • Posts: 37
Re: Speedhack
« Reply #7 on: June 09, 2007, 09:06:12 pm »
can i ask why moveing players was taken out?
Join the Army. Visit strange and exotic places. Meet fascinating people. And kill them.

Aus Soldat League 203.208.70.216:23073