Jump to content
MakeWebGames

Multiplayer Texas Hold 'Em For Sale


seanybob

Recommended Posts

GREAT mod seanybob

These are some of the hardest modification to create and you have done just that, I will be purchasing this modification once I have my game on a more "stable" state. I wish you all the best mate;

@Money Issue's;

If you cannot afford to buy simply PM seany I'm sure yourself and him can arrange something; Having kid's is NO excuse to be "poor" simply enough shouldn't have unprotected sex if you cannot afford to live you life along with having children. Anyway, I'm not here to teach Sex Education as I'm sure you're happy at you're new arrival;

 

Good Luck to everyone who's brought this mod! I'm sure it'll help your game grow :thumbsup:

Link to comment
Share on other sites

  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

I have a 5 month old baby. saving money is a bitch rofl...

 

That is no excuse. I have 6 kids and one on the way and I still managed

I'm also jobless currently and anything i get goes to baby stuff.

Just moved to New Mexico, searching is a bitch in this economy lol

Link to comment
Share on other sites

  • 2 years later...

IE9 bug

SOLVE

marvelous game and work pretty fine...

my only problem is the ajax refresh.. here doesnt work with ie9.

work ok with mozilla.. opera.. im testing with ie9 and no refreshing!!! its that page that need to be modified..

 

<?php
if($pokerpage==1)
{
$extrapokerheaders="

<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">
";
$pokerjs="

<script type=\"text/javascript\">
var f = false;
var doitagain = true;
var waittime = 5000;
var pauserefresh = false;

function postFormAjax(url, formname)
{
var xmlhttp;

if (window.XMLHttpRequest)
  {
	  // code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
  }
else
  {
	  // code for IE6, IE5
	  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }

 if (!f && xmlhttp)
 {
   var fields = new Array();
   if(formname)
{
     var ajax = formname;
   }
   //loop through form elements and retrieve field NAMEs and Values
   for (var x = 0; x < eval(\"document.\"+ajax+\".elements.length\"); x++)
{

    // join them into a string.
eval(\"fields.push(document.\"+ajax+
\".elements[x].name+'='+document.\"
+ajax+\".elements[x].value)\");

   }
   elem = 'errors';

   var sendf = fields.join('&');

   xmlhttp.open(\"POST\", url, true);
   xmlhttp.onreadystatechange = function()
{
  if (xmlhttp.readyState == 4)
  {
    if(xmlhttp.status == 200)
    {
      results = xmlhttp.responseText;
      var para = document.getElementById('errors');
      para.innerHTML = results;
      f = false; // re activate the AJAX function

		//refresh page
		//clearTimeout();
		pauserefresh=false;
		refreshPokerOnce();
		refreshPokerChat();
    }
  }
}


   xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
   xmlhttp.send(sendf);
   f = true;
if(formname=='postchat'){document.getElementById(\"chattxtinput\").value = '';}
 }
}

function enter_pressed(e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return false;
return (keycode == 13);
}

function beginPokerAjax()
{

refreshEverything();
}

function setMaxBet(input)
{
var xmlhttp;
var maxbetamount = 0;
var maxbetamount2 = 0;

if (window.XMLHttpRequest)
  {
	  // code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
  }
else
  {
	  // code for IE6, IE5
	  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
		maxbetamount = xmlhttp.responseText;
		maxbetamount2 = maxbetamount-input;
	  document.getElementById(\"betamnt\").value = maxbetamount2;
  }
}

xmlhttp.open(\"GET\",\"pokerdataajax.php?id=1\",true);
xmlhttp.send(null);
pauserefresh=true;

}


function typingBet()
{
pauserefresh=true;
}

function runPokerAjax()
{

//every x seconds, resend the ajax
clearTimeout();
if(doitagain)
{
	doitagain=false;
	var t=setTimeout(\"refreshEverything()\",waittime);
}
}


function refreshEverything()
{
refreshPokerChat();
refreshPoker();
doitagain=true;
}



function runPokerViewAjax(para)
{
//every x seconds, resend the ajax
clearTimeout();
var t=setTimeout(\"beginPokerViewAjax(\"+para+\")\",waittime);
}

function beginPokerViewAjax(para)
{

var xmlhttp;

if (window.XMLHttpRequest)
  {
	  // code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
  }
else
  {
	  // code for IE6, IE5
	  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
	  document.getElementById(\"pokerdivview\").innerHTML = '';
	  document.getElementById(\"pokerdivview\").innerHTML = xmlhttp.responseText;
  }
}

xmlhttp.open(\"GET\",\"pokerviewoutput.php?t=\"+para,true);
xmlhttp.send(null);
runPokerViewAjax(para);
}

function refreshPoker()
{
if(!pauserefresh)
{
	var xmlhttp;

	if (window.XMLHttpRequest)
	  {
		  // code for IE7+, Firefox, Chrome, Opera, Safari
		  xmlhttp=new XMLHttpRequest();
	  }
	else
	  {
		  // code for IE6, IE5
		  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
	  }
	xmlhttp.onreadystatechange=function()
	{
	if(xmlhttp.readyState==4)
	  {
		  document.getElementById(\"pokerdiv\").innerHTML = '';
		  document.getElementById(\"pokerdiv\").innerHTML = xmlhttp.responseText;
	  }
	}

	xmlhttp.open(\"GET\",\"pokeroutput.php\",true);
	xmlhttp.send(null);
}
pauserefresh=false;
runPokerAjax();
}

function refreshPokerOnce()
{
var xmlhttp;

if (window.XMLHttpRequest)
  {
	  // code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
  }
else
  {
	  // code for IE6, IE5
	  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
	  document.getElementById(\"pokerdiv\").innerHTML = '';
	  document.getElementById(\"pokerdiv\").innerHTML = xmlhttp.responseText;
  }
}

xmlhttp.open(\"GET\",\"pokeroutput.php\",true);
xmlhttp.send(null);
}


function refreshPokerChat()
{
var xmlhttp;

if (window.XMLHttpRequest)
  {
	  // code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
  }
else
  {
	  // code for IE6, IE5
	  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
	  document.getElementById(\"pokerchat\").innerHTML = xmlhttp.responseText;
  }
}

xmlhttp.open(\"GET\",\"pokerchatoutput.php\",true);
xmlhttp.send(null);

}

</script>
";
}
?>

 

if anyone know the solution.

i tried this: but same thing when we use ie9

<?php
if($pokerpage==1)
{
$extrapokerheaders="

<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">
";
$pokerjs="

<script type=\"text/javascript\">
var f = false;
var doitagain = true;
var waittime = 5000;
var pauserefresh = false;

function postFormAjax(url, formname)
{
var xmlhttp;

try {
	//Cool browsers
	xmlhttp = new XMLHttpRequest();
} catch (e) {

	//Internet Explorer
	try {
		xmlhttp = new ActiveXObject(\"Msxml2.XMLHTTP\");
	} catch (e) {
		try {
			xmlhttp = new ActiveXObject(\"Microsoft.XMLHTTP\");
		} catch (e) {
			alert('We cannot initiate ajax, please update your browser.');
		}
	}
}


 if (!f && xmlhttp)
 {
   var fields = new Array();
   if(formname)
{
     var ajax = formname;
   }
   //loop through form elements and retrieve field NAMEs and Values
   for (var x = 0; x < eval(\"document.\"+ajax+\".elements.length\"); x++)
{

    // join them into a string.
eval(\"fields.push(document.\"+ajax+
\".elements[x].name+'='+document.\"
+ajax+\".elements[x].value)\");

   }
   elem = 'errors';

   var sendf = fields.join('&');

   xmlhttp.open(\"POST\", url, true);
   xmlhttp.onreadystatechange = function()
{
  if (xmlhttp.readyState == 4)
  {
    if(xmlhttp.status == 200)
    {
      results = xmlhttp.responseText;
      var para = document.getElementById('errors');
      para.innerHTML = results;
      f = false; // re activate the AJAX function

		//refresh page
		//clearTimeout();
		pauserefresh=false;
		refreshPokerOnce();
		refreshPokerChat();
    }
  }
}


   xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
   xmlhttp.send(sendf);
   f = true;
if(formname=='postchat'){document.getElementById(\"chattxtinput\").value = '';}
 }
}

function enter_pressed(e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return false;
return (keycode == 13);
}

function beginPokerAjax()
{

refreshEverything();
}

function setMaxBet(input)
{
var xmlhttp;
var maxbetamount = 0;
var maxbetamount2 = 0;

try {
	//Cool browsers
	xmlhttp = new XMLHttpRequest();
} catch (e) {

	//Internet Explorer
	try {
		xmlhttp = new ActiveXObject(\"Msxml2.XMLHTTP\");
	} catch (e) {
		try {
			xmlhttp = new ActiveXObject(\"Microsoft.XMLHTTP\");
		} catch (e) {
			alert('We cannot initiate ajax, please update your browser.');
		}
	}
}
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
		maxbetamount = xmlhttp.responseText;
		maxbetamount2 = maxbetamount-input;
	  document.getElementById(\"betamnt\").value = maxbetamount2;
  }
}

xmlhttp.open(\"GET\",\"pokerdataajax.php?id=1\",true);
xmlhttp.send(null);
pauserefresh=true;

}


function typingBet()
{
pauserefresh=true;
}

function runPokerAjax()
{

//every x seconds, resend the ajax
clearTimeout();
if(doitagain)
{
	doitagain=false;
	var t=setTimeout(\"refreshEverything()\",waittime);
}
}


function refreshEverything()
{
refreshPokerChat();
refreshPoker();
doitagain=true;
}



function runPokerViewAjax(para)
{
//every x seconds, resend the ajax
clearTimeout();
var t=setTimeout(\"beginPokerViewAjax(\"+para+\")\",waittime);
}

function beginPokerViewAjax(para)
{

var xmlhttp;

try {
	//Cool browsers
	xmlhttp = new XMLHttpRequest();
} catch (e) {

	//Internet Explorer
	try {
		xmlhttp = new ActiveXObject(\"Msxml2.XMLHTTP\");
	} catch (e) {
		try {
			xmlhttp = new ActiveXObject(\"Microsoft.XMLHTTP\");
		} catch (e) {
			alert('We cannot initiate ajax, please update your browser.');
		}
	}
}
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
	  document.getElementById(\"pokerdivview\").innerHTML = '';
	  document.getElementById(\"pokerdivview\").innerHTML = xmlhttp.responseText;
  }
}

xmlhttp.open(\"GET\",\"pokerviewoutput.php?t=\"+para,true);
xmlhttp.send(null);
runPokerViewAjax(para);
}

function refreshPoker()
{
if(!pauserefresh)
{
	var xmlhttp;

	try {
		//Cool browsers
		xmlhttp = new XMLHttpRequest();
	} catch (e) {

		//Internet Explorer
		try {
			xmlhttp = new ActiveXObject(\"Msxml2.XMLHTTP\");
		} catch (e) {
			try {
				xmlhttp = new ActiveXObject(\"Microsoft.XMLHTTP\");
			} catch (e) {
				alert('We cannot initiate ajax, please update your browser.');
			}
		}
	}
	xmlhttp.onreadystatechange=function()
	{
	if(xmlhttp.readyState==4)
	  {
		  document.getElementById(\"pokerdiv\").innerHTML = '';
		  document.getElementById(\"pokerdiv\").innerHTML = xmlhttp.responseText;
	  }
	}

	xmlhttp.open(\"GET\",\"pokeroutput.php\",true);
	xmlhttp.send(null);
}
pauserefresh=false;
runPokerAjax();
}

function refreshPokerOnce()
{
var xmlhttp;

try {
	//Cool browsers
	xmlhttp = new XMLHttpRequest();
} catch (e) {

	//Internet Explorer
	try {
		xmlhttp = new ActiveXObject(\"Msxml2.XMLHTTP\");
	} catch (e) {
		try {
			xmlhttp = new ActiveXObject(\"Microsoft.XMLHTTP\");
		} catch (e) {
			alert('We cannot initiate ajax, please update your browser.');
		}
	}
}
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
	  document.getElementById(\"pokerdiv\").innerHTML = '';
	  document.getElementById(\"pokerdiv\").innerHTML = xmlhttp.responseText;
  }
}

xmlhttp.open(\"GET\",\"pokeroutput.php\",true);
xmlhttp.send(null);
}


function refreshPokerChat()
{
var xmlhttp;

try {
	//Cool browsers
	xmlhttp = new XMLHttpRequest();
} catch (e) {

	//Internet Explorer
	try {
		xmlhttp = new ActiveXObject(\"Msxml2.XMLHTTP\");
	} catch (e) {
		try {
			xmlhttp = new ActiveXObject(\"Microsoft.XMLHTTP\");
		} catch (e) {
			alert('We cannot initiate ajax, please update your browser.');
		}
	}
}
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
	  document.getElementById(\"pokerchat\").innerHTML = xmlhttp.responseText;
  }
}

xmlhttp.open(\"GET\",\"pokerchatoutput.php\",true);
xmlhttp.send(null);

}

</script>
";
}
?>

 

ok thx but i found myself... no need anymore

Edited by sixsens
solve
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...