Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: Riax on March 11, 2007, 04:18:41 am

Title: [SC] Soldat Commander (v0.9 Beta 1) - Please lock
Post by: Riax on March 11, 2007, 04:18:41 am
If all anyone is going to do is argue over this, I'll simply keep it to myself and the few people I would even consider hosting servers for.

To everyone who is reading this for the first time, you can thank nub (http://forums.soldat.pl/index.php?action=profile;u=4709) and mikembm (http://forums.soldat.pl/index.php?action=profile;u=2840) for helping me decide to discontinue the project.

To those of you who think this means you can take Beta 1, possibly modify it, change the name, and re-release it, I would think twice about doing that here. I know it'll probably happen on another website and/or message board, but let it be known that Soldat Commander is officially no longer available. I will continue to visit these forums into the future, and an attempt at stealing any of my code and releasing it as your own will not go unnoticed. Also, I'll leave the header of the file posted here for all to see, as it contains not only the terms of use, but also the copyright notice. Soldat Commander is the intellectual property of Simplexity Network.

To the few who were helping to test SC, I send my thanks. In the unlikely event that I decide to release a new version, you will be the first to know.

I respectfully request that this topic be locked as soon as possible.

Quote from: \scripts\SoldatCommander.pas
// Soldat Commander v0.9 Beta 1
//  for Soldat v1.3.1 Dedicated Server v2.5.2+
// Copyright ©2006-2007 Riax of Simplexity Network.
// All rights reserved.

// By using this script, you agree to the following:
//   - You will not modify any part of the script. This includes, but is not limited to,
//     removing or changing this header or any copyright notice within the script.
//   - You will not directly copy any part of this script for use in other scripts
//     without express permission from its creator.
//   - You will not redistribute the script without express permission from its creator.
//   - The creator of the script may choose to give support for the script over various
//     communication mediums, but he is not obligated in any way to do so.
//   - Use of this script is "at your own risk." The creator acknowledges that there is
//     the possibility of the script causing harm to any system on which it is used.
//     If, by the use of this script, a system is harmed in any way, neither the creator
//     nor his affiliates will be held responsible.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Leo on March 12, 2007, 07:11:57 am
:O Will this work at current dedicated version ?
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: EnEsCe on March 12, 2007, 07:47:04 am
:O Will this work at current dedicated version ?
Tested with: Soldat 1.3.1 Server v2.5.4
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Leo on March 12, 2007, 07:59:01 am
Hmm... I was testing this in one of my servers and it was lagging like hell. Many messages "Leo is flooding the server" and "Connection problem".
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Mikeman on March 12, 2007, 09:19:53 am
I tested it on my own server at my computer, worked fine. Nice work  ;)
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: FliesLikeABrick on March 12, 2007, 12:08:27 pm
I'm posting just to add another copy of this to the thread.  If your scripts are too long to paste the code, please attach them to your post so that we don't lose the script if your site disappears.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Leo on March 12, 2007, 03:13:36 pm
I get many errors and server crashes when I use this:

Code: [Select]
07-03-12 21:03:11  [*] Run-time error (OnPlayerSpeak "function ChopLeft(source: string; chop: byte): string;"): Exception: Type Mismatch
07-03-12 21:03:11  [*] Run-time error (OnPlayerSpeak "// By using this script, you agree to the following:"): Out of Global Vars range
07-03-12 21:03:21  [*] Run-time error (OnPlayerSpeak " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:03:21  [*] Run-time error (OnPlayerSpeak ""): Out of Global Vars range
07-03-12 21:04:00  [*] Run-time error (OnPlayerSpeak " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:00  [*] Run-time error (OnPlayerSpeak " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:00  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:01  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:02  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:03  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:04  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:05  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:06  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:07  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:08  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:09  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:10  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
07-03-12 21:04:11  [*] Run-time error (AppOnIdle " Command('/setteam' + IntToStr(team) + ' ' + IntToStr(ID))"): Exception: Type Mismatch
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Riax on March 12, 2007, 03:24:51 pm
Quote from: FliesLikeABrick
I'm posting just to add another copy of this to the thread.  If your scripts are too long to paste the code, please attach them to your post so that we don't lose the script if your site disappears.
I completely missed the "Additional Options" on the post page. Sorry about that. Is it ok if I simply attach the zip file? (I'll attach the script for now and change it if that's the case.)

Quote from: Mikeman
I tested it on my own server at my computer, worked fine. Nice work  ;)
Thanks. I've spent days making SC release-ready. If you have any suggestions for improvement (other than ones that I've listed in the to-do list), please post them. I've got a few good ideas of my own that'll probably make it in v1.0 Final, but telling you what they are would ruin all the fun. :P

Quote from: Leo
Hmm... I was testing this in one of my servers and it was lagging like hell. Many messages "Leo is flooding the server" and "Connection problem".
:-\ That's strange; I've had connection problems on my server, but those turned out to be the result of DOS (which means Denial of Service, for those who don't know) attacks. Could you recreate those errors and post the contents of the server window? It might also help if you posted system specs for the machine you ran it on.

I think I know the culprit of all the errors containing '/setteam'. I'll go check it out.

EDIT: Ok, I believe I've fixed most of the errors. If you'd like, Leo, I can create a login on my server so that you can access the pre-releases directory. PM me with your desired username and password if you'd like to help test SC. This goes for anyone else as well, but it doesn't mean everyone can be testers. I'll decide who to give pre-release access to.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Leo on March 13, 2007, 12:39:35 am
Ok, you have PM ;) Btw, you could visit #lrs at quakenet. I am there most of the time.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Riax on March 13, 2007, 02:43:35 pm
Quote from: Leo
Ok, you have PM ;) Btw, you could visit #lrs at quakenet. I am there most of the time.
Alright, then. Your account is active and you have access to the /SC/pre-releases/ directory on my server, which contains a pre-release of v0.9 Beta 2. I'll go install an IRC client here in a bit.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Leo on March 14, 2007, 12:35:02 am
It seems to work without problems. However, personally, I need an auto-balance feature, without bots, before I shut down my ARSSE :)
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Avarax on March 14, 2007, 05:53:53 am
if you implement such autobalance, please make sure that the person is /killed after /setteaming (at least in survival mode)
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Leo on March 14, 2007, 07:15:28 am
Ok, found a bug I think. If I have an IP at "Members" and "AnnounceMembers=true" then I get this error at console: "07-03-14 13:17:18 
(19:06:34) 
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: rumpel on March 15, 2007, 09:15:14 am
dllink doesnt work
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: EnEsCe on March 15, 2007, 09:22:56 am
dllink doesnt work
Its attached to his post, which works.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Riax on March 17, 2007, 01:30:06 am
All links to pages hosted on my server were broken for a day or so. I'm sorry to inconvenience all of you, but school, friends, and family will always come before anything I do online, including Soldat scripting and server hosting. That being said, my server pretty much runs itself, and I rarely flip my KVM switch over to it unless there's a problem. In the past 3 days, my server has seen about 20 hours of uninterrupted downtime; this is, in fact, the most downtime it has seen PERIOD in the past year. About 3 days ago at somewhere between 1 and 2 in the morning, our power failed, and the notion that my server was probably down didn't cross my mind until around 10:30 that night.

I will continue to develop this script, but I will do so when and if I have the time. Writing scripts for Soldat is not my job; I have nothing of value in the real world to gain from it. So, updates to Soldat Commander will come, but there may be days, and possibly weeks, when what's happening in my real life will simply be more important than anything else. So, forgive me if there are breaks in development.

Just to illustrate my point, it is currently 2:23 AM where I am (GMT -5:00). I was out with friends until around 1:30 when we decided to call it a night. I have been awake for nearly 21 hours, and I need my sleep. Again, I apologize for the break in updates both developmental and informational, and any breaks I may take in the future. Contrary to popular belief, geeks can indeed have lives.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: 1221995 on March 23, 2007, 06:29:40 pm
iT MAKES IT ALL GLUITCHY... LIKE PARACHUTES FALLING WHENEVER I MOVE AND KILL TRIGGERS MAKE MY HEAD FLY UP AND BOUNCE ON THE CEILING LIKE A BALL...???...!!!...???...!!!...?????????????
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Riax on March 24, 2007, 09:53:21 am
Quote from: 1221995
iT MAKES IT ALL GLUITCHY... LIKE PARACHUTES FALLING WHENEVER I MOVE AND KILL TRIGGERS MAKE MY HEAD FLY UP AND BOUNCE ON THE CEILING LIKE A BALL...???...!!!...???...!!!...?????????????
If there's one thing I hate more than people who type multiple exclamation points after a statement, it's people who type with caps lock turned on, as if having upper-case letters and lots of exclamation points will make their reply seem better or more valid in some way.

If you're going to complain to me about something in the script, I suggest you resubmit your reply with, at the very least, an attempt at using correct grammar, capitalization, and punctuation. That being said, from now on, I will respond to any and all replies to the topics I start that are typed in the manner as displayed above thusly: they will be either heavily scrutinized, as I've done with this one, or I'll ignore them altogether.


P.S. I have another pre-release version on its way for the testers. It'll be uploaded later today or early tomorrow.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: DorkeyDear on March 28, 2007, 10:19:11 am
Quote from: 1221995
iT MAKES IT ALL GLUITCHY... LIKE PARACHUTES FALLING WHENEVER I MOVE AND KILL TRIGGERS MAKE MY HEAD FLY UP AND BOUNCE ON THE CEILING LIKE A BALL...???...!!!...???...!!!...?????????????
If there's one thing I hate more than people who type multiple exclamation points after a statement, it's people who type with caps lock turned on, as if having upper-case letters and lots of exclamation points will make their reply seem better or more valid in some way.

If you're going to complain to me about something in the script, I suggest you resubmit your reply with, at the very least, an attempt at using correct grammar, capitalization, and punctuation. That being said, from now on, I will respond to any and all replies to the topics I start that are typed in the manner as displayed above thusly: they will be either heavily scrutinized, as I've done with this one, or I'll ignore them altogether.


P.S. I have another pre-release version on its way for the testers. It'll be uploaded later today or early tomorrow.

Dude, you rock!

This looks really interesting. Interesting in a very good way. :)
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: nub on March 28, 2007, 12:15:00 pm
Quote
//   - You will not modify any part of the script. This includes, but is not limited to,
//     removing or changing this header or any copyright notice within the script.
//   - You will not directly copy any part of this script for use in other scripts
//     without express permission from its creator.

Which means that I'm not allowed to use this script in conjunction with other scripts, since you can't add other scripts to Soldat without altering yours.

Quote
//   - You will not redistribute the script without express permission from its creator.

[A] hey, that's a nice script you are running on your server, can you give it to me?
ok, but i have to ask the author first.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: mikembm on March 28, 2007, 01:03:32 pm
That header is all bullshit anyways. Some people may not like certain parts and want to change them or remove them. And you know what - despite what your stupid header says they will.

If you want to create something and not have it modified by other people then this is what you should be doing. IMO, you should just remove the header because all it does is make you look ignorant.

Besides that, it's a great script, kinda lengthy but good none-the-less.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Riax on March 28, 2007, 04:49:45 pm
Quote from: mikembm
That header is all bull**** anyways. Some people may not like certain parts and want to change them or remove them. And you know what - despite what your stupid header says they will.

If you want to create something and not have it modified by other people then this is what you should be doing. IMO, you should just remove the header because all it does is make you look ignorant.

Besides that, it's a great script, kinda lengthy but good none-the-less.

1) Read my post before making yours.
Quote from: Riax
Features:
All configuration is handled by an initialization file (SoldatCommander.ini)
Nearly every aspect of the script is configurable

2) "IMO," development of this script will continue as long as people have suggestions for new features. The whole point of Soldat Commander is that you won't need anything else. Indeed, I do still have a bit work to do before I come close to achieving that goal, but I'd like to see you crank out a working script that has all the features of SC v0.9 Beta 1 after only 5 days of experience with Delphi Pascal and 6 total hours of coding; that includes debugging and the complete rewrite I did to the config loader.

Also, I could give two sh**s less what you or anyone else thinks about any piece of code I write or the headers I include. I didn't write this script for the people who have the skills to do it themselves; I wrote it so that people who don't know jack squat about programming can enjoy the benefits of many different scripting features without the work involved in combining all the individual scripts it would take to build a feature list like mine.


P.S. I know I said that a new pre-release version would be uploaded a few days ago, but unfortunately, that didn't happen due to my computer's power supply burning out. What's more: I'm leaving for vacation on Friday, which means that if I don't have my computer back up by then, you'll have to wait a week before I can continue development. If, by chance, I am able to aquire and install a new PSU by the time I leave, I'll be able to access my computer through my server while I'm away and maybe crank out one or two pre-releases using my dad's laptop.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: nub on March 28, 2007, 06:00:26 pm
Quote
The whole point of Soldat Commander is that you won't need anything else.

So you are saying that you want to get the monopoly on Soldat scripts?
Should I be concerned and inform the cartel office? =)

But seriously, one day when SC becomes "big", one will have to go to the SC-forum, which will be build up around it because being in control of a forum is so cool, and plead for a new feature to be built in? And then some committee of arrogant forum administrators will decide that this feature is lame and dismiss it.

Also you wont have time to always maintain it. So it's better to allow people to modify it.

I know that most people will just ignore your license, but still it's an ugly piece of text at the top of the file and makes you look immature (in my eyes at least).
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Ruxias on March 28, 2007, 10:17:11 pm
I think a lot of people (nub, mikembm, and others) are missing the point....

What Riax is trying to do is say that he doesn't want someone taking his hard work, modify the script a little bit, and then claim it to be their's. Is that so hard to see? He doesn't want to make a "monopoly" on Soldat scripts. (Besides, you can't have a monopoly on intellectual property, at least not this instance, since nothing is really being sold at all and competition wouldn't be thwarted by the common mechanisms that monopolies use to survive) Regardless, the header is there to insure (At least, make an attempt to insure) that no one steals parts of the script or takes unauthorized advantage of Riax's script. Nothing less, nothing more.

Sorry if this isn't "on-topic", but I felt that I needed to let you know the real intentions behind that header. If you'd like, you can suggest new features and Riax will surely add them if he thinks that (1) people will use them, (2) they will be useful, and (3) it isn't impossible to script.

Oh, by the way... Internet: Serious Business!
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: nub on March 29, 2007, 05:51:05 am
I wasn't talking about monopoly on intellectual property. What I mean is, that if he makes all other scripts redundant by his script, people will depend on him, and that's a quasi monopoly. And as I stated before, this license doesn't even allow you to add other scripts to your Soldatserver, since you couldn't do it without altering SC.

Programmers usually credit each other when they reuse each other's code. If someone doesn't credit your work, you probably wont be able to stop him from doing it with your header anyway.

Quote
[...] Riax will surely add them if he thinks that (1) people will use them, (2) they will be useful, and (3) it isn't impossible to script.

And that's exactly my point. People are dependent on the mercy of one person, who decides whether their features are worth adding.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Avarax on March 29, 2007, 08:06:44 am
you guys are overrating this script... as if everyone would download the "Mighty Morphin' Soldat Commander"
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: nub on March 29, 2007, 08:45:19 am
I didn't start the discussion because of the script itself.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: Ruxias on March 29, 2007, 02:42:34 pm
Quote
People are dependent on the mercy of one person, who decides whether their features are worth adding.

Firstly and most importantly, no one is making you use Soldat Commander. If you don't like it, then don't use it. It's as simple as that. Secondly, why add a feature if people won't use it at all? Thirdly, why add a feature that's completely useless? Fourthly, there are some things that would be impossible to achieve with the current scripting support. Those being said, I'd like to add that development of Soldat Commander can't continue perpetually, with things like real life needing to be dealt with first, so perhaps most of the things in that header will be changed when Riax decides he's done enough and lets people use it however they like. Until then, get over it.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1)
Post by: nub on March 29, 2007, 03:11:30 pm
Quote
Firstly and most importantly, no one is making you use Soldat Commander. If you don't like it, then don't use it.

Yay, what took you so long to bring the all mighty "argument"?
Why do people use Microsoft(R) Windows(R)? No one makes them to do so. Is it such a brilliant piece of software?
The answer is dependencies. This company made almost everyone in the world dependent on its software.

Intentionally or unintentionally, you are doing the same (or trying to, since you'll never be able to prevent people from violating your license).

Quote
Secondly, why add a feature if people won't use it at all? Thirdly, why add a feature that's completely useless?

If one allows others to modify the code, he doesn't even have to deal with that.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1) - Please lock
Post by: Riax on March 29, 2007, 03:38:06 pm
Read the first post.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1) - Please lock
Post by: nub on March 29, 2007, 03:59:15 pm
You are overreacting. We were just two people and the rest doesn't seem to care about it.

Quote
I will continue to visit these forums into the future, and an attempt at stealing any of my code and releasing it as your own will not go unnoticed.

This reminds me of all those "copy kills" ads in cinema before they start the movie. Very immature behaviour.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1) - Please lock
Post by: Riax on March 29, 2007, 04:10:37 pm
Like I said before, I don't give two sh**s about what other people think of me. Calling me "immature" and "ignorant" isn't going to make me "see the error of my ways." I am who I am; nothing more and nothing less. The fact of the matter stands: I won't put forth effort in an attempt to satisfy people who continually criticize what I've created; end of discussion. Besides, there are much better things I could be doing with my time than reading forums and writing code.
Title: Re: [SC] Soldat Commander (v0.9 Beta 1) - Please lock
Post by: chrisgbk on April 03, 2007, 08:41:28 am
Locked at OP's request.

Kinda sad to see this go; while I would not have personally used this script, I thought it was a great idea for everyone who is unable to script, but wants that kind of easy drop-in functionality. To all those complaining about the license: if you don't like it, don't use it. It was a perfectly acceptable license, considering it was a beta and meant for bug finding/fixing; allowing users to modify it might prevent bugs from being found or introduce new bugs, not to mention that this script is(was?) very complex.

If you ever do feel like releasing this for those who do want it Riax, feel free to make a new topic.