Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 4Story
You last visited: Today at 08:40

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

Advertisement



4Story P-Server database connector [VB2008]

Discussion on 4Story P-Server database connector [VB2008] within the 4Story forum part of the MMORPGs category.

Reply
 
Old   #1
 
glossypvp's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 662
Received Thanks: 658
Lightbulb 4Story P-Server database connector [VB2008]

Hi,

Again I'm glossy, and I made a server database connector DLL with Visual Studio 2008.

Q:
Okay but what is this, and how I can use it?
A: Well, I guess you already know it, but if you don't, let me explain it.
With it you can connect and send MS SQL queries to your server.

Video:

Instructions:
Import DLL file as resource
Import some functions and the connector too in your code:
PHP Code:
Imports System.Data
Imports System
.Data.SqlClient
Imports FourStory_Conn 
Okay, now create four textboxes and define some variables (you can skip it but it's recommended to don't skip it)
PHP Code:
 Dim server As String host.Text
            Dim username 
As String user.Text
            Dim pass 
As String password.Text
            Dim database 
As String db.Text
            Dim query 
As String "" 
Then connect to our server and database:
PHP Code:
FourStory_Conn.Server.Connect(serverusernamepassdatabasequeryTrue
Notice:
In the video I set the last propety in the code to False because I haven't sent any queries so that application isn't needed to excute the query.

Virustotal of DLL::
Virustotal of sample project:

Good luck!

Edit:
I have added a sample project.
Attached Files
File Type: zip 4SConn.zip (6.2 KB, 82 views)
File Type: zip 4S_PR.zip (72.7 KB, 74 views)
glossypvp is offline  
Thanks
1 User
Old 02/13/2013, 21:07   #2




 
stotterer09's Avatar
 
elite*gold: 26
Join Date: Dec 2010
Posts: 2,628
Received Thanks: 1,816
I think, I'm the one and only vb.net programmer in 4s section and I don't need this dll sry

mfg

but you get a Thanks for the work
stotterer09 is offline  
Old 02/13/2013, 21:15   #3

 
WickenChings's Avatar
 
elite*gold: 3
Join Date: Feb 2010
Posts: 312
Received Thanks: 105
It's not working for me.I still get an error when i try to debug.If i get no error i can't connect.
WickenChings is offline  
Old 02/13/2013, 21:20   #4




 
stotterer09's Avatar
 
elite*gold: 26
Join Date: Dec 2010
Posts: 2,628
Received Thanks: 1,816
Quote:
Originally Posted by spyropatrick View Post
It's not working for me.I still get an error when i try to debug.If i get no error i can't connect.
make it simple and use this tutorial:
stotterer09 is offline  
Thanks
1 User
Old 02/13/2013, 21:24   #5

 
WickenChings's Avatar
 
elite*gold: 3
Join Date: Feb 2010
Posts: 312
Received Thanks: 105
Danke dir stotterer09.Hast du nen Lösungsweg für jemanden der mit Windows Authentification connecten will???Wäre nett.Habe mich schon selber dran versucht.Das einzigste was ich so in Visual Basic hinbekomme ist nen Launcher für die Dienste.
WickenChings is offline  
Old 02/13/2013, 21:49   #6




 
stotterer09's Avatar
 
elite*gold: 26
Join Date: Dec 2010
Posts: 2,628
Received Thanks: 1,816
Quote:
Originally Posted by spyropatrick View Post
Danke dir stotterer09.Hast du nen Lösungsweg für jemanden der mit Windows Authentification connecten will???Wäre nett.Habe mich schon selber dran versucht.Das einzigste was ich so in Visual Basic hinbekomme ist nen Launcher für die Dienste.
das ist nicht schwer du musst einfach einen anderen connection string benutzten wart ich post ihn denn den muss man einfach wissen ich glaub den gibts auch ned auf google:
Code:
sqlcon.ConnectionString = "Server=" & SQLServer & ";Database="& Datenbank & ";Trusted_Connection=yes;"
viel spaß
den launcher für die dienste den gibts schon von wem? na von mir
stotterer09 is offline  
Thanks
1 User
Old 02/13/2013, 23:26   #7
 
glossypvp's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 662
Received Thanks: 658
Quote:
Originally Posted by spyropatrick View Post
It's not working for me.I still get an error when i try to debug.If i get no error i can't connect.
It's working fine, just check out the sample project file.
Virustotal of sample project:
Attached Files
File Type: zip 4S_PR.zip (72.7 KB, 9 views)
glossypvp is offline  
Reply


Similar Threads Similar Threads
Database Connector
09/05/2011 - CO2 Private Server - 3 Replies
Hello all, Is there any program that connects to my server's database so I can edit it without opening the vps etc... like entering the vps ip and the db user and pass..? Regards,
looking for p-server connector
03/20/2011 - Dekaron Private Server - 7 Replies
HI, looking for p-server connector
[HELP]P-server connector.exe Upload...
01/22/2011 - Dekaron Private Server - 12 Replies
I need p-server connector.exe Here is UPLOAD Please... link please... upupuppupupup
p-server connector
04/25/2010 - Dekaron Private Server - 3 Replies
Ehi guys i start to make a my private server. I follow the guide on youtube but he open with winhex this file "p-server connector". But where i can download it??? In the server files there isn't :S If someone con upload me or can tell me how make a files launcher that can start my server :P thnx and sorry for the bad english :)
need help on p server connector error
07/19/2009 - Dekaron Private Server - 4 Replies
ok ive got almost it all working but wen i click the p server connector i get this error http://img217.imageshack.us/img217/964/95483929.pn g im using an older client and older server files that work for my freind but for me i get this weird error anyone know what to do ? thnx in advance



All times are GMT +1. The time now is 08:41.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.