Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 16:07

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

Advertisement



Login / ODBC error

Discussion on Login / ODBC error within the Dekaron Private Server forum part of the Dekaron category.

Closed Thread
 
Old   #1
 
NicoBlacktir's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 384
Received Thanks: 55
Exclamation Login / ODBC error

I have the damned odbc all RTS register all went super well.

Then came a complete idiot has always done well here's what this error at the register.




Warning: odbc_connect () [function.odbc-connect]: SQL error: [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C: \ xampp \ htdocs \ register. php on line 28

Warning: odbc_do () expects parameter 1 to be resource, boolean given in C: \ xampp \ htdocs \ register.php on line 34

Warning: odbc_fetch_row () expects parameter 1 to be resource, null given in C: \ xampp \ htdocs \ register.php on line 35

Warning: odbc_result () expects parameter 1 to be resource, null given in C: \ xampp \ htdocs \ register.php on line 36


am responding to a answer





2.

how can i add new npc on a map ?
NicoBlacktir is offline  
Old 11/05/2010, 00:17   #2
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
1 search
2 search
janvier123 is offline  
Old 11/05/2010, 05:47   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 275
Received Thanks: 14
Quote:
Originally Posted by NicoBlacktir View Post
I have the damned odbc all RTS register all went super well.

Then came a complete idiot has always done well here's what this error at the register.




Warning: odbc_connect () [function.odbc-connect]: SQL error: [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C: \ xampp \ htdocs \ register. php on line 28

Warning: odbc_do () expects parameter 1 to be resource, boolean given in C: \ xampp \ htdocs \ register.php on line 34

Warning: odbc_fetch_row () expects parameter 1 to be resource, null given in C: \ xampp \ htdocs \ register.php on line 35

Warning: odbc_result () expects parameter 1 to be resource, null given in C: \ xampp \ htdocs \ register.php on line 36


am responding to a answer





2.

how can i add new npc on a map ?
1. chenck your register.php in some file are wrong password i think
2. go to share/map/07_loa/npc_07_loa.csv

in that csv add your npc index example :
npc index :701
dec :80
x:250
y:250
yahoo5000 is offline  
Old 11/05/2010, 16:38   #4
 
NicoBlacktir's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 384
Received Thanks: 55
Quote:
Originally Posted by yahoo5000 View Post
1. chenck your register.php in some file are wrong password i think
2. go to share/map/07_loa/npc_07_loa.csv

in that csv add your npc index example :
npc index :701
dec :80
x:250
y:250
Yea i know that but where can i find the Dec.

i look at Trane but he dont say where we can find the dec. number
NicoBlacktir is offline  
Old 11/05/2010, 17:46   #5
 
elite*gold: 0
Join Date: Mar 2010
Posts: 275
Received Thanks: 14
Quote:
Originally Posted by NicoBlacktir View Post
Yea i know that but where can i find the Dec.

i look at Trane but he dont say where we can find the dec. number
hmm realy i dont know , try use any dec or search from another map , but i thing dec are something like data/script/string folder
yahoo5000 is offline  
Old 11/05/2010, 22:24   #6
 
NicoBlacktir's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 384
Received Thanks: 55
DONE I FOUND IT !!!!!!

he mean Desc that can you found at npc line to right side 4


#### Close !
NicoBlacktir is offline  
Old 11/06/2010, 01:33   #7
 
-8gX's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 614
Received Thanks: 151
odbc_connect('Driver={SQL Server};Server=<serverip>;Database=account;','user name','password');

To fix your SQL error, I think. I would recommend using mssql_connect. Makes everything a lot easier because it has almost the same syntax as mysql.
-8gX is offline  
Old 11/06/2010, 11:53   #8
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
Quote:
Originally Posted by -8gX View Post
odbc_connect('Driver={SQL Server};Server=<serverip>;Database=account;','user name','password');

To fix your SQL error, I think. I would recommend using mssql_connect. Makes everything a lot easier because it has almost the same syntax as mysql.
Quote:
Originally Posted by janvier123 View Post
well its easy
open your PHP.INI in your xampp or whate even you use
path for xampp "\xampp\php"

and look for

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

Find:

;extension=php_mssql.dll

note that there is a ; before the line
remove the ; save file and restart xampp

you should have

extension=php_mssql.dll

That's it
IF mssql_connect does not work
janvier123 is offline  
Old 11/06/2010, 11:56   #9

 
elite*gold: 35
Join Date: Aug 2009
Posts: 5,822
Received Thanks: 1,958
Quote:
Originally Posted by NicoBlacktir View Post
DONE I FOUND IT !!!!!!

he mean Desc that can you found at npc line to right side 4


#### Close !
#closed
~Kakkarot~ is offline  
Closed Thread


Similar Threads Similar Threads
login error please try again
01/05/2011 - WarRock - 17 Replies
wenn ich mich auf gamerfirst.com seite einloggen will kommt immer diese fehlermeldung login error please try again habe alles richtig geschrieben ich habe schon gegoogelt und es hilft nix wie über internet explorer einloggen oder anderen login von gamersfirst es kommt immer login error please try again wer mir helfen kann bekommt thx mfg TD
Wie ODBC und *.ini einrichten wenn man ein MS SQL Login und PW hat?
10/06/2010 - Flyff Private Server - 1 Replies
Siehe Titel, dass ist im Prinzip schon die ganze Frage. Habe für MS SQL Server Management Studio NICHT die Microsoft Authentifizierung sondern die MS SQL (also unterschiedlicher Login und PW als bei Win). Für die ODBC habe ich die Einstellungen denke ich soweit korrekt: Einfach statt der NT die MS SQL auswählen und Logins eingeben. Die Tests sind natürlich erfolgreich. In den *.inis habe ich verschiedene Sachen probiert.. komme dann aber beim Starten der Server immer zu Fehlermeldungen...
login error
09/06/2010 - Last Chaos - 3 Replies
hey ich habe ein problem nach einer dc wollte ich wieder einlogen doch jetz bekomme ich immer wen ich in juno auftauch einen senderror. lastchaos et
Install_Server error - ODBC?
03/10/2010 - Shaiya - 1 Replies
Anyone got a SS of what exactly suppose to happen when you run the install_server.bat file? i always get this, googled it, and nothing has helped. Here are the 3 SS's to the cmd screen. Are these right or wrong? http://i269.photobucket.com/albums/jj43/cloud2007 _01/Untitled-5-1.jpg http://i269.photobucket.com/albums/jj43/cloud2007 _01/Untitled1-1.jpg http://i269.photobucket.com/albums/jj43/cloud2007 _01/Untitled2-1.jpg
Login-Error: Cannot login to Server
04/10/2009 - Aion - 8 Replies
It works fine but 1 hour ago gameguard was updated with ggscan.des or something like this and now i have every time following error while login: "Cannot connect to the authorization server" can someone help me?



All times are GMT +1. The time now is 16:10.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.