0 registered members (),
984
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: ANet Problem
[Re: Fisch]
#287707
09/02/09 09:09
09/02/09 09:09
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Start the .exe with the -diag commandline. I think if files are missing it will be written into the acklog.txt.
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: xDoug]
#287721
09/02/09 10:34
09/02/09 10:34
|
Joined: Aug 2009
Posts: 46 Deggendorf, Bayern
Fisch
Newbie
|
Newbie
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
|
No, when I load a level, made a wait(). At the following enet_init() the application ends as ever before. Do I have to set something before enet_init()?
The Internet is full of answers, even to never asked questions!
|
|
|
Re: ANet Problem
[Re: Fisch]
#287723
09/02/09 10:41
09/02/09 10:41
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Try to make an application that only does the following:
function main()
{
wait(1);
enet_init();
error("It's working");
}
Run the code in SED. If an error message with "It's working" appears, publish and add anet.dll and then try to run the .exe. Then tell me the result. If it's not working also post the acklog.txt please.
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: xDoug]
#287724
09/02/09 10:44
09/02/09 10:44
|
Joined: Aug 2009
Posts: 46 Deggendorf, Bayern
Fisch
Newbie
|
Newbie
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
|
In the logfile the program aborts after showing the ANet-Screen(in exe-file; in SED its working!). Here the acklog.txt: Log of A7 Engine 7.06.1 run at Wed Sep 02 12:38:45 2009 Fisch on Windows NT/2000/XP version 6.1 Build 7100 Options -diag App C:\Users\Fisch\Desktop\Test\main.cd\main.exe in C:\Users\Fisch\ MM mixer opened DSOUND device opened DI interface opened Start Window opened (c)Conitec . Dieburg . San Diego . www.3dgamestudio.comA7 Engine - Pro Edition V7.06.1 - Sep 30 2007 Mouse found Lautsprecher (Realtek High Definition Audio) opened Radeon X1650 Series (Microsoft Corporation - WDDM) pure T&L device 1ff9 detected D3D device Radeon X1650 Series (Microsoft Corporation - WDDM) 1ff9 selected Compiling MAIN.WDL - [Esc] to abort.... ANet.dll opened Running MAIN.WDL. 3 objects D3D_Init Window: 1280x1024x1244764 -> Window: 1x1280x1024x32 Video memory found: 501 MB Main started anet_main_loop started Main loop..... Level(splash.wmb)...cmap,0 ents,42 verts,0 lmaps,4 texs,40 faces,pvs,hull Physics restarted...ok....ok 1st frame - 513024K... ok --------------------------- |ANet-MPPlugin Demo| --------------------------- You are NOT ALLOWED to use this demo in any commercial ways or for commercial projects! Visit: www.ANet-Plugin.com(c) Peter Soxberger - any key to abort Program aborted Close level,DLL,objects Free input,funcs,panels,defs,syns,views,strings,vars..ok Free sounds,bmaps,fonts,hash,defs1,script..ok Close dx,multimedia,D3D,engine,physics,nexus..ok A7 Engine - Pro Edition V7.06.1 - Sep 30 2007 (c)Conitec . Dieburg . San Diego . www.3dgamestudio.comClose window
Last edited by Fisch; 09/02/09 10:51.
The Internet is full of answers, even to never asked questions!
|
|
|
Re: ANet Problem
[Re: Fisch]
#287727
09/02/09 10:52
09/02/09 10:52
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Try that: var testvar;
function main() { wait(1); enet_send_var(_str("testvar"),BROADCAST); }
ANet should give an error like that: "ANet-DLL: Error in enet_send_var! Bad ClientID!". Tell me if this error is also shown when you run the .exe. (Please post the acklog.txt again) I also need to know your GS Version and Edition and the ANet Version you are using.
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: xDoug]
#287729
09/02/09 11:00
09/02/09 11:00
|
Joined: Aug 2009
Posts: 46 Deggendorf, Bayern
Fisch
Newbie
|
Newbie
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
|
I'm usingA7.06 Commercial and ANet Demo 1.2.4.3. Running your code in SED I get "ANet-DLL: Error in enet_send_var! No connection established.", as exe there is no error. Acklog.txt: Log of A7 Engine 7.06.1 run at Wed Sep 02 12:56:46 2009 Fisch on Windows NT/2000/XP version 6.1 Build 7100 Options -diag App C:\Users\Fisch\Desktop\Test\main.cd\main.exe in C:\Users\Fisch\ MM mixer opened DSOUND device opened DI interface opened Start Window opened (c)Conitec . Dieburg . San Diego . www.3dgamestudio.comA7 Engine - Pro Edition V7.06.1 - Sep 30 2007 Mouse found Lautsprecher (Realtek High Definition Audio) opened Radeon X1650 Series (Microsoft Corporation - WDDM) pure T&L device 1ff9 detected D3D device Radeon X1650 Series (Microsoft Corporation - WDDM) 1ff9 selected Compiling MAIN.WDL - [Esc] to abort.... ANet.dll opened Running MAIN.WDL. 3 objects D3D_Init Window: 1280x1024x1244764 -> Window: 1x1280x1024x32 Video memory found: 501 MB Main started anet_main_loop started Main loop.........ok 1st frame - 513024K.. ok ANet-DLL: Error in enet_send_var! No connection established! - any key to abort Program aborted Close level,DLL,objects Free input,funcs,panels,defs,syns,views,strings,vars..ok Free sounds,bmaps,fonts,hash,defs1,script..ok Close dx,multimedia,D3D,engine,physics,nexus..ok A7 Engine - Pro Edition V7.06.1 - Sep 30 2007 (c)Conitec . Dieburg . San Diego . www.3dgamestudio.comClose window
The Internet is full of answers, even to never asked questions!
|
|
|
Re: ANet Problem
[Re: Fisch]
#287734
09/02/09 11:06
09/02/09 11:06
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
This is the acklog.txt when you started in SED. Post the one that was created when running the .exe.
Anyway you should update your Gamestudio version to A7.80 (you get this free update on the gamestudio downloadside).
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]
#287737
09/02/09 11:08
09/02/09 11:08
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Yes but it seems like gamestudio can't load the plugin correctly because it's not possible to call any function of the plugin. The Gamestudio version you are using is very old and was never tested under Win7. Maybe the new one runs better under Windows7 and maybe also this "bug" disappears then.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
|