Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   PetitionD (https://postpacific.mmorpg-game.online/showthread.php?t=5411)

lan15 14.08.2006 21:07

PetitionD
 
Anybody know how install PetitionD (retail) ?

Drag 14.08.2006 21:34

Yea... Start in right section...

empathon 14.08.2006 21:35

as a windows service has i know

Mayii 14.08.2006 22:06

that's correct, you have to register it as a service

lan15 14.08.2006 22:21

Quote:

Originally Posted by Mayii
that's correct, you have to register it as a service

How it register? May be special utility use? Please help...

xerogen 14.08.2006 22:39

Ive registed it as a service ran it, tried connecting to it, but... Nothing :D

Mayii 14.08.2006 22:52

to register it as a service, search for InstallUtil.exe, should be in a directory like C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 or so.

then you just use this bat file:
(you have to change the SERVICE_HOME and the INSTALL_UTIL_HOME variables)

Code:

@echo off
set SERVICE_HOME=C:\PetitionD
set SERVICE_EXE=PetitionD.exe
REM the following directory is for .NET 1.1, your mileage may vary
set INSTALL_UTIL_HOME=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
REM Account credentials if the service uses a user account
set USER_NAME=
set PASSWORD=

set PATH=%PATH%;%INSTALL_UTIL_HOME%

cd %SERVICE_HOME%

echo Installing Service...
installutil /name=ScriptedServiceExample /account=user /user=%USER_NAME% /password=%PASSWORD% %SERVICE_EXE%

echo Done.


lan15 14.08.2006 22:55

Quote:

Originally Posted by xerogen
Ive registed it as a service ran it, tried connecting to it, but... Nothing :D

I think that it need config file becouse it started then
"The petitiond service terminated unexpectedly. It has done this 2 time(s)."

Mayii 14.08.2006 23:04

obviously. you have to change 'PetitionD.exe.config'.

lan15 14.08.2006 23:10

I think that parametr need
Code:

<add key="DatabaseConnString" value="B6NJ2ab29wzbfvRzfTrkqivyUcqwfbkYaYEFjlaPPtVXD12fqtkm7s0UAPkvWQRK8AraQ0vMAkg8A5nOz4WL/l1/38gql/zW"></add>

rodier 14.08.2006 23:39

I have petition D service running.. but L2server can't connect.. L2 service dont open any ports

lan15 15.08.2006 00:03

Quote:

Originally Posted by rodier
I have petition D service running.. but L2server can't connect.. L2 service dont open any ports

do you change DatabaseConnString string ?

Shawnmb 16.08.2006 01:13

Hmmm I can't seem to get it working for some reason...

Digital 16.08.2006 03:09

right.. i believe u guys will need this file :)

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
des_333.zip — 6063 байт

Digital 16.08.2006 03:09

right.. i believe u guys will need this file :)

Shawnmb 16.08.2006 03:11

Password protected.

Shawnmb 16.08.2006 03:11

Password protected.

GMan 16.08.2006 03:26

hmm ill give it a try,

as for password, look closley at the post for anything thats not really right :)

took me 10 sec :) Thanks "digital"

GMan 16.08.2006 03:26

hmm ill give it a try,

as for password, look closley at the post for anything thats not really right :)

took me 10 sec :) Thanks "digital"

Shawnmb 16.08.2006 03:28

Ok, I admit to being retarded. lol, got it.

Shawnmb 16.08.2006 03:28

Ok, I admit to being retarded. lol, got it.

midnight 17.08.2006 11:48

when my petition service is running, they spend seconds and it is stopped

Ameron 17.08.2006 15:29

well. have Petition installed and run perfectly...
but server didn't see it.
Can some1 tell me more about petition cfg file ?

paul 18.08.2006 04:24

Actually...even i'm stuck at this point heh >< I dunno if it's a datastring i dont have right but i would assume then the server wouldnt' even start at all.

Anyone else have any thoughts?

Digital 18.08.2006 05:31

Installing the service

First compile the application so you will have an executable (exe). For the Visual Studio users, go to Start -> Microsoft VS.NET -> VS.NET Tools -> VS.NET Command Prompt. You will see a command box (console) then go to the directory where the exe is. then in that directory type
InstallUtil MyFileService.exe This will install the service Once it correctly installed you can start the service by typing
NET START TWINXBASE Or you can go to Services in Configuration, look for the new service, start it. To Remove the service, stop the service and type
InstallUtil /u MyFileService.exe


All times are GMT. The time now is 22:42.