-
Posts
2,464 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Events
Everything posted by rulerofzu
-
Really cant be bothered to go login / register at games to see what their attack system is like just so a copy of it can be created. My suggestion is search....as lucky has mentioned there is one Be original. Why would people play your game when they can play those games. Explain in full detail rather than links to other games
-
The way you suggest lucky would imply that just in case you go over 3 end it. In which case it would be >= 3 If its coded correctly it will never go over 3 and end so == 3 will suffice.
-
Much better to have PHP error messages on whilst your coding and then if you feel like it turn them off before you go live. In Mc2 in the db class you can alter the message shown in game for db errors so the user only sees a oops sorry please report it in message. There is a modification on here for it somewhere. The session ID shouldnt need to be checked like that as it should have been set correctly upon login
-
I use two. Generally one for headings, titles and another for content to distinguish the two. When done correctly in a typography manner then it can be visually stunning. So you can get away with more than a few fonts on the same page. Cant see it working on a game really. Generally there is too much content on the page for it to be effective.
-
Ahh I thought the $ir['married'] was the count not the person you was married too.
-
lets break it down $ir is the global function for the users mysql table Check if married is a INT value in the users table. If not you will need to change it Then all you need to do is change it from checking 1 as it is in the code you posted to checking if the value is 3 if($ir['married'] == 3)
-
Fair enough....just seemed similar on face value. Thanks for the explanation and good luck with the sales.
-
One thing that immediately popped up was $_GET['action'] = (int) however on its usage $_GET['action'] ='money'; <----- thats not a number Found it curious the usage of abs(intval($_SESSION['userid'])) and your not checking the crystals or money Its much better assigning a var to the checking in my opinion. $id=(isset($_GET['ID']) && ctype_digit($_GET['ID'])) ? $_GET['ID'] : ''; Then use the var in your queries. Having already checked the ID so is there any need for abs(intval($_GET['ID'])) Nothing really bad with what you have done so well done :D
-
How does this differ from http://makewebgames.io/showthread.php/32603-Battle-ladder-Mccodes-V2?highlight=attack+ladder Which is free?
-
Two ways of doing it... You could just make it a font in the PSD file (assuming you will provide this) and therefore supply the font so they have it. Or you could go for a css @font-face. Nothing really for a beginner to change as its all included either way in the package.
-
Its to do with the use of variables but there is very very little in it with regards to speed or memory usage
-
Your just too cool for school though DJK :D
-
Knockout.JS a nice JS library for complex dynamic interfaces
rulerofzu replied to a_bertrand's topic in Tech News
That is indeed some smexy JS -
At the end of the day it all comes down to personal preference. Personally I like to echo<<<EOT and use HTML
-
Good work. Id suggest some font styling in there and supplying the font if using a free one. Just seems a bit out of place things like the FAQ which would look much better in a swirling fancy font. Also the hr bars could also be styled to match the the graphics rather than a plain white hr.
-
Fair enough Alain. If you wished to show part or some of the code so to show the quality of your coding perhaps then you could either just post some or pastebin it.
-
$atsakymas=mysql_real_escape_string($_POST['atsakymas']); will suffice
-
Basically you cannot use the same quotes in your code print "<a href=" will not work print "<a href=' will work print '<a href=' will not work print '<a href=" will work You may wish to consider why keep it in your PHP code anyway. There is always the option to end the PHP code ?> and just use HTML
-
filter sanitize/validate preg match are two ways you can do this. I have never downloaded lite so I am unable to state exactly where.
-
It would be worth increasing that limit 10k chars sounds a lot but in reality it isnt.
-
Cool good work Sniko. You always put a lot of hard work into your mods.
-
You are aiming way to high if you do not understand basic PHP and are trying to set up a game engine. This is a game makers forum not a PHP forum. I can only speak for myself but I am not here to guide you through basic PHP sorry you shouldnt be here if you do not understand the basics. Go to phpfreaks for that. Basic HTML Basic CSS Basic usage of software such as FTP Basic PHP Basic MySQL Is what you need to go learn and then come back. Now you can take that as rude if you wish but I prefer to be honest.
-
I dont see how it will increase my traffic as its a new site. Do you have any plans for advertising?
-
Very true but you can clearly see the problem on line 23 ;)
-
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/iseeyou9/public_html/dump.php on line 23 Go look at line 23 perhaps?