MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: Elgan {sfx} on July 18, 2005, 07:02:20 PM

Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Elgan {sfx} on July 18, 2005, 07:02:20 PM
Hey all.

   

   My anti shark that is also with admin-pro along with other fixes i always thought workd great. Letting you use ladders ass normal and not allowing sharkers to ..well shark.

   

   I made 2, one state files only, 1 with a script. Today we are looking at the state file one.

   

   It works by adding certain things to the state files wich correct the animation if your going to shark. I tested it out and it worked well. i tested from the bottom and i aslo tested from the lendgendry top of the ladder. THough im not good at sharking, in fact i have to go find a sharking script just to learn it.

   

   However i have been told someone had prooved it can be beaten, A fix to me fix was also sugested. The fix however would be nice to add on, but the fix would cause alot of animations to play wrong and look weird. looking at how its fixed i can't see why it even needs it? Im trying to decide if it would be more benefitial to leave it with might work or to add the sugestion and have anims play wrong.

   

   So, im looking for any one who thinks they are a good sharker or anyone who knows how/can do it.

   

   These people should either say here or if they want pm me. I would like to have them test in front of me on my server so i can see what is going on and if they shark or not. Any time or date of your choice is fine.

   

   Any link to a world time clock converting thing would be cool also:D

   

   I mean no disrespect or anything to the guy who sugested it can be beaten. Its nice to have it broguth up and checked.
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Rookie One on July 19, 2005, 09:13:29 AM
I couldn't beat your sharking fix, but I did beat your teamswap check. Even on the {sfx} server.
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Cobra {sfx} on July 19, 2005, 09:17:19 AM
PM him how so he can fix it
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Elgan {sfx} on July 19, 2005, 09:26:27 AM
yeah pm me;)
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Rookie One on July 19, 2005, 02:15:05 PM
I once told him on MSN but he just disregarded me saying it's impossible. :o_o

   

   Well, just change the teams while using a ladder or an MG42. You still get very buggy behaviour and have a few seconds of life after changing the team. I daresay my fix is better.
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Elgan {sfx} on July 19, 2005, 02:31:39 PM
id ont rememebr u saying that..dont sound like something id say either. sorry man.

   

   ill go test again

   

   

   EDIT: And i find rookie is totaly correct. With the mg42 it lags arround a little. thanx rookie

   

   

   ok thats fixed.

   

   strange i wud of let that pass. maybe i neevr tested :S

   

   

   New code for any1 interested

   

   

   

   
   main local.hva:
   
      if(local.hva=="end")
      {
         self.tss = 0
         end
      }
   
      local.team = self.dmteam
      self.tss = 1
   
      while(isalive self && self.tss == 1)
      {
         waitframe
   
         if(self.dmteam != "spectator" && self.dmteam != local.team)
         {
            self usestuff
            self unattachfromladder
            //self kill
         }
      }
   end
   
   
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Rookie One on July 19, 2005, 04:24:57 PM
This is exactly the fix I suggested.

   

   I have our talk in the archive, let me dig it out.

   

   <EDIT>Here's the log, Elgan:

   
(01-05-2005 13:26:51) r00kie_0ne:

       did you check if your ladder/mg42 team swapping fix really works?

   

   (01-05-2005 13:26:58) r00kie_0ne:

       well, it doesnt

   

   (01-05-2005 13:27:04) Elgan:

       it does

   

   (01-05-2005 13:27:08) r00kie_0ne:

       it drops the player either under or below the ladder

   

   (01-05-2005 13:27:13) r00kie_0ne:

       at least it did for me

   

   (01-05-2005 13:27:16) Elgan:

       no

   

   (01-05-2005 13:27:18) Elgan:

       it kills u;)

   

   (01-05-2005 13:27:20) r00kie_0ne:

       I made a better one

   

   (01-05-2005 13:27:32) r00kie_0ne:

       yeah, but you're still attached to a ladder or a turret

   

   (01-05-2005 13:27:43) Elgan:

       well u prob had states of some sort in:S?:P

   

   (01-05-2005 13:27:59) r00kie_0ne:

       no, I used yours without modding anything

   

   (01-05-2005 13:28:00) Elgan:

       no, ur not:P

   

   (01-05-2005 13:28:09) r00kie_0ne:

       mine just detachs the player from a ladder or a turret and lets the game

       handle the rest

   

   (01-05-2005 13:28:12) r00kie_0ne:

       and it works perfectly

   

   (01-05-2005 13:28:22) r00kie_0ne:

       well your fix made me often go under the map

   

   (01-05-2005 13:28:24) Elgan:

       but they are still in the same area

   

   (01-05-2005 13:28:26) r00kie_0ne:

       no

   

   (01-05-2005 13:28:32) r00kie_0ne:

       game respawns or kills them

   

   (01-05-2005 13:28:35) Elgan:

       i was going for that but i chanbged it to make sure they die

   

   (01-05-2005 13:28:38) r00kie_0ne:

       depending on the situation

   

   (01-05-2005 13:28:52) r00kie_0ne:

       well they die

   

   (01-05-2005 13:29:03) r00kie_0ne:

       but respawn in the opposing team on top or under the ladder

   

   (01-05-2005 13:29:05) Elgan:

       yes thats what mines does they respawn basicaly..im sure.:P

   

   (01-05-2005 13:29:19) Elgan:

       well it obv wasnt even in right then:P

   

   (01-05-2005 13:29:19) r00kie_0ne:

       I checked that

   

   (01-05-2005 13:29:39) r00kie_0ne:

       well, you prefer yours, I prefer mine

   

   (01-05-2005 13:29:43) r00kie_0ne:

       I'll stick to mine ;)

   

   (01-05-2005 13:29:57) r00kie_0ne:

       as yours didn't work for me

   

   (01-05-2005 13:30:02) Elgan:

       i dont prefer anyones.not seen urs. but i know mine works:P.

   

   (01-05-2005 13:30:16) Elgan:

       ill check it agian now

   

   (01-05-2005 13:30:19) r00kie_0ne:

       well basically mine is just 2 lines

   

   (01-05-2005 13:30:25) r00kie_0ne:

       self unattachfromladder

   

   (01-05-2005 13:30:28) r00kie_0ne:

       self usestuff

   

   (01-05-2005 13:30:43) r00kie_0ne:

       these make sure the player drops the ladder/turret

   

   (01-05-2005 13:31:17) Elgan:

       im just checking mine again

   

   (01-05-2005 13:31:42) Elgan:

       nope. works perfect. i respawn:P

   

   (01-05-2005 13:32:00) r00kie_0ne:

       well I'm being dropped under the map

   

   (01-05-2005 13:32:24) Elgan:

       thats the glitch. the fix isnt running:S:P

   

   (01-05-2005 13:32:29) r00kie_0ne:

       yeah sure

   

   (01-05-2005 13:32:32) r00kie_0ne:

       the glitch is

   

   (01-05-2005 13:32:38) r00kie_0ne:

       you remain in the same place

   

   (01-05-2005 13:32:45) r00kie_0ne:

       while being on the other team

   

   (01-05-2005 13:32:49) r00kie_0ne:

       without respawning

   

   (01-05-2005 13:33:10) Elgan:

       what ladder did u test on?

   

   (01-05-2005 13:33:15) r00kie_0ne:

       going under the map is sharking, and your fix works perfectly :)

   

   (01-05-2005 13:33:23) Elgan:

       ill keep testing but ive never had a single problem:S:P

   

   (01-05-2005 13:33:32) r00kie_0ne:

       the destroyed village ones, hunt & v2

   

   (01-05-2005 13:33:39) Elgan:

       not the sharking one, the team change one works also:P

   

   (01-05-2005 13:33:50) Elgan:

       hmm i just tried them

   

   (01-05-2005 13:33:52) Elgan:

       works fine:S

   

   (01-05-2005 13:34:00) r00kie_0ne:

       well nvm

   

   (01-05-2005 13:34:09) r00kie_0ne:

       I'll stick to my fix ;)

   

   (01-05-2005 13:34:11) Elgan:

       odd how it messes up for u:S

   

   This fix was invented by me. ;)</EDIT>
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Elgan {sfx} on July 19, 2005, 05:01:32 PM
well..

   

   

   im ..wordless. sorry rookie., u were totaly right. I dont know what i was playing at. That brougth back memory though. I probably didnt check the mg42 and just assumed it worked. Even as the old code the ladder still worked fine but the mg42 didnt. With usestuff they both work great.

   

   however i sud of still checked out and again when u let me know about it. Thanx again btw;).
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Guest on July 19, 2005, 09:50:30 PM
Rookie One :
   

   This fix was invented by me. ;)

   That must of taken some real brain power. :P

   

   lol, Good job guys.
Title: Anti Shark Test: Can any1 shark/Know how?
Post by: Rookie One on July 20, 2005, 01:09:14 AM
No problem, I think I'll push some of the stuff I made for MoHPro your way as you're probably going to make much better use of it than me. ;)

   

   I came to the conclusion that the EA/2015 coders didn't take into account that someone could have been using a ladder or a turret while changing the team and thus the game library doesn't unattach them. So I thought I'll do it by script. :)