Jump to content
MakeWebGames

[mccode v2] Mine Shaft


Zero-Affect
 Share

Recommended Posts

Re: [mccode v2] Mine Shaft

 

lol, "I don't think a type means i can't spell,"....um, shouldn't that be "typo"?

It's 3:36AM and i seriously have no reason to pay this any attention besides a simple a quick reply i can't help if your insecure about your mistakes but love to point out other peoples.

anymore posts can be sent over yahoo.

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

 

aww... did i hit a nerve? Sorry Zero. :-)

I admit i could brush up on some spelling but i type very fast compared to other people since i have had alot of experience in program coding and html before php.

maybe you should imply some of my Live It, Learn It, CODE It. to yourself i mean you maybe a good speller but i have never seen you post one mod yet.

but looking at your website you use everyone's.

hit a nerve im sorry someone that low to the ground couldn't hit a nerve. Laugh Out Loud!

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

Yeah i criticize people but it is always encouraging criticism. ask any member i will help anyone who asks in a polite way

unless its something like

"Can you code my game for free"

ill send them here.

and just to clarify how many times have i helped you Uriah?

even though i can't stand being around you i have helped...

answer that...

and with some of the minor problems have i not given you hints to research to get the answers?

another simple question:

Who saved your site from being ruined by ****** and gave you a code to patch forum?

BUT SERIOUSLY please refrain from posting anymore (because i know now you will not publicly admit your wrong and i have helped you on many occasions) we are trying to keep the useless posts down sadly some people didn't get the message. (and i know that means me for all the replies but i am allowed at least the last word on my topic)

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

I have no problem publicly admitting you have helped me. And I have appreciated it and thanked you for it to.

And I don't doubt you have helped others.

And who would have known a gentle jibe about a typo would have got you this fired up.

I said it already, and I'll say it again, Sorry Zero.

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

add at the top of the mining.php or whatever it is called...

if($ir['mined'] > 20)

{

die("You can only mine 20 times a day");

}

 

and then also in the mining code wherever it has your queries for users table add mined=mined+1 so it adds 1 to mined each time they mine...e.g. a line like this:

$query = sprintf('UPDATE `users` SET %s = %s + %u, brave = brave - %u WHERE userid = %u', $Mtype, $Mtype, $earn, $cost, $userid);

would look like this:

$query = sprintf('UPDATE `users` SET %s = %s + %u, brave = brave - %u, mined=mined+1 WHERE userid = %u', $Mtype, $Mtype, $earn, $cost, $userid);

 

and add to your users table...

mined int 11 default 0

 

and add to your day_cron.php

$db->query("UPDATE users SET mined=0");

 

and that is all that is needed...although I'm sure someone else will have a better way of doing it.

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

 

The level restrictions dont work....

The level restrictions dont work....

You're unable to view this code.

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

it works mate

Uriah...

that's a bad way of doing it

should be

Add row:

You're unable to view this code.

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

 

Add into file:

You're unable to view this code.

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

 

change:

You're unable to view this code.

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

to:

You're unable to view this code.

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

 

you would also need to add the turns showing in the file

replace:

You're unable to view this code.

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

 

with:

You're unable to view this code.

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

 

and obviously the cron_day code:

You're unable to view this code.

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

 

although i did code this i suggest on adding this function into it

when it runs with no sql rows into user db needed (without this function)

the original mine shaft mod posted in i think it was the 3rd post takes 100% brave per turn... it takes 5 mins for it to grow a percentage so i don't understand how anyone could consider this modification even needing turns

Uriah yes you don't mind admitting it i see which is a good start but maybe get over your im a victim stage and people will talk to you without thinking is she lieing...

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

If by level restrictions not working you mean it goes over 100% and doesn't upgrade your level but just keeps going, maybe it needs an edit to the global_func.php. I added a mining function under my check_level function.

Since this code is different to mine I'm sure the script will be different too, and since my last try at being helpful wasn't the best option, I will let Zero give you the right script to match his code.

I'm sure Zero will add the updates soon.

Of course it would be nothing new for me to be totally on the wrong track lol, I am a total noob/dumbass with all this code stuff and just beginning to learn it myself. Good luck.

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

 

The level restrictions dont work....

The level restrictions dont work....

You're unable to view this code.

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

it works mate

Seriously I Put It On My Game Where They Are All Level 1/2 And They Can Do The Level 100 :|

Link to comment
Share on other sites

Re: [mccode v2] Mine Shaft

 

If by level restrictions not working you mean it goes over 100% and doesn't upgrade your level but just keeps going, maybe it needs an edit to the global_func.php. I added a mining function under my check_level function.

Since this code is different to mine I'm sure the script will be different too, and since my last try at being helpful wasn't the best option, I will let Zero give you the right script to match his code.

I'm sure Zero will add the updates soon.

Of course it would be nothing new for me to be totally on the wrong track lol, I am a total noob/dumbass with all this code stuff and just beginning to learn it myself. Good luck.

Your mine? meaning you have coded one or your using the paid version?

but if you coded it post it here i'd love to take a look.

 

Sorted It Now :D

lol your forgot that the first post wasn't actually the valid working one

 

I would like to make this similar to the mine mod in that it is in reverse and have the crystals first from level 1 and not have the turn base

easily switched mate... but i do money first because obviously on most games crystals are more valuable than money

EDITED:

http://illegal-intent.com/mine.php

ah it's the paid version... how much did that cost?

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...