Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 857 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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