1 registered members (AndrewAMD),
678
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: ANet - The ultimate networkplugin for GS [Demo]
[Re: jigalypuff]
#237723
11/21/08 19:13
11/21/08 19:13
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
OP
Serious User
|
OP
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
There must be something wrong with your winrar. I tested the download and extracting worked for me. I think I will switch back zu .zip, because there were no problems. Sorry for the problems! Ok here are the .zip versions (they contain the english and german tutorial): small version big version (with compiled project)
Last edited by Dark_samurai; 11/21/08 19:38.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: ANet - The ultimate networkplugin for GS [Demo]
[Re: Dark_samurai]
#237751
11/21/08 23:36
11/21/08 23:36
|
Joined: Apr 2008
Posts: 91 Canada
DC9
Junior Member
|
Junior Member
Joined: Apr 2008
Posts: 91
Canada
|
I was having download issues with the previous big English .rar download before as well. The .zip file looks good though.
DC9
|
|
|
Re: ANet - The ultimate networkplugin for GS [Demo]
[Re: Dark_samurai]
#238590
11/28/08 13:31
11/28/08 13:31
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
demo works fine here. a question: you don't do any movement prediction at all, right? so all movement seen is the one received from the other players? if so, the "jerkyness" is fine...
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: ANet - The ultimate networkplugin for GS [Demo]
[Re: Germanunkol]
#238599
11/28/08 14:25
11/28/08 14:25
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
OP
Serious User
|
OP
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
a question: you don't do any movement prediction at all, right? so all movement seen is the one received from the other players? if so, the "jerkyness" is fine... Correct. I mentioned that in the manual + methodes how to make better movement (Death Reckoning).
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: ANet - The ultimate networkplugin for GS [Demo]
[Re: MaxF]
#239133
12/02/08 20:45
12/02/08 20:45
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
OP
Serious User
|
OP
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
The price will be released when the homepage is finally released!
The homepage is finished now. After I configured my webserver (I'm having an own now ^^) the homepage will be released! There will be two new example scripts for free download (already finished!).
After the homepage is finally working, I will start with the pro version. Planned features: Encryption, compression, unlimited clients, file manager (for sending files like a level...), extended playername system (can be used for lists like in cs when you press tab), udp functions, http functions (both needed if you want to create a serverlist). My target is to finish it before christmas!
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: ANet - The ultimate networkplugin for GS [Demo]
[Re: Dark_samurai]
#239704
12/06/08 18:03
12/06/08 18:03
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
i have a problem with updating car tires in my game. there's one action for all four tires and i cant update them properly. can you please take a look at this code and tell me a way to update, i mean send theirs position correctly? void tire() {
set(my,SHADOW | CAST); my.id = wheel_i++ - 1; wheels[my.id] = my; while(enet_ent_globpointer(my) == -1) {wait(1);} //wait until the entity gets a global pointer while(go ==0){wait(1);}
//if(enet_ent_creator(enet_ent_globpointer(my)) == enet_get_clientid()) //if this function runs on the client which created the entity //{ set_physics( PH_SPHERE, PH_SPHERE, 2 + (my.id > 3) * 2, 30, 80, 50, 10, 20, 20 );
printf(""); wheel_ids[my.id] = phcon_add(PH_WHEEL, vehicles[my.id > 3], my); phcon_setparams1(wheel_ids[my.id], my.x, vector(0, 0, 1), vector(1, 0, 0)); phcon_setparams2(wheel_ids[my.id], vector( -30 * (my.id == 0 || my.id == 1 || my.id == 4 || my.id == 5), 30 * (my.id == 0 || my.id == 1 || my.id == 4 || my.id == 5), 0), nullvector, vector(spring, damper, 0)); while(enet_get_clientid() > -1) { // suspension ent_animate(vehicles[my.id > 3], (suspensions.pstring)[my.id % 4], clamp((100.0 / (suspension_max - suspension_min)) * ( (vec_rotate_inverse(vec_diff(my.t1_x, my.x, vehicles[my.id > 3].x), vehicles[my.id > 3].pan)).z - suspension_min) - 30, 0, 100), ANM_ADD); phent_getvelocity(my, my.t2_x, nullvector); vehicles[my.id > 3].speed = (vec_length(my.t2_x) / 32.0) * 60 * 60 / 1000.0; enet_set_unreliable(1); //send in unreliable mode enet_send_pos(enet_ent_globpointer(my),-1); //send the new position to all clients enet_send_angle(enet_ent_globpointer(my),-1); enet_set_unreliable(0); wait(1); } //} }
i create tires in this function: function create_player() { player=enet_ent_create(_str("aut_f360.mdl"), vector (random(200), random(200), 150), _str("vehicle"));
enet_ent_create (_str("rue_360_d.mdl"), vector (player.x + 17, player.y + 21, player.z - 7), _str("tire")); // FR enet_ent_create (_str("rue_360_i.mdl"), vector (player.x - 17, player.y + 21, player.z - 7), _str("tire")); // FL enet_ent_create (_str("rue_360_i.mdl"), vector (player.x - 17, player.y - 33, player.z - 7), _str("tire")); // RL enet_ent_create (_str("rue_360_d.mdl"), vector (player.x + 17, player.y - 33, player.z - 7), _str("tire")); // RR
}
Last edited by cerberi_croman; 12/06/08 18:09.
Ubi bene, ibi Patria.
|
|
|
|