Jump to content
MakeWebGames

Vorlen

Members
  • Posts

    287
  • Joined

  • Last visited

    Never

Everything posted by Vorlen

  1. Re: Mod ideas     Not a bad idea, should come up with a few of the regulations and stuff. I would recommend it be that we all build a large mod, something with a broad base, such as Race Tournaments or something so that we all have the same task, but there's option for alot of change. That was just an example, but yeah. :) Anywho, I like the idea, go for it! :mrgreen:
  2. Vorlen

    stats?

    Re: stats? In userstats you should be able to change it to BIGINT 20, which oughta let you go up a fair amount more.
  3. Re: General PHP table Question <td width=' '> you can do it so that it's a percent of the page, or number of pixels.
  4. Re: setting up ?? I can set it up, and do a few mods for you, not too sure how many mods, but I'd have no problem doing the setup for you. I'll fix the main bugs, as well as toss in a few custom mods made solely by me, or one of the DreamBurst Studios crew. Let me know what you think. If you do go the 200, which will be 125 to me, I will set it up, fix bugs, add in a bunch of mods, of your choice from my list, AND set up a forum, from a variety of forums that I can set up for you. If you have MSN, my name is [email protected] please contact me. I will do my best to aid you, I can help with alot for you. Let me know asap.
  5. Re: CRONS Do you have the option, in CPanel, for "CronJobs"?
  6. Re: Give Item Error Pop the code for the query here, or PM me and we can go over it together. :)
  7. Re: A question to sort out all the arguments over coding copyright..... I think, that like Snatchy said, you'll find that when you write something, and then I write something. For example, if you write a cyberbank xfer mod. I write the same thing. If we compare it, it'll be bloody close to the same. To be honest, I think that in the end, nothing's really ours alone. Only when you make the idea yourself. For instance, I make a mod that I have never seen anywhere else, crystal crops. Someone about two days later asked me about my plants mod, I didn't tell anyone, and yet people already came up with a name for it :p So, in the end, it's all visuals. If you can make it LOOK different, it's yours. In my honest opinion. Could be more sides to it though :)
  8. Re: Hospital time Pff, that's too much work GO TO itemuse.php find the line in medical items that says UPDATE users SET hp=hp+{$fr['health']} make it look like UPDATE users SET hp=hp+{$fr['health']}, hospital=hospital-{$fr['health']}
  9. Help needed straightening out my game. Wolf told me (as wolf is at work so I'll tell you) that it was Young Buck, whom, I might add, sold him 1.1 codes, so it was even more illegal lol, however, of course it doesn't stop there, he sold SpellByte/My mods as well, possibly other peoples... so hopefully YB get's his just desserts
  10. Help needed straightening out my game. I'm not the best, but since I'm not "Uber" I don't charge a bajillion $ per hour, matter of fact depending I'm usually very inexpensive (You can ask Tydar, Ricer, and a couple others whom I have coded for/with.) Anyways, msn me: [email protected] or PM me here. I am willing to help :)
  11. Counting (nr game) 782
  12. Jail break Yeah, users didn't like it, because our crimes are so hard to succeed. Anyways, the special mod will be coming soon enough, I'll probably work on it when I'm in Minneapolis with a bunch of us :)
  13. [Lite] Bugget streets v1 Possibly, I didn't know if EXP Needed was the remaining amount left for your level, or the total amount needed for your level. That may work, might give it a try. If there are any other features wanted for this particular mod let me know.
  14. [Lite] Bugget streets v1 Okay, here's what MINE looks like (Go ahead and change stuff, for the most part you'll have to change "Dough" to "Money", and "Vials" to "Crystals" because I changed those in script for no apparent reason.) street.php <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=dough_formatter($ir['dough']); $vm=dough_formatter($ir['vials'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$vm); $h->menuarea(); print "[b]You are currently scavenging the streets[/b] "; if ($_GET['action'] != 'scavenge') { print "Holy smokes! You should scavenge for some serious shit dude. Maybe grab some money off the ground, or get some Experience... maybe even find a special item or two...? Start goin! You have {$ir['turns']} turns left for today and will be topped up to 100 at newday. "; print " <form method=post action=street.php?action=scavenge><input type=hidden name=action value=scavenge><input type='text' name='steps' value='{$ir['turns']}'> <input type=submit value='scavenge'></form>"; } else { $steps=abs((int) $_POST['steps']); for($i=0;$i<$steps;$i++) { if ($ir['turns'] < 1) { print("You do NOT have enough steps to scavenge the streets any more. Come back at newday. "); }else{ $chance = rand(1,15); mysql_query("update users set turns=turns-1 where userid=$userid",$c); if ($chance == 1) { $amnt=rand(50,200); if($ir['dough'] > $amnt) { print "As you scavenge the streets you see a hobo; he asks you for \$$amnt and you tell him to piss off. Then he proceeds to smack the shit out of you. He takes the \$$amnt anyway. "; mysql_query("UPDATE users SET dough=dough-{$amnt} where userid=$userid",$c); $ir['dough']-=$amnt; } else { print "As you walk the streets you see a hobo he asks you for 1$ you tell him to piss off he smacks you over the head and looks in your wallet. Finding it almost empty he just runs off with it. "; mysql_query("UPDATE users SET dough=0 where userid=$userid",$c); $ir['dough']=0; } } if ($chance == 2) { print "Nothing here. "; } if ($chance == 3) { $gained=rand(20,90)*$ir['level']; print "You found a bag of cash on the side walk you open it up and find [b]\$$gained[/b] was inside. "; mysql_query("UPDATE users SET dough=dough+$gained where userid=$userid",$c); } if ($chance == 7) { print "You see a guy getting mugged, but you decide to keep walking. You don't want to be in his shoes anytime soon. "; } if ($chance == 4) { print "While exploring the streets you found some cash, but a hobo came quickly behind you and whacked you over the head. You lurch in suprise and the hobo takes the cash and runs off."; } if ($chance == 5) { $gain = rand(5,20); print "While searching the streets you found [b]$gain[/b] vials."; mysql_query("UPDATE users SET vials=vials+$gain where userid=$userid",$c); } if ($chance == 6) { $gain = rand(50,100)*(floor($ir['level']/2)+1); print "While searching the streets you found [b]\$$gain[/b]. "; mysql_query("update users set dough=dough+$gain where userid=$userid",$c); } if ($chance == 8) { print "Nothing here. Just a few drunk bums. "; } if ($chance == 9) { print "You see a small item on the ground, and decide to pick it up... wonder what it is? (Hint, look in your inventory lol)"; $itemidexplore = 40; mysql_query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1)",$c); print" "; } if ($chance == 10) { print "You see a syringe on the ground, and decide to pick it up. Looks deadly enough..."; $itemidexplore = 16; mysql_query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1)",$c); print" "; } if ($chance == 11) { print "Nothing here. "; } if ($chance == 12) { print "Nothing here. "; } if ($chance == 13) { $expcur=(($ir['exp']+$ir['exp_needed'])/100); $exp=(($expcur)*rand(1,5)); print "You got in a scuffle with a bum, and WON you gained some EXP!! (Go have a look!) "; mysql_query("UPDATE users SET exp=exp+$exp WHERE userid=$userid",$c); } if ($chance == 14) { print "Nothing here. "; } if ($chance == 15) { $hosptime=(int) rand(1,5); $loseruser = $ir['userid']; $reasonhosp = 'Stepped on a land mine while scavenging.'; mysql_query("UPDATE users SET rehab=$hosptime WHERE userid=$loseruser",$c); mysql_query("UPDATE users SET rehabreason='$reasonhosp' WHERE userid=$loseruser",$c); event_add($ir['userid'],"You stepped on a land mine while exploring. Do be a bit more careful next time...",$c); die ("You stepped on a land mine. [b]Good news[/b]: You aren't dead [b]Bad News[/b]:You have to stop exploring and go into Recovery "); } $ir['turns']--; print"you have [b]{$ir['turns']}[/b] steps left "; } } if($ir['turns']==0) { print "Sorry, all turns used! "; } else { print " <form method=post action=street.php?action=scavenge><input type=hidden name=action value=scavenge><input type='text' name='steps' value='{$ir['turns']}'> <input type=submit value='scavenge'></form>"; } } $h->endpage; ?>   Now, I would like some help here, because for the EXP GAIN one, the intent is to give 1-5 % exact, but in this case for some reason it gives 1-like 9 or something dumb, anyone that has a code that would give a RANDOM PERCENT towards EXP it would be greatly appreciated. But for now, this does the job. :) Well, any comments or questions, please ask: If you want me to post up the MC Code Version, instead of MY CODE version I can do that for you as well.
  15. [Lite] Bugget streets v1 lol Thanks much Seany. I added the street to my game and was about to attempt it, but now that I have your aid, you can simply change the queries to add EXP to a user so it's easy enough. I myself would code it pretty much the same, so I guess I'm inefficient too (only if you are :p)
  16. [Lite] Bugget streets v1 I'm about to add the streets feature to my game, I will muddle about with the code to see if I can add items and exp to the outcomes. I'll post it here if I do :) OH and SpellByte, PLEASE contact me via MSN at [email protected] OR email using that same email. Thanks.
  17. Jail break I agree, Dlion, keep up the good work, I'm actually in the final stages of planning that special mod, and then I will get to work on it. Hope it'll be done by mid October. Nice job Dlion, I'll have to add jail and jailbreak later this week I suppose :D
×
×
  • Create New...