Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,508 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[ANet] Problem about sending skills #327323
06/05/10 20:56
06/05/10 20:56
Joined: May 2009
Posts: 445
Peine, Germany
Razoron Offline OP
Senior Member
Razoron  Offline OP
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
Hi,
at the moment, I have a problem about sending specific skills.
Usually sendig skills works, but one skills doesn't want to be sent.
The skill is sent from the server:
Code:
enet_send_skills(enet_ent_globpointer(ent_MyPlane),47,47,-1);


But nothing arrives at the client.
....
Any solutions/suggestions/thoughts?

Re: [ANet] Problem about sending skills [Re: Razoron] #327382
06/06/10 08:59
06/06/10 08:59
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Please notice that 47 won't be skill47 but skill[47] (or skill48). Maybe that's the problem?

Also check if the function returns 1 and not -1 and if the connection between the clients and the server is ok.


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 about sending skills [Re: Dark_samurai] #327478
06/06/10 17:15
06/06/10 17:15
Joined: May 2009
Posts: 445
Peine, Germany
Razoron Offline OP
Senior Member
Razoron  Offline OP
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
Originally Posted By: Dark_samurai
Please notice that 47 won't be skill47 but skill[47] (or skill48). Maybe that's the problem?

??
Do I have to write skill[47] or skill47 in the function?
That would give an error.

Originally Posted By: Dark_samurai

Also check if the function returns 1 and not -1 and if the connection between the clients and the server is ok.

enet_send_skills is defined as void.
The connection works perfectly.




EDIT:
Solved the Problem, reading http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=302487
Sorry for wasting your time. Maybe you should create a developer FAQ. laugh

Last edited by Razoron; 06/06/10 17:32.

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1