[Help] Uhh weirdo thing

10/30/2008 01:50 Bottingpunk#1
Um okay i log in right database is loaded right and all. But when i log in hit the class i want put name does that dc thing then i sign in and im out in the middle of no where. And on the screen says loging into server buti can see my hp its 0 and every thing. Any ideas help would be appriciated. i think its da data base idk. Using ShadowCo source
10/30/2008 02:01 LetterX#2
The problem sounds like it is in CreateCharacter in DataBase.cs. If you look at where it says 'INSERT INTO characters (CharName...' and so on, find where the Map coordinates go. :D
If it continues, then you need to edit that section so it adds the necessary objects into the database (can be easily found in another source) =D
10/30/2008 02:15 Bottingpunk#3
Quote:
MySqlCommand Command = new MySqlCommand("INSERT INTO characters (CharName,Account,Level,Exp,Strength,Agility,Vital ity,Spirit,Job,Model,Money,CPs,CurrentHP,StatPoint s,LocationMap,LocationX,LocationY,UID,Hair,Equipme nt,Inventory,PKPoints,Skills,Profs,RBCount,Avatar, WHMoney,Warehouses,VP,Friends,Enemies,GuildDonatio n,MyGuild,GuildPos,PrevMap,QuestMob,QuestKO) VALUES ('" + Name + "','" + UClient.Account + "',1,0," + str + "," + agi + "," + vit + "," + spi + "," + Class + "," + Model + ",100,0," + hp + ",0,1002,438,377," + uid + ",410,'','',0,'','',0," + Avatar + ",0,'',0,'','',0,0,0,1010,'',0)", Connection);
that looks right right? i think its the database u upload to mysql im not sure
11/08/2008 17:14 Mehmetowned#4
Quote:
Originally Posted by Bottingpunk View Post
Um okay i log in right database is loaded right and all. But when i log in hit the class i want put name does that dc thing then i sign in and im out in the middle of no where. And on the screen says loging into server buti can see my hp its 0 and every thing. Any ideas help would be appriciated. i think its da data base idk. Using ShadowCo source
Failure :$ learn to code newbie :D

greetz ur daddd (kiss)