Jump to content
  • 0

Mob Sprite in npc don't walk anymore?


Hyroshima

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

 Hey guys.

So, for some time I was creating an instance with interactive npcs, that walk around the map to give more immersion in the story.

I was using a client 2018, so I tried it on a newer client in 2020 and it didn't work, so I went looking for where it was working to try to resolve it.

 

maximum client that is working: 2019-05-08cRagexe  (any client after that does not work.)

 

I did the test on both rA and Hercules, i got the same result as shown in the video below.  (Left does not work & Right work!)
I am a few days trying to see if I can solve it but I have not succeeded so far.

 

code used for testing:

prontera,155,178,3	script	testeeee	1039,{


	sleep 1500;
	setarray .@x[0],151,155,158,155;
	setarray .@y[0],175,173,175,178;
	freeloop(1);
	while(true)
	{		
		npcwalkto .@x[.@i],.@y[.@i];
		set .@i,(.@i >= getarraysize(.@x) ? 0:.@i+1);
		sleep 2500;
	}
	freeloop(0);
	
end;
}

 

Edited by Hyroshima
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...