Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [SHARE] Petition + database schema (https://postpacific.mmorpg-game.online/showthread.php?t=5629)

m4rk 23.03.2007 15:49

Sorry for reviving, but I need help configuring this.

I get the following error:
Quote:

Unhandled Exception: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.
at System.Data.Common.DbConnectionOptions.GetKeyValue Pair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String&
keyname, String& keyvalue)
at System.Data.Common.DbConnectionOptions.ParseIntern al(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey)
at System.Data.Common.DbConnectionOptions..ctor(Strin g connectionString, Hashtable synonyms, Boolean useOdbcRules)
at System.Data.SqlClient.SqlConnectionString..ctor(St ring connectionString)
at System.Data.SqlClient.SqlConnectionFactory.CreateC onnectionOptions(StringconnectionString, DbConnectionOptions previous)
at System.Data.ProviderBase.DbConnectionFactory.GetCo nnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
at System.Data.SqlClient.SqlConnection.ConnectionStri ng_Set(String value)
at NC.ToolNet.Database.DBAccess.CheckConnection(Int64 dbKey) in d:\project\hades\tool.net\library\toolnet\source\m ain\nc.toolnet\database\dbaccess.cs:line 70

at NC.ToolNet.Database.DBAccess.RunSPByName(String connName, String spName, SqlParameter[] paramArray) in d:\project\hades\tool.net\library\toolnet\source\m ain\nc.toolnet\database\dbaccess.cs:line 200
at NC.PetitionD.GmStatus.Clear() in d:\project\hades\tool.net\application\petition\pet itiond\gmstatus.cs:line 21
at NC.PetitionD.BusinessLogic.Start() in d:\project\hades\tool.net\application\petition\pet itiond\businesslogic.cs:line 45
at RetailPetiTest.Program.Main(String[] args)
and my connstring unencrypted is:
Quote:

SERVER=.\SQLSERVER;DATABASE=petition;UID=sa;PWD=ps
where ps is the correct password

First I though that maybe it was the .\ in the Server name but if I don't put that then it gives a sql connection error (the one about default setting doesn't allo remote connection)

I've also tried unsuccesfully with:
Quote:

SERVER=SQLSERVER2;DATABASE=petition;UID=sa;PWD=ps
(SQLSERVER2 is the Alias for .\SQLSERVER)

khelben 25.03.2007 15:32

this is the conn string i used

SERVER=127.0.0.1;DATABASE=petition;UID=sa;PWD=pass

don't forget it need to be encrypted.

Also, I was getting a strange error that the server could neo be connected to in the error log for petitionD so I added an unencrypted connection string to the petition database in the table "NCDBA7" or something similar to that.

Then change the petitiond.exe.config string
<add key="DatabaseConnName" value="petition"></add>

make value = whatever you named the connection string in NGSD.

This is all by memory as it looks like one of the other devs on our test server has wiped out my database =/

m4rk 25.03.2007 16:10

So true, My problem was I did not input the unencrypted connstring in the DB.

Thanks a lot Khelben and thanks aralyon for this fantastic share.

khelben 25.03.2007 21:46

Quote:

Originally Posted by m4rk (Post 82249)
So true, My problem was I did not input the unencrypted connstring in the DB.

Thanks a lot Khelben and thanks aralyon for this fantastic share.

Yeah i don't think that step was covered in the walk-through, but i muddled through the logs and something pointed me to that... i forget what. Good to hear you got it working though.

crazed 26.03.2007 19:26

Can anyone reshare any of these files please?

m4rk 26.03.2007 21:05

Quote:

Originally Posted by Lord_Neo (Post 80255)

already reshared, just had to look through posts -.-

crazed 26.03.2007 22:07

Quote:

Originally Posted by palace (Post 66321)
http://img373.imageshack.us/img373/4227/dibujocr3.png


after following the guide and installing everything, it gives error me, I use SQL 2005 enterprice sp1 and xp x64. I have reviewed but profit again not to find the error


i have this very same error. i have done everything listed here in everysingle thread for a possible fix and i cant figure it out. it sits there. hangs. about 20 secs. and then. same error as palace. Its possible how i have my enc key in my petitionconsole ini file. i read at the beginning of this the original post that there had to be / between chars but i dont know where to put them. heres what i have

*removed*

can anyone help me? I use SQL2000 on win xp 64 .net vers 2

khelben 26.03.2007 22:25

Quote:

Originally Posted by crazed (Post 82345)
i have this very same error. i have done everything listed here in everysingle thread for a possible fix and i cant figure it out. it sits there. hangs. about 20 secs. and then. same error as palace. Its possible how i have my enc key in my petitionconsole ini file. i read at the beginning of this the original post that there had to be / between chars but i dont know where to put them. heres what i have

m9Xqzn192Y8+hWHnzMRqPh60cwUNSO3bd7RsdsrUOwGAUEA0Ms 8cXiY4NVQRwqXLpJh1ctRflU15KkCaqx6thXL3HP3hQIqn

can anyone help me? I use SQL2000 on win xp 64 .net vers 2


Did you try this?

Quote:

Originally Posted by khelben (Post 82245)
this is the conn string i used

SERVER=127.0.0.1;DATABASE=petition;UID=sa;PWD=pass

don't forget it need to be encrypted.

Also, I was getting a strange error that the server could neo be connected to in the error log for petitionD so I added an unencrypted connection string to the petition database in the table "NCDBA7" or something similar to that.

Then change the petitiond.exe.config string
<add key="DatabaseConnName" value="petition"></add>

make value = whatever you named the connection string in NCDBA7.

This is all by memory as it looks like one of the other devs on our test server has wiped out my database =/

FYI, i didn't bother unencrypting your password, but i can and if that's the password to you production box, I'd suggest changing it, cause you just posted it for the world to see.

crazed 26.03.2007 22:42

I have tried to use this but i could not find NGSD. so therefor i can not apply this to try. however ihave tried just using ip for server name and what not and doing all over and same thing happens again.

khelben
Newbie

And no that is not the pass i use on my server box. this is pass i use on test box.


and where do i find that NGSD ?


anyways im gonna try on sql 2005 64 bit

khelben 27.03.2007 03:21

Quote:

Originally Posted by crazed (Post 82348)
I have tried to use this but i could not find NGSD. so therefor i can not apply this to try. however ihave tried just using ip for server name and what not and doing all over and same thing happens again.

khelben
Newbie

And no that is not the pass i use on my server box. this is pass i use on test box.


and where do i find that NGSD ?


anyways im gonna try on sql 2005 64 bit


I looked it up in the schema, the table is NCDBA7

crazed 27.03.2007 06:22

I would personally like to take my time to thank these two people

Khelben and m4rk

because of you guys i realized that my custom programming has caused some faults and i have now fix'd this. or at least im pretty positive. anyways. because of you guys it no longer crashes. The only petition coding i had experience in was the old c1-c2 retail petition and this one was a little different. so thank you guys alot. Anyone else needing help feel free to pm me or anything. Especially if its about server help. im very good at stuff like that like assembly ect. have a great day guys.

crazed 28.03.2007 03:55

I have played around with the petition and gm client and i can get everything to work but the fact that i cannot connect using the gmclient. heres the error i get


http://img.photobucket.com/albums/v6...ienterror2.jpg


Any help with this would be appreciated as i have tried everything i have read here. at least i am pretty sure i did.

m4rk 28.03.2007 07:07

Did you set login_flag=16 in user_account?

crazed 28.03.2007 07:40

yes i did ^_^ and it still not connect. should i uninstall sql server 2k and start over?


ok heres a look at my windows all at one time.

http://img.photobucket.com/albums/v6...d84/Error3.jpg


One thing that i notice the most is the error on auth saying ipp 127.0.0.1 world server socket already used

what does that mean? thats got to be a clue that im doing something wrong right? all my ip addresses are 127.0.0.1 except the devouterip everything else is 127.0.0.1. same as in my petition server its 127.0.0.1 and when i try to connect i try connecting using my lan ip 1xx.xx8.1.103.

crazed 28.03.2007 11:30

I fix'd my own problem. thank you all for your help and support

Osito2Dancer 28.03.2007 18:28

Kudos to Aralyon, a very good service indeed. I tested it last night and it worked like a charm!

Everything is working correctly, so the manual is really well made.

Oso

crazed 28.03.2007 19:30

yeh. ive gotta say i was tired as hell last night and made some stupid mistakes but after everything was said and done i got it up and running with not a single problem. congrats. and thanks for this great share and all your help.

Ryuusei841 07.08.2007 20:47

Anyone have this still, can link me?

adriahu 08.08.2007 08:19

Quote:

Originally Posted by Ryuusei841 (Post 93970)
Anyone have this still, can link me?

read the topic carefuly :P

Dukester 29.08.2007 12:40

[SHARE] Petition + database schema
 
links in your thread doesn't works can someone reshare it?

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 29 August 2007, 12:40. Открыть источник.

Rev4n 17.09.2007 22:00

[SHARE] Petition + database schema
 
I can't connect my L2Server to the Petition server, the message the petition Server sends is:

Code:

Code:

2007-09-18 22:20:57 D [World: Unknown(0)] SEND: W_SERVER_VER(101)
2007-09-18 22:20:57 D [World: Unknown(0)] RECV: 102(102)
2007-09-18 22:20:57 E [World: Unknown(0)] World Try to request something without
 W_CONNECT_WORLD2
2007-09-18 22:20:57 I [World: Unknown(0)] Disconnected

is this a version problem of my L2Server or did I make a mistake in the configuartions?

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 18 September 2007. Открыть источник.

Rev4n 18.09.2007 21:22

[SHARE] Petition + database schema
 
I can't connect my L2Server to the Petition server, the message the petition Server sends is:


2007-09-18 22:20:57 D [World: Unknown(0)] SEND: W_SERVER_VER(101)

2007-09-18 22:20:57 D [World: Unknown(0)] RECV: 102(102)

2007-09-18 22:20:57 E [World: Unknown(0)] World Try to request something without

W_CONNECT_WORLD2

2007-09-18 22:20:57 I [World: Unknown(0)] Disconnected


is this a version problem of my L2Server or did I make a mistake in the configuartions?

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 18 September 2007, 21:22. Открыть источник.

mcrabben7 22.10.2007 22:00

[SHARE] Petition + database schema
 
Bump for DC. I don't want a reshare thread to get DCs while the original maker does not. Give DC to Aralyon, and not to a reshare.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 23 October 2007. Открыть источник.


All times are GMT. The time now is 15:41.