BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
New Gametype Help/Check Empty4/7/2024, 2:34 pm by SnB@BWH

» Bully Made It Into a BIG Video 400K Views
New Gametype Help/Check Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
New Gametype Help/Check Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
New Gametype Help/Check Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
New Gametype Help/Check Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
New Gametype Help/Check Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
New Gametype Help/Check Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
New Gametype Help/Check Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
New Gametype Help/Check Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
New Gametype Help/Check Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

New Gametype Help/Check

4 posters

Go down  Message [Page 1 of 1]

1New Gametype Help/Check Empty New Gametype Help/Check 8/28/2014, 5:50 am

[STG]Sgt.Ghost

[STG]Sgt.Ghost
Modder & Code Porter

Fixed the Problem didn't test but should work if someone could test be happy.

http://pastebin.com/FabfAAhj



Last edited by [STG]Sgt.Ghost on 8/31/2014, 7:49 am; edited 1 time in total (Reason for editing : Fixed)


_________________
New Gametype Help/Check Cod-gh10
New Gametype Help/Check Coollo10

2New Gametype Help/Check Empty Re: New Gametype Help/Check 8/28/2014, 7:18 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

Isn't there any syntax checker? This is what I hate on making mods so I don't bother :/


_________________
New Gametype Help/Check YBjg74I

3New Gametype Help/Check Empty Re: New Gametype Help/Check 8/28/2014, 1:01 pm

[STG]Sgt.Ghost

[STG]Sgt.Ghost
Modder & Code Porter

Their is, but it doesn't find any bad syntax...?


_________________
New Gametype Help/Check Cod-gh10
New Gametype Help/Check Coollo10

Binary@BWH

Binary@BWH
Uber Website Hacker and Mod

I can't find ANY bad syntax.... Maybe somewhere you added an extra "(" or "{" those can cause issues >_<.... but other than that the script looks almost flawless.


_________________
New Gametype Help/Check Cjy6OBw

++Mentor++ wrote:We explore... and you call us criminals. We seek
after knowledge... and you call us criminals. We exist without skin color,
without nationality, without religious bias... and you call us criminals.
You build atomic bombs, you wage wars, you murder, cheat, and lie to us
and try to make us believe it's for our own good, yet we're the criminals.

Yes, I am a criminal. My crime is that of curiosity. My crime is
that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me
for.

I am a hacker, and this is my manifesto. You may stop this individual,
but you can't stop us all... after all, we're all alike.



New Gametype Help/Check Ghu3eV

New Gametype Help/Check Goombasig

5New Gametype Help/Check Empty Re: New Gametype Help/Check 8/29/2014, 3:52 am

Shadow@BWH

Shadow@BWH
 
 

Just ran it through http://ideone.com/ 100 errors were found it shows where they are as well. Link to the check http://ideone.com/1dRnZb


_________________
New Gametype Help/Check BAjMdNS

6New Gametype Help/Check Empty Re: New Gametype Help/Check 8/29/2014, 3:57 am

Binary@BWH

Binary@BWH
Uber Website Hacker and Mod

Most are minor flaws is what came up on my syntax checker


_________________
New Gametype Help/Check Cjy6OBw

++Mentor++ wrote:We explore... and you call us criminals. We seek
after knowledge... and you call us criminals. We exist without skin color,
without nationality, without religious bias... and you call us criminals.
You build atomic bombs, you wage wars, you murder, cheat, and lie to us
and try to make us believe it's for our own good, yet we're the criminals.

Yes, I am a criminal. My crime is that of curiosity. My crime is
that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me
for.

I am a hacker, and this is my manifesto. You may stop this individual,
but you can't stop us all... after all, we're all alike.



New Gametype Help/Check Ghu3eV

New Gametype Help/Check Goombasig

7New Gametype Help/Check Empty Re: New Gametype Help/Check 8/29/2014, 5:47 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

Shadow@PSNPlaza wrote:Just ran it through http://ideone.com/ 100 errors were found it shows where they are as well. Link to the check http://ideone.com/1dRnZb
Dude, this is not Java code so the results are obviously very off. The programming language is a custom one by Infinity Ward which is based on C++.


_________________
New Gametype Help/Check YBjg74I

8New Gametype Help/Check Empty Re: New Gametype Help/Check 8/29/2014, 6:20 am

Shadow@BWH

Shadow@BWH
 
 

I thought it ran a check for that to it came up in the description I'll find a new one.
Had to run it as C++ 11 http://ideone.com/xQghAo I'll keep looking.


_________________
New Gametype Help/Check BAjMdNS

9New Gametype Help/Check Empty Re: New Gametype Help/Check 8/31/2014, 7:52 am

[STG]Sgt.Ghost

[STG]Sgt.Ghost
Modder & Code Porter

Could Someone test this please.

 (old One) This Part I fixed Caused I think It wouldn't work. It said unitilized varibable team.)
Code:
TeamCount(team)
{
      a = 0;

         for(i = 0;i < level.players.size;i++)
      {
              if(level.players[i].pers["team"] == team)
              {
                      a++;
              }
      }

      return a;
}

New One

(Old One On Bottom.) (This Is New)
Code:
TeamCount()
{
       players = level.players;
       defenders = 0;
       attacker = 0;

       for(i = 0;i < players.size;i++)
       {
               if ( players == self )
               {
                       continue;

                       if((isdefined(players[i].pers["team"])) && (players[i].pers["team"] == "defenders"))
                       {
                               defenders++;
                       }
                       else if((isdefined(players[i].pers["team"])) && (players[i].pers["team"] == "attacker"))
                       {
                               attacker++;
                       }
               }
               players["defenders"] = defenders;
               players["attacker"] = attacker;

               return players;
       }
}


_________________
New Gametype Help/Check Cod-gh10
New Gametype Help/Check Coollo10

10New Gametype Help/Check Empty Re: New Gametype Help/Check 8/31/2014, 10:08 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

How is team undeclared if it's a parameter for that function? Do you need to specify the type of it?


_________________
New Gametype Help/Check YBjg74I

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum