[GUIDE] How to set up multi register

09/05/2009 05:00 PowerChaos#1
hey all
i am glad that 66% loves to have this release (from the statics of my poll i made)

so i going explain here how you can do a mutli client login page with a single register script

lets explain the basic , the more advanced explanation will follow later

first you need to have 2 servers (ofcourse :P)

then you need to be sure that your acc db is serperated from your game db (not realy needed but just easyer)

if you got those 2 things then it is time to do the first steps to get it working

first you add your server ip into mysql , so it can conect with the username you like

then you start creating your register page to 1 of those servers , so you can get rid of your other register page

if that is done , then you got 1 regiser page to 1 acc database , so your accounts are ready

then it is time to setup the acc server so it conects to the right db
to do so , you need to edit a few files , els it will refuse to conect

this are the files you need to edit
  1. account.ini
  2. AutoriseDB.ini
  3. Config.ini
change the ip (127.0.0.1) to your server ip where your acc db is located (your master server)
then safe it , and if succesfull ,then you can login :D

ok , now it is time to make it a bit more advanced , so in case you still dont understand it :D

first be sure that your server can conect to mysql
like you see in the screenshot
[Only registered and activated users can see links. Click Here To Register...]

then if that is done
then you can start to edit a few files
like you see in this screenshot
[Only registered and activated users can see links. Click Here To Register...]
if that is done
then everything is done , safe it and press the big exe button to start up your server

please note , the screenshots can look differend then you have (some other numbers or so ) but dont change them , only change the ip like you see in my screenshot

Thank you
Greets From The Crasher

if you got some questions over it , feel free to ask and i shal expand it into my tutorial :D
09/05/2009 05:09 kijero#2
nice tut there!
09/05/2009 15:26 funhacker#3
GJ Crasher +k :)
09/07/2009 01:59 keithbell1234#4
nice guide bro keep the good work up bro :D

Edited To Shorten Post Since It Was Redundant - DeadPool
09/07/2009 02:53 funhacker#5
Quote:
Originally Posted by keithbell1234 View Post
nice guide bro keep the good work up bro :D
Would be best you don't quote such long posts....
09/07/2009 03:05 keithbell1234#6
i know im just very tired didnt know lol sorry mate
08/31/2011 07:20 shadowkiller990#7
I know this is an old post but i did everythin it shows here but when i switch it all players have it say Invalid Password....

To make account on its own lol
I have the Account DB and i put all the stuff in there

account
account_old
account_pwd

but comes up invalid when ppl login lol :D any ideas

Also all my configs looked exacly the same as that up there lol
08/31/2011 09:09 Marcus*#8
is it submitting the accounts n passwords into your db if not then you would have to work out why from their then if not it maybe another issue
08/31/2011 15:31 shadowkiller990#9
Quote:
Originally Posted by Marcus* View Post
is it submitting the accounts n passwords into your db if not then you would have to work out why from their then if not it maybe another issue
if i change the register page to the accounts db it works but when players try to connect it says invalid password
08/21/2014 14:06 DarkNightEO#10
how if , open Accserver in VPS A , and Open MSG / NPC Server in VPS B . u think it can ?
08/21/2014 14:48 PowerChaos#11
look at demonpower
it use 3 vps servers just to run 2 servers

Acc server is on a vps
2 gameservers are on a other vps
and the db -> webserver ^^

so yes it is possible but just need some more work

here are some examples

gameserver.cnf ( gameserver folder )
Code:
600 600 600 600 600 600 600 1 192.168.2.1 user pass database
config.ini ( gameserver)
Code:
[GameServer]
GAMESERVER_IP	=192.168.2.2
GAMESERVER_PORT	=port
SND_SIZE		= number
RCV_SIZE		= number


[Database]
DB_IP			=192.168.2.1
DB_USER			=user
DB_PW			=pass
DB_NAME			=database
also in my case as you can see i use a local network to connect my servers to each other xD

but the game server still need a dedicated ip to be able to connect to ( the players connecting over a kind of proxy to the right server )

SHELL.DAT still need the ip of the ACCOUNT server ( not local ) or the proxy/server does not work

and then you can connect and act like a proxy
be sure to check other files to :P

also few things are changed for my security ( user pass database ports )

Greets From PowerChaos
08/21/2014 16:48 DarkNightEO#12
heheh , ya but must find strong vps for acc server. it mean "they" only know ip + port acc server , not gameserver so i think it make us more secure . hmm i just try but fail . tomorrow try again T.T
08/21/2014 16:59 hio77#13
Quote:
Originally Posted by DarkNightEO View Post
heheh , ya but must find strong vps for acc server. it mean "they" only know ip + port acc server , not gameserver so i think it make us more secure . hmm i just try but fail . tomorrow try again T.T
its not like there's a million ways to see what the active connection is going to..

added security of splitting everything up comes in the fact that they have to download your client and go through all that however...


When i was running a server, i managed the OEM file through my launcher, just to add that extra layer of effort anyone would need to go through.

I look back at what i did back there, and cant help but go hmm.. i have other ideas on how i could have done that better just to be more frustrating!
08/21/2014 19:18 DarkNightEO#14
erm u cannot manage to hide ip server because on window task manager we can see it... T.T
08/22/2014 01:03 hio77#15
Quote:
Originally Posted by DarkNightEO View Post
erm u cannot manage to hide ip server because on window task manager we can see it... T.T
its not about hiding it, but controlling and limiting what there is access to.