Diagonal Deplacement       Back to File List | Edit This File

Diagonal Deplacement - Click to Download
Submitted by Darkmore on 01.03.2007 (1023 Downloads)
Diagonal Deplacement
File rating: 4.11 out of 5.00 (9 votes total).
Rate this file:       (Sucks) 1   2   3   4   5 (Rocks)      

Posted by Aero on 05.28.2007
thanks for this mod, installed a while ago just never commented or voted. but its real good. works great in my hosted game.

Posted by Keinar on 02.16.2008
Dude good job but u hav sum mistake . Why go n and w both :S and other way :S that not good but . its good:)
Posted by svetljjjo on 10.07.2011
a small error
in four rows
additional directions
makes only one check
and this can lead
until a character
outside map
correct lines that are :

if (isset($_POST["northweast_x"])) { $latitude++; $longitude--; if ($latitude > $controlrow["gamesize"]) { $latitude = $controlrow["gamesize"]; } if ($longitude < ($controlrow["gamesize"]*-1)) { $longitude = ($controlrow["gamesize"]*-1); }}
   if (isset($_POST["northeast_x"])) { $latitude++; $longitude++; if ($latitude > $controlrow["gamesize"]) { $latitude = $controlrow["gamesize"]; } if ($longitude > $controlrow["gamesize"]) { $longitude = $controlrow["gamesize"]; }}
   if (isset($_POST["southweast_x"])) { $latitude--; $longitude--; if ($latitude < ($controlrow["gamesize"]*-1)) { $latitude = ($controlrow["gamesize"]*-1); } if ($longitude < ($controlrow["gamesize"]*-1)) { $longitude = ($controlrow["gamesize"]*-1); }}
   (isset($_POST["southeast_x"])) { $latitude--; $longitude++; if ($latitude < ($controlrow["gamesize"]*-1)) { $latitude = ($controlrow["gamesize"]*-1); } if ($longitude > $controlrow["gamesize"]) { $longitude = $controlrow["gamesize"]; }}

Add A Comment

In order to cut down on comment spam, you must be registered on the support forums and provide your username and password before you are allowed to comment. The name shown in your comment will be your forums display name. Sorry it had to be like this. If you haven't already, please register an account.

Forums Username:

Forums Password:

Your Comment:

Information & Rules
This is a file index for any Dragon Knight modifications. If you've made a mod you'd like to share with the community, upload it.

Mod authors, please include a name, version, and brief description along with your file. All files should be submitted in a zip file that includes the actual PHP scripts as well as any readme/instruction files.

DISCLAIMER: I take absolutely no responsibility for the content or functionality of any of these files. You use them entirely at your own risk. Make sure to run all files through a virus scanner before opening them. Hopefully the people here are above such petty nonsense as putting a virus in the files, but you can never be to careful.