Create Char / Spawn first time (SQL QUERY)

Experienced Elementalist
Joined
Oct 2, 2007
Messages
201
Reaction score
2
Hey,

i have a small problem, where can i find the sql query wich is located in the db server, when i create a character and spawn the first time, ill get a random place at narooth...

im searching this query ... hope someone can give me the offset to that address :>

and can he maybe give me a simple stored procedure for the coordinates X,Y,Z? im not so good at sql :(

Thanks, Momo
 
thanks fohle found the sql query, now i need to hook the damn query and write a stored procedure -.-

for all other people, here is the SQL Query wich can be hooked and you can easy edit some nice things ;)

PHP:
INSERT INTO Player ( [UID], [Name], [Class], [Strength], Health, Intelligence, Wisdom, Dexterity, [CurHP], [CurMP], [Map], [X], [Y], [Z], [Face], [Hair]) VALUES ( %d, '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)
 
Upvote 0
thanks fohle found the sql query, now i need to hook the damn query and write a stored procedure -.-

for all other people, here is the SQL Query wich can be hooked and you can easy edit some nice things ;)

PHP:
INSERT INTO Player ( [UID], [Name], [Class], [Strength], Health, Intelligence, Wisdom, Dexterity, [CurHP], [CurMP], [Map], [X], [Y], [Z], [Face], [Hair]) VALUES ( %d, '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)

tyvm, handy query ^^
 
Upvote 0
well i figured it out how to create a new sql procedure but when i save it i cant see in in my list?

im using SQL2005 Express Edition

hope someone can help me ..:(
 
Upvote 0
Back