Jump to content
MakeWebGames

plintu

Members
  • Posts

    102
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by plintu

  1. okay on the mod I made it to where a user can buy speed, steroids, and pcp to increase agility, strength, and guard for 15 mins, I just need help with the cron part, I need it to only update the userstats where the users speed, or steroids or pcp is at 1. here is what I tried but it updates everybody!!! LOL $ef=$db->query("SELECT * FROM users WHERE userid > 0"); $eff=$db->fetch_row($ef); $db->query("UPDATE `users` SET speed=speed-1 WHERE `speed` > 0"); $db->query("UPDATE `users` SET steroids=steroids-1 WHERE `steroids` > 0"); $db->query("UPDATE `users` SET pcp=pcp-1 WHERE `pcp` > 0"); $db->query("UPDATE `userstats` SET agility=agility/2 WHERE {$eff['speed']}='1'"); $db->query("UPDATE `userstats` SET guard=guard/2 WHERE {$eff['pcp']}='1'"); $db->query("UPDATE `userstats` SET strength=strength/2 WHERE {$eff['steroids']}='1'"); If you get this working for me I will send you the whole scripts. the rest of it works perfectly, I made it to where you create the speed pcp and steroids as items and they go in the item type drug and can be used like regular items!! Please help so I can get this out there ;) I suck at having to read from two different tables for updates :( I will get the hang of that soon :D
  2. Re: Add Super rewards points to your site!!!   check the postback logs and see if it sent you anything back!!!! double check that everything was installed correctly and do you have mccodes 1 or 2?   checked and double checked it, even gone as far knocking the postback file down to just a single sql query which updates user 1 with 100 crystals on call back from super rewards... i don't think this is an issue with what i have done but an issue with them, i did a survey to test it and have been credited $2 on my account, its just not calling back to my site... i've ran the postback file manually with the single query and it works fine, updates crystals without issue... i've filed a support ticket with the super rewards but no reply so far :-( I was not talking about changing and running the postback php file I was talking about going to the postback logs directory you were supposed to create a folder called "postbacklogs" and if you created that then it would have written logs in that directory, but if you did not create that then it might have failed because it errored cause it could not find that directory! notice step two in the directions for this "mod"
  3. Re: Add Super rewards points to your site!!!   check the postback logs and see if it sent you anything back!!!! double check that everything was installed correctly and do you have mccodes 1 or 2?
  4. Re: Add Super rewards points to your site!!!   as for opening and closing I just had a few scripts that I use for other things and put them together for my super rewards for my site! but I never got rid of the extra tags but it isn't that much of a biggy, like I said I am just giving you guys something to work with on a good idea!!!
  5. Re: Add Super rewards points to your site!!!   this picks up the usersid when they open the offers page! notcie on the".......uper/offers?h=kkkkylqgd.123412341234&uid={$ir['userid']}...." then it sends the userid to super rewards!!!
  6. Re: Add Super rewards points to your site!!!   I am glad that you can do it better I was just trying to throw something new out there for our community, it is just another avenue for everyone to make money! ;) If you can clean it up that is great I am not an expert on php I don't do it all that clean but it works! :D I forgot to mention for those of you who don't know how to add an iframe to your site here is an easy way to do the srpoints iframe <?php include "globals.php"; global $ir,$r; print"<iframe src='http://super.kitnmedia.com/super/offers?h=kkkkylqgd.123412341234&uid={$ir['userid']}' frameborder='0' width='728' height='2200' scrolling='no'></iframe>"; ?> Of course you are gonna have to place the link that they give you in there and edit it to get rid of some of the quotation marks and change them to apostrophe's but here is an example for ya ;)
  7. (1.) open an account at: www.srpoints.com (2.) on your server create a folder called "postbacklogs" (3.) go to phpmyadmin and insert the sql tables CREATE TABLE IF NOT EXISTS `offers` ( `new` int(10) NOT NULL DEFAULT '0', `total` int(20) NOT NULL DEFAULT '0', `uid` int(20) NOT NULL DEFAULT '0', `oid` int(20) NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=latin1;   (4.) create a file name it anything that you want this is going to be what posts back to superrewards and also credits the user! in that file paste this into it and save:   <span class="syntaxhtml"> <span class="syntaxdefault"><?PHP </span><span class="syntaxkeyword">include </span><span class="syntaxstring">"globals.php"</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$earn </span><span class="syntaxkeyword">= (</span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'new'</span><span class="syntaxkeyword">]); </span><span class="syntaxdefault">$userid </span><span class="syntaxkeyword">= (</span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'uid'</span><span class="syntaxkeyword">]); </span><span class="syntaxdefault">$totaluser </span><span class="syntaxkeyword">= (</span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'total'</span><span class="syntaxkeyword">]); </span><span class="syntaxdefault">$offerid </span><span class="syntaxkeyword">= (</span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'oid'</span><span class="syntaxkeyword">]); </span><span class="syntaxdefault">store_lead</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'oid'</span><span class="syntaxkeyword">], </span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'uid'</span><span class="syntaxkeyword">], </span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'total'</span><span class="syntaxkeyword">], </span><span class="syntaxdefault">$_GET</span><span class="syntaxkeyword">[</span><span class="syntaxstring">'new'</span><span class="syntaxkeyword">]); echo </span><span class="syntaxdefault">1</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">?> <? </span><span class="syntaxcomment">//store_lead function in classes.php// </span><span class="syntaxkeyword">function </span><span class="syntaxdefault">store_lead</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$offerid</span><span class="syntaxkeyword">, </span><span class="syntaxdefault">$userid</span><span class="syntaxkeyword">, </span><span class="syntaxdefault">$totaluser</span><span class="syntaxkeyword">, </span><span class="syntaxdefault">$earn</span><span class="syntaxkeyword">){ </span><span class="syntaxdefault">$result </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">mysql_query</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"SELECT * FROM `offers` WHERE `oid`='{$offerid}', `uid`='{$userid}', `total`='{$totaluser}', `new`='{$earn}'"</span><span class="syntaxkeyword">); </span><span class="syntaxdefault">$result </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">mysql_query</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"INSERT INTO `offers` (`oid`, `uid`, `total`, `new`) VALUES ('$offerid', '$userid', '$totaluser', '$earn')"</span><span class="syntaxkeyword">); &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$result1 </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">mysql_query</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"UPDATE `users` SET crystals = crystals+ $earn WHERE userid=$userid"</span><span class="syntaxkeyword">); </span><span class="syntaxcomment">//give user crystals// </span><span class="syntaxkeyword">&</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; } </span><span class="syntaxdefault">?><?php </span><span class="syntaxcomment">//ASSIGN VARIABLES TO USER INFO </span><span class="syntaxdefault">$time </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">date</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"M j G:i:s Y"</span><span class="syntaxkeyword">); </span><span class="syntaxdefault">$ip </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">getenv</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'REMOTE_ADDR'</span><span class="syntaxkeyword">); </span><span class="syntaxdefault">$userAgent </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">getenv</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'HTTP_USER_AGENT'</span><span class="syntaxkeyword">); </span><span class="syntaxdefault">$referrer </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">getenv</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'HTTP_REFERER'</span><span class="syntaxkeyword">); </span><span class="syntaxdefault">$query </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">getenv</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'QUERY_STRING'</span><span class="syntaxkeyword">); </span><span class="syntaxcomment">//COMBINE VARS INTO OUR LOG ENTRY </span><span class="syntaxdefault">$msg </span><span class="syntaxkeyword">= </span><span class="syntaxstring">"IP: " </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$ip </span><span class="syntaxkeyword">. </span><span class="syntaxstring">" TIME: " </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$time </span><span class="syntaxkeyword">. </span><span class="syntaxstring">" REFERRER: " </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$referrer </span><span class="syntaxkeyword">. </span><span class="syntaxstring">" SEARCHSTRING: " </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$query </span><span class="syntaxkeyword">. </span><span class="syntaxstring">" USERAGENT: " </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$userAgent</span><span class="syntaxkeyword">; </span><span class="syntaxcomment">//CALL OUR LOG FUNCTION </span><span class="syntaxdefault">writeToLogFile</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$msg</span><span class="syntaxkeyword">); function </span><span class="syntaxdefault">writeToLogFile</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$msg</span><span class="syntaxkeyword">) { &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$today </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">date</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"Y_m_d"</span><span class="syntaxkeyword">); &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$logfile </span><span class="syntaxkeyword">= </span><span class="syntaxdefault">$today</span><span class="syntaxkeyword">.</span><span class="syntaxstring">"_log.txt"</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$dir </span><span class="syntaxkeyword">= </span><span class="syntaxstring">'postbacklogs'</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">$saveLocation</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">$dir </span><span class="syntaxkeyword">. </span><span class="syntaxstring">'/' </span><span class="syntaxkeyword">. </span><span class="syntaxdefault">$logfile</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; if (!</span><span class="syntaxdefault">$handle </span><span class="syntaxkeyword">= @</span><span class="syntaxdefault">fopen</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$saveLocation</span><span class="syntaxkeyword">, </span><span class="syntaxstring">"a"</span><span class="syntaxkeyword">)) &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; { &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; exit; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; } &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; else &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; { &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; if(@</span><span class="syntaxdefault">fwrite</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$handle</span><span class="syntaxkeyword">,</span><span class="syntaxstring">"$msg\r\n"</span><span class="syntaxkeyword">)===</span><span class="syntaxdefault">FALSE</span><span class="syntaxkeyword">) &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; { &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; exit; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; } &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; @</span><span class="syntaxdefault">fclose</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">$handle</span><span class="syntaxkeyword">); &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; &</span><span class="syntaxdefault">nbsp</span><span class="syntaxkeyword">; } } </span><span class="syntaxdefault">?></span></span> when you create your account at super rewards they will ask you for a postback url direct it to this file and you are done! also If you feel there is suspicious activity with the points you can check the postback logs to see which Ip address is accessing it! but by giving the file a really crazy name(like: AasJdhf92345yb9.php) and giving that filename to srpoints as the postback url it will help keep stragglers from finding the file. I know some guys here can add to this and add a little more security. This works for v2 I have no idea if it will work in v1 :( last but not least srpoints will give you an inframe url to add to your site , just point users to that so that they can do offers and buy things through offers to get points, this will bring you revenue! ====== (shedh)Edit: for those of you who don't know how to add an iframe to your site here is an easy way to do the srpoints iframe <span class="syntaxhtml"> <span class="syntaxdefault"><?php </span><span class="syntaxkeyword">include </span><span class="syntaxstring">"globals.php"</span><span class="syntaxkeyword">; global </span><span class="syntaxdefault">$ir</span><span class="syntaxkeyword">,</span><span class="syntaxdefault">$r</span><span class="syntaxkeyword">; print</span><span class="syntaxstring">"<iframe src='http://super.kitnmedia.com/super/offers?h=kkkkylqgd.123412341234&uid={$ir['userid']}' frameborder='0' width='728' height='2200' scrolling='no'></iframe>"</span><span class="syntaxkeyword">; </span><span class="syntaxdefault">?> </span></span> Of course you are gonna have to place the link that they give you in there and edit it to get rid of some of the quotation marks and change them to apostrophe's but here is an example for ya ;)
  8. Re: Bought the ipn_donator mod from cronus, doesn't work and no support need help Just wanted to put it into the original thread that the Ipn mod does work properly, It turned out that fsockopen was disabled by my server so I don't want anyone to think that cronus's mod did not work!
  9. Just wanted to send an apology because the Ipn_donator mod that cronus scripted does work! I think Cronus had no way of knowing what the error was, If you are having problems with it working it very well could be a server problem!! ;) Just wanted to give my public apology!
  10. Re: Gang surrender copy your "yourgang.php" save it incase this does not work for you! replace your function gang_staff_viewsurrenders() and function gang_staff_surrender() with these! function gang_staff_surrender() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { print "<form action='yourgang.php?action=staff&act2=surrender' method='post'> Choose who to surrender to. <input type='hidden' name='subm' value='submit' /> Gang: <select name='war' type='dropdown'>"; $wq=$db->query("SELECT * FROM gangwars where warDECLARER={$ir['gang']} or warDECLARED={$ir['gang']}"); while($r=$db->fetch_row($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $d=date('F j, Y, g:i:s a',$r['warTIME']); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); print "<option value='{$r['warID']}'>{$them['gangNAME']}</option>"; } print "</select> Message: <input type='text' name='msg' /> <input type='submit' value='Surrender' /></form>"; } else { $_POST['war'] = abs($_POST['war']); $wq=$db->query("SELECT * FROM gangwars where warID={$_POST['war']}"); $r=$db->fetch_row($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $db->query("INSERT INTO surrenders VALUES('',{$_POST['war']},{$ir['gang']},".$r[$f].",'{$_POST['msg']}')"); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); $event=str_replace("'","''","[url='gangs.php?action=view&ID={$ir[']{$gangdata['gangNAME']}[/url] have asked to surrender the war against [url='gangs.php?action=view&ID={$them[']{$them['gangNAME']}[/url]"); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',".$r[$f].",unix_timestamp(),'$event')"); print "You have asked to surrender."; } } function gang_staff_viewsurrenders() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { print "<form action='yourgang.php?action=staff&act2=viewsurrenders' method='post'> Choose who to accept the surrender from. <input type='hidden' name='subm' value='submit' /> Gang: <select name='sur' type='dropdown'>"; $wq=$db->query("SELECT s.*,w.* FROM surrenders s LEFT JOIN gangwars w ON s.surWAR=w.warID WHERE surTO={$ir['gang']}"); while($r=$db->fetch_row($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); print "<option value='{$r['surID']}'>War vs. {$them['gangNAME']} (Msg: {$r['surMSG']})</option>"; } print "</select> <input type='submit' value='Accept Surrender' /></form>"; } else { $_POST['sur'] = abs($_POST['sur']); $q=$db->query("SELECT surWAR FROM surrenders WHERE surID={$_POST['sur']}"); list($_POST['war']) = $db->fetch_row($q); $wq=$db->query("SELECT * FROM gangwars where warID={$_POST['sur']}"); $r=$db->fetch_row($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $db->query("DELETE FROM surrenders WHERE surID={$_POST['sur']}"); $db->query("DELETE FROM gangwars WHERE warID={$_POST['sur']}"); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); $event=str_replace("'","''","[url='gangs.php?action=view&ID={$ir[']{$gangdata['gangNAME']}[/url] have accepted the surrender from [url='gangs.php?action=view&ID={$them[']{$them['gangNAME']}[/url], the war is over!"); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',".$r[$f].",unix_timestamp(),'$event')"); print "You have accepted surrender, the war is over."; } } Let me Know if that works for ya if not pm me your "yourgang.php" and I will take a lok at it and see what I can come up with!
  11. Re: Staff_items.php notice:Column count doesn't match value count at row 1!!! double check in the database that you have 21 fields in the items table I noticed that in the original one it is showing 15 values to put into 21 fields! Have you created all the fields for the new items you are trying to insert?
  12. Re: Bought the ipn_donator mod from cronus, doesn't work and no support need help   Well like I said I was not impatient and rude I simply told cronus "If we are in the middle of conversating then you go offline and don't respond for days, then I have no other recourse than to go to a paypal claim" and this was already 5 days after I had bought the mod! I am sorry that you wolfe do not actually fully know the situation and you are being presumptuous in the favor of cronus even though he has a history of no support for his mods, but in this case cronus was wrong and even now I still have yet to receive and answer to the last reply I sent 3 days ago.
  13. Re: hacked game and banned Something you could do is add this to all your staff pages: if($_GET['admincode'] != password) { die(""); }   put that just under include "sglobals.php"; make sure you change the part that says password then when you want to go to that specific section you have to change the url to: http://yoursite.com/staff.php?admincode=password so whatever password you choose you would always have to add: ?admincode=password to the end of your urls and change "password" to whatever pasword you choose!!! or you could make a dummy page that only you know about with all the links with the admincode attached to the end so you could navigate easier! Of course nothing is 100% but this along with abs(int ) htmlspecialchars () will certainly help your site out alot!!!
  14. Re: Bought the ipn_donator mod from cronus, doesn't work and no support need help   I can understand patience!!! I have been waiting 8 days now and still nothing!!! So where should patience come to an end and you finally realize cronus does not offer support! When I am going through the forums and finding more and more people saying the same thing then I do not feel that I am wrong! Even with this forum topic that I know cronus is reading he still does nothing to remedy the situation! Okay well I guess my $10 was a cheap lesson learned about him, but a costly one by him since I have been going around buying mods left and right but no more from him!
  15. Re: Bought the ipn_donator mod from cronus, doesn't work and no support need hel my exact message was if you are not willing to help me out, then I have no choice to but to file a paypal claim. I was not nasty and rude as you are trying to mention this has been an on going battle with you I first started trying to get help from you a week a go and still have got absolutely nothing!!! Other than you tell me well "it works, you must have screwed something up", even now you still can not and will not send a solution, you stopped answering my emails so I had to come and let everyone know that if you buy a mod from cronus expect no support!!!!
  16. Re: Bought the ipn_donator mod from cronus, doesn't work and no support need hel   this works for everyone huh? I will tell you straight out you are a liar!!! here is a copy from the pm you sent me!!! wow you even mention that others people can not get it to work! oh hmm check this out in the forum http://criminalexistence.com/ceforums/index.php?action=post;quote=142002;topic=29386.0;num_replies=4;a6534ec=37bbad347c5d814a0e33259f0ddbb09f someone else saying it don't work with regs from these forums saying it don't work!!! And shrek1609 you are completely correct I just recently found this site and was willing to pay for these mods to add to my site I already bought two and was prepared to buy more but now that I received service like this I am not buying another mod from him again!!! This was just appalling!!!
  17. Re: Bought the ipn_donator mod from cronus, doesn't work and no support need hel You are so full of bull!!! I already told you two days ago when you were online that I added the event_adds all throughout the script and found out where the error is yet you just went offline and stopped talking to me and still have not answered!!! edit added: not only that you told me you would do it at your own pace and if I was impatient I could just go lose a paypal claim!!! Well excuse me but when you sell a product that you know does not work for everybody you should already be prepared for the answer! this mod DOES NOT work properly for everyone and you know it doesn't but you like selling mods that don't work!!! as far as I can see you also offer no support what so ever!
  18. Ok I have tried everything to get this to work and could not get it to work for the life of me!!! I added event_adds all through out the thing so that I could see where the script is dieing at: If you have this mod you would know where this is at but here is the point where the mod is dieing: if (!$fp) { // HTTP ERROR } else { fputs ($fp, $header . $req); while (!feof($fp)) { $res = fgets ($fp, 1024); Does anyone know why it would die right here? If you think you can help me fix this I will send you the whole thing that way I can get the thing working! Cronus just threatens me that he will do it when he is ready to and if I am in patient I can just go and lose a paypal claim and basically to hell with me!!! He offers no support to the thing he doesn't have a clue how it works or how to fix the problem he told me to just keep running tests well I have run them and found exactly where the script is not working yet still no more replies from him!!!
  19. Re: This isn't necessarily a mod but css optimization for fast web page loading!   good god are you guys trying to put your whole site in there? or just one css file at a time?
  20. I know this isn't a mod or even made by me but it is a free tool to help all you guys compress your css files and lose all the whitespaces and save valuable time on web page loading!! check out http://www.cssoptimiser.com I tried it out on my site I have a very extensive css file in my header and I had absolutely no problems what so ever after compression!!! I hope this helps you guys out!!!   Oh I suggest if you have had to add hacks to your css for it to work properly in certain web browsers DO NOT USE THIS COMPRESSION TOOL! also always back up your old css file before using just incase it does not work for you then you can revert back easily enough!!!
  21. Re: Let see well now instead of being a jerk about it, you finally were a little help maybe next time instead of going straight to jerk mode you will try to help someone out!
  22. Re: Let see   I'll say this like i say to other's. You have no clue. Well If I have no clue then point out where I am wrong! was I wrong in saying he has a </form yet there is no beginning to it? was I wrong when I said he is for some oddball reason trying to update his will to equal exactly what it already is? `will` = {$ir['will']}, or was I wrong when I said he is using [$_POST['stat']] when he should be using {$_POST['stat']}? Maybe you should not speak anymore until you put something up!!!!! You will seem more intelligent that way!
  23. Re: [MCCODES V2] Mobile text messaging Thanks illusion!! also there was a small problem with you database tables! you int when you should have used Big Int phone numbers are too big for int ;) int only goes up to 2147483647 so if you have to add a 1 to area code or the first number in you phone number is higher than a 2 you won't be able to change yournumber in the database it will always show up as 2147483647 so if anyone plans on using this mod here is sql to install to the database! just install as instructed earlier in illusions instructions then run this query! ALTER TABLE CHANGE ADD mobilenumber BIGINT( 11 ) NOT NULL DEFAULT '0';
  24. Re: [MCCODES V2] Mobile text messaging Well this is a pretty good mod!! I like it!!! Well I had to go ahead and add my addition to it here is a pretty straight forward form where users can purchase the credits for crystals there is a little bit of added security in there as you can see if some one tries to buy less than 10 or more than 30 it will prevent them and notify you of the event if your userid is 1 !!!!which it should be LOL :D also you can set a price by changing the variable $price, where it says $quantity*10 just change the to how much you want to charge per each credit! call this file 'credits.php' ! <?php include "globals.php"; global $c; if($_POST['quantity']){ $quantity = abs((int) $_POST['quantity']); $price=$quantity*10; if($_POST['quantity']< 10){event_add(1,"{$ir['username']} just tried to buy less than 10 credits",$c); die("what are you trying to pull buddy?");} if($_POST['quantity']> 30){event_add(1,"{$ir['username']} just tried to buy more than 30 credits",$c); die("what are you trying to pull buddy?");} if($_POST['quantity'] > $ir['points']){die ("You cheapskate you don't even got that many points.");} $db->query("UPDATE users SET tcredits=tcredits+$quantity, crystals=crystals-$price WHERE userid={$ir['userid']}"); print"You successfully ordered $quantity text messaging Credits for $price crystals.";} else{ print"<table width='65%'> <h4>Credits for text messages use points!!!</h4> <form action='credits.php' method='post'> <select name='quantity'> <option>10</option> <option>20</option> <option>30</option> </select> <input type='submit' /> </form></table>";} ?> I forgot to mention I tested this with myself and it works, please post if you use it and let others know that it works too ;)
  25. Re: Let see gosh there is so many things wrong here let me see how many I can point out and see where we can get from there: (1) $stat=$statnames[$_POST['stat']]; if(!$stat) { die("This stat cannot be trained."); [$_POST['stat']] <---//////should be in curly brackets not hard brackets! (2)you got a </form> to end a form but you never give it a beginning!! so it cannot POST anything! (3)why in the hell is this in there? `users` SET `will` = {$ir['will']}, there is no need to set the will to equal the will. (4) you are renaming the stats you are saying agility in the stats rename yet speed down in the form area you have to keep all variables matching with the form (5)Next instead of saying if post stat......shouldn't it say if post Strength...and if post Defense....and If post Agility...... I might be wrong but almost this whole thing needs to be rewritten. It looks pretty nice though :D
×
×
  • Create New...