Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 11-12-2011, 07:24 AM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 100,317
Tequila is on a distinguished road
Default

Quote:
Originally Posted by SilverDragonTears View Post
Can you show me line 59? My eyes are too bad to count to find it ;)
Sure:
PHP Code:
    else {$v1='0'; } 
There is a bunch of code like that in the script. Here is where I got the script if you want to see what it's supposed to do.
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
Reply With Quote
  #12  
Old 11-12-2011, 03:01 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,018
Hall of Famer is on a distinguished road
Default

For some reason the script wont run while I was betatesting it(not even giving errors, just all blank). I'd rewrite your codes in this way:

PHP Code:
if ($random_1=='1' || $random_2=='1' || $random_3=='1' || $random_4=='1'$v1='1';  
else 
$v1='0'
The brackets in if statement can be tricky. I am assuming you are using a shortcut since you only have one line of codes following if and else, but the best way to handle this is to get rid of the bracket. Once you have brackets in your if statement, you will have to write separate lines like this:

PHP Code:

if ($random_1=='1' || $random_2=='1' || $random_3=='1' || $random_4=='1'){ 
    
$v1='1'
    } 
    else {
    
$v1='0'
    } 
Hopefully this solves your problem. I cannot test your script on my site there is no guarantee that I make no mistakes. Also it seems that you are trying to utilize a part of PHP and javascript codes?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #13  
Old 11-12-2011, 09:29 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 100,317
Tequila is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
For some reason the script wont run while I was betatesting it(not even giving errors, just all blank). I'd rewrite your codes in this way:

PHP Code:
if ($random_1=='1' || $random_2=='1' || $random_3=='1' || $random_4=='1'$v1='1';  
else 
$v1='0'
The brackets in if statement can be tricky. I am assuming you are using a shortcut since you only have one line of codes following if and else, but the best way to handle this is to get rid of the bracket. Once you have brackets in your if statement, you will have to write separate lines like this:

PHP Code:

if ($random_1=='1' || $random_2=='1' || $random_3=='1' || $random_4=='1'){ 
    
$v1='1'
    } 
    else {
    
$v1='0'
    } 
Hopefully this solves your problem. I cannot test your script on my site there is no guarantee that I make no mistakes. Also it seems that you are trying to utilize a part of PHP and javascript codes?
I'll try that tomorrow afternoon (once I'm out of work). I hate closing and opening the next morning. :/

In other news, I should be able to give my won't be here notice for Turkey Day (volunteered for 8 hours) and That Evil Shopping Day (volunteered for 12 hours) after shortly.
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
Reply With Quote
  #14  
Old 11-13-2011, 04:30 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,018
Hall of Famer is on a distinguished road
Default

Alright, good luck then Nyxi. Again I hope this will work out for you, give a try on your site and lemme know if you encounter any other problems.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #15  
Old 11-13-2011, 06:09 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 100,317
Tequila is on a distinguished road
Default

Will do. :3
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
Reply With Quote
  #16  
Old 11-15-2011, 01:16 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 100,317
Tequila is on a distinguished road
Default

I think I'll skip this lotto script, and go back to my Tic Tac Toe game instead. I'll have to come up with a new way to run a lottery.
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Timezone Error Please Help FurryPinups Questions and Supports 4 07-20-2020 03:59 PM
Fatal Error with Myadopts page Abronsyth Questions and Supports 2 12-29-2014 03:54 PM
Fatal error: nesting level too deep Skaiya Questions and Supports 2 03-30-2014 02:43 PM
Shop Appearing As Fatal Error Hwona Questions and Supports 6 09-09-2013 06:03 PM
ACP Error : Fatal error: Class 'AppController' not found in... Isura Questions and Supports 39 06-17-2013 02:26 AM


All times are GMT -5. The time now is 01:43 PM.

Currently Active Users: 289 (0 members and 289 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636