Jump to content
MakeWebGames

Snake

Members
  • Posts

    63
  • Joined

  • Last visited

About Snake

  • Birthday 01/07/1967

Snake's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. ok then....my bad....i apologize....looks good though
  2. I know this may be a dumb question,but why the hell would you want anything in a game besides maybe a chatroom to open up in another tab,or page,don't this target="_blank" make it do that....it's on every link in this city page code....i just don't understand why it would be made like this
  3. i know about the ereg being useless,or not used in php 5 now....and i did it as he said....got admin e-mail invalid...same **** i been getting from changing ereg to preg_match....and adding the / and $ where he said to add it....doesn't work.....nothing i've tried has helped me get through the 3rd step of install
  4. if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { here is the rest of the ereg i think will error within the installer.php file....tried sending the file text to you illusions,but char limit would not allow it this bit of code is all the ereg thats in it
  5. that ended up the same error...saying admin e-mail was invalid....using the bit of code you have here
  6. thanks,that worked,but now i have the same ereg error for line 14....which is if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { actually i think this is lines 14 and 15....but getting the same error....changing just ereg to preg_match on the 14 line makes it say admin e-mail invalid
  7. Deprecated: Function ereg() is deprecated in......installer.php on line 6....this is the error this is line 6 if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) {
  8. did that...didn't help
  9. Can't just ignore this error....mainly because i don't get the login after the 3rd step errors from the ereg thing....thanks...guess i'll look elsewhere for a mccrappy code solution
  10. Not sure how old this post is,but i'm having the same install problem,but it only says it for line 6....which has the ereg deprecated error....replacing ereg,and eregi with preg_match doesn't help...unless i'm replacing ereg wrong....need the fix for this....any more info would be greatly appreciated. Respect Snake
  11. Attack Pics i added the code as paddy had it,and i only seen my display picture....not the games default image i made for the game guess i'll figure it out sooner or later....need security more important right now anyway....after all this time trying to learn how to fix the default mccrappy files it's not getting any better....can't figure out what to put for each GET and POST secures....i know ones for numbers for each,and ones for strings,but can't figure out how to make it work for either
  12. event_add for courses done guess nobody in this whole forum knows what the hell i'm talking about.....i am getting the event from the courses being finished,but the word Event does not get bold letting you know you have an event from courses being finished....never mind i guess....i'll figure it out myself....which i'm sure you will comment on me doin anyway....keep that crap to yourself
  13. Attack Pics the way paddytm mentioned about adding attack images while attacking somebody....works perfect to show the attackers image...which was me when i was testing it just now....what if you have your viewuser set for a game default image to display if they don't have a display pic added to their profile....was wondering how you would get it to show both default display pics,and those who have set them....i can set the size later here is a code set i have in my viewuser   print "[img={$r[]"; } else { print "[img=images/gamedefaultpic.jpg]</td>"; }   how would i add that to paddy's code to work for both players attacking paddy's code is below   print "<table width='50%' align='center'><tr><td align=right> {$odata['username']} Health: </td><td><img src=greenbar.png width={$vars['hpperc']} height=10><img src=redbar.png width={$vars['hpopp']} height=10> [img={$odata[]<tr><td align=right> {$ir['username']} Health: </tr></td><td><img src=greenbar.png width={$vars2['hpperc']} height=10><img src=redbar.png width={$vars2['hpopp']} height=10> [img={$ir[]</td></tr></table>"; } Any Help On This Is Appreciated Snake
  14. event_add for courses done yeah the event shows,but it doesn't get bold to show you have an event from courses done....is what i was talking about...also the cronday takes care of the message....it just the event not getting bold when it needs to for the course being finished
  15. not sure this is in the right place for this post....if not please move it....never made a new thread before....anywho....was wondering if anybody could tell me how to add the new event code for when courses are done making your event word get bold telling you,you have an event from courses being done....i'm thinking it's in the cronday file where it's added,but not sure what the event_add needs to look like....any help would be greatly appreciated....Thanks in advance Snake
×
×
  • Create New...