Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,686
  • Joined

  • Last visited

  • Days Won

    81

Everything posted by Uridium

  1. Your coming round to my way of thinking by the time seanybob has added our addons there wont be a need for MCC we may just aswell play poker lol
  2. Can i add a number 9 to my list of things to do :) 9 = Users can watch a table and chat but cant see cards only whats going into the pot.. OH and a 10 cos im on fire lol 10 = Add a friend from the pokerroom so you can fnid them instantly when they are in a game and join them...
  3.   Why make one when Seanybob has created something Exceptional at a very reasonable price with Addons... I dont know your coding style and forgive me if i speak out of term but seanybob is well respected as a script writer so you would have to make your mods 300% better than his for people to take notice.. No Offence by the way..
  4.   It was tested on Bludclarts site... Regards the 4 issue on his site the error occurs after the error with the unable to FOLD so for example if the table DEALER leaves the table then no other player is declared the Dealer. or if someone folds and everyone leaves the table the 4 error occurs..... I would add a few more options one being that 1= users cant leave the table whilst sat unless they fold, the LEAVE button at moment is visible througout the game.. 2= Ability if possible to see which players are sat at which table before you join a table. 3= also an ability for users who create a new table to Edit the table incase of mistakes... 4= If the delaer leaves the table then person nearest left is give Dealer status (this seems to cause issues if dealer suddenly leaves) 5= height of table to fit into the screen im using 1024 x 750 Res and have to scroll if im sat at bottom of table. 6= Some issues with refresh cause people to lose a turn if all images on screen hasnt loaded in time.... 7= when buying chips this should be done at the table rather than the join screen. 8= Because of the refresh rate i dont think the chat is adequate enough and could be used as a popup box..... just a few things... other than that its a great mod..
  5. After testing this mod i found Numerous issues which i'll try to list... POT Cash doesnt update correct and found it decreases and increases when ever it wants... When a player folds and the game is over they are still classed as folded on the dbase so no game can start until they have been reset... pokrooms dbase isnt being updated correctly so players are left in limbo until you manually reset them....
  6. Thats correct ZEGGY one defeats the other thats why im trying to work out a more secure method with the same results.. But also trying to not make it as hard as possible to install and using a chaching method
  7. How this works at the moment is your password when registering is inputted 3 times 2 for md5 and one so its displayed as TEXT for you if you cant remember it, it also includes a secret question that has to be entered aswell as your email so the email is sent out to you.
  8. sorry guys this is being re-worked on until im 100% sure its safe and secure and at the moment its a pile of dung till ive repaired it...
  9. There are 2 uses for the password 1 being MD5 and the other is text format the SQL field for this can be changed to suit the owners needs
  10. a few Screenies Confirmation ( Below password is a Dummy ) Password Error INPUT SECTION
  11. Yes i know this has been done where you forget your pass and have to goto a LOST PASSWORD link for an email to be sent just to say that you have to change your password to the one its given.. This annoyed the hell out of me and found sometimes it wasnt 100% workable.. So how about just getting your old password back which too me sounded better.. and saves a lot of time... I'll post up the code in a few as ive made some drastic edits.
  12. remove require "globals.php";   from all the voting pages its not needed if global_func is being called..... Will also cure the error JDS is havng
  13. If its anything like thr Bigmac me and my daughter had last night id ask for a refund lol I kicked up a stink and got 2 free bigs macs lol
  14. Not yet i'll get round to doing it
  15. 50% off $1 you might aswell give it away free ;)
  16. there is no EDIT function yet but when i get chance i will add one
  17. This Mod which is small will wllow the owner to setup their Meta Tags so Search Engines can find your game quickly aswell as users who type in a words into say google.. SQLS [mysql]CREATE TABLE IF NOT EXISTS `meta` ( `metaid` int(11) NOT NULL auto_increment, `charset` varchar(10) NOT NULL default 'UTF-8', `authorname` varchar(90) NOT NULL default '', `copyright` varchar(90) NOT NULL default '', `slogan` varchar(255) NOT NULL default '', `keywords` text NOT NULL default '', PRIMARY KEY (`metaid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/mysql] Call this file staff_meta.php   <?php include "sglobals.php"; if($ir['user_level'] <= 1) { die(); exit; } switch($_GET['action']) { case 'newmeta': new_meta_form(); break; case 'newmetasub': new_meta_submit(); break; default: print "Error: This script requires an action."; break; } function htmlspcl($in) { return str_replace("'", "'", htmlspecialchars($in)); } function new_meta_form() { global $db,$ir, $c; if($ir['user_level'] != 2) { die("403"); } print "Adding a new Meta Tag. <form action='staff_meta.php?action=newmetasub' method='post'> <table border'1' bordercolor='#FFCC00' style'background-color:#FFFFCC' width'400' cellpadding'3' cellspacing'3'> <tr> <td>Character Set: = <input type='text' name='charset' /> Usually UTF-8</td> </tr> <tr> <td>Author name: = <input type='text' name='authorname' /></td> </tr> <tr> <td>Owner Copyright: = <input type='text' name='copyright' /></td> </tr> <tr> <td>Site Slogan: = <input type='text' name='slogan' /></td> </tr> <tr> <td>Keywords: <textarea rows='7' cols='50' name='keywords'></textarea> enter words to be found by the searchengine example mygame, mmorpg, and add plenty more</td> </tr> </table> <hr> <input type='submit' value='Create New Meta Tag' /></form>"; } function new_meta_submit() { global $db,$ir,$c,$userid; if($ir['user_level'] != 2) { die("403"); } if(!isset($_POST['charset']) || !isset($_POST['authorname']) || !isset($_POST['copyright']) || !isset($_POST['slogan']) || !isset($_POST['keywords'])) { print "You missed one or more of the required fields. Please go back and try again. [url='staff_meta.php?action=newmeta']> Back[/url]"; $h->endpage(); exit; } $db->query("INSERT INTO meta (charset, authorname, copyright, slogan, keywords) VALUES( '{$_POST['charset']}', '{$_POST['authorname']}', '{$_POST['copyright']}', '{$_POST['slogan']}', '{$_POST['keywords']}')"); print "<hr><h2>Meta Tag <font color='blue'> Created!</font>"; } $h->endpage(); ?>   Now open up header.php and under the global add $q = $db->query("SELECT charset,authorname,copyright,slogan,keywords FROM meta WHERE metaid=1",$c); $t = $db->fetch_row($q);   In the same file where the <html xmlns="http://www.w3.org/1999/xhtml"> Is underneath add   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset={$t['charset']}"> <META HTTP-EQUIV="EXPIRES" CONTENT="0"> <META NAME="RESOURCE-TYPE" CONTENT="DOCUMENT"> <META NAME="DISTRIBUTION" CONTENT="GLOBAL"> <META NAME="AUTHOR" CONTENT="{$t['authorname']}"> <META NAME="COPYRIGHT" CONTENT="{$t['copyright']}"> <META NAME="KEYWORDS" CONTENT="{$t['keywords']}"> <META NAME="DESCRIPTION" CONTENT="{$t['slogan']}"> <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW"> <META NAME="REVISIT-AFTER" CONTENT="1 DAYS"> <META NAME="RATING" CONTENT="GENERAL">   now opene smenu.php and add   > [url='staff_meta.php?action=newmeta']Create Meta Tag[/url]   And thats it makes finding your site on search engines a lot easier...
  18. Try http://www.pcpin.com/ its easy configurable and shouldnt take too much to intergrate with mcc and its Free.. Dont bother with Flashchat as its laggy as hell if too many are in the room at one i found that 10 people caused mega lagg.
  19. I have only given a Guideline for the above DONT use the attack parts only the PART that needs adding which is this to attack.php $filename="youhit.txt";$words=file($filename);shuffle($words);$word=$words[0]; // THIS IS FOR YOU HIT THEM $filename="theyhit.txt";$words2=file($filename);shuffle($words2);$word2=$words2[0]; // THIS IS FOR THEY HIT YOU $filename="youfail.txt";$words3=file($filename);shuffle($words3);$word3=$words3[0]; // THIS IS FOR YOU MISSED THEM $filename="theyfail.txt";$words4=file($filename);shuffle($words4);$word4=$words4[0]; // THIS IS FOR THEY MISSED YOU And then use the Oucome messages where ever you want them Oh and upload all the TXT files to your server
  20. In the original V2 script when a user atacks or is being attacked its always a default message that appears example is below.. DONT USE THIS AS ITS FROM THE ORIGINAL V2 For you htting them print "<font color=red>{$_GET['nextstep']}. Using your {$r1['itmname']} you hit {$odata['username']} doing $mydamage damage ({$odata['hp']})</font> \n"; $_SESSION['attackdmg']+=$mydamage; $_SESSION['attacklog'].="<font color=red>{$_GET['nextstep']}. Using {$myabbr} {$r1['itmname']} {$ir['username']} hit {$odata['username']} doing $mydamage damage ({$odata['hp']})</font> \n"; } else { print "<font color=red>{$_GET['nextstep']}. You tried to hit {$odata['username']} but missed ({$odata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=red>{$_GET['nextstep']}. {$ir['username']} tried to hit {$odata['username']} but missed ({$odata['hp']})</font> \n"; }   And for them hitting you....   print "<font color=blue>{$ns}. Using $oabbr $wep {$odata['username']} hit you doing $dam damage ({$youdata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=blue>{$ns}. Using $oabbr $wep {$odata['username']} hit {$ir['username']} doing $dam damage ({$youdata['hp']})</font> \n"; } else { $ns=$_GET['nextstep']+1; print "<font color=red>{$ns}. {$odata['username']} tried to hit you but missed ({$youdata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=blue>{$ns}. {$odata['username']} tried to hit {$ir['username']} but missed ({$youdata['hp']})</font> \n"; }   So as you can see the wording is always the same unless you change it manualy in the script and even then youd need to do it every week so suers dont get bored... However this little mod can change all that you can write as many outcomes as you want and when the user is attacking they will see different outcomes after every hit.. so open your attack.php and add these under the include"globals.php";   $filename="youhit.txt";$words=file($filename);shuffle($words);$word=$words[0]; // THIS IS FOR YOU HIT THEM $filename="theyhit.txt";$words2=file($filename);shuffle($words2);$word2=$words2[0]; // THIS IS FOR THEY HIT YOU $filename="youfail.txt";$words3=file($filename);shuffle($words3);$word3=$words3[0]; // THIS IS FOR YOU MISSED THEM $filename="theyfail.txt";$words4=file($filename);shuffle($words4);$word4=$words4[0]; // THIS IS FOR THEY MISSED YOU   Now create 4 txt files with these names youhit.txt theyhit.txt youfail.txt theyfail.txt all you need to do now is add some wording to the files and where the YOU HIT is just use $word For YOU HIT and $word2 FOR THEY HIT and $word3 FOR YOU FAIL and $word4 for THEY FAIL.... You can do the exact same for the Event add just create another file and do as above :) EXAMPLE BELOW incase i confused anyone You Hitting them   print "<font color=red>{$_GET['nextstep']}. Using your {$r1['itmname']} you hit {$odata['username']} doing $mydamage damage ({$odata['hp']}) $word</font> \n"; $_SESSION['attackdmg']+=$mydamage; $_SESSION['attacklog'].="<font color=red>{$_GET['nextstep']}. Using {$myabbr} {$r1['itmname']} {$ir['username']} hit {$odata['username']} doing $mydamage damage ({$odata['hp']})</font> \n"; } else { print "<font color=red>{$_GET['nextstep']}. You tried to hit {$odata['username']} but missed ({$odata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=red>{$_GET['nextstep']}. {$ir['username']} tried to hit {$odata['username']} but missed ({$odata['hp']})</font> \n"; }   And for them hitting you....   print "<font color=blue>{$ns}. Using $oabbr $wep {$odata['username']} hit you doing $dam damage ({$youdata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=blue>{$ns}. Using $oabbr $wep {$odata['username']} hit {$ir['username']} doing $dam damage ({$youdata['hp']})</font> \n"; } else { $ns=$_GET['nextstep']+1; print "<font color=red>{$ns}. {$odata['username']} tried to hit you but missed ({$youdata['hp']})</font> \n"; $_SESSION['attacklog'].="<font color=blue>{$ns}. {$odata['username']} tried to hit {$ir['username']} but missed ({$youdata['hp']})</font> \n"; }
  21. Yep i can sell my mods for free cos ive said it and they always say whats words of mouth is binding so everyone pay me for FREE and i'll make mods for FREE ;)
  22. Not very often i post in here i just thought id have a change of scenery ;)
  23. send me a link to your site please
  24. Ive always found that the staff_items.php should Know wether an item is primary or secondary which would save time when equipping from the inventory
  25. Thanks for the Update Mcfarlin much Appreciated :) +10
×
×
  • Create New...