Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Have errors in your coding or want something specific added to your game? Check out our paid support here.


This forum is now closed and has moved to a new location! Click here to find out why.
Pages: 1 [2] 3 4 5

AuthorTopic: Player Shops  (Read 11249 times)

Arson

  • Global Moderator
  • Basic Member
  • *****
  • Reputation Power: 98
  • Arson barely matters.Arson barely matters.
  • Offline Offline
  • Posts: 74
    • View Profile
Re: Player Shops
« Reply #15 on: April 24, 2009, 02:37:46 PM »
i still cant get this to work  ! plz hit me on msn jaynthelma05@live.com

You were one of the first to purchase this mod.
You should have come to me a long time ago!!

I have you on msn already, I'll send you a working copy.
v1 or v2?
Logged
List of the Best Text Games on the Interwebs!
If you own a game, you need to list it on BestTextGames.com

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #16 on: April 26, 2009, 12:00:09 PM »
Got it :)
Looks great, can't wait to install it  ;D
Logged

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #17 on: May 02, 2009, 05:12:52 AM »
Has anyone got this?
Cause I need some help putting a few things in the right place
Logged

Harley

  • Basic Member
  • *
  • Reputation Power: 1
  • Harley has no influence.
  • Offline Offline
  • Posts: 7
    • View Profile
    • Email
Re: Player Shops
« Reply #18 on: May 05, 2009, 04:22:53 PM »
I purchased this but have some issues.

First off, I tried to put this link into my main menu and got an error.
$checkforshop=$db->query("select * from usershops where userid=$userid");
if(mysql_num_rows($checkforshop)!=0)
{
print"<a href='myshop.php'>Your Shop</a>";
}


Then I got this error when I tried to go to my shop.
Fatal error: Call to a member function on a non-object in /home/colone/public_html/myshop.php on line 35


And this is line 35 of that code.
$getitems=$db->query("select * from usershopitems where shopid={$us['id']}");
$total=0;


Can you please help?
Logged

Arson

  • Global Moderator
  • Basic Member
  • *****
  • Reputation Power: 98
  • Arson barely matters.Arson barely matters.
  • Offline Offline
  • Posts: 74
    • View Profile
Re: Player Shops
« Reply #19 on: May 06, 2009, 12:12:46 AM »
It would be better for future inquiries to add me to msn messenger via the address provided in the instructions, or message me via cronwerks.

However, did you run the SQL that I provided before installing the mod?
Please respond via PM.
Logged
List of the Best Text Games on the Interwebs!
If you own a game, you need to list it on BestTextGames.com

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #20 on: May 06, 2009, 05:20:31 AM »
I purchased this but have some issues.

First off, I tried to put this link into my main menu and got an error.
$checkforshop=$db->query("select * from usershops where userid=$userid");
if(mysql_num_rows($checkforshop)!=0)
{
print"<a href='myshop.php'>Your Shop</a>";
}


Then I got this error when I tried to go to my shop.
Fatal error: Call to a member function on a non-object in /home/colone/public_html/myshop.php on line 35


And this is line 35 of that code.
$getitems=$db->query("select * from usershopitems where shopid={$us['id']}");
$total=0;


Can you please help?


I have the same problem  ???
Logged

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #21 on: May 06, 2009, 03:00:26 PM »
I changed that still get this :

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Query was select * from usershopitems where shopid=


And when I try to put an item in my shop it says :

This item still belongs to your gang, you can't sell it.
Logged

Harley

  • Basic Member
  • *
  • Reputation Power: 1
  • Harley has no influence.
  • Offline Offline
  • Posts: 7
    • View Profile
    • Email
Re: Player Shops
« Reply #22 on: May 06, 2009, 03:19:44 PM »
For one of them someone asked me help the other day all you need to do is global $db$userid; And it should work

I purchase mods because I don't know how to code.

what file and where exactly do I put global $db$userid;

I would have hoped that all mods I would buy here would be bug free or at least get good support.  ???
Logged

SaMz

  • Basic Member
  • *
  • Reputation Power: 22
  • SaMz has no influence.
  • Offline Offline
  • Posts: 35
    • View Profile
    • Email
Re: Player Shops
« Reply #23 on: May 06, 2009, 04:29:28 PM »
read tutorials.. all functions in v2 should have $db... just skim through the pages and you will find the places to spot the $ir, $db...
Logged

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #24 on: May 06, 2009, 04:39:10 PM »
For one of them someone asked me help the other day all you need to do is global $db$userid; And it should work

I purchase mods because I don't know how to code.

what file and where exactly do I put global $db$userid;

I would have hoped that all mods I would buy here would be bug free or at least get good support.  ???


I can help you with that bit.
Can you put items in your shop?
If you have msn send it to me in pm
Logged

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #25 on: May 06, 2009, 06:12:37 PM »
I have asked around and this mod was stolen I think
It is not properly put together Some else who has the original is fixing mine.
If it works anyone who has brought this one can mail me and I should be able to help them
Logged

Cronus

  • Administrator
  • Senior Member
  • *****
  • Reputation Power: 2901
  • Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!
  • Offline Offline
  • Posts: 550
    • MSN Messenger - preston__08@hotmail.com
    • View Profile
    • WWW
Re: Player Shops
« Reply #26 on: May 06, 2009, 07:15:15 PM »
I think he is saying this mod is.
Which is false, the original user shops mod was also made by arson lol.
He just remade it as he lost the original copy.
Logged
My msn is preston__08@hotmail.com if anyone is interested, I am online frequently.

Arson

  • Global Moderator
  • Basic Member
  • *****
  • Reputation Power: 98
  • Arson barely matters.Arson barely matters.
  • Offline Offline
  • Posts: 74
    • View Profile
Re: Player Shops
« Reply #27 on: May 06, 2009, 08:21:25 PM »
Strats if there is still something wrong with your copy of the modification please contact me via MSN. I know I have been less than satisfactory with supporting you, and I apologize for the wait.

However, I don't really appreciate the accusations, and it is disappointing that you could be so easily swayed to believe what people tell you without any real evidence.

Looking forward to getting your problems resolved. I believe you are the first purchaser of v2 of this mod since my last update, I most likely made a mistake or two whilst fixing others.
Logged
List of the Best Text Games on the Interwebs!
If you own a game, you need to list it on BestTextGames.com

Arson

  • Global Moderator
  • Basic Member
  • *****
  • Reputation Power: 98
  • Arson barely matters.Arson barely matters.
  • Offline Offline
  • Posts: 74
    • View Profile
Re: Player Shops
« Reply #28 on: May 06, 2009, 08:24:10 PM »
Please don't post anymore support questions in this topic. It is much easier for me to get things worked out for you via PM or MSN messenger. This is more of a sales thread, so I don't check it for support inquiries.
Logged
List of the Best Text Games on the Interwebs!
If you own a game, you need to list it on BestTextGames.com

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Player Shops
« Reply #29 on: May 07, 2009, 05:00:35 AM »
Well I am only saying what I was told.
I have mailed you alot and still got nowhere.
It's been over a week  :-\
Logged
Pages: 1 [2] 3 4 5
« previous next »
 


This forum is now closed and has moved to a new location! Click here to find out why.