Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Businesses Mod [Mccode V2]

I still get these errors:

 

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/********/public_html/business_view.php on line 76

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/********/public_html/business_view.php on line 81

  • Replies 231
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: Businesses Mod [Mccode V2]

Ok I didnt see this in the mod so I added the possibility of Upgrading your business. All this really means is that you can hire more employees once you reach the max amount.

So lets start this shall we?

open business_manage and look for

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add this under it

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

at the end of the file before this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Businesses Mod [Mccode V2]

Ok there is a little fix that needs to be done as well.

If you notice you are able to send money to everyone except yourself, here is the fix for it.

in business_manage find

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and replace it with

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Businesses Mod [Mccode V2]

 

Wow, nice work KiX :D

Looks very nice

Thanks mate. I really love your mod. Reminds me of my Torncity days. Great work. I will be adding a lot of upgrades on it.

Posted

Re: Businesses Mod [Mccode V2]

there is a small upgrade problem... i can fix it but im just wondering what is the database for max members... on the function its

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but there is no busEmployees and it doesnt require this in the whole business mod

Posted

Re: Businesses Mod [Mccode V2]

 

there is a small upgrade problem... i can fix it but im just wondering what is the database for max members... on the function its

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but there is no busEmployees and it doesnt require this in the whole business mod

yes, as usual, me forgetting to add things... doh..

u need to add this sql

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Fixed

Posted

Re: Businesses Mod [Mccode V2]

#1064 - 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 'bigint(32) NOT NULL default '0',' at line 1

lmao thats not a valid sql code :wink:

should be:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Businesses Mod [Mccode V2]

dont laugh at me lol! last post sql wont work will update it!

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Businesses Mod [Mccode V2]

 

your business mod is probablly setup different.. this wont work either

lol. I will take a look. Yes I did a few things to it....let me just check it.

Posted

Re: Businesses Mod [Mccode V2]

One more thing on the upgrade I forgot to add.

in the business_manage find this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and replace with

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This code checks your applications towards your max employees allowed instead of the default amount of employes you set.

Posted

Re: Businesses Mod [Mccode V2]

 

lol Nince little Mod KiX, i updated mine :P

thanks but not my mod. It is Richard's.. I am just adding to it, but he deserves all the credit.

Posted

Re: Businesses Mod [Mccode V2]

 

Fixed!! gave you +2 aleready todaay kix lol!

:) Thanks mate. I feel honoured. I have finished another little update, but i will post it in a few

Posted

Re: Businesses Mod [Mccode V2]

getting this error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

on this line:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

and this line

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Businesses Mod [Mccode V2]

after all the updates from Kix and Richard its great!!

fully tested 100% working also you can make alot of profit :D

well done both of you +1

Posted

Re: Businesses Mod [Mccode V2]

Okay.. lol... some of you people think by changing a few lines is making a mod.. it aint... lol

Its code.. not mod..

Example someone put:

One more thing on the upgrade I forgot to add.

in the business_manage find this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and replace with

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This code checks your applications towards your max employees allowed instead of the default amount of employes you set.

 

lol Nince little Mod KiX, i updated mine :P

 

Lol nice little Mod Kix, i updated mine :P

Lol its not a mod its code changed, its an edit to a mod.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...