Telegates?

Joined
Aug 11, 2006
Messages
632
Reaction score
1
Hi,

I am trying to figure out these Telegates.


As far as I have figured out so far:

1st - Index Number
2nd - X Coordinate
3rd - Y Coordinate
4th - Gate Map number

I am guessing so far on these ;-) The question I have is if the X & Y are correct, how are they translated in the location you are in and going to? I would only guess at the moment it has the from X Coordinate and the map location and X to Coordinate, but what is which?


INSERT INTO `list_telegates` VALUES ('67', '1224462493', '1224642564', '33');
INSERT INTO `list_telegates` VALUES ('68', '1225044016', '1224588721', '32');
INSERT INTO `list_telegates` VALUES ('64', '1224820334', '1224882601', '31');
 
In a c++ app

float realpos = 5900.00;
printf("%i", *((int*)&realpos));

Then you have the 10# cord to set in db.. Hope it helps ya..

Oh my!

I don't have or know C++ and don't have a way to make a app.

I would like to fix up the coordinates on luna where I found several gates do not work.

If by chance someone can put together a app that I can put in each coordinate and it converts it over to the coordinate for the db, I can update the telegates list hopefully with the proper coordiantes (unless someone has a fully working one for all of luna).

I will go through and check each gate, I know so far, gates 101, 102 and 113 are not defined, there might be more.

Thanks for your help!
 
every Tele gate you could ever need..... including Luna and desert clan field etc.... thnx me four tis or it will be the last time i post something....


-- ----------------------------
-- Table structure for list_telegates
-- ----------------------------
CREATE TABLE `list_telegates` (
`id` int(11) NOT NULL default '0',
`x` int(11) default NULL,
`y` int(11) default NULL,
`map` int(11) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- ----------------------------
-- Records
-- ----------------------------
INSERT INTO `list_telegates` VALUES ('127', '6326', '4429', '62');
INSERT INTO `list_telegates` VALUES ('128', '5218', '5381', '61');
INSERT INTO `list_telegates` VALUES ('126', '5683', '4479', '62');
INSERT INTO `list_telegates` VALUES ('109', '5446', '4716', '51');
INSERT INTO `list_telegates` VALUES ('102', '6161', '5373', '53');
INSERT INTO `list_telegates` VALUES ('110', '5698', '4692', '52');
INSERT INTO `list_telegates` VALUES ('107', '5041', '5203', '53');
INSERT INTO `list_telegates` VALUES ('106', '5040', '4849', '51');
INSERT INTO `list_telegates` VALUES ('101', '6152', '5209', '52');
INSERT INTO `list_telegates` VALUES ('96', '5034', '5229', '56');
INSERT INTO `list_telegates` VALUES ('95', '5539', '5155', '57');
INSERT INTO `list_telegates` VALUES ('120', '5092', '4245', '54');
INSERT INTO `list_telegates` VALUES ('86', '5035', '4272', '56');
INSERT INTO `list_telegates` VALUES ('116', '5098', '4823', '54');
INSERT INTO `list_telegates` VALUES ('113', '5807', '4685', '55');
INSERT INTO `list_telegates` VALUES ('112', '5672', '5235', '51');
INSERT INTO `list_telegates` VALUES ('103', '5058', '4423', '54');
INSERT INTO `list_telegates` VALUES ('115', '5088', '5351', '51');
INSERT INTO `list_telegates` VALUES ('104', '5522', '4479', '55');
INSERT INTO `list_telegates` VALUES ('51', '5768', '5485', '27');
INSERT INTO `list_telegates` VALUES ('47', '5474', '4765', '28');
INSERT INTO `list_telegates` VALUES ('46', '5282', '4884', '26');
INSERT INTO `list_telegates` VALUES ('42', '5155', '5489', '27');
INSERT INTO `list_telegates` VALUES ('41', '5650', '5238', '25');
INSERT INTO `list_telegates` VALUES ('39', '5050', '5504', '26');
INSERT INTO `list_telegates` VALUES ('43', '5508', '5537', '25');
INSERT INTO `list_telegates` VALUES ('40', '5081', '5010', '29');
INSERT INTO `list_telegates` VALUES ('56', '5403', '4958', '25');
INSERT INTO `list_telegates` VALUES ('37', '5608', '5532', '2');
INSERT INTO `list_telegates` VALUES ('17', '5098', '5051', '21');
INSERT INTO `list_telegates` VALUES ('12', '5846', '5539', '22');
INSERT INTO `list_telegates` VALUES ('19', '5295', '5058', '21');
INSERT INTO `list_telegates` VALUES ('14', '5972', '5551', '22');
INSERT INTO `list_telegates` VALUES ('13', '5049', '4964', '23');
INSERT INTO `list_telegates` VALUES ('26', '5510', '5334', '21');
INSERT INTO `list_telegates` VALUES ('11', '5249', '5025', '1');
INSERT INTO `list_telegates` VALUES ('21', '5144', '5505', '21');
INSERT INTO `list_telegates` VALUES ('23', '5039', '5207', '23');
INSERT INTO `list_telegates` VALUES ('28', '5510', '5177', '1');
INSERT INTO `list_telegates` VALUES ('22', '5157', '4978', '24');
INSERT INTO `list_telegates` VALUES ('31', '5284', '5509', '1');
INSERT INTO `list_telegates` VALUES ('32', '5065', '5538', '23');
INSERT INTO `list_telegates` VALUES ('27', '5386', '4891', '24');
INSERT INTO `list_telegates` VALUES ('33', '5021', '5424', '25');
INSERT INTO `list_telegates` VALUES ('36', '5709', '5497', '24');
INSERT INTO `list_telegates` VALUES ('129', '5799', '5383', '61');
 
Last edited:
@deadspirit

WOW, thank you very much for this!!!!!

Just a question regarding it, I know the other list is with a 10 digit number conpared to the 4 digit x & x coordinates. Will the ones you listed work or should I convert each one to the 10 digit number?

Thank you again for the help.
 
honestly you might have to convert it over to the 10 digit number but i just gave those real cords so people get the idea of where its spawning you at... but yah you probly will have tooo...

i got tired of writing 10 digits so i shorten it down to the real cords seen on the client...
 
@Deadspirit

I tried to convert to the 10 digit (until your version is ready), but for some reason I must have something wrong.

Here is the code:

--------------------------------------

using System;

using System.Collections.Generic;

using System.Text;

using System.IO;

namespace RobConsoleApplication1

{

class Program

{

unsafe static void Main(string[] args)

{

string num1 = args[0];

string num2 = args[1];

float realpos = System.Convert.ToSingle(num1);

Console.WriteLine("Coord " + args[0] + " = " + *((int*)&realpos));

float realpos2 = System.Convert.ToSingle(num2);

Console.WriteLine("Coord " + args[1] + " = " + *((int*)&realpos2));

}

}

}


-----------------------

It converts it, but when I put it into the db, I still am way off (almost coordinate 0,0 just a little out).

Any idea where I went wrong?

This is done at a command prompt where you type the program name Coordx Coordy

It will then give you both

Thanks,

Rob
 
Last edited:
Here is a little test I ran with the above with the set of coordinates from the database that work and what I got

gate 36

location 5709 5497

db 1225480994 1225147922
mine 1169319936 1168885760

I have something wrong, but not sure what. Can anyone help me on what is wrong?

Thank you!

Rob
 
Back