Instant run where are you ?

Play Now

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
I cant belive this but ive spent like over 1 hour now,
and i cant stop instant run, need some help please.

Things ive done Client side

procedure TfrmMain.ClientGetServerConfig

Ive blocked all below this
{sBody := DecodeString(sBody);

~~~~~~~~~~~~~~~~~~~~~
procedure TfrmMain.OpenConfigDlg

Ive blocked all on this (F12 window)

~~~~~~~~~~~~~~~~~~~~~
VK_F12 deleted all

~~~~~~~~~~~~~~~~~~~~~
Made all the run things in MShare False

~~~~~~~~~~~~~~~~~~~~~

Things ive done Server side

M2Share all runs False


Think thats all



And instant run keeps working, what iam missing ?

lif
 

kyndigs

LOMCN Developer
Developer
Feb 19, 2009
1,126
117
190
Reading, UK
Check

Code:
function  TActor.Move (step: integer): Boolean;
var
   prv, curstep, maxstep: integer;
   fastmove, normmove: Boolean;
begin
   Result := FALSE;
   fastmove := FALSE;

If you look at that method, you will see a variable called fastmove this deals with instant running.

Edit: this is client side, in Actor.pas
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
Just checked Kyn, mines the same

Thanks for the post, iam lost with this, this should be a easy fix lol

Anymore idears mate ?

lif
 
Upvote 0

kyndigs

LOMCN Developer
Developer
Feb 19, 2009
1,126
117
190
Reading, UK
Check fastmove it will be being set to true somewhere, if you want to send me the client source before you changed anything I can take a look for you.

Atm I only have fastmove on tigers and when you are a gm or when you use mirset fully, do you have a mir set on?

Code:
   if (m_nState and STATE_RIDE) <> 0 then begin
      normmove := False;
      fastmove := True;
   end;
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
I tho one of them was ment to be set to true ?

if (m_nCurrentAction = SM_BACKSTEP) then
fastmove := TRUE;

lif
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
Yer mines the same then i dont have anymore

Iam lost, think of anything elce ?

lif
 
Upvote 0

kyndigs

LOMCN Developer
Developer
Feb 19, 2009
1,126
117
190
Reading, UK
Code:
            caRun: begin
               if g_boCanStartRun or (g_nRunReadyCount >= 1) then begin
                  crun := g_MySelf.CanRun;

Also as above in clMain.pas is another place where the instant run could be causing issues, g_boCanStartRun or g_nRunReadyCount are set to the true or >= 1.
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
Going to have to send you, because what you posted above is not even in my source

Its in my other dm2 source, but ive noticed quite a few things diffrent

lif
 
Upvote 0