Jump to content

Recommended Posts

Posted

Hello i make a tutorial how to connect a webiste with status

Online / Offline

PvP / Pk

Castle

and more..

 

The first step.

Open Port in your firewall

 

I give a link how to open port

http://www.mytecbits.com/microsoft/windows/opening-port-in-windows-8-firewall

In port you dont need create all the time new you can use it all in one create like [7777, 2106, 3306, 9014, 80, 1574, 6983, 1257]

 

Make a new user in your server database

In user Name use like [root]

In Host use the Website Host Like [server.host.ovh.com] ATTETION: Dont use IP because is not working.

In password use your database password like [1adf@41%1]

 

iufzYmP.png

 

After create user give Privileges as like this

Select all Cans

 

MMlrHof.png

 

So after finish all create with database in your server go to your Website for create info from your server host

But first send a message to your hoster website open this port [2106,7777,3306] for working the check's

 

    'ip_Host'        =>  'Your IP form your Host Server',
    'Data_user'      =>  'root',
    'Data_pass'       =>  '1adf@41%1',
    'db_name'   =>  'L2MyNameServerDB',

 

that's all. I hope help that tutorial. If you need more help send me a message.

Have a nice day.

Posted (edited)

Well nice try with the guide but i didnt understand some things ... like 

 

 

 

'ip_Host'        =>  'Your IP form your Host Server',

 

Which ip do you mean ? 

 

 

 

 

After create user give Privileges as like this

Select all Cans

 

what do you mean here ? if i press add privelleges it showing me the databases and etc and then i can sellect and add priveleges to each database i should select all privelleges?

Edited by TEOGR_hItMaKeR
Posted (edited)

you can do 100% secure from webhost if you locked cannot read or try to download your website. like HTTrack program..

Edited by tazerman2
Posted (edited)

Yes select them and save and ip host you must add the ip from your host the domain you log into cpanel

again i dont understand so how is going to point to my server ? 

 

 

 

<?php
 
$config["hostname"] = "Here the ip of CPANEL or the ip of my l2 server ?";
$config["username"] = "myuser";
$config["password"] = "mypass";
$config["database"] = "My DB"; 

 

I tried with l2 server ip doesnt load at all then with cpanel ip it saying unable to connecto to the db 

Thanks ...

Edited by TEOGR_hItMaKeR
  • 2 weeks later...
Posted

1. step send message to your hoster = site open 3 port
1) 7777
2) 2106
3) 3306

2. step go to your dedicated or vps and open port in firewall same port

with step 1

3. step follow the first topic if you dont know how to open send me message

i only help not setup.

Posted (edited)

my host told me for custom ports like 7777 and 2106 I have to pay but 3306 is open by default... I opened the ports at my pc and in firewall... but I can't connect to db...

Edited by TEOGR_hItMaKeR

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • And Discord: https://discord.gg/3aYqWNqb
    • Ofc: https://discord.gg/3aYqWNqb
    • You can find some H5 skins shared in old L2 modding Discords, but most of the higher‑quality ones are either paid or come bundled with full client edits. I usually mix in commissioned work and whatever I can patch myself. On a side note, I fund a lot of these commissions by selling off game items through instant sell cs2 skins, which has been a quick way for me to get some cash for projects.
    • There is no need for gRPC in this case, even tho originally it was gRPC based but since we don't need it to be bi-directional, we switched to simple http requests for the web calls and SSEs for the data streamed from the server. There are distributed locks in place to precent race conditions between actions that can happen between multiple web instances and the server.   Local models can also be slow depending on the model, and most external models can actually be faster than local ones if you use Flash 2.5 or something along those lines. I am running on 512GB of Unified Memory on my Mac Studio M3 Ultra so the speed of the local model for a small model is pretty good but I tested it with Gemini too and it works equally as fast and in some cases faster. The way it works is that I'm using pgvector (one of the benefits of moving to Postgres) to search the data and see what the player can see etc and there is some batching of the next few actions for 2-4 seconds for the user until the next LLM request fires. The batching also includes branching on logic so if they for example fall under some HP they will move to kiting instead of attacking or maybe they heal etc.   Everything is authed and permission-based. The server and the backend of the frontend have secure communication between them, either with a symmetric key (not recommended for production) or a certificate (the recommended way), so there is no worry. It's all tied to the account's access level, etc., so nobody can make an action that they normally wouldn't be allowed to do. Even the MCP is token-based, and there are prompt injection protections in place. The MCP is audited, and every mutation needs confirmation. The admin area is only accessible to the admin account anyway so normal users can't access it.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..