Jump to content
MakeWebGames

Recommended Posts

  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: [mccode v2] Items Pic mod

 

i have a suggestion what about the images like on torncity where it shows your equipped weapons

I tried something like that for equipped weapons but was unsucessful just kept showing blank images..

Posted

Re: [mccode v2] Items Pic mod

 

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Well here my problem when i change that in there and try to add a item i get a query error. It only happens when i change the obove lines and yes i did add the table into the database and everything and i have no idea y its not working its geting a bit frustrated but bewow ill post my staff_items where the problem is and anyhelp that u guys can give me i really apreciate it

Error

You're unable to view this code.

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

 

Staff_items.php problem

You're unable to view this code.

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

 

Second Part

You're unable to view this code.

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

 

Anyhelp That u guys can provide me with would be greatly helpfull thank u

  • 3 weeks later...
Posted

Re: [mccode v2] Items Pic mod

is there anyway to add the pics to existing items it seems to only work when you are making new items. Also when i go to make the new item i have 2 fields to put in the item pic info instead of just 1. any help would be thankful

  • 1 month later...
Posted

Re: [mccode v2] Items Pic mod

i would like to use this mod but i see some of the find and replace code boxes are empty. whats up with that?

how can i install this mod if the boxes are empty?

Posted

Re: [mccode v2] Items Pic mod

 

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Well here my problem when i change that in there and try to add a item i get a query error. It only happens when i change the obove lines and yes i did add the table into the database and everything and i have no idea y its not working its geting a bit frustrated but bewow ill post my staff_items where the problem is and anyhelp that u guys can give me i really apreciate it

Error

You're unable to view this code.

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

 

Staff_items.php problem

You're unable to view this code.

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

 

Second Part

You're unable to view this code.

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

 

Anyhelp That u guys can provide me with would be greatly helpfull thank u

there are 3 code boxes on the fist post and 2 on the second post that have no code in them, it shows the slider tab and thats it. even the select tag does not work. why would i post about no code if it was there? im not that stupid.

Posted

Re: Items Pic mod [v2]

 

To add to edit item...

Must have already done the first part of this mod

Open staff_items.php

Find:

You're unable to view this code.

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

 

After Add:

You're unable to view this code.

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

 

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Save staff_items.php

Upload to server

 

 

To be used for future file mods

test

  • 1 month later...
Posted

Re: [mccode v2] Items Pic mod

added this to my game but why cant i veiw the image.. i link ed the image to image folder pics but there is no image showing only an X

Posted

Re: [mccode v2] Items Pic mod

 

added this to my game but why cant i veiw the image.. i link ed the image to image folder pics but there is no image showing only an X

Lycan check to make sure all references for itmpics are the same even for the one in your items Dbase so all should be itmpics and not any as itmpic

Posted

Re: [mccode v2] Items Pic mod

 

All is itmoic on the original mod page it is all itmpic

yes sorry myfault it is impic not itmpics as i suggested.. send me your addy and i'll take a look

  • 3 months later...
Posted

Re: [mccode v2] Items Pic mod

After 1 hour of trying i cant make the picture to show in inventory etc.

If i right click the pictures field i get this link:

You're unable to view this code.

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

instead of

You're unable to view this code.

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

Im sure ive installed correctly, maybe some previous installed addons are screwing this i dont know.

Can anyone help? why it displays the 0 and not the uploaded photo ?

thanks

  • 1 month later...
Posted

Re: [mccode v2] Items Pic mod

I get a QUERY ERROR: Error reads:

 

QUERY ERROR: Column count doesn't match value count at row 1

Query was INSERT INTO items VALUES('',6,'AK-47','',30000,15000,1, '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', 200, 0,'AK-47.jpg')

 

Does any one have any solutions on to why it would do this and how to fix it, please let me know a.s.a.p...

 

Best Regards,

SMOKEY_TEK

Posted

Re: [mccode v2] Items Pic mod

SMOKEY

goto your phpymyadmin and select ITEMS from there count the number of tables.....

Then goto your staff_items.php and count the amount of INSERT INTO queries there is they should both match if not then you will need to work out which table is missing from phpmyadmin or your php file.

  • 2 weeks later...
  • 4 months later...

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...