ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Branching off of the ACS standards
Goto page 1, 2  Next
 
Post new topic   Reply to topic    ZDaemon Forum Index -> ZDaemon Development
View previous topic :: View next topic  
Author Message
Zorro
Unstoppable!


Joined: 12 Oct 2005
Location: Your Closet

PostPosted: Sat Jul 08, 2006 1:22 am    Post subject: Branching off of the ACS standards Reply with quote

The ACS language wasnt really designed for a networked environment and I think that if wee added a few features, the results would allow for some great scripts to be written. I mean, it's not like the Zdeamon project strives to be an exact replica of the most recent ZDoom anyway. I never opened up a single file of the ZDoom source, so I obviously dont know how exactly the ACS compiler and interpreter are implemented. Thus, I have little idea how difficult it would be to implement these ideas but here I go

Shared Variables: there should be the ability to crate a type of variable that remains consistant with all the clients. When client A updates shared variabe ALPHA, the variable gets updated in client B's client.

A way to differentiate between clients - TIDs arent really a solution like they are in a local game where you dont respawn. A fuction Client_GetID() would be good. where it returns a variable that doesnt change for the client, but is different for every client

Functions controlling aspects of the game added by Zdaemon: (such as Player_SetScore(client_id, amount), Player_GetScore(client_id) Player_GetTeam(client_id) Team_SetScore(MACRO_IDENTIFYING_TEAM), Team_GetScore(MACRO_IDENTIFYING_TEAM) Team_ReturnFlag(MACRO_IDENTIFYING_TEAM) ect.

it would open many doors (perhaps polyobject ones) in ACS scripting
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Ronald
Rontard


Joined: 17 Aug 2005
Location: Netherlands Clan: [QnB]

PostPosted: Thu Jul 20, 2006 9:52 pm    Post subject: Re: Branching off of the ACS standards Reply with quote

Zorro wrote:
The ACS language wasnt really designed for a networked environment and I think that if wee added a few features, the results would allow for some great scripts to be written. I mean, it's not like the Zdeamon project strives to be an exact replica of the most recent ZDoom anyway. I never opened up a single file of the ZDoom source, so I obviously dont know how exactly the ACS compiler and interpreter are implemented. Thus, I have little idea how difficult it would be to implement these ideas but here I go

Functions controlling aspects of the game added by Zdaemon: (such as Player_SetScore(client_id, amount), Player_GetScore(client_id) Player_GetTeam(client_id) Team_SetScore(MACRO_IDENTIFYING_TEAM), Team_GetScore(MACRO_IDENTIFYING_TEAM) Team_ReturnFlag(MACRO_IDENTIFYING_TEAM) ect.

it would open many doors (perhaps polyobject ones) in ACS scripting


Especially this one in my opinion. Could be very useful to improve Mr Adreth's Deathball.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
_KE9_NecroMage
Dominating!


Joined: 05 Feb 2005
Location: NJ, USA

PostPosted: Mon Jul 24, 2006 2:20 am    Post subject: Reply with quote

I am not a hundred percent sure of what version of acc (thats the compiler for the scripts for those that don't know) was the current one when zdoom 1.23b (or whatever version of zdoom this is based on) came out. Because of that I don't know what features were absent from the current compiler. I do know that the current version (1.42) does have basic support for a few interesting things though. Thanks to Carn the current acc that is used by zdoom (yes, not only skulltag but zdoom) supports such things as scripts running when the blue flag is returned as well as built in functions that return the number of players on the blue team and the ability to score points for a team. Here is the catch, though, even though you can create a script with all of those things zdoom just ignores it. Therefore, all zdaemon really has to do is its own code for dealing with the functions and there you go. Now, I haven't tested it but I will when I get the chance that zdaemon does use these functions and I just didn't know that.

I know all of this because the latest version of acc (1.42) includes changes that I made to it, so I am not talking out of my ass here.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Ronald
Rontard


Joined: 17 Aug 2005
Location: Netherlands Clan: [QnB]

PostPosted: Fri Jul 28, 2006 11:14 am    Post subject: Reply with quote

_KE9_NecroMage wrote:
I am not a hundred percent sure of what version of acc (thats the compiler for the scripts for those that don't know) was the current one when zdoom 1.23b (or whatever version of zdoom this is based on) came out. Because of that I don't know what features were absent from the current compiler. I do know that the current version (1.42) does have basic support for a few interesting things though. Thanks to Carn the current acc that is used by zdoom (yes, not only skulltag but zdoom) supports such things as scripts running when the blue flag is returned as well as built in functions that return the number of players on the blue team and the ability to score points for a team. Here is the catch, though, even though you can create a script with all of those things zdoom just ignores it. Therefore, all zdaemon really has to do is its own code for dealing with the functions and there you go. Now, I haven't tested it but I will when I get the chance that zdaemon does use these functions and I just didn't know that.

I know all of this because the latest version of acc (1.42) includes changes that I made to it, so I am not talking out of my ass here.


It would be cool if the new Zdaemon was based on the newest Zdoom. Just think of the possibilities... Rolling Eyes
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Stealth
Gone with the wind


Joined: 09 Nov 2004

PostPosted: Fri Jul 28, 2006 3:28 pm    Post subject: Reply with quote

Nah, in fact it would be more of a hassle than anything. Remember when they changed the sound code to that of the latest ZDoom? Just sound? Complete chaos. Sounds were not scaled properly by bars, 1on1 players raged, and it took weeks to fix.

Now let's say we replace the code entirely.. Nothing will work, the game would have to many bugs to make it playable, and it would take months to finish.

Take a look at the changelog for the time difference between release of ZDaemon 0.99 and ZDaemon 1.0, for migration of code from ZDoom 1.22 to ZDoom 1.23.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ronald
Rontard


Joined: 17 Aug 2005
Location: Netherlands Clan: [QnB]

PostPosted: Fri Jul 28, 2006 4:05 pm    Post subject: Reply with quote

StealthCP wrote:
Nah, in fact it would be more of a hassle than anything. Remember when they changed the sound code to that of the latest ZDoom? Just sound? Complete chaos. Sounds were not scaled properly by bars, 1on1 players raged, and it took weeks to fix.

Now let's say we replace the code entirely.. Nothing will work, the game would have to many bugs to make it playable, and it would take months to finish.

Take a look at the changelog for the time difference between release of ZDaemon 0.99 and ZDaemon 1.0, for migration of code from ZDoom 1.22 to ZDoom 1.23.


Wow yes, you are right. I did not even realise there was this much work involved with it. But still, it would be cool if they did it and evrtything worked properly.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Thundare
Posting Spree!


Joined: 07 Aug 2006
Location: portland OR

PostPosted: Tue Aug 08, 2006 1:07 am    Post subject: Reply with quote

that is all good too know
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Thundare
Posting Spree!


Joined: 07 Aug 2006
Location: portland OR

PostPosted: Tue Aug 08, 2006 1:08 am    Post subject: ok Reply with quote

good too know
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
The Ultimate DooMer
God like!


Joined: 30 Aug 2004

PostPosted: Tue Aug 08, 2006 11:27 pm    Post subject: Reply with quote

Updating the scripts, even to the level of Skulltag (2.0.63a) would be enough to make stuff happen.

But of course that's too new....
Back to top
View user's profile Send private message Send e-mail
[n00b]Adereth
Spamming!


Joined: 16 Jul 2005
Location: Oh god, what year is this?!

PostPosted: Tue Aug 08, 2006 11:37 pm    Post subject: Reply with quote

Ronald wrote:
Wow yes, you are right. I did not even realise there was this much work involved with it. But still, it would be cool if they did it and evrtything worked properly.


It would be cool if every download of ZDaemon came with a pony.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Englander
God like!


Joined: 04 Jun 2004
Location: Devon, England

PostPosted: Tue Aug 08, 2006 11:39 pm    Post subject: Reply with quote

I know shit about programming, but common sense tells me it's probably alot more fucking difficult to transfer these features to a port who's native purpose is online than a usual local port. It's probably like trying to mod a car with a diesel engine using the same method on a petrol one, sure, the cars do the same thing, but they operate very differently. That's how I see it.

I'm fairly sure that if the developers could of implemented it by now it would be there in all it's shiny glory, but there is obviously problems and side effects, who knows.
Back to top
View user's profile Send private message
enVision
A.K.A. Rat-Arsed


Joined: 13 Dec 2002
Location: Lagland

PostPosted: Wed Aug 09, 2006 1:52 pm    Post subject: Reply with quote

The main hurdle would be splitting it into server/client portions I'd have thought. Still, a lot to be done first.
Back to top
View user's profile Send private message Visit poster's website
Ronald
Rontard


Joined: 17 Aug 2005
Location: Netherlands Clan: [QnB]

PostPosted: Wed Aug 09, 2006 4:06 pm    Post subject: Reply with quote

I am looking forward to it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
[n00b]Adereth
Spamming!


Joined: 16 Jul 2005
Location: Oh god, what year is this?!

PostPosted: Wed Aug 09, 2006 4:43 pm    Post subject: Reply with quote

Englander wrote:
I know shit about programming, but common sense tells me it's probably alot more fucking difficult to transfer these features to a port who's native purpose is online than a usual local port. It's probably like trying to mod a car with a diesel engine using the same method on a petrol one, sure, the cars do the same thing, but they operate very differently. That's how I see it.


It's a bit more like "moving your arm" and "writing a letter to a friend down in Surrey and telling the lazy bloke to move his arm."
Back to top
View user's profile Send private message Visit poster's website AIM Address
Englander
God like!


Joined: 04 Jun 2004
Location: Devon, England

PostPosted: Wed Aug 09, 2006 7:39 pm    Post subject: Reply with quote

You could always ring him first.
Back to top
View user's profile Send private message
_KE9_NecroMage
Dominating!


Joined: 05 Feb 2005
Location: NJ, USA

PostPosted: Wed Aug 09, 2006 9:38 pm    Post subject: Reply with quote

I don't know how zdaemon handles acs internally but I would imagine the hard part would be getting all the information down to a small size so that it doesn't take forever for each packet to send. Other then that I don't see what the problem is.
Back to top
View user's profile Send private message Visit poster's website AIM Address
ALIENwolve
Unstoppable!


Joined: 18 Mar 2006
Location: Sitting around in his mind getting sick of not having a clone to aid in team shit.

PostPosted: Wed Aug 09, 2006 10:23 pm    Post subject: Reply with quote

No clue.

(Hex, hex dammit!) Shifty eyes...
Back to top
View user's profile Send private message
[n00b]Adereth
Spamming!


Joined: 16 Jul 2005
Location: Oh god, what year is this?!

PostPosted: Wed Aug 09, 2006 10:29 pm    Post subject: Reply with quote

Understaffing is the problem, actually. Huge ACS fixage has already been done, but it isn't complete or in a state that can be called release quality. I estimate we'll see it in/by 1.10.
Back to top
View user's profile Send private message Visit poster's website AIM Address
_KE9_NecroMage
Dominating!


Joined: 05 Feb 2005
Location: NJ, USA

PostPosted: Wed Aug 09, 2006 10:44 pm    Post subject: Reply with quote

If understaffing is the problem I would gladly help out but alas, I don't think I can do it with my current programming skills.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Ronald
Rontard


Joined: 17 Aug 2005
Location: Netherlands Clan: [QnB]

PostPosted: Thu Aug 10, 2006 12:19 am    Post subject: Reply with quote

[n00b]Adereth wrote:
Understaffing is the problem, actually. Huge ACS fixage has already been done, but it isn't complete or in a state that can be called release quality. I estimate we'll see it in/by 1.10.


I think you would be a great addition to the Zdaemon Development Team. But if understaffing was the problem, would they not try to get some help around here?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> ZDaemon Development All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group