Jump to content
MakeWebGames

vinyl

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Everything posted by vinyl

  1. Re: Help with admin.php you'll have to post a wee bit more code for anyone to be of much help. :-D a quick comparison of your original files should yield where the weapon problem is. user_level won't kep anyone from getting attacked, without stats, they are just as vulnerable and will likely reward your players with massive experience. try adding if user_level = '2' then die -you can't attack the staff in attack.php if that's REALLY what you want, just take a look at attack.php and you'll learn something coding it.
  2. Re: Pages! ARRRGH! well, my experience has been what SIlver said...maybe take amother 10 looks at it. -I know I have --or a tag withing an IF doesn't get done...etc </tr>, </td>, </table> can all be culprits on this. generally there's a tag missing a close. Let us know though. We learn something new every day.
  3. Re: I am having a huge problem with my fed jail Please Deathstar, don't derail the thread by trying to start an arguement. I'm asking valid questions about a game I do have some knowlege of. -and know what the owners are and aren't capable of in this case. Just look at it this way..if you did what I'm asking, then the result WOULD be what I said. Nevermind whether it makes sense, is wise, good programming, --just know it's possible, and a game owner being unfamiliar with cause and effect could go set fedjail='1'. If you have other constructive ways for whodini and latino to investigate this or narrow exactly what is occurring, hey, jump in. After all, you're quite capable, very knowledgeable, and would likely find the problem yourself if armed with a few more details. ...but please -go argue with someone else. I'm trying to help her, and you want to argue the wisdom of of a question designed to get more info in order to help. i don't want to make ya mad...I need YOU to get more fixated on what HER problem stems from and help her, not debate the wisdom of what could have led to a game posessing code which may have led to one possible scenario which would tell us where to look for the problem. Agreed?
  4. Re: I am having a huge problem with my fed jail well, what I was driving at was to find out if fedjail was set to '1' in 'users' and no entry in the fed table was made. I've seen this scenario, -when someone edited a file or made a user table entry w/o a jedjail entry.
  5. Re: I am having a huge problem with my fed jail are there any 'days' listed as being in jail? or is it "in fed for ()days." ?
  6. Re: More will less stat gain look for $wu I believe, as in 'will used', adjust as needed.
  7. Re: Trouble with installation. try a phpinfo() as well. let's make sure that's running. -or if you have..disregard.
  8. Re: Phpsessid I don't want to stifle free speech, but I don't know quite where md draws the line on posting potentially maicious code (i realize this doesn't work yet in your game) maybe the members here should just focus on how to preg_replace etc the sig input form to insure such code does not work, -which it doesn't, but with modifications...who knows? he's attempting to get into cpanel???
  9. Re: Phpsessid in you game-mail??? I suppose it's a sessionID,which says "this was my data or what I was doing kinda" but it sounds more like something you would see in your regular email box(s) after having been a victim of a virus, etc.
  10. Re: How to Setup PayPal Instant Payment Notification - Free! please do no post paid scripts
  11. Re: adding 1/4 will pot to the game execute a second query UPDATE users SET will=maxwill WHERE will>maxwill a 25% solution for the original question would be: will=will+(maxwill/4) as any pie divided into 4 pieces = 4 x 25% (willmax is "house will", can be confusing)
  12. Re: log name changes I have the title of Simple. Lazy is an honorary title in recognition of my contribution to the furtherance of laziness.
  13. Re: log name changes well, this way the names kinda 'stick' because the people working on the game see it constantly. --and I hate flat files..but that's me. Thx for the alternative. It's nice to have choices of methods.
  14. Well, I had a table for this, it's annoying when you want to find out who ID:78758743 was last month, but considering it costs you game cash to change your name in some games, this may be more effective and not really stuff too much into your staff notes. in preferences.php find in function do_name_change(): mysql_query("UPDATE users SET username='{$_POST['newname']}' WHERE userid=$userid",$c); print "Username changed!";   BEFORE it, insert: $tempname=$ir['username']; $timedate= date('m-d h:i A'); mysql_query("UPDATE users SET staffnotes = CONCAT(staffnotes, ' \n Name:$tempname to {$_POST['newname']} $timedate') WHERE userid=$userid", $c);   change mysql_query to $db->query for V2 of course
  15. Re: Getting Rid of the 2.147 bil cap in MCcode this may be misleading to some as if money is INT(11) it's still gonna be capped at 2.14...bil being a function of the sql type & size -yes?
  16. Re: Prolly another dumb question   $wu=(int) (rand(1,3)); if ($ir['will'] >= $wu) { $ir['will']-=$wu;   to answer the first part of your first question. $wu, will used. change the random used value, or divide $wu/2 or whatever...in gym.php
  17. Re: Tracking Advertising sounds great, you have a useful game tool there.
  18. Re: Crime Formula http://criminalexistence.com/ceforums/i ... pic=2541.0
  19. This topic has been moved to DBS mod request. [iurl=http://criminalexistence.com/ceforums/index.php?topic=3187.0]http://criminalexistence.com/ceforums/index.php?topic=3187.0[/iurl]
  20. Re: SQL querys well in the mod you have, the first browser window executed: mysql_query("DELETE FROM equipped WHERE eq_id={$_POST['ID']}",$c); or something along those lines... so at least have this, although the existing script does NO checking, and this does little.: $checkid=mysql_query("SELECT * FROM equipped WHERE eq_id={$_POST['ID']} AND eq_userid=$userid",$c); if(mysql_num_rows($checkid)== 0) { echo "You ain't got nuffin there!"; } else { global $ir,$c,$h,$userid; mysql_query("INSERT INTO inventory VALUES('',{$_POST['item']},$userid,{$_POST['qty']})",$c); mysql_query("DELETE FROM equipped WHERE eq_id={$_POST['ID']} AND eq_userid=$userid",$c); echo "Item back in inventory."; } echo "[url='inventory.php'][back to my stuff][/url]"; [i]whatever else[/i]   I hope that's correct, I don't have this mod version but have seen it before, and was hoping someone who had fixed it would post, but that's my best recollection of it.
  21. NEAB engine FREE edition Welcome Alain. Thank you sir, your contribution is appreciated and most gracious of you.
  22. Re: Money Cap you may want to make generous use of the search feature here, there's a wealth of knowlege for a new game owner herein. try this: http://criminalexistence.com/ceforums/i ... pic=2147.0
  23. Re: How to get NPC's in the Battle Tent and Not Players edit the array of bots in your script
  24. Re: SQL querys you may want to remind somone what version you are running of the game and the mod. several variants or equip wep exist I believe. i.e., do you have a 'equipped' table? -- or just fields in 'users' which store the item_id, etc. does unequip(by whatever name) receive an item_id ? and is the unequip script just a default case switch? if so, we may know what version you have.
  25. Re: Proxy Deny Script[free] you da man!
×
×
  • Create New...