
Kasabian
Members-
Posts
152 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Kasabian
-
I think some of you need to start reading the topic correctly before posting. I cant find anything but this little case study that someone has done on Effects with GD: Case study that has a little bit of code under Drop Shadow, i havent tryed it though. Hope this helps
-
This is the query from the attackbeat.php, which will put the attack in hospital once they have lost. Change the $hosptime variable too the min and max time you want that player to be in hospital: $hosptime=rand(15,30); $db->query("UPDATE users SET hp=1, hospital=$hosptime, hospreason='Lost To <a href=\'viewuser.php?u={$r['userid']}\'>{$r['username']}</a>' WHERE userid={$userid}"); Just put that code before the "print "You lost to {$r['username']}";" line. Hope this helps
-
Is it possible to have a domain linking to a existing sites subfolder. For example you have two domain names and one server: http://www.websitename.com http://www.otherwebsitename.com Can you set up the second domain name http://www.otherwebsitename.com to go to a folder on http://www.websitename.com, without it being a redirect. So you are able to see the file names of that server http://www.otherwebsitename.com/file.php without using a redirect or a frame to display the content. Thanks, Tom
-
Login template [V2] $10 For uncoded $15 for coded
Kasabian replied to CrackTheCoder's topic in Paid Modifications
RE: Login template [V2] $10 For uncoded $15 for coded You cant use HTML in your post, Put these tags around your link: That will make it show correct. -
You need a good Illustrator or someone really handy with Photoshop and creating it with pictures. Another way too do it is the same as above but make it using Flash, that way you can add more function to the animations without worrying to much about file image sizes. I would look in to them if you don't already know about them. Hope this helps
-
To anyone thinking of going to see zombie land... DO IT! Its gory (mild) = WIN! Zombies = WIN! Emma stone FIT! = WIN! Funny as hell = WIN! Going to see it again = WIN! Ghost busters guy = WIN! The WIN list can go on for some time so i am going cut it short here... Best movie i have seen in along time, i suggest going to see it even if you don't like these kind of movies! What does everyone else think? ( Disagree with me and chuck Norris will be after you!)
-
I did it by putting a if function around the information checking to see if the user is attacking, if they are don't show the info, if there not then show it. Something along the lines of this: if ($_SESSION['attacking']=1) { // put the code or text you want to show if the user is attacking } else { // Put the normal information in here } make sure the $_SESSION['attacking'] is unset or set back to 0 when the user is finished attacking or left the fight else there not going too see there information for a while.
-
Getting Started Making A MMORPG Browser-Based Game
Kasabian replied to Snake's topic in Game Support
"Need Some Info On Which Page To Start With In Making The Game" I normal start from making a secure login and database connection which i can then use as a sort of platform then build off that. But You can just dive in to the project but from my experience of doing this it always seems to come to a halt or seems to become a on-going project. The first step i would recommend is planning everything out instead of just starting to program a page and moving on, is to get a clear mind set of what the end goal is. My personal way to do this which works for me, is to do a list of features, story of game, etc.. Which then can be broken down in to subsections (under headers). Using a spider diagram for this also seems to help me. This way you can split it up in to steps and know what you need to do next after you finished a step. Planning is key to any project so i would advise putting some thought in to it Just in case you get mixed up i don't mean this kind of spider diagram :D I know, Bad joke. Sorry -
Getting Started Making A MMORPG Browser-Based Game
Kasabian replied to Snake's topic in Game Support
If you follow these topics, it explains it will well when complete: Mdshare Guide About the index file, The way it runs in Mccodes is to check if the user is logged in or not, then redirect them to the corresponding page. so if the player is logged in redirect them to "loggedin.php" and if there not logged in then redirect them to "login.php". You could do this in another method but to make your site look smooth you will need to have a check to see if there logged in or not. hope this helps -
O right sorry, Well i don't think there is any 'packs' of images. You just have to create your own using un-copyrighted images.
-
Well i don't know how your using the search but i typed in Item pictures and this came up: Item Pics
-
Yeah, Like curt said i would do it using Timestamps. Add a new row in your settings called something like fivemincron. Then get it to update that record with a timestamp when the cron is run. then on the main page just simply format the time stamp static using php or put it in to a JavaScript function to make it dynamic and count down in real time. This might be helpful for the javascript part: http://www.phpfreaks.com/forums/index.php?topic=228348.0
-
Re: Simple Template V2 Yep, I made this 2 years ago when i first started playing around with php.. I dont run a game anymore.
-
Re: Simple Template V2 Glad someone found it useful :-D
-
Re: House pic trouble have you got hPIC in your database table? have you added a picture to that table?
-
Re: House pic trouble Can you post the error you getting? check that you have a hPIC in your database, if not you need to add it.
-
Re: Finding items Check the column's that are in inventory, you may have one for damage to the item or somthing of the following. if so just ad another value to that query e.g: $db->query("INSERT INTO inventory VALUES (' ', $item, $userid, 1,' ')",$c); You should also start to think about securing them.
-
[mccode v2] Advanced(isher) Level Upgrade Mod.
Kasabian replied to Becon's topic in Free Modifications
Re: [mccode v2] Advanced(isher) Level Upgrade Mod. hahahahahaha? or do you think there should me more? -
[mccode v2] Advanced(isher) Level Upgrade Mod.
Kasabian replied to Becon's topic in Free Modifications
Re: [mccode v2] Advanced(isher) Level Upgrade Mod. Im not too sure he knows what a variable is or what its used for lol -
Re: What do you nice reading, read it about 20 years ago, and hell, even these days, that damn book is just on top of actual facts (some of them though) :) kafka, nietsche, dumas are also a couple of my favs :) Ye i need to start reading it again, I find it hard to get my head round it sometimes. Good book though. i can see it reflecting on some aspects of life to this date lol
-
Re: What do you Ye im reading George Orwell's nineten eight-four right now.
-
Re: Can I have some help with users profiles? This is what i use: if($r['display_pic']) { print "[img={$r[]"; } else { print "[img=pictures/nopic.jpg]"; } If the display_pic field is left blank then it goes back to default. change src of the default one
-
Re: Simple Template V2 i will post the header some time this week as i just got left 4 dead on xbox ... amazing game