0 registered members (),
17,416
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
why no send_skill_to? or send_skill_id ?
#177699
01/13/08 05:56
01/13/08 05:56
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,305
New York
|
I'm just really curious, why isn't there a send_skill_to? or send_skill_id? I mean there are work arounds, but for me to do that work around I need to not only send the skill I want to change but the value I want to change it to as well. Not to mention the entity I want to change. I tried sending it all in a string and just using execute or var_for_name, but simply put: it wouldn't work. I think the community wouldn't mind a send_skill_to or a send_skill_id, my question is why isn't it there? Btw, forgive me if there is some kind of send_skill_to function and I didn't catch it, but i'm really sure it's not there. Is there any other simply solution? EDIT: BTW again, incase you wondering why i'm asking for this.... I'm going with a zone idea for my game. I want to send updates to all the entities in a zone, but only of entities in that zone (we don't need to send an update to china about the location of every person in New York). Send_skill sends the skill either to only the maker... or to EVERYONE  .
Last edited by PrenceOfDarkness; 01/13/08 06:39.
"There is no problem that can't be solved with time and determination." -me prenceofdarkness for instant messages on AIM.
Looking for a model designer PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
|
|
|
Re: why no send_skill_to? or send_skill_id ?
[Re: jcl]
#177701
01/24/08 21:12
01/24/08 21:12
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,305
New York
|
That is great to hear, I hope it's as soon as possible.
In the mean time is their anyway for me to implement such a function? I don't want to go and recreate an entire multiplayer system since I believe (when this new function is added) conitec did a GREAT job with multiplayer in A7.
I hope the update will come in the next patch or two sine it's only one more function, but hey your the boss:)
"There is no problem that can't be solved with time and determination." -me prenceofdarkness for instant messages on AIM.
Looking for a model designer PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
|
|
|
Re: why no send_skill_to? or send_skill_id ?
[Re: jcl]
#177703
01/30/08 04:16
01/30/08 04:16
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,305
New York
|
Okay, but seen the manual doesn't give any examples or explains it very well. Can someone maybe give a slightly better example, maybe how it can be used with entity skills.
"There is no problem that can't be solved with time and determination." -me prenceofdarkness for instant messages on AIM.
Looking for a model designer PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
|
|
|
Re: why no send_skill_to? or send_skill_id ?
[Re: PrenceOfDarkness]
#177706
02/08/08 06:43
02/08/08 06:43
|
Joined: Aug 2004
Posts: 1,305 New York
PrenceOfDarkness
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,305
New York
|
sorry to bother you again on this subject but i finally had the chance to day to try your example. I hate to keep bothering you like this but after hours of trying to get any example of send_data_to to work I get no results at all.
First off when I try send_data_to in my server's main while loop, the client has no change in BPS or even relable or unrelable data. I tried a million things like using beeps to see where the program gets up to and I just can't figure it out what's going on. I copied and paste your example exactly (obviously assigned the send part to a while loop and when I press Q it should send which i've done a million times with all the other send functions).
Not to be a pain or anything, but did you try the example yourself? Does it work? I checked my version number and I'm up to date. Again, I've had great success with all other aspects of multiplayer with A7 but I could never ever get send_data to work, and based on how no one ever answered me in the multiplayer thread I'm starting to get the feeling no one else did either. I'm going to ask there as well to see if anyone has ever gotten send_data to work.
"There is no problem that can't be solved with time and determination." -me prenceofdarkness for instant messages on AIM.
Looking for a model designer PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
|
|
|
Re: why no send_skill_to? or send_skill_id ?
[Re: PrenceOfDarkness]
#177707
02/08/08 08:19
02/08/08 08:19
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Just a quick intermission and clarification: His code is for lite-c since c-script does not allow stucts and flexible data types. You may be working with a lite-c version in which case ignore this but if you are trying JCL's code with c-script, it will never work. 
|
|
|
|