Jump to content
Sign in to follow this  
soilder12

WEBSITE

Recommended Posts

You shall read the config file before do something.

an example :


// where suppose to be the database settings. why do you put an url at the 'host' key?
//    key @host probably means at where do you have your database( address, domain, ... ),

$config['db']['game'] = array( 'host' => '127.0.0.1'

  • Like 1

Discord: andresc

Share this post


Link to post
Share on other sites

thanks @Totoka i realize after i put this here i got it working btw, in my serverfiles i should put my ipv4 or my no-ip ? 

cuz i try setting my server files with the no-ip ip and its just give me hang, but when i put my ipv4 it opens normaly is that ok? or that means no one can login in server?

sorry for the abd english hope you understand my point ^^

 

Share this post


Link to post
Share on other sites
35 minutes ago, soilder12 said:

thanks @Totoka i realize after i put this here i got it working btw, in my serverfiles i should put my ipv4 or my no-ip ? 

cuz i try setting my server files with the no-ip ip and its just give me hang, but when i put my ipv4 it opens normaly is that ok? or that means no one can login in server?

sorry for the abd english hope you understand my point ^^

 

For server files use 127.0.0.1 everywhere except in GateServer.cfg in ToClient section, there use 0.0.0.0

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Wrexor said:

For server files use 127.0.0.1 everywhere except in GateServer.cfg in ToClient section, there use 0.0.0.0

with this other people can login into my server?

Share this post


Link to post
Share on other sites
6 minutes ago, soilder12 said:

with this other people can login into my server?

Yup, 0.0.0.0 binds to all your machine interfaces.
And 127.0.0.1 into all other servers, *if they will be together at the same machine.


Discord: andresc

Share this post


Link to post
Share on other sites
1 minute ago, Totoka said:

Yup, 0.0.0.0 binds to all your machine interfaces.
And 127.0.0.1 into all other servers, *if they will be together at the same machine.

thanks ima test if it work, ill let you know if it show any issue ^^ thanks for the help @Totoka @Wrexor

Share this post


Link to post
Share on other sites
10 minutes ago, soilder12 said:

with this other people can login into my server?

Yes , but you have to open your  ports and use on their clients your External IP.

Share this post


Link to post
Share on other sites
4 minutes ago, Dimitrov said:

Yes , but you have to open your  ports and use on their clients your External IP.

ye i think my ports are closed that`s why cannot conect form another ip.. i already opened on router but not working idk why i checked on cmd> netstat -an, and cant see 1656 1973,1975,1976 ports so i guess they re still closed 

Edited by soilder12

Share this post


Link to post
Share on other sites
7 minutes ago, soilder12 said:

ye i think my ports are closed that`s why cannot conect form another ip.. i already opened on router but not working idk why i checked on cmd> netstat -an, and cant see 1656 1973,1975,1976 ports so i guess they re still closed 

You only have to open port 1973. The rest arent needed for other players to connect.

Share this post


Link to post
Share on other sites
1 minute ago, Wrexor said:

You only have to open port 1973. The rest arent needed for other players to connect.

yes i can see that`s the top cliean port ill keep trying until i open it do u know how to fix it when making new account? 

emailerror.png

Share this post


Link to post
Share on other sites
Just now, soilder12 said:

yes i can see that`s the top cliean port ill keep trying until i open it do u know how to fix it when making new account? 

Try to add column with name 'email' in account_login table.

Share this post


Link to post
Share on other sites
5 hours ago, soilder12 said:

ALTER TABLE? can u be more expecific pls? @Totoka

emailerror2.png

Run on query analizer

 

 

Edited by Juan

Share this post


Link to post
Share on other sites

@soilder12

 

Do SQL Query in MSSQL Management Studio / Query Analyzer

USE [AccountServer]
GO
 
SET ANSI_NULLS ON
GO
 
SET QUOTED_IDENTIFIER ON
GO
 
SET ANSI_PADDING ON
GO
 
CREATE TABLE [dbo].[account_pending](
    [acc_id] [int] IDENTITY(1,1) NOT NULL,
    [name] [varchar](50) NOT NULL,
    [password] [varchar](50) NOT NULL,
    [squestion] [varchar](100) NOT NULL,
    [answer] [varchar](100) NOT NULL,
    [email] [varchar](100) NOT NULL,
    [gender] [int] NOT NULL,
    [credit] [int] NULL,
    [truename] [varchar](100) NOT NULL,
    [birthday] [datetime] NOT NULL,
    [contact] [varchar](50) NOT NULL,
    [country] [varchar](50) NOT NULL,
    [ipaddr] [varchar](50) NOT NULL,
    [ip2country] [varchar](50) NOT NULL,
    [actcode] [varchar](50) NULL,
    [invtcode] [varchar](50) NULL,
    [create_time] [varchar](50) NOT NULL
) ON [PRIMARY]
 
GO
 
SET ANSI_PADDING OFF
GO
 
ALTER TABLE [dbo].[account_pending] ADD  CONSTRAINT [DF_account_pending_gender]  DEFAULT ((0)) FOR [gender]
GO

 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...