October 04, 2023, 05:21:36 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1] 2

Author Topic: [SERVERSENT] No Damage RJ - 2.7.4  (Read 5160 times)

Danikah

  • Guest
[SERVERSENT] No Damage RJ - 2.7.4
« on: April 03, 2013, 10:20:40 am »

This plugin disables damage and knockback on enemies and teammates when playing on maps whose name begins with dj or rj (or sj, if ya wanna play Demo/Soldier on Scoutjump maps).
On any other maps, however, everything will run as usual.

Haven't been tested yet, so I'd really like some feedback.
Thank you, and have fun.

Download from ganggarrison.com/plugins If you want to examine it.
You don't need to download the plugin though, as both the server and the clients will download any serversent plugins listed at the server's "ServerPluginList=".

To use this plugin:
- open up the "gg2.ini" file
- look for a line with "ServerPluginList=" in it
- add "nodamage_rj" (without quotation marks) to the end of that line
  - you can separate different plugins with commas (,)
- as this plugin is required, make sure the "ServerPluginsRequired=" line has the number 1 at its end

All in all, it should look like this:

Code: [Select]
ServerPluginList=nodamage_rj
ServerPluginsRequired=1

Or if you have some other serversent plugins as well (like the throwable sandvich plugin, for example):
Code: [Select]
ServerPluginList=throwable_sandvich,nodamage_rj
ServerPluginsRequired=1
« Last Edit: August 22, 2014, 01:12:37 pm by Lord Cerapter »
Logged

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1740
  • Personal Text
Re: [SERVERSENT] No Damage RJ
« Reply #1 on: April 03, 2013, 10:48:44 am »

You should also make it active on "dj" maps, because detojump. Also I have never seen an sj map.
Logged

Danikah

  • Guest
Re: [SERVERSENT] No Damage RJ
« Reply #2 on: April 03, 2013, 11:02:38 am »

You should also make it active on "dj" maps, because detojump. Also I have never seen an sj map.
1. There are some sj maps.
2. I have no idea what the usual abbreviations for jump maps, so I just put in those two for now.
3. I have never seen a dj map.
Logged

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1740
  • Personal Text
Re: [SERVERSENT] No Damage RJ
« Reply #3 on: April 03, 2013, 11:06:33 am »

Well, I have no sj maps in both of my maps folders.
And I am pretty sure Derp always uses dj_ for seto maps.
Logged

silentorangejuice

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 79
  • Lazy
Re: [SERVERSENT] No Damage RJ
« Reply #4 on: April 03, 2013, 11:10:05 pm »

Quote
___________________________________________
ERROR in
action number 1
of Create Event
for object SplashController:

Error in code at line 15:
   if checkMap == "rj" or checkMap == "sj"
     ^
at position 4: Unknown variable checkMap
Appears on start up of the game,before menu, occurs after setting up the plug-in (putting it it folder plugin folder, editing gg2.ini file), the error can be ignored. Upon hosting server with RJ, players take damage as normal.
« Last Edit: April 03, 2013, 11:17:13 pm by Mack »
Logged

Danikah

  • Guest
Re: [SERVERSENT] No Damage RJ
« Reply #5 on: April 04, 2013, 09:46:56 am »

Quote
___________________________________________
ERROR in
action number 1
of Create Event
for object SplashController:

Error in code at line 15:
   if checkMap == "rj" or checkMap == "sj"
     ^
at position 4: Unknown variable checkMap
Appears on start up of the game,before menu, occurs after setting up the plug-in (putting it it folder plugin folder, editing gg2.ini file), the error can be ignored. Upon hosting server with RJ, players take damage as normal.
You shouldn't put serversent plugins into the normal plugin folder.
I understand that the serversent plugins are new, but they do not need to be downloaded. You just need to edit the ini. (Not angry with you, by the way, just inflating it for future users.)
Logged

silentorangejuice

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 79
  • Lazy
Re: [SERVERSENT] No Damage RJ
« Reply #6 on: April 04, 2013, 09:35:19 pm »

regardless, People on the server and myself are still taking damage from rocketjumping/deto-jumping (without the plugin in the folder, but active on the server), I actually found the error after some experimentation.
« Last Edit: April 04, 2013, 09:36:29 pm by Mack »
Logged

Danikah

  • Guest
Re: [SERVERSENT] No Damage RJ
« Reply #7 on: April 05, 2013, 03:45:57 am »

regardless, People on the server and myself are still taking damage from rocketjumping/deto-jumping (without the plugin in the folder, but active on the server), I actually found the error after some experimentation.
I tested it myself on my server with some random players, it was just fine.

Also, you yourself take damage from your own rocket/stickyjumps of course. It would wreck some maps if you didn't. It just doesn't damage/knock back other players when you rocketjump/stickyjump when you're playing on a sj_ or rj_ map.
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [SERVERSENT] No Damage RJ
« Reply #8 on: April 09, 2013, 02:15:24 am »

well what i dont understand about this plugin is why it has to be server sent. modifying damage has been done before without requireing the client to have the same modifications. I've seen it on orpheons server with the gen and I've done it before in 10x mod not that you could notice since the health was screwed up
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3493
  • she's never quite as dead as you think
Re: [SERVERSENT] No Damage RJ
« Reply #9 on: April 09, 2013, 08:05:32 am »

You don't have to send it to the client, but it's better this way because you don't have lag in your HP being accurate.

I suppose, in this sense, the plugin could be used as an optional server-sent plugin.
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Lorgan

  • Retired Randomizer Mod Developer
  • Resident Miku
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 3657
    • My own website
Re: [SERVERSENT] No Damage RJ
« Reply #10 on: April 09, 2013, 09:09:00 am »

> knockback
Logged
Unfortunately, turning a section into a communist oppressive regime is not against the forum rules, so there is really nothing we can do.
Quote from: steam
21:08 - Hullusorsa: lorgan, when will you buy us the keys?
21:09 - Lorgan: i'm waiting for greece to collapse so the value of the euro drops
21:09 - Lorgan: not even joking

Wiggles

  • Lucky Member
  • *******
  • Karma: 1
  • Offline Offline
  • Posts: 945
  • nothing he bloops he really bleeps
Re: [SERVERSENT] No Damage RJ
« Reply #11 on: April 09, 2013, 01:15:11 pm »

Thanks for this, Cera.
Logged


Quote
[19:31] <prime> kawaii desu~~~~~ [19:31] <prime> sugoiii~~
and you say i am a nigga

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [SERVERSENT] No Damage RJ
« Reply #12 on: April 10, 2013, 01:03:38 am »

You don't have to send it to the client, but it's better this way because you don't have lag in your HP being accurate.

I suppose, in this sense, the plugin could be used as an optional server-sent plugin.
then he should fix his instructions since its just optional
> knockback
screw the knock back
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Danikah

  • Guest
Re: [SERVERSENT] No Damage RJ
« Reply #13 on: April 13, 2013, 05:13:28 am »

You don't have to send it to the client, but it's better this way because you don't have lag in your HP being accurate.

I suppose, in this sense, the plugin could be used as an optional server-sent plugin.

then he should fix his instructions since its just optional
No.

> knockback
screw the knock back
No.
Logged

Danikah

  • Guest
Re: [SERVERSENT] No Damage RJ
« Reply #14 on: February 04, 2014, 03:43:40 am »

Due to popular demand - or demand, at least - this plugin's updated.
Logged
Pages: [1] 2
 

Page created in 0.055 seconds with 50 queries.