|
Re: ANet Problem
[Re: Widi]
#286899
08/28/09 06:55
08/28/09 06:55
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
What gamestudio version do you have? Which example do you mean, the 3d chat example?
Last edited by Dark_samurai; 08/28/09 06:55.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: ANet Problem
[Re: Dark_samurai]
#286908
08/28/09 07:44
08/28/09 07:44
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
I don't think you need handles at all. A pointer can be stored directly in a skill:
you = ent_create(...);
players[myClientID].skill[40] = you;
later on:
you = players[myClientID].skill[40]; if(you) ptr_remove(you); players[myClientID].skill[40] = 0;
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: ANet Problem
[Re: xDoug]
#287521
09/01/09 09:10
09/01/09 09:10
|
Joined: Aug 2009
Posts: 46 Deggendorf, Bayern
Fisch
Newbie
|
Newbie
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
|
I have another problem. I got the free-version of ANet and wrote a little application. When I test it in SED it works fine. But running the published EXE-File, I get no connection. Can you please help me?
Last edited by Fisch; 09/01/09 09:17.
|
|
|
Re: ANet Problem
[Re: Fisch]
#287548
09/01/09 11:22
09/01/09 11:22
|
Joined: May 2008
Posts: 33 Russia/Netherlands
Hand_Of_Law
Newbie
|
Newbie
Joined: May 2008
Posts: 33
Russia/Netherlands
|
I have another problem. I got the free-version of ANet and wrote a little application. When I test it in SED it works fine. But running the published EXE-File, I get no connection. Can you please help me? Make sure that the anet.dll and the key file are in the directory of the exe file. They are not added standard by the publish function. Also ensure that no firewall is blocking.
Last edited by Hand_Of_Law; 09/01/09 11:22. Reason: spelling
|
|
|
Re: ANet Problem
[Re: Fisch]
#287590
09/01/09 14:30
09/01/09 14:30
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Then you have done something wrong. Try to run the script in SED again. If it is working, do a publish and copy the anet.dll into the folder that was created through the publish function.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: ANet Problem
[Re: Dark_samurai]
#287604
09/01/09 15:13
09/01/09 15:13
|
Joined: Aug 2009
Posts: 46 Deggendorf, Bayern
Fisch
Newbie
|
Newbie
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
|
When I copy the DLL in the folder and start the game, I see a black window for less than a second and the game shuts down with an error-sound. I made a small video of the problem: anet_problem.flvThank you.
The Internet is full of answers, even to never asked questions!
|
|
|
|