
spikereloaded
Members-
Posts
145 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by spikereloaded
-
OK, in a case like this, where it's unclear where the error is coming from, I'd go back to the most primitive method of debugging possible. go line by line and add in echo 'test - passed'; exit; then save you're file, upload it and see if you get the error or you see 'test - passed'. see how far into your code you can get, before you start getting the error. When you get the error, you'll be able to tell which bit of code is giving you the issue. Like I said, it's primitive but it's a good way to get some clarity on which part of the code you're having issues with.
-
what query is your error actually relating to? is it anything to do with this? $q_ry = "UPDATE members_extra SET " . $job[$wj['my_job']] . " = " . $job[$wj['my_job']] . " + '" . mysql_real_escape_string($wj['r_POINTS']) . "' WHERE playerid = '" . mysql_real_escape_string($wj['playerid']) . "'"; Also i'd look into using prepred statements and get rid of MRES() all together.
-
me.playerid - m.playerid is telling the query to compare the playerid from the members_extra (me.playerid) table to the playerid from the members(m.playerid) table. wherever there is a me. or a m. you are pulling the value from the members_extra table (me.) or the members table (m.) so in the inner join, you're joining the two table where the playerid's are the same.
-
mccode-v2 Simple game tutorial for new players
spikereloaded replied to dnenb's topic in Free Modifications
This is a little old but could you save using another column in the users table by setting a $_SESSION variable instead, as it's likely they'll only use it once? -
lol #philosophical
-
nooooo more mafia! try a different genre. something original. And make sure your up to scratch on your coding, as there's being a partner, and then there's getting someone else to do all the hard work. plus, going from your recent posts, why are you starting another new project when you havent finished your previous one(s)? could make some people nervous about working with you
-
Any progress on this yet?
-
not sure whether that screenshot would be enough to prove over 2 grands worth of income from the game... - - - Updated - - - What period of time was that made over?
-
not sure if i'm just being dense here but i'm still not following? could you explain what link_usage is and what it relates to? Also i think on the staff pages to add a new course it may be work having some explanation text next to some of the fields to explain what they do specifically. Having not seen this mod before, not too sure what course link level course link level max course link usage Course Focus Percentage mean and what I should be adding. Sorry to moan, just wanting to test this out and give some feedback! also are you missing a sql file to set up the 'courses enrolled' table? Would also appear there's a function missing from addcourse.. Fatal error: Call to undefined function mkglobal() in /home/endoftim/public_html/addcourse.php on line 37
-
hey illusions apologies but i don't really get this bit in your readme file. also are you missing a sql file to set up the 'courses enrolled' table?
-
sounds good, will take a look.
-
im completely self taught and only learnt by pulling apart the source code as well as trial and error with my own code. Like Razor said, forums is way to hard if you've only been coding a couple of days. check out your source code, make changes, save it and see what it does, and just keep learning that way until you have an understanding of what most things do!
-
guessing you don't understand the word sarcasm...here's a link to it's definition on WIkipedia. Hope this help you out
-
Script, that guy is the proud owner of prsionhavoc/mafiahavoc/wisecrime/**ck knows what else, and you have the nerve to question his ability to code.... (sarcasm btw, he doesn't know his ass from his elbow) I really don't understand the way people act on this forum. The majority (not ALL) expect everything for nothing and the compulsive lying is like hanging out with 3 year olds. it gets pretty tiresome :eek:.
-
because that would be a smart thing to do.... what is the point in making multiple games and doing them all half assed?
-
hmm thanks guys but still struggling, seems wherever I put the code, it doesn't seem to work. will have another look when i'm not as tired tomorrow!
-
i've tried this, but this then means when you navigate to a new page, the chat box does not start at the bottom, meaning you have to scroll to the bottom to see the newest messages. I want it so that I can scroll up the messages without it forcing me to the bottom every 2 seconds when the ajax kicks in.
-
any ideas on how to stop it from forcing the user to scroll to the bottom everytime it calls the ajax? making some modifications but this is the one that is annoying me the most as you can't see more than 4-5 messages up.
-
mccode-v2 Integrate GoInstant - Real Time Chat Widget
spikereloaded replied to sniko's topic in Free Modifications
ive had a go at intergrating this, seems to be a little harder than i first thought. I can add in the <a href> links on the usernames, however they don't print as links, they print literally eg. desired outcome : Spikereloaded Actual outcome : <a href="viewuser.php?u=2">Spikereloaded</a> same will go for changing username colour. var userlevel = '{$ir['user_level']}'; if (userlevel == 2) { var username = '<a href="viewuser.php?u={$ir['userid']}">{$ir['username']}</a><small>Staff Member</small>'; } else { var username = '<a href="viewuser.php?u={$ir['userid']}">{$ir['username']}</a>'; } anyone see what i'm doing wrong? or is it more complex than just wrapping it in a tag? -
get ready for this one....no death threats please...I'm a social worker full time but like to forget about all that by improving my back end (code...not ass) knowledge. Enjoy working with PHP but looking to start learning a new language as would like to try my hand at some app programming. Contribute here on the odd occasion but mainly just hide in the shadows!
-
Looking for beta testers for my upcoming game.
spikereloaded replied to DopeboyGFX's topic in Generic RPG
when registering : Warning: in_array() expects parameter 2 to be array, null given in /home/themafi5/public_html/register.php on line 101 activation says crime city -
i'm not saying they're no good atall, but using them to layout your site seems to be a bit of a step backward with responsive designs becoming more and more common. Also with the constantly increasing number of people using mobile devices to access the internet, it makes sense to use a method that is going to work 99 times out of 100, rather than risking your site's layout being messed up if the devices mobile browser doesn't support Iframes well (which i think is the case for the mobile chrome and opera browsers) Don't get me wrong, i'll use them when it's appropriate and they are useful, but in moderation.
-
wouldn't iframes have a lot of cross browser compatibility issues as well?...iframe site on mobile, the idea alone is nasty!
-
having problems with login page rc engine
spikereloaded replied to xRudeboiix's topic in Other Game Engines
...slightly excessive -
having problems with login page rc engine
spikereloaded replied to xRudeboiix's topic in Other Game Engines
grab the code from both your login.php file and your authenticate.php file and past the code dealing with the login details here. It's hard to diagnose your problem with no view of the code causing it!