Author Topic: Script Core Suggestions  (Read 85570 times)

0 Members and 2 Guests are viewing this topic.

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #260 on: August 22, 2013, 04:07:50 am »
It has already been suggested a few times, in a simpler form though (only one boolean as function's result). I won't add it anytime soon because it requires altering the netcode which i'm not intending to touch untill i'm finished with implementing/finishing/fixing features already on my TODO list.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #261 on: September 25, 2013, 07:02:03 am »
I suggest add to OnVoteKick and OnVoteMap event boolean value which could recognize if player pressed f11 or f12 (for example return false on f11 and true on f12).
« Last Edit: September 25, 2013, 07:04:20 am by kicikici »
Classic banana

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #262 on: September 25, 2013, 12:00:12 pm »
Both OnVoteMap and OnVoteKick are called only when player votes Yes (F12). If one votes No, afair the vote isn't even sent over the network. I see no reason to change that behavior, voting nothing seems equal to me as voting No.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #263 on: September 25, 2013, 04:05:56 pm »
OK, i understood.
So description for this events should be fixed because now there is written: "Event property called when a player hits F11 or F12 during a kick vote/a map vote."
Classic banana

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #264 on: September 25, 2013, 05:18:28 pm »
Fixed. Thanks for pointing it out.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #265 on: April 10, 2014, 03:47:16 pm »
[dream_zone]
GetMouseXY(ID: byte; var X, Y: single);
[/dream_zone]
Classic banana

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #266 on: April 10, 2014, 04:21:07 pm »
Not possible, server never recieves such info. The best info i can give you is aim angle.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Script Core Suggestions
« Reply #267 on: April 10, 2014, 04:42:47 pm »
And one could create a script aimbot core. Because if one could so it certainly setxymouse :)

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #268 on: April 10, 2014, 05:04:17 pm »
Writing aimbot in scriptcore is possible with current api. One is already implemented on last stand server (sentry gun uses "aimbot"). I've also seen something alike in miracle mode, not sure if in hexer too.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #269 on: April 10, 2014, 05:14:51 pm »
Not possible, server never recieves such info. The best info i can give you is aim angle.

Thx for fast information, everything is clear now.
Classic banana

Offline Mighty

  • Camper
  • ***
  • Posts: 276
Re: Script Core Suggestions
« Reply #270 on: April 12, 2014, 04:32:31 am »
Just a reminder - we still need OnAdminCommand and OnTCPAdminCommand in SC3.
xFire: macmil        e-mail: macekmil@gmail.com
My scripts: Accuracy Script       Flashbang       Punishments GUID
            CatchMe Gamemod       AntiFake
            CW System             AntiFakeGUID

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Script Core Suggestions
« Reply #271 on: April 12, 2014, 06:48:02 am »
Procedure SlowTime(ID: byte, value: integer);
Player get the effect of the slowdown, with a value of slowdown the specified.
---
or
---
Procedure SlowTime(value: integer);
Players will receive the effect of slowing down, with a value indicated.


---
I have an idea for a mod for it!

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #272 on: April 12, 2014, 07:26:08 am »
You mean the bullet time? And how do you even imagine that to work?
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Script Core Suggestions
« Reply #273 on: April 12, 2014, 08:23:48 am »
No so that for example, the player slows down the movement of his fall throw knife etc, despite the rest of the players continue to play normally. As regards the second proposal is cause similar effects only that everyone regardless of whether all players are in the view

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #274 on: April 13, 2014, 04:02:11 am »

Just a reminder - we still need OnAdminCommand and OnTCPAdminCommand in SC3.
Yes, since we got SC3 (almost 1 year ago) only a few critical bugfixes were made over this time.

And what about GetKeyPress(1, 'F12')?  I know that I can detect pressing button using OnVote[Map/Kick] event, but it's not enough for me (I don't want start any voting). Or maybe I should ask about OnVote(Player: TActivePlayer) event?
Classic banana

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #275 on: April 13, 2014, 04:34:24 am »
I'm not sure where such feature could be useful
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #276 on: April 13, 2014, 05:34:37 am »
Of course for create votemap/votekick/voteban/votesomething scripts. It could help people replace built-in functions (which are horrible bugged now) his own stuff.
Classic banana

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Script Core Suggestions
« Reply #277 on: April 16, 2014, 05:09:15 pm »
procedure OnFlagReturn(ID, TeamFlag: byte) could be triggered with ID = 0 when flag dissapears automatically and returns to his original position.
Classic banana

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Script Core Suggestions
« Reply #278 on: April 17, 2014, 02:19:55 am »
When onflagdrop start working?

Offline skrX

  • Soldier
  • **
  • Posts: 112
  • x ye.
Re: Script Core Suggestions
« Reply #279 on: April 17, 2014, 11:50:07 am »
Code: [Select]
procedure ServerModifier(Name: String; Value:Variant);
I propose add more variables, maybe: acceleration or slowdown? currently only 'gravity' is available