April 30, 2026, 03:52:45 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Pages: 1 ... 7 8 [9] 10 11

Author Topic: The Haxxy Awards submissions period is over.  (Read 63950 times)

Flaw

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 109
Re: The Haxxy Awards submissions period is over.
« Reply #120 on: August 12, 2011, 05:45:52 am »

and how will this be kept away from the hands of dem haxxors who havent won haxxy??

https://github.com/Medo42/Gang-Garrison-2/commit/ebda451072e480c95161b32b3442979ca0b8b4e9

Also, lol:
Quote
<constant name="I_AM_A_HAXXY_WINNER" value="50"/>
<constant name="O_RLY" value="51"/>
<constant name="YES_RLY" value="52"/>
<constant name="HAXXY_PUBLIC_KEY" value="&quot;3cca03b3c2089efdea66a374081d54ed&quot;"/>
« Last Edit: August 12, 2011, 05:47:28 am by Flaw »
Logged

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6408
  • Developer
Re: The Haxxy Awards submissions period is over.
« Reply #121 on: August 12, 2011, 06:28:53 am »

Quote
<constant name="I_AM_A_HAXXY_WINNER" value="50"/>
<constant name="O_RLY" value="51"/>
<constant name="YES_RLY" value="52"/>
<constant name="HAXXY_PUBLIC_KEY" value="&quot;3cca03b3c2089efdea66a374081d54ed&quot;"/>
Yeah, I laughed for a good 15 minutes when I saw that "O_RLY".
Logged

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6408
  • Developer
Re: The Haxxy Awards submissions period is over.
« Reply #122 on: August 12, 2011, 06:53:37 am »

Heh, i dont get it.
What we're laughing about is the choice of name:

Client Sends: I_AM_HAXXY_WINNER
Server answers: O_RLY
Client sends back: YES_RLY
Server makes client a haxxy winner.

Actually, the server sends a few other things as well, which the client must decode and send back.
But the names are just incredible.
« Last Edit: August 12, 2011, 07:04:48 am by Orpheon »
Logged

BassMakesPaste

  • Guest
Re: The Haxxy Awards submissions period is over.
« Reply #123 on: August 12, 2011, 07:18:58 am »

Yes. Very.
Logged

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6408
  • Developer
Re: The Haxxy Awards submissions period is over.
« Reply #124 on: August 12, 2011, 07:26:39 am »

but isnt that kind of easy to hack?
Yes. Very.
Uhh, no.

Quote
       case I_AM_A_HAXXY_WINNER:

+            write_ubyte(socket, O_RLY);

+            player.challenge = "";

+            repeat(16)

+                player.challenge += chr(irandom_range(1,255));

+            write_string(socket, player.challenge);

+            break;

+            

+        case YES_RLY:

+            var answer, i;

+            answer = "";

+            for(i=1;i<=16;i+=1)

+                answer += chr(read_ubyte(socket) ^ ord(string_char_at(player.challenge, i)));

+            if(HAXXY_PUBLIC_KEY==md5(answer)) {

+                player.isHaxxyWinner = true;

+            } else {

+                socket_destroy_abortive(player.socket);

+                player.socket = -1;

+            }

+            break;

I wish you good luck.

HAXXY_PUBLIC_KEY is "&quot;3cca03b3c2089efdea66a374081d54ed&quot;", if you were wondering.
« Last Edit: August 12, 2011, 07:27:36 am by Orpheon »
Logged

tankman

  • Enjoy Coca-ColaŽ while you browse the Gang Garrison 2 forum.
  • Veteran Beta Tester
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 2239
  • Visit us at http://twitter.com/CocaColaEgypt
    • Connect with Coca-ColaŽ.
Re: The Haxxy Awards submissions period is over.
« Reply #125 on: August 12, 2011, 12:56:22 pm »

If a winning submission was made by more than one person, will all the people who worked on it get the special client?
Logged
My style is



Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6408
  • Developer
Re: The Haxxy Awards submissions period is over.
« Reply #126 on: August 12, 2011, 01:39:10 pm »

If a winning submission was made by more than one person, will all the people who worked on it get the special client?
No, they get a special key.

Code: [Select]
     global.caplimitBkup = global.caplimit;

     global.autobalance = ini_read_real("Server", "AutoBalance",1);

     global.Server_RespawntimeSec = ini_read_real("Server", "Respawn Time", 5);

+    global.haxxyKey = ini_read_string("Haxxy", "SecretHaxxyKey", "");

     global.currentMapArea=1;

     global.totalMapAreas=1;

     global.setupTimer=1800;

@@ -92,6 +93,7 @@

     ini_write_real("Server", "Respawn Time", global.Server_RespawntimeSec);

     ini_write_real("Server", "Time Limit", global.timeLimitMins);

     ini_write_string("Server", "Password", global.serverPassword);

+    ini_write_string("Haxxy", "SecretHaxxyKey", global.haxxyKey);

     

     //screw the 0 index we will start with 1

     //map_truefort 
(That's the code that loads stuff from the gg2.ini)

Code: [Select]
global.haxxyKey = ini_read_string("Haxxy", "SecretHaxxyKey", "");

They'll probably get a PM with that special key inside.
Logged

misty

  • Veteran Member
  • ******
  • Karma: 1
  • Offline Offline
  • Posts: 4031
Re: The Haxxy Awards submissions period is over.
« Reply #127 on: August 12, 2011, 01:49:02 pm »

So, well, did you decide to add 'silver' and 'bronze' statues, too?
Logged

Gordon Fudgeman

  • Lucky Member
  • *******
  • Karma: 0
  • Offline Offline
  • Posts: 1087
  • yippee ki-sey!
Re: The Haxxy Awards submissions period is over.
« Reply #128 on: August 12, 2011, 01:49:41 pm »

i have a question. what are the prizes? i wasnt online for somedays cause i didnt had the time for it. [quote
author=Ozoh link=topic=28835.msg930172#msg930172 date=1313174942]
So, well, did you decide to add 'silver' and 'bronze' statues, too?
[/quote] oh, nevermind.
Logged
i need a new, better signature. any ideas?

misty

  • Veteran Member
  • ******
  • Karma: 1
  • Offline Offline
  • Posts: 4031
Re: The Haxxy Awards submissions period is over.
« Reply #129 on: August 12, 2011, 01:53:59 pm »

No, that was a question.
They were throwing around this idea of those statues, so I asked if they actually did add them.
Logged

Gordon Fudgeman

  • Lucky Member
  • *******
  • Karma: 0
  • Offline Offline
  • Posts: 1087
  • yippee ki-sey!
Re: The Haxxy Awards submissions period is over.
« Reply #130 on: August 12, 2011, 01:58:37 pm »

No, that was a question.
They were throwing around this idea of those statues, so I asked if they actually did add them.
ok. it would be awesome. golden statues. or golden sentries. or golden weapons.
Logged
i need a new, better signature. any ideas?

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6408
  • Developer
Re: The Haxxy Awards submissions period is over.
« Reply #131 on: August 12, 2011, 02:00:37 pm »

Saying it again for everyone:

All Haxxy winners will receive a private code which allows them to get golden statue corpses visible to everyone. It has enough security to discourage pretty much everyone who would like to try to take it, and it's going to come in an update that's coming along very soon.
Logged

misty

  • Veteran Member
  • ******
  • Karma: 1
  • Offline Offline
  • Posts: 4031
Re: The Haxxy Awards submissions period is over.
« Reply #132 on: August 12, 2011, 02:01:40 pm »

Saying it again for everyone:

All Haxxy winners will receive a private code which allows them to get golden statue corpses visible to everyone. It has enough security to discourage pretty much everyone who would like to try to take it, and it's going to come in an update that's coming along very soon.
Yes, but I asked if there are prizes for 2nd and 3rd people, too.
Logged

Lorgan

  • Retired Randomizer Mod Developer
  • Resident Miku
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 3624
    • My own website
Re: The Haxxy Awards submissions period is over.
« Reply #133 on: August 12, 2011, 02:04:46 pm »

How can the server check if the haxxy code is legit without having it in the source ???
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

tankman

  • Enjoy Coca-ColaŽ while you browse the Gang Garrison 2 forum.
  • Veteran Beta Tester
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 2239
  • Visit us at http://twitter.com/CocaColaEgypt
    • Connect with Coca-ColaŽ.
Re: The Haxxy Awards submissions period is over.
« Reply #134 on: August 12, 2011, 02:10:19 pm »

I didn't ask how the winners are receiving the prizes.

I asked if all the contributors who worked on a winning submission (even small contributions) will get the special client/code/whatever.
« Last Edit: August 12, 2011, 02:11:00 pm by Tankman »
Logged
My style is



Pages: 1 ... 7 8 [9] 10 11
 

Page created in 0.031 seconds with 42 queries.