07-22-2010, 04:25 AM
I need to know how to take out or disable the teleport function in the code, and make it so the character doesn't get stuck anywhere. I am using a paladin in D2 classic so it can't teleport. I know how to code in C++ so if you tell me the files I need to change it would be great.
---------- Post added 07-21-2010 at 01:55 PM ---------- Previous post was 07-20-2010 at 11:22 PM ----------
Went through some of the code and found this,
\D2NT\scripts\libs\common\NTMove.ntl
Lines 10-13:
if(NTC_InTown() || NTC_GetSkillLevel(54) < 1)
_teleport = false;
else
_teleport = true;
If I change the "_teleport = true;" to false I'm hoping it doesn't get stuck at a wall when it gets to a place where it should teleport. I'll try it later tonight when I get home.
---------- Post added 07-21-2010 at 01:55 PM ---------- Previous post was 07-20-2010 at 11:22 PM ----------
Went through some of the code and found this,
\D2NT\scripts\libs\common\NTMove.ntl
Lines 10-13:
if(NTC_InTown() || NTC_GetSkillLevel(54) < 1)
_teleport = false;
else
_teleport = true;
If I change the "_teleport = true;" to false I'm hoping it doesn't get stuck at a wall when it gets to a place where it should teleport. I'll try it later tonight when I get home.