Register for your free account! | Forgot your password?

Go Back   elitepvpers > Silkroad Online > SRO Coding Corner
You last visited: Today at 01:20

  • Please register to post and access all features, it's quick, easy and FREE!


Warp Cords help please!

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 5
Received Thanks: 0
Question Warp Cords help please!

I need any web or tools working with X and Y cords to Warp Cords please...

PD: I know the basic Warp Cords of town but I need some own cords...




dragond2808 is offline  
Old 08/03/2017, 16:12   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 75
Received Thanks: 26
Hello, please calc them according to following formulas:
Code:
local $x=GuiCtrlRead($Tools_I1)
local $z=GuiCtrlRead($Tools_I2)
local $xpos=mod($x,192)*10
local $zpos=mod($z,192)*10
local $xsec=($x-$xpos/10)/192+135
local $zsec=($z-$zpos/10)/192+92
local $region=$zsec*256+$xsec
local $string="/warp "&$region&" "&$xpos&" 0 "&$zpos
After using "/warp" you have to use "/addwp XYZ" and "/wp XYZ" to physically move. Let me know if you have any questions.


guckguck is offline  
Reply

Tags
cords, gm command, warp, warp cords



« Silkroad Map X - Y Finder | Suggestion [Get inside] »

Similar Threads
uiparty.py warp funktion (Gruppen warp)
03/23/2015 - Metin2 PServer - Discussions / Questions - 2 Replies
#Closed
PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE
06/21/2011 - Metin2 PServer - Discussions / Questions - 5 Replies
HELP WITH THIS PLEASE ON MY DEDICATED SERVER :-( http://www.youtube.com/watch?v=UyKOTLb960Q log_file_delete_old: stat: No such file or directory connect: Connection refused Timed out Connection refused



All times are GMT +2. The time now is 01:20.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.