-
Posts
1,731 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Events
Everything posted by Spudinski
-
Well, sometimes stylesheets can become messy but here's a tip: You may define more than one style reference to an HTML element. So insert a space, and then insert the name of your definition. eg: <object style="one two">
-
As I said, it's been a long time. And AS version 1 and 2 are so out of date. Here is an explanation of it though, found it through Google and it looks quite easy to use. http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html Hope it helps
-
I've had some experience some time back with AS versions 1 and 2. Mostly, you would have to load the variables via an XML document. PHP is an awesome tool to produce XML. But I REALLY would NOT suggest using flash, it is really not as secure as you might think. Plus, nowadays with Javascript frameworks like jQuery, Flash isn't a competitor with UIs(User Interfaces) anymore. But look into XML loading with Flash.
-
Well, I really don't know what you want to do but the "margin" style property might be of use to you.
-
It would improve the playability for sure, and give the players a thrill. The only problem is that when the current MCCodes scripts were made, they did not accompany for this type of thing. I would suggest taking a crack at the current leveling system of MCC, it's simple so it should be easy to find and understand. Implementing that in your modification could be a start. A few other things I can think of out the top of my head are; Adding a sort of experience meter/value to the mod, and updating it as per say, when they "mine" something. Calculating the player's level depending on their stats. Much like how the promotions works in the Job modification. Time of play, with mining I'd think this would be most appropriate if you are looking to make it realistic. With the last mentioned idea of mine, you could make the reward in money, skill stats or experience. Mostly I would just treat the whole "skill" as another player and linking it by an id, would be much easier to maintain or build upon if the whole think is separate from the "main" game scripts.
-
Technically his theory is correct. Even though it is a fail-safe method of programming. The headers are sent from different places, this by a very very small margin it is more secure. Oh, and stop calling everybody an idiot OP. I could just as well flame you on your programming skills if I wanted. Just because your a little better than somebody else doesn't mean you are the best, and it certainly does NOT give you the right to flame at his mistakes. Granted, thanks for the warning - but next time do it by the appropriate manner.
-
Well, much like DJK said: that type of slang is mainly for use on phones. It's much easier on a phone, because it does not have an QWERTY keypad. I'm not native in English, not by a far shot. I've learned English from school and my grades aren't the best, but I know my grammar and spelling. I'm just made in such a way that if a person isn't apprehended to help themselves, then why should I? It may be inconsiderate, but it makes a lot of sense. Example: a lot vs. allot. Sounds almost identical, but has very different meanings. How can a person know what the person wants if they say per example: "I am getting allot of programs". It has an entire different meaning from what the person actually meant. I type how I speak, and sometimes it may be grammatically incorrect, but it's just my way. I tend to mix up my words a lot of the time, but it's how I speak, my accent, my way. Afrikaans is my main language, in it there isn't so much "slang" because the youth understands it's importance and wants to follow it's tradition. I'm not saying people should type/speak like Shakespeare, but at least try and spell correctly. PS. Jordan: About that signature, also notice that the words HAS to be spelled correctly in order for the brain to recognize the word. I find it rude that people are abusing the language in on the internet, it's plain childish. There are' much better words to express yourself to also sound beautiful.
-
In reply to no 4: For this to properbly work, the whole modification structure will have to be adapted. The thing about an "auto installer", is that it normally works by XML. Within the XML document there are rules defined to what should be replaced, added or removed. That is the totally easy part, but the next part, the security aspect of it is allot more complex. A modification should have set permissions to what it can alter to the environment it runs in. A simple scenario of this would be: Take your OS for instance, imagine if it were allowed to modify the kernel, or even other applications memory or even the hardware drivers itself. This would be so catastrophic to the WHOLE system. PS, much like there's a reason Windows Updates are only allowed through the OS itself, or IE. Much like a virus, but there wouldn't be much that can be done to prevent it. A simple regex search wouldn't work, no. You would have to manually define each file and database item that is not allowed to be changed. This could go horribly wrong if not done to the exact strict. This is very much possible though, but all the modifications would have to be adapted or completely rewritten.
-
I think competitions like that one are just brilliant. There are allot of modification developers everywhere, but stylists/designers - there ain't allot.
-
Your main concers with a game engine(in specific) is XSS(Cross-Site Scripting) and as you said, SQL injections. There are many other ways to "break" a website, but they are a bit more complex to explain. What you will probably need to know about XSS and SQL injections are that; XSS is the name for a vulnerability where someone injects HTML or Javascript into the page itself. This is mainly caused by not filtering the global variables. This is the most common, and most easy to fix. You can read up on html_special_chars for this, there is also regex filters which I would rather recommend looking into. SQL injections are very common, but they are much harder to detect. This is because a good "hacker" does something called a Blind injection, this simply means that they mask the injection so that it looks like a normal query in the logs, but is devastating to the database itself. I would recommend you read up on MySQL itself first, and also mysql_real_escape. Afterwards you nay delve deeper into SQL injections. Another thing I would like to mention that are very common are LFI's and RFI's. This simply stands for local/remote file inclusion. This is a very stupid mistake a programmer makes at some point. The simplest way to avoid this is by setting a variable called open_basedir within the php.ini file. You may read more on securing your PHP configuration here. Security is is common sense, really.
-
For what it is probably worth, 10USD. Minus any extra's(such as interactive[eg. Ajax], or a more complex algorithm).
-
Hey. If you give me styling information, and references of the layout(paint images, w/e) I will do this for you tomorrow. PM me with details please, and I'll do both for 5 bucks if your interested.
-
I don't like the Facebook page. My comments always get's deleted. :( ...Followed.
-
There is Danny.
-
[lmgtfy]slicing tutorial[/lmgtfy]
-
Just threaten them. That should be sufficient. But personally, I would sue the hell out of the complainer. They have no right what-so-ever! In addition, your hosting provider should have done research on the topic before disabling your hosting account. So it's part of their negligence as well. I would recommend you switch to a host that has your well being in mind as well.
-
1) I think you guys should make things a little more exciting. The only people posting now is for the sake of helping someone. 2) My connection is 3G, can't really say. 3) That I am the most awesomest person on earth. Whadup! On a more serious note, well less, since my being awesome is mostly important... To me personally it's just... you guys seem to be making so many promises to improve things. By adding a few boards does not improve things, it just makes more to maintain. I can understand that you guys are busy, but you should try and make a bond with the community, being more interactive with the people - they are the ones who actually posts. Other than that, the mccodes.com site really needs an update. I'd think launching a competition for a new design AND logo would be a great way to familiarize yourselves with the people, and it would of course: correspond to show that you guys are trying to make an improvement.
-
You told me f00l.
-
Use the background-repeat property. obj { background-repeat: repeat-all; } Default is the repeat-all value, just fyi.
-
A few more things I would like to add. A DMCA takedown request can be very short indeed. If you can prove that something is your's, it will be taken down. Another thing I mentioned missing from the above document: Your signature, or a scanned version of it. It is required. Also, not all countries supports the DMC Act, so do check if the hosting provider's country supports it. If not - send a formal copyright letter to them.
-
Very nice tutorial sniko. I would just suggest adding a complete script and sample table structure for a login system. I think it would help people a little bit more to see a complete script, and and you could possibly also add for a next tutorial why input filtering is needed, and the correct uses of it.
-
NorthEast. K45 as always. Ferditji. http://en53.tribalwars.net/game.php?v&screen=info_player&id=9009875
-
The reason why these are even supported still is plainly for compatibility. The reason why the <script> tag works, is because before we all had PHP 3, PHP was known as Personal Home Page and it worked through the script tag. And FYI, it's not <script type> it is <script language>.
-
It's could be a bunch of things, either the table/column does not exist. OR The connection might be faulty - as mentioned before. Try using your own parameters first, the basic "mysql_connect". <?php $c = mysql_connect(server, user, passwd): mysql_selectdb('db', $c); {... and then your query ...} ?> Or just include the globals.php file.
-
Don;t encourage people to use the WRONG way please. It's <?php and ?>. Stick to the standards.