2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: [Anet] I´ve a VServer.. but how to connect?
[Re: Espér]
#352239
01/02/11 13:25
01/02/11 13:25
|
Joined: Nov 2002
Posts: 913 Berlin, Germany
SchokoKeks
User
|
User
Joined: Nov 2002
Posts: 913
Berlin, Germany
|
Also make sure that you and your friend are using the exact same published version of the game. Even removing an unused variable or function will make the new script incompatible to the old one. If you need a different code on client and server, use anet_use_handles(0).
Also, you can try to load the server IP from a text file so you don't have to chance it in the code every time. And might try to set a password. Its just that I've never tried using an empty string, maybe there's a bug.
EDIT: Still, dark_samurai is right. If the connection works locally, but not over the internet, its usually not ANets fault but your firewall/router. Do you have a firewall? If using the build in windows firewall, make sure it doesn't block the server.
Last edited by SchokoKeks; 01/02/11 13:26.
|
|
|
Re: [Anet] I´ve a VServer.. but how to connect?
[Re: Espér]
#352247
01/02/11 14:10
01/02/11 14:10
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
To your virtual server problem, try to set video_screen = 0; (it's not video_mode, sorry for the wrong information; changed that in the manual). The engine should start then.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: [Anet] I´ve a VServer.. but how to connect?
[Re: Rei_Ayanami]
#352250
01/02/11 14:45
01/02/11 14:45
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
i read it.. but if i change the code, the game versions are not the same...
I tried to start a server directly at startup for the servergame version.. (I mean.. the ANet manual isn´t saying any word about, how to connect to a server and how to code it.. it just gives help for PC<>PC or local games..)
But it just crashes again with "No mouse found" o.O
Last edited by Espér; 01/02/11 14:47.
|
|
|
Re: [Anet] I´ve a VServer.. but how to connect?
[Re: Rei_Ayanami]
#352253
01/02/11 14:51
01/02/11 14:51
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
i nver used the A8 standard Online functions.. so.. the manual isn´t really clear for me.. (i´m happy that Anet connects now.. ^_^")
So i never used commands...
Last edited by Espér; 01/02/11 14:51.
|
|
|
Re: [Anet] I´ve a VServer.. but how to connect?
[Re: Espér]
#352255
01/02/11 15:03
01/02/11 15:03
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
Expert
|
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
-.-
Why don't you even look for it in the manual?
This STRING(!!) has nothing to do with multiplayer -.-'
Last edited by Rei_Ayanami; 01/02/11 15:03.
|
|
|
|