
vampireduff
Members-
Posts
77 -
Joined
-
Last visited
vampireduff's Achievements
Newbie (1/14)
0
Reputation
-
I had no probs with the code, when I added it I had no errors, did you follow the instructions fully? did you use the first post of the job.php? there was a problem with the first one which is why I post another job.php to use instead. when did you get this error? while adding a new job? maybe you are setting the rewards to high???? also I noticed you didn't enter nothing for the work expn, try adding something in that field and lowering the others a little.
-
on my game wheni go to use some thing frm my invertory its useing 2 items at one time can some one help me make it so players only use 1 at a time please
-
I have a delete funtion working on the item market mod that comes with mc v2, but when I tried to add the same funtion to this mod the del, option does not show. I have played around with it for a bit but still can't get it to work. same with item pics, I had item pics add to the mc v2 one, but when I tried to add them to this one it just showed this {$r['itmPIC']} instead of the pic. however it is the del option I would really like if it would work so I could get rid of all the old items. it saves time from going into to database and doing it that way. when I get a little time later I will post the code for the delete funtion I have and maybe the item pic one too, see if anyone can tell me why it is not working with this code :) thanks
-
got it working, looks good, is there away I can add link in with the buy, info links that would allow staff to remove items that have been on the market for awhile say if the player has quit the game or something I would like to remove the item or delete it, I have tried a delete code which I added in but it doesn't work with this code.
-
I copied and pasted the code into notepad and then put it on my test game on my pc, and I get this error. Parse error: syntax error, unexpected $end in ***xampp\htdocs\****************\itemmarket.php on line 380 I re-copied the code into notetab pro and the code is alot longer than what is listed about which has 409 lines so I am guessing that the error is on line 380 on my list but since the code above is wider meaning less lines the error is on line 357 could anyone help with this please :)
-
I did want it removed not long after I put it up because it looked like no one was interested in it, look at the date on the replies you will see what I mean. but now it looks like it is gaining some interest so I would be happy to keep it on here. so I am not just given some out just to take it back I did put this up in 2009 and well it is almost the end of 2010. it is a good mod though it slows down players from buying there way to the top of the jobs and things this way every player has the same chances :)
-
If you look at the first post and follow the instruction you will what needs to be added in the cron hour cronjob. this all works because I am using it on my game and have been since I made it. however I have requested this post be removed be it is still here at the moment. hope this helps you if not message me and I will go through it all again with you. :)
-
thanks for that detailed explaination, I will set it back to its default setting, I don't want to make it too easy for them. I have honors set for set number of busts and I don't want to give them out too easy too, they will just have to work at it :)
-
basic mcc version I think. don't think I've changed it at least I don't remember changing it. anyway here is where I thought it need changing. } $mult=$r['level']*$r['level']; $chance=min(($ir['crimexp']/$mult)*50+1, 95); if(rand(1,100) < $chance) { that is line 22 to 26 in jailbust.php I changed (1,100) to (1,50) but my players say it is still hard to bust others
-
My players are saying that they find it hard to bust others from the jail. is there away to make this a little easier for them? I have looked in the jailbust.php but not sure what I'm looking for any help would be great
-
Are you using the basic donation that comes with mccodes or do you have a custom one?
-
I have an old code for this, however when player add comments it is saying it is from the person the comment is for, here is the code to be entered into the viewusers. can anyone see why this is happening. //User Comments Start print "<tr><th colspan=3>User Comments - [url='comments.php?userid={$r[']Add a comment[/url]</th></tr><tr><td colspan=3><table width=100% border=0 cellpadding=0 cellspacing=1 class='table'><tr><th>Time</th><th>By</th><th>Comment</th></tr>"; $sql = sprintf("SELECT * FROM ucomments WHERE userto=".$r['userid']." ORDER BY time DESC"); $q = mysql_query($sql); if(!mysql_num_rows($q)) { print "<tr><td colspan=3 align='center' style='padding-top: 7px; padding-bottom: 7px;'>No comments for this user</td></tr>"; } else { while($y=mysql_fetch_array($q)) { $sql = sprintf("SELECT * FROM users WHERE userid=".$y['userfrom']); $g = mysql_query($sql); if(!mysql_num_rows($q)) { print ""; } $g = mysql_fetch_array($g); print "<tr><td width=30%>".date('F j, Y g:i:s a',$y['time'])."</td><td width=20%>[url='viewuser.php?u={$g[']{$g['username']}[/url] [{$g['userid']}]</td><td>{$y['message']}</td></tr>"; } } print "</td></tr></table>"; //User Comments End
-
I got it working fine now. like I said, one of the mods I was running used a cron, but instead of adding the cron to what ever job it needed to run it (in my case the cron_day) it had its own cron. which meant I was running two crons side by side doing the same job. which made it all run twice as fast. I removed the mod and the cron. since then everything has been running great.
-
where do I add this code?: INSERT INTO `items`VALUES ( '0', '0', 'None', '', '0', '0', '0', '0', '', '0', '', '0', '', '0', '0',); what line in staff_courses.php
-
I think I found the problem but not sure until tomorrow. but I had a mod that ran a cron the same as my day cron so what it was doing was running everything twice. making it fun twice as fast. I have removed the mod and the cron not everything is running at normal speed however I can't tell about the donators day till tomorrow.