Author Topic: Join bug in survival  (Read 1723 times)

0 Members and 1 Guest are viewing this topic.

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Join bug in survival
« on: August 07, 2009, 04:36:29 am »
I have very annoying bug when somebody join to team, after join he is alive O.o !
This bug destroy server gameplay :/

I add this script:
Code: [Select]
procedure OnJoinTeam(ID, Team: byte);
begin
Sleep(300);
If (Team<>5) and (GetPlayerStat(ID,'Alive')=True) then begin
DoDamage(ID,9999);
end;
end;

but this dosen't work correctly, still somebody respawn as alive and got +1 to sefkill.
Help Me plz xD

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Join bug in survival
« Reply #1 on: August 07, 2009, 04:53:23 am »
Code: [Select]
procedure OnJoinTeam(ID, Team: byte);
begin
If (Team<>5) and (GetPlayerStat(ID,'Alive')=True) then
Command('/kill +inttostr(ID)');
end;

maybe?

Offline Polifen

  • Soldier
  • **
  • Posts: 127
Re: Join bug in survival
« Reply #2 on: August 07, 2009, 07:15:15 am »
Better use DoDamage(ID, 4000) instead of /kill. It won't show the message.

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Join bug in survival
« Reply #3 on: August 07, 2009, 09:43:27 am »
Just don't use Sleep, for hells sakes.

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #4 on: August 07, 2009, 11:12:53 am »
Without sleep bug is still active and more players are alive after join :/

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: Join bug in survival
« Reply #5 on: August 07, 2009, 12:14:51 pm »
why not just /setteam5 them?

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #6 on: August 07, 2009, 01:07:43 pm »
why not just /setteam5 them?

Players are still alive if You join from spectators to team.

Offline Polifen

  • Soldier
  • **
  • Posts: 127
Re: Join bug in survival
« Reply #7 on: August 07, 2009, 02:00:18 pm »
I did that on Dodgeball with just OnJoinTeam and DoDamage(ID, 4000).

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: Join bug in survival
« Reply #8 on: August 10, 2009, 02:04:10 pm »
Zabijaka I can help you with your problems.. But I was confused at first as to what your problem was, so I joined Zabijakas's Military server, and found that what you are talking about is NOT a glitch in survival... You have something fucked up in your script.

If you've got MSN or AIM or IRC or something, I'd like to help you. I am part of the default R/S community, so I've recently been adding some R/S scripts that could come in handy in your mod server.

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #9 on: August 11, 2009, 05:20:23 am »
I'm not using msn aim and irc, sorry xD

Tell me about this "glitch", maybe this is soldat server problem ?

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: Join bug in survival
« Reply #10 on: August 11, 2009, 09:22:06 am »
From playing in your server, I've seen that whatever you're attempting in your script to kill people onjointeam, they are getting respawned and killed again, and again, for as many players are online in the server (if 1 person is alive and they rejoin after a round is over, they receive double points, if 3 are alive, triple points, etc, mind you this annoyed the crap out of people playing in your server when I kept rejoining and giving like 3-4 points to the winning team LOL)

It's a bug in realistic that causes double points onjointeam, but your script is giving more points for how many people are alive, which shows a glitch in your script... What this is also shows, is that people are getting spawned alive BECAUSE of your script.

That's why I wanted to msg you on aim/msn/irc.

I made a script already to fix the extra point problem, if you're interested in adding it to your server, but I have to look at the script you are running right now...

Go to www.pastebin.com and turn on Pascal syntax highlighting, and paste your script into there and then PM me the url.




Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #11 on: August 11, 2009, 06:08:00 pm »
Today I install new script:
timer 30sec and if player join spect and join team before 30sec left, player will be kicked xD
So spectators must wait minimum 30sec to join team (after disconect all money is gone)

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: Join bug in survival
« Reply #12 on: August 11, 2009, 07:15:37 pm »
Well you should still pm me your script on www.pastebin.com

Because it sounds like you didn't fix anything  ;)

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #13 on: August 12, 2009, 04:25:53 am »
OK, script posted.

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: Join bug in survival
« Reply #14 on: August 12, 2009, 11:53:23 am »
I've got to know the url though..

OK, repost it onto http://zabijaka.pastebin.com

That way you won't need to PM me  ;)

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: Join bug in survival
« Reply #15 on: August 14, 2009, 04:19:08 pm »
Alright whatever leave your scripts glitched >.<

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #16 on: August 15, 2009, 04:13:50 am »
I know this is not my scripts bug, I bet server bug xD
But I instal new version of My anti respawn script and now wrok beter :)

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: Join bug in survival
« Reply #17 on: August 15, 2009, 10:06:50 am »
I already told you it IS your script, not the f**king server. There is no glitch that spawns people alive in R/S. It used to do it for admins back in 1.4.2 but it hasn't happened to me ONCE in 1.5 and I own an R/S server and am admin over like 8 other R/S servers.

I joined your server last night, and still found people respawning, or joining and being killed adding to their deaths, and certain teams still get a bunch of extra points when someone joins and your script keeps killing them over and over.

I offered to look at it, and fix it, but now.. just forget it.

I saw Niko offered to do some scripting for you too and you were a total douchebag to him.
« Last Edit: August 15, 2009, 10:08:22 am by -Bendarr- »

Offline Zabijaka

  • Soldier
  • **
  • Posts: 201
  • Soldat Fan, Hitman Fan
Re: Join bug in survival
« Reply #18 on: August 15, 2009, 06:08:34 pm »
I install all scripts on my home server 2.6.5 and I have 0 of this bugs!
So imo this is server problem.

btw, I dont use irc so I need help on forum.