
bluegman991
Members-
Posts
394 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by bluegman991
-
haha they are the same! its probably a script AND a different genre of rpg's
-
yea either they are using a script or its just a different genre of rpg heres 1 i use to play a couple years ago that's similar http://rapperwars.com
-
his quick security mock up seems it could be 1 of the few things 1. He looked at a previous post and copy/pasted 2. Everyone checks if isset and is_numeric then wraps it in abs(intval()) 3. I am wrong or that is how he was taught 4. I am completely wrong Reason why i say this is because in most security posts or mods that claim to be secure i see the same code $_GET['varhere']=isset($_GET['varhere']) && is_numeric($_GET['varhere']) ? abs(intval($_GET['varhere'])) : ''; lol its like its burned into my brain anyway if i am wrong a few tips 1. You should leave abs() off not sure if you know what it does but it returns the absolute value of a number. --- So I would leave it up to the owner if they wanted positive or negative numbers only. --- You could screw something up in their database a wrong value is inserted because the number was positive and they were looking for negative. 2. Change the '' to NULL --- Because you are setting the variable if you have it as '' which will cause isset($_GET['varhere']) to return true in all code after that. And the owner may check later to see if its set.
-
well im sure they have their reasons *for releasing a major version* i dont keep track of other browser versions but there has to be some reason both firefox and ie are already to release another major version with the last major version just coming out of the box but im hoping that this new version will have just as much support for html5 and css3 as google chrome has because i am looking forward to changing it back to my default browser :D
-
or floor($var);
-
just checked the 5.0 release notes page and it came with - New feature: fabulous tabs - Added support for CSS animations - The Do-Not-Track header preference has been moved to increase discoverability - Tuned HTTP idle connection logic for increased performance - Improved canvas, JavaScript, memory, and networking performance - Improved standards support for HTML5, XHR, MathML, SMIL, and canvas - Improved spell checking for some locales - Improved desktop environment integration for Linux users - WebGL content can no longer load cross-domain textures - Background tabs have setTimeout and setInterval clamped to 1000ms to improve performance + over 900 security and stability fixes
-
there was a firefox 4.0.1 it was the update that patched the bug were no one could update to the next version and firefox 4 had very little support for html5 and still wass till missing a lot of things in css3 so im guessing that they have added a lot and caught up with support for html5 and css3 to catch up with google chrome and safari
-
just had to bump a year old thread to say that :p
-
ok bmw im gonna help you spot this error yourself (if no one posts it or has already posted it) in the error sentence it says "unexpected" tencapsed and whitespace "expecting" tstring or tvariable now expecting tstring what that usually means is you forgot to add your endquotes somewhere on the said line or a line before and the other one (unexpected tencapsed and whitespace) means that you forgot to add a semicolon at the end of that line or a line before do you see somewhere on that line or a line before thats missing something? (hint:Look 2 lines up)
-
lol i just noticed those links http://index.php <-- thats a funny link whatever php code reader mwg is using needs to be replaced and wrong things are being quoted to Originally Posted by bluegman911 syntax error on lines "27" "62" and "65" :confused: dont remember saying that and hold on why does it say my name is bluegman911 when my name is bluegman991 :lol:
-
<?php //mod coded by sniko` //FREE MODIFICATION //2008 //free MOD include "globals.php"; print "<h2>Harry's Ammo Shop</h2> <i>Here you can buy Ammo, Ammo is needed to attack people with guns.</i> You Currently Have {$ir['ammo']} Bullets. <table width=100% border=1> <th height=10%>Ammo Ammount</th><th height=10%>Price</th><th height=10%>Buy</th> <tr> <td> 6 </td> <td> \$10 </td> <td> <a href=\"http://ammoshop.php?spend=6\" target=\"_blank\">Buy 6 Bullets</a> </td> <tr> <td> Out Of Stock </td> <td> Not Available </td> <td> Not Available </td> <tr> <td> Out Of Stock </td> <td> Not Available </td> <td> Not Available </td> </table>"; if($_GET['spend'] == '6') { if($ir['money'] <10) { print "You don't have enough money to buy 6 Bullets, you need $10!"; } else { if($ir['money'] >10) { print "Congratulations, you bought 6 Bullets for $10! <a href=\"http://index.php\" target=\"_blank\">Go Home</a> <a href=\"http://inventory.php\" target=\"_blank\">Inventory</a> "; $db->query("UPDATE users SET money=money-10,ammo=6 WHERE userid=$userid",$c); } } } $h->endpage(); ?> ^^should work.. a few tips when you echo or print a string if you echo with double quotes (one of these ") you need to add a backslash (\) before a dollar sign ($) if you want the actual sign to show otherwise php will think its a variable next when you refer to a string using double quotes. any double quotes inside of that string will need a backslash in front of them if you refer to a string using single quotes any single quotes inside that string will need a backslash in front of them
-
nice layout good job if ya made it
-
im not up to date with mccodes so im gonna guess by jumping you mean beating up/killing the new players as they sign up? so what does beating up people like give you friends?
-
it should be if($odata['user_level'] > 1 && $odata['level'] < 5) { echo 'Tou can\'t attack staff members or members under level 5!'; die($h->endpage()); } you have to use && (AND) instead of || (OR) when checking to see if a number is inbetween 2 numbers
-
$entries = mysql_query("SELECT `t1`.`fields`,`t2`.`fields` FROM `table1` `t1` LEFT JOIN `table2` `t2` ON `t1`.`id`=`t2`.`id`"); thats how to connect 2 tables if you need to connect more you just copy and paste everything after FROM
-
i dont remember exactly what i read (only remember certain aspects of somethings :/) but it may have been something about an external site storing userinfo that was gotten from playstation network... perhaps a trophy website? im about sure it was playstation network using mysql tho i didnt really believe it either but after looking into what mysql is capable of and reading that statement in a few different places its believable i believe its only to store name,username,email,credit card info,wallet funds etc... playstation.com blog,forums,etc use php + mysql and when you log on to playstation.com it connects directly to the network to retrieve and verify password info etc... i never stored any cc info or had the need to change any info on psn but im pretty sure you could edit it along with username, password, email, etc... directly from the website with forums/blog already using it why not use it to store user info its definitely believable since its only used to store account info and stuff not like its updated millions or billions of times per second with game/map coordinates or something by each user using the us for example with only less than 100million accounts owned in the us and multiple accounts owned by the same people or people of the same household putting it at a max of 60-70million people online at the same time keeping in mind that everyone wont be on at the same time changing the max to maybe around 50million maybe less 1 good server could handle all those connections but they have multiple servers handling them
-
xbox live has been hacked before you making hacking sound easy... - - you would need a group of people (that you can trust and can keep a secret) to help you carry out these hacks - - organizing such a group would be pretty hard as you would have to be careful of fakes and spies/tattlers - - a lot more people love microsoft than hate it making the group organizing process even harder - - on top of all that even as a group it probably took months of code reading and writting to execute this attack 2 things that made it significantly easier for whatever group that attacked psn was - - gehotz posting a video on youtube on how to jail break a ps3 uncovering secret (not so secret anymore) data and info which lead to further digging into the system and eventually the hack of psn - - next was the database used to store account info was a way outdated version of mysql and when there is outdated software there are security vulerabilities obviously someone knew some of these vulnerabilities and took advantage of them to steal the 10's of millions of users info that was reported stolen by playstation.com
-
never played torn so i dont know exactly what you want but all dragging and dropping is is on mousedown set a variable isdragging to true then onmousemove set the objects/elements to the mouse cursors position which can be retrieved by event.pageX/pageY or event.mouseX/mouseY
-
Which RIA technology you think is the best?
bluegman991 replied to a_bertrand's topic in Question of the day
i voted for unity and html/js im loving unity so far and find 3d modeling quite fun its just my preference to work with the html document and the server when it comes to websites there are many posibilities with javascript if it weren't easily hackable there would be many more games made with it if your skilled and/or using a framework you could make a 2d (shooting,fighting,racing) game each in less than a day probably a few hours. You could even make it online multiplayer (sure it might be server intensive but it is possible). -
puting the star up does not change the sum at all like i said algebra 1 ;) the star is only added so php doesnt throw an error
-
if you still think the answer is 1 you obvioulsy need to go back to algebra 1 that is the exact class where you learn this stuff i have even asked high school and college math teachers they all agree the answer is none other than 9 6/2(1+2) 6/2(3) <---- 1 is added to 2 first because it is inside of the brackets 6/2*3 <------- brackets can now be removed since the operation inside of them has been done (they no longer serve any purpose and have no say in what goes next) 3*3 <-------- 6 is divided by 2 because multiplication and division are equal so what ever comes first is done first 9 <------ and the outcome is nine even php know the answer $answer=6/2*(1+2); echo $answer;
-
answer is 9 6/2(1+2) using order of operations parentheses first! 1+2=3 _______ 6/2(3) Only Multiplication and division is left so now first come first serve starting with 6/2=3 3(3)=9 that is the order in which it must be done or you may or may not get the wrong answer as for the calculator it is 1. a defect 2. outdated or whoever produced it (casio) didnt take that into account the last rule of order of operations first come first serve is a rule that a lot of people dont know or it was not taught to them because you can usually get the correct answer without using this last rule
-
actually it would be 9 because when it comes down to when only multiplication and division are left or when only addition and subtraction are left in order of operations you do it first come first serve from left to right
-
lol in regards to my last post i started typing it earlier and just now got to post it so ignore it ;)
-
looks very good but the guy in the upper left hand corner ive seen him before cant remember exactly where but im sure i have idk about the rest of the images and i dont know if the image of the guy was released to the public for the public to use but just letting you know if you make your site public whoever owns/created that image (if there is one) they could come after you