ProLaxShop

Betting's fixed

This forum is where you will find all forum related announcements. Learn whats to come, whats been launched and other changes.

Moderator: Moderators

Forum rules
Before posting on the forum please ensure you read the Board Wide Rules
User avatar
mandy
Admin
Admin
Posts: 3485
Joined: Thu Nov 03, 2005 2:13 pm
gender: Male
Contact:

Betting's fixed

Postby mandy Thu Aug 30, 2007 11:49 pm

I'm sure this will go down immensely well with the new season upon us

so i took the time this evening to fix the bookmakers, and betting now works :D

As I'm sure you all really want to know this cos it's been a while, and I feel you should have to suffer just a little of what I had to to fix it, it is my duty to inform you it had nothing to do with any of the betting files that I had previously meticulously combed for the source of the error, but was infact once again all down to those pesky register globals (that screw up so much for kind hearted web developers), and a curious result they were having with the betting system that relied on globals carrying a value (and built in protection against having register globals enabled on the host), and due to an update to v2.0.21 is broke the bookies mod. To fix it took the addition of a mere 6 characters (one blank) - , TRUE - to a file called by every single page

The problem for the total of none of you that give a ****, is that was that when the POST_VARS name is only digits, the in_array() function converts the numbers to indexes - setting the strict parameter of the in_array() function (it is an optional parameter) to TRUE makes the array run a strict check, meaning it will check the values in an array (and treat them only as values not as indexes)

Well congrats to any who followed that cos it felt like a load of twaddle as I typed it, but as I said I feel it only right you suffer of the pain I had to go through in working out what the problem was

But now bet away!
ahhh ... the whit
User avatar
Ian#4
League Mod
League Mod
Posts: 1027
Joined: Wed Nov 02, 2005 10:59 pm
gender: Male
Contact:

Re: Betting's fixed

Postby Ian#4 Fri Aug 31, 2007 12:11 am

mandy wrote:The problem for the total of none of you that give a ****, is that was that when the POST_VARS name is only digits, the in_array() function converts the numbers to indexes - setting the strict parameter of the in_array() function (it is an optional parameter) to TRUE makes the array run a strict check, meaning it will check the values in an array (and treat them only as values not as indexes)


Oh, I could have told you that, why didn't you ask!
Leeds :: SLL :: South :: Cardiff Harlequins :: Cardiff Uni :: Penarth
User avatar
Sour37
Posts: 2636
Joined: Thu Nov 03, 2005 9:23 am
gender: Male
Location: Newcastle upon Tyne
Contact:

Postby Sour37 Fri Aug 31, 2007 9:26 am

Hooray for Mandy!

It sounded pish easy to fix, but in a really complicated way...ahh the joys of technology
Two Up!
User avatar
Mitchlax
Posts: 533
Joined: Sun Dec 04, 2005 1:34 pm
gender: Male
Contact:

Postby Mitchlax Fri Aug 31, 2007 10:21 am

Who makes the odds? Because they should be more realistic! To win the prem Timperley finished 4th last season, yes 4th! and are 10/1, Brooklands are 8/1, new boys rochdale are 8/1.
Timperley LC
SUMLC
Samba Lax
Fallowfield Falcons
User avatar
laxwill11
League Mod
League Mod
Posts: 2167
Joined: Wed Nov 02, 2005 5:13 pm
gender: Male
Contact:

Postby laxwill11 Fri Aug 31, 2007 10:25 am

i did them and just whacked them in based on what i thought for this year and the comments made in the north thread.
Dont be offended if you think i've given you generous odds - just cash in when timperley win! its not really about having super-accurate odds either, just a bit of fun to keep you entertained on these long, cloudy summer days
It's not the size of the dog in the fight...
User avatar
laxwill11
League Mod
League Mod
Posts: 2167
Joined: Wed Nov 02, 2005 5:13 pm
gender: Male
Contact:

Postby laxwill11 Fri Aug 31, 2007 10:45 am

on reflection, i have amended odds to 8/1
It's not the size of the dog in the fight...
User avatar
cheekylaxstuff
Moderator
Moderator
Posts: 3860
Joined: Thu Nov 03, 2005 10:41 am
gender: Male

Postby cheekylaxstuff Fri Aug 31, 2007 1:58 pm

Since it wasnt working I gave 160,000 gold away this year to various people

Oh well , lets start with 270 gold
Jewellery,Wooden Shafts,Lacrosse Antiques,Lax Art * Random kit
User avatar
Whitey
Posts: 1484
Joined: Wed Nov 02, 2005 7:46 pm
gender: Male
Contact:

Postby Whitey Fri Aug 31, 2007 2:12 pm

I've got loads, I'll send some over
User avatar
davidmcculloch81
Moderator
Moderator
Posts: 2070
Joined: Wed Nov 02, 2005 5:45 pm
gender: Male

Re: Betting's fixed

Postby davidmcculloch81 Mon Sep 03, 2007 11:17 am

mandy wrote:Betting's fixed


Well that's not going to want to make us bet is it?
Jedi Lax #9
CEng MIMechE
_______________

My views are not necessarily those of Clarendon Road Primary School Pop Lacrosse Team
User avatar
cheekylaxstuff
Moderator
Moderator
Posts: 3860
Joined: Thu Nov 03, 2005 10:41 am
gender: Male

Postby cheekylaxstuff Wed Sep 05, 2007 5:35 pm

Whitey

What a star
Jewellery,Wooden Shafts,Lacrosse Antiques,Lax Art * Random kit
User avatar
J-Lo
Posts: 1200
Joined: Sat Nov 19, 2005 12:41 am
gender: Male
Contact:

Postby J-Lo Wed Sep 05, 2007 8:06 pm

i want bigger stakes. 2500 is nothing. Everyone has far too much gold these days

Return to “Announcements”

Monster Mesh

Monster Mesh

Login · Register