Vorlen
Members-
Posts
287 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Vorlen
-
Re: please help with HOF I would suggest doing this. Add a category to your usertable called "attacks" change attack system so when you attack it adds one to your attacks count, win or loss. Then, you simply call that number and order by the highest to lowest, limit 20. :) Make any sense?
-
Re: Would anyone like to help me out? Background should be clear, so whatever you put it on it'll use that as background. :)
-
Re: Would anyone like to help me out? http://www.foto-genius.com/view.php?img ... r.gif.html If a color change is needed, let me know. :)
-
Re: Would anyone like to help me out? I spoke to Kraig, and he liked the idea, I'm having an "I Donated to Vorlen" icon. Which'll probably be a spinning V of sorts. If anyone that is doing something like that wants it, they're more than welcome, I'll post up a link in a bit when I get it. :)
-
Re: Would anyone like to help me out? I really appreciate this guys. @ Arson - Coming from you, that means quite alot. Thanks for your support. @ Michael - Thank you, that would be greatly appreciated. I think what I'll be doing, is offering a sort of choice of things to "Get in return". One of which is lessons, when I take the class, once finished I'd be more than happy to share the knowledge that I gained from the class. I'll try and even take some nice point form notes "Coles Notes" so to speak. OR I'll be happy to help on your game, as most of you whom can help, own a game. OR I can pay you back as I get the money. :) Once again, I reallly appreciate the help. I'll do my best to help the community when I get the course, I try my best now but it's not quite as good as it could be lol. Well, I have to get back to one of the mods I'm doing. Thanks again. Sincerely, Vorlen.
-
Re: MC2 Codes - Are they worth it? V2 also requires that when you call the global *variable* you must call $db as well, so where it says global $ir,$h,$c you need to have $db as well :)
-
Hey, I know this is, well, begging in a way. But I would appreciate it if you hear me out. I am trying to raise enough money to take the zend php course, if I can get enough together, I'd be more than happy to help anyone out that helped me get there. I'm looking to improve my skills, and anyone that I have coded for will tell you that (or I hope that they will) I am always happy to do a bit extra. I was hoping to get some help, in exchange for me helping you guys anytime. Of course, if you don't want to help I totally understand, I'm just trying to better myself, and am hoping that since I cannot get the money myself, I could try and get some aid. Thanks for listening, Vorlen.
-
Re: Help For V1, 1.1 or LITE, it's mysql.php However, for V2 it is config.php BUT, it is NOT that file that is doing this most likely. Go into your cpanel, find "MySQL Databases" and click it. On that page you will find a spot to ADD User: to Database Use the dropdown to select the user, and then the other dropdown to select the database. Once done, you click to add the user to the database, and it should start working for you. Hope that helps. :)
-
Re: Donator ! means NOT directly translated. Simple as that, none of this BS about "in int format blah blah" Just say it means NOT. SO if (NOT donatordays) shorter is if(!donatordays) Hence the ease of typing.
-
Re: Gang war surrender error You must have. Either that or you did something wrong in the database. Put the original in and tell me what error it gives you.
-
Re: Gang war surrender error Look, you MUST have edited the code, MUST have. Go into your original codes thing, and take that page. You got the codes from Dabs, so in there you will find yourgang.php which will work fine.
-
Re: Gang war surrender error That shows the gang wars themselves, nothing to do with surrendering.... I think you meant the part in yourgang.php gang_staff_surrender.... Here it is. function gang_staff_surrender() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { print "<form action='yourgang.php?action=staff&act2=surrender' method='post'> Choose who to surrender to. <input type='hidden' name='subm' value='submit' /> Gang: <select name='war' type='dropdown'>"; $wq=$db->query("SELECT * FROM gangwars where warDECLARER={$ir['gang']} or warDECLARED={$ir['gang']}"); while($r=$db->fetch_row($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $d=date('F j, Y, g:i:s a',$r['warTIME']); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); print "<option value='{$r['warID']}'>{$them['gangNAME']}</option>"; } print "</select> Message: <input type='text' name='msg' /> <input type='submit' value='Surrender' /></form>"; } else { $_POST['war'] = abs((int) $_POST['war']); $wq=$db->query("SELECT * FROM gangwars where warID={$_POST['war']}"); $r=$db->fetch_row($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $db->query("INSERT INTO surrenders VALUES('',{$_POST['war']},{$ir['gang']},".$r[$f].",'{$_POST['msg']}')"); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); $event=str_replace("'","''","{$gangdata['gangNAME']} have asked to surrender the war against {$them['gangNAME']}"); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',".$r[$f].",unix_timestamp(),'$event')"); print "You have asked to surrender."; } } If that doesn't work, that PROBABLY means you didn't input all the SQL properly.
-
Re: Gang war surrender error Put the code here that is messing up. :)
-
Re: Cities help It wont show up unless you are equal to, or above the required level.
-
Re: ***!!FULLY WORKING LEVEL UPGRADE MOD HERE FREE!!*** Looks like a pretty good mod. Yeah, I usually think in terms of easily changed things, levels take a while, and have to go one through the next. While my mind said to treat it like something like money, that doesn't have to hit 70 before 71. :P Sorry again, Good job on the mod. :)
-
Re: ***!!FULLY WORKING LEVEL UPGRADE MOD HERE FREE!!*** Okay, then >69 lol Mind you I doubt they could jump from 69=71 without hitting 70, my bad on the comment. Sorry. :)
-
Re: ***!!FULLY WORKING LEVEL UPGRADE MOD HERE FREE!!*** if($ir['level']==70) { die("The Maximum level is 70."); } Curious, would that be >70 ? Just a Q. :)
-
Re: ****FREE Mining mod**** You might want to consider the idea of it being a task of breaking into official's cabins and safe's for their loot lol
-
Re: ****FREE Mining mod**** Mining levels are not effected by standard users' levels. It starts at 10, when you move your mining level it goes up, luckily it doesn't depend upon the users' level. :)
-
Re: ****FREE Mining mod**** I edited the first part, so that it SHOULD work for V2. If not, I'll covert the mysql_query to $db->query stuff, but in my opinion I don't see why it's needed. But I'm not "1337 h4xx0r' lmao Let me know. :) PS, yeah I figured that one out after a while, I added the get_mine(); to my index.php as well so that it updates when they login, not that it needs to lmfao.
-
Re: ****FREE Mining mod**** Did I miss something? Does it have a spot where it sets mine_exp and mine_expneeded ?? Or am I just crazy? Same for the other stuff lol
-
Re: Quick Question :O haha Nice. Hm, maybe it would get experience for endurace :? LMFAO
-
Re: Counting (nr game) 894 - I looked at a quaint little house to buy the other day. :p word: Toadstool
-
Re: BUG HELP!! then delete the donatordone and willpdone files from your server. Just to be sure.