Re: [RELEASE] My server files
Hmm yea it's 2031, when you click on npc, that means it is a npc dialog start packet.
Within that packet, there is the npc id it was trying to start dialog with.
You make the server read the npc id. Then make it check if the npc is that or that or that and send the client the packets to return him the text what the npc should say and some link packets, so you could say anything back to the npc.
Then there is 2032 packet, client sends it to the server when it clicks on one answer in the dialog. What you'll do there is the same as in 2031, you just have to make a reminder variable so the server would know which npc the client is talking to, because that packet doesnt contain npc id, it contains control id.
Re: [RELEASE] My server files
Quote:
Originally Posted by
hadeset
Hmm yea it's 2031, when you click on npc, that means it is a npc dialog start packet.
Within that packet, there is the npc id it was trying to start dialog with.
You make the server read the npc id. Then make it check if the npc is that or that or that and send the client the packets to return him the text what the npc should say and some link packets, so you could say anything back to the npc.
Then there is 2032 packet, client sends it to the server when it clicks on one answer in the dialog. What you'll do there is the same as in 2031, you just have to make a reminder variable so the server would know which npc the client is talking to, because that packet doesnt contain npc id, it contains control id.
that was what i am asking for , how can i get that ID , the only code i got was the 2031 (the packet ID) , what will be the code to get the NPC id ???
Re: [RELEASE] My server files
Quote:
Originally Posted by
hadeset
Hmm yea it's 2031, when you click on npc, that means it is a npc dialog start packet.
Within that packet, there is the npc id it was trying to start dialog with.
You make the server read the npc id. Then make it check if the npc is that or that or that and send the client the packets to return him the text what the npc should say and some link packets, so you could say anything back to the npc.
Then there is 2032 packet, client sends it to the server when it clicks on one answer in the dialog. What you'll do there is the same as in 2031, you just have to make a reminder variable so the server would know which npc the client is talking to, because that packet doesnt contain npc id, it contains control id.
well when u say it that sounds so easy :blush-ani
Re: [RELEASE] My server files
Anyone managed to make a registration page for this. Is it even possible lol?
Re: [RELEASE] My server files
Re: [RELEASE] My server files
Quote:
Originally Posted by
Infamous
Anythings possible. It's not hard to make a reg page using C#; God only know's how I'd go about that in C++...
Ah ok so it will most likely not happen?
Re: [RELEASE] My server files
Hey guys i spent around 30 mins setting up my server, forwarding ports ect...
Now its actually running smoothly i have a packet error.
The client is sending the Auth pack - Loggin Request sucessfully but the server isnt sending a return pack to allow the client to connect. What should i do?
Tyvm
Re: [RELEASE] My server files
Hi just got a quick question about other people connecting. Ok im a noob at this to start. Anyway for other people to connect when the server starts i put my router ip in there right? And i put my other ip in the server.dat (can't remember what the other ip is external?) would a dsn host thing work too? or should i just put the ip in there?
and for me i use my routers ip right?
And the 2 ports i forward are 9958 and 9960 right?
I'm confused lol.
Re: [RELEASE] My server files
Quote:
Originally Posted by
Neuro99
Hi just got a quick question about other people connecting. Ok im a noob at this to start. Anyway for other people to connect when the server starts i put my router ip in there right? And i put my other ip in the server.dat (can't remember what the other ip is external?) would a dsn host thing work too? or should i just put the ip in there?
and for me i use my routers ip right?
And the 2 ports i forward are 9958 and 9960 right?
I'm confused lol.
Well , i ran it with my Direct IP , i have a router and 9 PCs connected to it but everyone has a static IP so i just put my IP to the server controller and the game server.dat , i ddnt even need to forward anything and all works great
the second solution i dd was using the Hamachi , i needed to try if it will work with one out my network (here u need to change the Server IP and the game server.dat IP again to the hamachi one )
BTW it worked :winky:
hope that will help u
Re: [RELEASE] My server files
Quote:
Originally Posted by
daz1223
Hey guys i spent around 30 mins setting up my server, forwarding ports ect...
Now its actually running smoothly i have a packet error.
The client is sending the Auth pack - Loggin Request sucessfully but the server isnt sending a return pack to allow the client to connect. What should i do?
Tyvm
i dunno if that would help , but try it u wont lose much
first u said the server read the client req so the connection is ready and working that means one of 3
1- u created the same acc or char more than once , if so u need to del the Acc and the Character form the Account and character folders then recreate them
2- the server has the Ip address already since the first login try but ddnt drop it down so u will need to close the client game and rerun it and if still cant u will need to log off ur windows system and re log on
3- somthing bad with ur client game (that would be very rare coz it does connect successfully) but if the first 2 ddnt fix it try to use another game client
hope that will help
Re: [RELEASE] My server files
I want to help please mi want to help create a server to Conquer pirate ...
if possible a tutorial teaching to a server to Conquer pirate Thank you please answer my hope msn Henrique.remix@hotmail.com
aki then post or not I thought this topic ...
thanks
waiting ...
Re: [RELEASE] My server files
can somone teach me how to add stamina working? :o
Re: [RELEASE] My server files
Quote:
Originally Posted by
samehvan
Well , i ran it with my Direct IP , i have a router and 9 PCs connected to it but everyone has a static IP so i just put my IP to the server controller and the game server.dat , i ddnt even need to forward anything and all works great
the second solution i dd was using the Hamachi , i needed to try if it will work with one out my network (here u need to change the Server IP and the game server.dat IP again to the hamachi one )
BTW it worked :winky:
hope that will help u
Oh thanks that helped alot but for the first solution i put my external ip into the game server and then the server.dat but i couldnt connect. Should the game server be my router ip? and in my server.dat my router ip too and for everyone else my external?
Re: [RELEASE] My server files
Quote:
Originally Posted by
Neuro99
Oh thanks that helped alot but for the first solution i put my external ip into the game server and then the server.dat but i couldnt connect. Should the game server be my router ip? and in my server.dat my router ip too and for everyone else my external?
what client u are using?
first to the game server.dat
would be somthing like that (make sure the undeline letters)
Quote:
[Header]
GroupAmount=1
Group1=GroupPic9
[Group1]
ServerAmount=1
Server1=Mano
Ip1=5.213.69.70
Port1=9958
ServerName1=Mano
HintWord1=
Pic1=servericon73
all links to same server all 1 or whatever the server number is
that means if u add a server u have to correct all numbers
second to the server Program (must be the IP u put there , for the last ex would be (5.213.69.70)
and no u cant put the router address coz the router is controlling the connections only not any other softwares
Re: [RELEASE] My server files
Quote:
Originally Posted by
samehvan
what client u are using?
first to the game server.dat
would be somthing like that (make sure the undeline letters)
all links to same server all 1 or whatever the server number is
that means if u add a server u have to correct all numbers
second to the server Program (must be the IP u put there , for the last ex would be (5.213.69.70)
and no u cant put the router address coz the router is controlling the connections only not any other softwares
Sorry i'm not very good with ip's lol but i ment my router ip in the actual game server. Not server.dat I ment if i portforward properly then do i put my external ip in the server.dat, and my routers ip in the game server.